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

Submitted by:  Ryan Schmidt <ryandesign>
Submitted on:  Fri 04 Jun 2010 07:16:56 AM UTC  
 
Category: BuildSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bruno Haible <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>
Project AdministratorIn charge of this item.
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 Schmidt <ryandesign>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Nov 2016 12:35:09 AM UTChaibleCategoryNone=>Build
    Fri 04 Jun 2010 04:18:50 PM UTChaibleStatusNone=>Fixed
      Assigned toNone=>haible
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1