libnetpbm 10.74.00 on Snow Leopard

Ryan Schmidt ryandesign at macports.org
Thu Mar 31 08:25:46 PDT 2016


On Mar 31, 2016, at 9:31 AM, Peter Hancock wrote:

> I know there are some others here who still use macports on Snow Leopard. 
> With few exceptions, things work smoothly, but today I can't build libnetpbm 10.74.00.
> 
> The first sign of trouble in the log is: 
> 
> :info:build libpbmfont.c: In function ‘processChars’:
> :info:build libpbmfont.c:1512: warning: incompatible implicit declaration of built-in function ‘strndup’
> 
> Then the build fails later with:
> 
> :info:build ar rc libnetpbm.a libpm.o pmfileio.o fileio.o colorname.o libpamd.o libpbm1.o libpbm2.o libpbm3.o libpbmfont.o libpgm1.o libpgm2.o libppm1.o libppm2.o libppmcmap.o libppmcolor.o libppmfuzzy.o libppmd.o ppmdfont.o standardppmdfont.o path.o libppmfloyd.o libpnm1.o libpnm2.o libpnm3.o libpam.o libpamread.o libpamwrite.o libpamn.o libpammap.o libpamcolor.o libsystem.o  util/bitio.o util/filename.o util/io.o util/mallocvar.o util/matrix.o util/nsleep.o util/nstring.o util/runlength.o util/shhopt.o util/token.o util/vasprintf.o 
> :info:build Undefined symbols:
> :info:build   "_strndup", referenced from:
> :info:build       _pbm_loadbdffont in libpbmfont.o
> :info:build ld: symbol(s) not found
> 
> 10.74.00 builds fine under Yosemite on a 2012 Mac mini.
> I appreciate that I'm very lucky that so far macports mostly works on my Intel Core Duo macbook, with Xcode 3.2.4.
> Should I go ahead and open a ticket?

I reported the problem to the developer yesterday, who released a fixed version. I've updated the port to 10.74.01 in r147222.

Unrelated: you should update to Xcode 3.2.6.


More information about the macports-users mailing list