[MacPorts] #26263: pngmeta: undefined symbols (doesn't build)
#26263: pngmeta: undefined symbols (doesn't build) -----------------------------------+---------------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pngmeta -----------------------------------+---------------------------------------- pngmeta fails to build: {{{ :info:build /usr/bin/gcc-4.2 -pipe -O2 -arch x86_64 -I/opt/local/include -I/opt/local/include -L/opt/local/lib -arch x86_64 -o pngmeta pngmeta.o -lpng -lz -L/opt/local/include -L/opt/local/include -lpng -L/opt/local/lib -lm -L/opt /local/lib:info:build Undefined symbols: :info:build "_png_handle_tIME", referenced from: :info:build _png_skip_till_end in pngmeta.o :info:build "_png_handle_tEXt", referenced from: :info:build _png_skip_till_end in pngmeta.o }}} (more undefined symbols follow, full build log attached) -- Ticket URL: <http://trac.macports.org/ticket/26263> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26263: pngmeta: undefined symbols (doesn't build) -----------------------------------+---------------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pngmeta -----------------------------------+---------------------------------------- Changes (by jmr@…): * cc: nomaintainer@… (removed) Comment: As per the ticket guidelines, it's not useful to cc nomaintainer. -- Ticket URL: <http://trac.macports.org/ticket/26263#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26263: pngmeta: undefined symbols (doesn't build) -----------------------------------+---------------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pngmeta -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: You can read about this problem in the [http://lists.macosforge.org/pipermail/macports- users/2007-October/006121.html mailing list archives three years ago]. Basically, we believe the pngmeta software is obsolete. We should probably remove the port. -- Ticket URL: <http://trac.macports.org/ticket/26263#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26263: pngmeta: undefined symbols (doesn't build) -----------------------------------+---------------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pngmeta -----------------------------------+---------------------------------------- Comment(by ryandesign@…): vinc17 pointed out in #28183 that pngmeta built fine with libpng 1.2.8, and I can confirm this even today by backdating the libpng port; pngmeta does not build with libpng 1.2.44 or 1.4.5. Perhaps this gives us a chance to bisect and identify the version of libpng 1.2.x that broke pngmeta, and then analyze its changelog and differences. -- Ticket URL: <https://trac.macports.org/ticket/26263#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26263: pngmeta: undefined symbols (doesn't build) -----------------------------------+---------------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pngmeta -----------------------------------+---------------------------------------- Comment(by ryandesign@…): From the mailing list discussion from October 2007 linked above, we see the issue was present with libpng 1.2.21 already. -- Ticket URL: <https://trac.macports.org/ticket/26263#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26263: pngmeta: undefined symbols (doesn't build) -----------------------------------+---------------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pngmeta -----------------------------------+---------------------------------------- Changes (by vinc17@…): * cc: vinc17@… (added) -- Ticket URL: <https://trac.macports.org/ticket/26263#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26263: pngmeta: undefined symbols (doesn't build) -----------------------------------+---------------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pngmeta -----------------------------------+---------------------------------------- Comment(by vinc17@…): Adding -Wall confirms that functions like png_crc_finish() are no longer declared: {{{ pngmeta.c:122: warning: implicit declaration of function ‘png_crc_finish’ }}} It seems they (at least some of them) were never part of the official libpng API, so that they have been removed without notice from libpng. The pngmeta.c code still has: {{{ #define PNG_INTERNAL }}} So, if pngmeta relied on libpng internals, I'm not surprised that it can no longer be built. Note that Debian has a modified version of pngmeta. -- Ticket URL: <https://trac.macports.org/ticket/26263#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26263: pngmeta: undefined symbols (doesn't build) -------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: Port: pngmeta | -------------------------+-------------------------------- Comment (by elatllat@…): sudo port install exiv2 is the solution in case like me you age searching for an answer. 3 years and pngmeta is not removed yet, I guess it's a low priority thing but still. -- Ticket URL: <https://trac.macports.org/ticket/26263#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts