Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#57215 closed defect (fixed)

libnetpbm@10.84.00 : uses strndup. Needs snowleopard_fixes 1.0

Reported by: kencu (Ken) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: tiger leopard snowleopard Cc: udbraumann
Port: libnetpbm

Description

<https://build.macports.org/builders/ports-10.6_x86_64_legacy-builder/builds/77812/steps/install-port/logs/stdio>

Undefined symbols:
  "_strndup", referenced from:
      _processBdfFontLine in libpbmfont2.o
      _processBdfFontLine in libpbmfont2.o

adding

PortGroup snowleopard_fixes 1.0

fixes build

Change History (9)

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: tiger leopard snowleopard added
Status: assignedaccepted

Reported to developer by email. The last 2 times this happened, he fixed it quickly.

comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

It is fixed in 10.84.01 but that is not yet on the GitHub mirror we use for the port.

comment:3 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In a7b779a73b7ed7c82e735b430f350b1e528bc6a9/macports-ports (master):

netpbm: Update to 10.84.01

Closes: #57215

comment:4 Changed 6 years ago by udbraumann

I did a $ sudo port selfupdate and a $ sudo port clean --all libnetpbm - but the problem the OP described is not gone with libnetpbm @10.84.01 on my 10.5.8 Powerbook G4:

$ sudo port upgrade libnetpbm
--->  Computing dependencies for libnetpbm
--->  Fetching archive for libnetpbm
--->  Attempting to fetch libnetpbm-10.84.01_0.darwin_9.ppc.tbz2 from http://packages.macports.org/libnetpbm
--->  Attempting to fetch libnetpbm-10.84.01_0.darwin_9.ppc.tbz2 from http://nue.de.packages.macports.org/libnetpbm
--->  Attempting to fetch libnetpbm-10.84.01_0.darwin_9.ppc.tbz2 from http://lil.fr.packages.macports.org/libnetpbm
--->  Fetching distfiles for libnetpbm
--->  Attempting to fetch advanced-r3369.tar.gz from http://distfiles.macports.org/netpbm
--->  Attempting to fetch userguide-r3378.tar.gz from http://distfiles.macports.org/netpbm
--->  Verifying checksums for libnetpbm
--->  Extracting libnetpbm
--->  Applying patches to libnetpbm
--->  Configuring libnetpbm
--->  Building libnetpbm
Error: Failed to build libnetpbm: command execution failed

comment:5 Changed 6 years ago by udbraumann

Cc: udbraumann added

comment:6 Changed 6 years ago by kencu (Ken)

It didn't work for me either. I think perhaps the author missed another strndup or two somewhere in the code.

comment:7 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: closedreopened

comment:8 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: reopenedclosed

In a29933c2ccb57dfdd9dd0c63ac2ded50ba950167/macports-ports (master):

netpbm: Fix build failure on 10.6 and earlier

Closes: #57215

comment:9 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

In f5d0535c740c9e08a78bf39d1405a01ace89549f/macports-ports (master):

netpbm: Update to 10.84.02

Closes: #57215

Note: See TracTickets for help on using tickets.