bugGNU gettext - Bugs: bug #33999, Build fails on Mac OS X 10.7 due...

 
 

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

bug #33999: Build fails on Mac OS X 10.7 due to stpncpy macro

Submitted by:  Stephan Bergmann <stbergmann>
Submitted on:  Fri 12 Aug 2011 08:36:58 PM UTC  
 
Category: BuildSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bruno Haible <haible>
Open/Closed: Closed

Mon 24 Dec 2012 11:51:18 PM UTC, comment #5:

I am hitting same fatal error as mentioned above when attempting to compile gettext-0.18.1.1 on OSX 10.8.2 The mentioned patch fixes issue on OSX 10.8.2 I eagerly await next release.

Scott Stensland <eventhorizon>
Fri 30 Mar 2012 10:51:11 PM UTC, comment #4:

It is now 7 months later (to the day:-) but a release containing this fix hasn't appeared yet...

Any idea when a new release will happen? Otherwise I will have to add yet another patch to my nightly builds (for a project that depends on gettext).

Jack Jansen <jackjansen>
Tue 30 Aug 2011 07:10:32 AM UTC, comment #3:

> Is the timeline known for the next release (that would contain this fix)?


Since MacOS X is a platform with a large number of users, there
will be a new minor gettext release soon, including this fix.

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Tue 30 Aug 2011 12:54:39 AM UTC, comment #2:

Hello,

Is the timeline known for for the next release (that would contain this fix)? Thanks!

Logan Bowers <loganb>
Sun 14 Aug 2011 11:43:51 AM UTC, comment #1:

Your analysis and patch is right.

This problem was already fixed in gnulib, see
http://lists.gnu.org/archive/html/bug-gnulib/2010-08/msg00092.html
and
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=c5728261c324a75f8d23dd7d10cb42dde9420227

The fix will be contained in the next gettext release.

Thanks for the report.

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Fri 12 Aug 2011 08:36:58 PM UTC, original submission:

On Mac OS X 10.7 with Xcode 4.1

fails with

(See also <http://lists.gnu.org/archive/html/bug-gettext/2011-04/msg00005.html>.)

The problem appears to be that gettext-0.18.1.1/gettext-tools/gnulib-m4/stpncpy.m4 erroneously sets REPLACE_STPNCPY=1 even though the stpncpy macro provided by the system would work, because the test program to be executed via AC_TRY_RUN fails to compile. The following patch fixes that test program accordingly:

Stephan Bergmann <stbergmann>

 

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 eventhorizon (Posted a comment)
  • -unavailable- added by jackjansen (Posted a comment)
  • -unavailable- added by loganb (Posted a comment)
  • -unavailable- added by haible (Posted a comment)
  • -unavailable- added by stbergmann (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 01:14:13 AM UTChaibleCategoryNone=>Build
    Sun 14 Aug 2011 11:43:51 AM UTChaibleStatusNone=>Fixed
      Assigned toNone=>haible
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1