[MacPorts] #40123: Gnuplot build failure: undefined symbol _gdImagePng for architecture x86_64
#40123: Gnuplot build failure: undefined symbol _gdImagePng for architecture x86_64 -----------------------+-------------------------------- Reporter: william@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: gnuplot -----------------------+-------------------------------- Main.log attached. -- Ticket URL: <https://trac.macports.org/ticket/40123> MacPorts <http://www.macports.org/> Ports system for OS X
#40123: Gnuplot build failure: undefined symbol _gdImagePng for architecture x86_64 ------------------------+-------------------------------- Reporter: william@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gnuplot | ------------------------+-------------------------------- Comment (by william@…): Apologies forgot to cc maintainer mojca@macports.org … but can't see how to add to cc list now ticket already created! System info: {{{ Xcode 4.6.2 Build version 4H1003 Darwin Humber.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:26:45 PDT 2012; root:xnu-1699.32.7~1/RELEASE_I386 i386 }}} -- Ticket URL: <https://trac.macports.org/ticket/40123#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40123: Gnuplot build failure: undefined symbol _gdImagePng for architecture x86_64 ------------------------+--------------------- Reporter: william@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gnuplot | ------------------------+--------------------- Changes (by ryandesign@…): * cc: william@… (removed) * cc: ryandesign@… (added) * owner: macports-tickets@… => mojca@… Comment: I noticed this error on the Snow Leopard buildbot too. It built fine on my Mountain Lion system. -- Ticket URL: <https://trac.macports.org/ticket/40123#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40123: Gnuplot build failure: undefined symbol _gdImagePng for architecture x86_64 ------------------------+--------------------- Reporter: william@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gnuplot | ------------------------+--------------------- Comment (by kurt.pfeifle@…): Replying to [comment:3 ryandesign@…]:
I noticed this error on the Snow Leopard buildbot too. It built fine on my Mountain Lion system.
I'm seeing the exact same failure on Mountain Lion. Was about to create a ticket, but saw that this one was created a few minutes ago already. -- Ticket URL: <https://trac.macports.org/ticket/40123#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40123: Gnuplot build failure: undefined symbol _gdImagePng for architecture x86_64 ------------------------+--------------------- Reporter: william@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gnuplot | ------------------------+--------------------- Comment (by mojca@…): It built fine on Lion as well. Now the buildbot failed for all three (10.6, 10.7 and 10.8). Ticket #29266 seems related to this problem. -- Ticket URL: <https://trac.macports.org/ticket/40123#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40123: Gnuplot build failure: undefined symbol _gdImagePng for architecture x86_64 ------------------------+--------------------- Reporter: william@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gnuplot | ------------------------+--------------------- Comment (by mojca@…): ... and I'm almost sure that the ticket should be assigned to {{{gd2}}}, not to {{{gnuplot}}}. -- Ticket URL: <https://trac.macports.org/ticket/40123#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40123: Gnuplot build failure: undefined symbol _gdImagePng for architecture x86_64 ------------------------+--------------------- Reporter: william@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gnuplot | ------------------------+--------------------- Changes (by ryandesign@…): * cc: kurt.pfeifle@… (added) Comment: Replying to [comment:5 mojca@…]:
Ticket #29266 seems related to this problem.
Good memory (or searching)! That was 2 years ago. Back then the problem was that a rogue libpng-config in /usr/bin/ was being found instead of the MacPorts one, and it didn't work, causing PNG support to be silently disabled in gd2. Are those of you experiencing the problem building from source or using our binary packages? Do you have any libpng-config in /usr/bin/? -- Ticket URL: <https://trac.macports.org/ticket/40123#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40123: Gnuplot build failure: undefined symbol _gdImagePng for architecture x86_64 ------------------------+--------------------- Reporter: william@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: gnuplot | ------------------------+--------------------- Comment (by mojca@…): Build logs from https://build.macports.org/builders/buildports- snowleopard-x86_64/builds/19566/steps/compile/logs/stdio: {{{ checking for deflate in -lz... yes checking for LIBPNG... no checking for LIBFREETYPE... no ... ** Configuration summary for libgd 2.1.0: Support for Zlib: yes Support for PNG library: no Support for JPEG library: yes Support for VPX library: no Support for TIFF library: no Support for Freetype 2.x library: no Support for Fontconfig library: no Support for Xpm library: no Support for pthreads: yes }}} -- Ticket URL: <https://trac.macports.org/ticket/40123#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40123: gd2: missing support for libpng (undefined symbol _gdImagePng) --------------------------+-------------------------- Reporter: william@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 gnuplot | --------------------------+-------------------------- Changes (by mojca@…): * cc: ryandesign@… (removed) * cc: mojca@… (added) * version: 2.2.0 => * owner: mojca@… => ryandesign@… * port: gnuplot => gd2 gnuplot Old description:
Main.log attached.
New description: Main.log attached. Gnuplot fails to build with: {{{ undefined symbol _gdImagePng for architecture x86_64 }}} -- -- Ticket URL: <https://trac.macports.org/ticket/40123#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#40123: gd2 @2.1.0: missing support for libpng, libtiff, libfreetype, libfontconfig, libxpm ------------------------+-------------------------- Reporter: william@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ------------------------+-------------------------- Changes (by ryandesign@…): * status: new => assigned * port: gd2 gnuplot => gd2 Comment: Has duplicates #40126, #40127. No PNG, VPX, TIFF, FreeType, FontConfig, or XPM? Yeesh. Perhaps I'm missing a pkgconfig dependency :( -- Ticket URL: <https://trac.macports.org/ticket/40123#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#40123: gd2 @2.1.0: missing support for libpng, libtiff, libfreetype, libfontconfig, libxpm ------------------------+-------------------------- Reporter: william@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gd2 | ------------------------+-------------------------- Comment (by william@…): {{{ find /usr/bin -iname '*libpng*' }}} … does not return anything. My system uses binary packages where available, otherwise builds from source (as per building gnuplot from source here!) The following might be of interest: {{{ Humber:bmbztj williamg$ sudo port clean gd2 ---> Cleaning gd2 Humber:bmbztj williamg$ sudo port install gd2 ---> Computing dependencies for gd2 ---> Cleaning gd2 ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> Found 4 broken file(s), matching files to ports ---> Found 2 broken port(s), determining rebuild order ---> Rebuilding in order gnuplot @4.6.3 +aquaterm+luaterm+pangocairo+x11 graphviz @2.32.0 +pangocairo+x11 ---> Computing dependencies for gnuplot ---> Building gnuplot Error: org.macports.build for port gnuplot returned: command execution failed Please see the log file for port gnuplot for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gnuplot/gnuplot/main.log }}} (The failure is with the same error.) If I force an uninstallation of gd2, then try again, the binary package is used: {{{ ---> Computing dependencies for gd2 ---> Fetching archive for gd2 ---> Attempting to fetch gd2-2.1.0_0+x11.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gd2 ---> Attempting to fetch gd2-2.1.0_0+x11.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/gd2 ---> Attempting to fetch gd2-2.1.0_0+x11.darwin_11.x86_64.tbz2.rmd160 from http://lil.fr.packages.macports.org/gd2 ---> Installing gd2 @2.1.0_0+x11 ---> Activating gd2 @2.1.0_0+x11 ---> Cleaning gd2 }}} Gnuplot build then fails with the same error. I tried building gd2 from source with: {{{ sudo port -s install gd2 +x11 }}} … this time graphviz was rebuilt first, successfully, and then gnuplot, successfully! It looks, then, as if the problem is with the binary package of gd2 … does this make sense? Terminal output of this successful build follows: {{{ Humber:bmbztj williamg$ sudo port -s install gd2 +x11 ---> Computing dependencies for gd2 ---> Fetching distfiles for gd2 ---> Attempting to fetch libgd-2.1.0.tar.xz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/gd2 ---> Attempting to fetch libgd-2.1.0.tar.xz from http://lil.fr.distfiles.macports.org/gd2 ---> Attempting to fetch libgd-2.1.0.tar.xz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/gd2 ---> Attempting to fetch libgd-2.1.0.tar.xz from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/gd2 ---> Attempting to fetch libgd-2.1.0.tar.xz from https://bitbucket.org/libgd/gd-libgd/downloads ---> Verifying checksums for gd2 ---> Extracting gd2 ---> Applying patches to gd2 ---> Configuring gd2 ---> Building gd2 ---> Staging gd2 into destroot ---> Installing gd2 @2.1.0_0+x11 ---> Activating gd2 @2.1.0_0+x11 ---> Cleaning gd2 ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> Found 4 broken file(s), matching files to ports ---> Found 2 broken port(s), determining rebuild order ---> Rebuilding in order graphviz @2.32.0 +pangocairo+x11 gnuplot @4.6.3 +aquaterm+luaterm+pangocairo+x11 ---> Computing dependencies for graphviz ---> Fetching distfiles for graphviz ---> Verifying checksums for graphviz ---> Extracting graphviz ---> Applying patches to graphviz ---> Configuring graphviz ---> Building graphviz ---> Staging graphviz into destroot ---> Installing graphviz @2.32.0_1+pangocairo+x11 ---> Cleaning graphviz ---> Computing dependencies for graphviz ---> Deactivating graphviz @2.32.0_0+pangocairo+x11 ---> Cleaning graphviz ---> Activating graphviz @2.32.0_1+pangocairo+x11 ---> Cleaning graphviz ---> Computing dependencies for gnuplot ---> Building gnuplot ---> Staging gnuplot into destroot ---> Installing gnuplot @4.6.3_2+aquaterm+luaterm+pangocairo+x11 ---> Cleaning gnuplot ---> Computing dependencies for gnuplot ---> Deactivating gnuplot @4.6.3_1+aquaterm+luaterm+pangocairo+x11 ---> Cleaning gnuplot ---> Activating gnuplot @4.6.3_2+aquaterm+luaterm+pangocairo+x11 ---> Cleaning gnuplot ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. }}} -- Ticket URL: <https://trac.macports.org/ticket/40123#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#40123: gd2 @2.1.0: missing support for libpng, libtiff, libfreetype, libfontconfig, libxpm ------------------------+-------------------------- Reporter: william@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: gd2 | ------------------------+-------------------------- Changes (by ryandesign@…): * cc: william@… (added) * status: assigned => closed * resolution: => fixed Comment: Replying to [comment:10 ryandesign@…]:
No PNG, VPX, TIFF, FreeType, FontConfig, or XPM? Yeesh. Perhaps I'm missing a pkgconfig dependency :(
Yup. r109420. -- Ticket URL: <https://trac.macports.org/ticket/40123#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#40123: gd2 @2.1.0: missing support for libpng, libtiff, libfreetype, libfontconfig, libxpm ------------------------+-------------------------- Reporter: william@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: gd2 | ------------------------+-------------------------- Comment (by ryandesign@…): Has duplicate #40129. -- Ticket URL: <https://trac.macports.org/ticket/40123#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts