[MacPorts] #40123: gd2 @2.1.0: missing support for libpng, libtiff, libfreetype, libfontconfig, libxpm

MacPorts noreply at macports.org
Thu Aug 15 02:25:46 PDT 2013


#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


More information about the macports-tickets mailing list