bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] [bug #45527] Build fails on Mac OS X 10.6 and earlier: Und


From: Ryan Schmidt
Subject: [bug-gettext] [bug #45527] Build fails on Mac OS X 10.6 and earlier: Undefined symbols: "_stpncpy"
Date: Sat, 11 Jul 2015 12:39:30 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?45527>

                 Summary: Build fails on Mac OS X 10.6 and earlier: Undefined
symbols: "_stpncpy"
                 Project: GNU gettext
            Submitted by: ryandesign
            Submitted on: Sat 11 Jul 2015 12:39:29 PM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Hello,

I'm the maintainer of gettext in MacPorts. I was recently asked to update
gettext in MacPorts to 0.19.5:

https://trac.macports.org/ticket/48307

After doing this, it was found that this does not compile on Mac OS X 10.6 and
earlier:

https://trac.macports.org/ticket/48314

The error is:


Undefined symbols:
  "_stpncpy", referenced from:
      _format_parse in format-kde-kuit.o
ld: symbol(s) not found


A full log of the build on 10.4 is attached here:

https://trac.macports.org/attachment/ticket/48314/main.log

I think what's happening is that OS X 10.7 and later include an implementation
of stpncpy; gettext includes an implementation of stpncpy for use on earlier
systems; but in this particular instance, that gettext implementation of
stpncpy isn't being used when it should be. (I see stpncpy.o being used
earlier in the build, but not here.)

This is a regression since 0.19.4, which built fine on Mac OS X 10.4 and
later.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45527>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]