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/