bugGNU gettext - Bugs: bug #30049, sed: 1: "/definitions of...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #30049: sed: 1: "/definitions of _GL_FUN ...": filename expected

Submitter:  Ryan Carsten Schmidt <ryandesign>
Submitted:  Fri 04 Jun 2010 07:16:56 AM UTC
   
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Fri 04 Jun 2010 04:18:50 PM UTC, comment #1: 

Thanks for the very rapid report!
I have replaced the tarball on ftp.gnu.org to fix this bug.

Bruno Haible <haible>
Group administrator
Fri 04 Jun 2010 07:16:56 AM UTC, original submission:  

gettext 0.18.1 has the following trouble building on Mac OS X 10.6.3:




Making all in libgrep
rm -f langinfo.h-t langinfo.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''HAVE_LANGINFO_H''@|1|g' \
-e 's|@''INCLUDE_NEXT''@|include_next|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
-e 's|@''NEXT_LANGINFO_H''@|<langinfo.h>|g' \
-e 's|@''GNULIB_NL_LANGINFO''@|1|g' \
-e 's|@''HAVE_LANGINFO_CODESET''@|1|g' \
-e 's|@''HAVE_LANGINFO_ERA''@|1|g' \
-e 's|@''HAVE_NL_LANGINFO''@|1|g' \
-e 's|@''REPLACE_NL_LANGINFO''@|0|g' \
-e '/definitions of _GL_FUNCDECL_RPL/r ' \
-e '/definition of _GL_WARN_ON_USE/r ' \
< ./langinfo.in.h; \
} > langinfo.h-t && \
mv langinfo.h-t langinfo.h
sed: 1: "/definitions of _GL_FUN ...": filename expected
make[3]: *** [langinfo.h] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1




On Mac OS X, "sed" is usually BSD sed, and it apparently complains if "/r" is used without a filename. If I make GNU sed available as "sed", the gettext build completes. But it seems to be a bug that "/r" is used without a filename; in the source it looks like $(CXXDEFS_H) and $(WARN_ON_USE_H) are supposed to be at the end of those lines, but those variables are apparently empty (at least at the point where they're used here).

Ryan Carsten Schmidt <ryandesign>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by ryandesign (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-04 haible StatusFixed Fix Released
    2016-11-27 haible CategoryNone Build
    2010-06-04 haible StatusNone Fixed
        Assigned toNone haible
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code