#52460: neomutt @20160916_3 does not build on OS X 10.5 PPC ----------------------------------+-------------------------------- Reporter: leonardo.schenkel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: maintainer Port: neomutt | ----------------------------------+-------------------------------- Comment (by ken.cunningham.webuse@…): Hi. It's not just on 10.5 PPC: also 10.6 64bit intel {{{ /opt/local/bin/clang-mp-3.7 -pipe -Os -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -stdlib=libc++ -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -o mutt_dotlock mutt_dotlock.o strndup.o strnlen.o wcscasecmp.o regex.o Undefined symbols for architecture x86_64: "_safe_malloc", referenced from: _strndup in strndup.o ld: symbol(s) not found for architecture x86_64 }}} comparing link lines from a successful build on 10.11 {{{ /usr/bin/clang -pipe -Os -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64-L/opt/local/lib \ -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -o pgpring pgppubring.o pgplib.o lib.o extlib.o sha1.o md5.o pgppacket.o \ ascii.o regex.o -lintl -liconv }}} and an unsucessful build on 10.6 {{{ /opt/local/bin/clang-mp-3.7 -pipe -Os -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -stdlib=libc++ -L/opt/local/lib \ -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -o pgpring pgppubring.o pgplib.o lib.o extlib.o sha1.o md5.o pgppacket.o \ ascii.o strndup.o strnlen.o wcscasecmp.o regex.o -lintl -liconv Undefined symbols for architecture x86_64: "_safe_malloc", referenced from: _strndup in strndup.o ld: symbol(s) not found for architecture x86_64 }}} it looks like the autoconf - added strndup.o, strnlen.o, and wcscasecmp.o haven't pulled in the extra library they need to link against to find _safe_malloc. So it's an upstream bug, as he says. -- Ticket URL: <https://trac.macports.org/ticket/52460#comment:1> MacPorts <https://www.macports.org/> Ports system for the Mac operating system