Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#36459 closed defect (invalid)

doxygen @1.8.1: graphviz dependency problem?

Reported by: philippe.lang@… Owned by: macports-tickets@…
Priority: Low Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), stefan.vaillant@…
Port: doxygen

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi,

I'm not sure this is the right place to mention this. While trying to install the "doxygen" port, it systematically failed while trying to install the "graphviz" port, like this:

[~]$ sudo port install doxygen
Password:
--->  Computing dependencies for doxygen
--->  Dependencies to be installed: graphviz
--->  Building graphviz
Error: org.macports.build for port graphviz returned: command execution failed
Error: Failed to install graphviz
Please see the log file for port graphviz for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/graphviz/main.log
Error: The following dependencies were not installed: graphviz
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port doxygen failed

I decided to install "graphviz" directly, and then it worked:

[~]$ sudo port install graphviz
--->  Computing dependencies for pkgconfig
--->  Fetching archive for pkgconfig
--->  Attempting to fetch pkgconfig-0.27.1_1.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/pkgconfig
--->  Attempting to fetch pkgconfig-0.27.1_1.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/pkgconfig
--->  Attempting to fetch pkgconfig-0.27.1_1.darwin_12.x86_64.tbz2 from http://packages.macports.org/pkgconfig
--->  Fetching distfiles for pkgconfig
--->  Attempting to fetch pkg-config-0.27.1.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/pkgconfig
--->  Verifying checksum(s) for pkgconfig
--->  Extracting pkgconfig
--->  Applying patches to pkgconfig

I could then install doxygen without a problem.

This looks like a dependency problem in the doxygen port, or maybe graphviz.

Philippe

Change History (3)

comment:1 in reply to:  description Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Keywords: doxygen graphviz removed
Resolution: invalid
Status: newclosed

Replying to philippe.lang@…:

--->  Computing dependencies for doxygen
--->  Dependencies to be installed: graphviz
--->  Building graphviz
Error: org.macports.build for port graphviz returned: command execution failed

The fact that it went straight to building graphviz, skipping the earlier phases fetch, extract, patch and configure, shows that this was not a clean attempt. If you were still experiencing the problem, we would ask you to "sudo port clean graphviz" and try again. If that then worked, then I would say you had experienced #29223, which will be fixed in a future version of MacPorts.

Error: Failed to install graphviz
Please see the log file for port graphviz for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/graphviz/main.log

We would need to have seen the contents of this log file to know what went wrong. But since you've already tried again, the original log will have been overwritten. And if you've been able to successfully install graphviz, then the new log will have been deleted already (unless you had previously set "keeplogs yes" in macports.conf; the default is not to keep logs of successful builds).

I decided to install "graphviz" directly, and then it worked:

Great, then there's nothing to do here.

comment:2 Changed 12 years ago by stefan.vaillant@…

I run into the same problem, and had to use the same "fix", i.e. install graphviz directly.

Extract from failing install doxygen:

--->  Cleaning xorg-libXaw
--->  Fetching archive for graphviz
--->  Attempting to fetch graphviz-2.30.0_0.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/graphviz
--->  Attempting to fetch graphviz-2.30.0_0.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/graphviz
--->  Attempting to fetch graphviz-2.30.0_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/graphviz
--->  Fetching distfiles for graphviz
--->  Attempting to fetch graphviz-2.30.0.tar.gz from http://lil.fr.distfiles.macports.org/graphviz
--->  Verifying checksum(s) for graphviz
--->  Extracting graphviz
--->  Configuring graphviz
--->  Building graphviz
Error: org.macports.build for port graphviz returned: command execution failed
Error: Failed to install graphviz
Please see the log file for port graphviz for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/main.log
Error: The following dependencies were not installed: graphviz
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port doxygen failed

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphviz/graphviz/main.log says:

:info:build mv -f .deps/gvrender_gd_vrml.Tpo .deps/gvrender_gd_vrml.Plo
:info:build /bin/sh ../../libtool  --tag=CC   --mode=link /usr/bin/clang  -pipe -O2 -arch x86_64 -fno-common -Wall  -L/opt/local/lib -arch x86_64 -L/opt/local/lib -o libgvplugin_gd_C.la  gvplugin_gd.lo gvrender_gd.lo gvrender_gd_vrml.lo gvtextlayout_gd.lo gvloadimage_gd.lo gvdevice_gd.lo  
:info:build /bin/sh ../../libtool  --tag=CC   --mode=link /usr/bin/clang  -pipe -O2 -arch x86_64 -fno-common -Wall -version-info 6:0:0   -L/opt/local/lib -arch x86_64 -L/opt/local/lib -o libgvplugin_gd.la -rpath /opt/local/lib/graphviz gvplugin_gd.lo gvrender_gd.lo gvrender_gd_vrml.lo gvtextlayout_gd.lo gvloadimage_gd.lo gvdevice_gd.lo ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la -L/opt/local/lib -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl   -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lgd -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng -lz -liconv -lm  
:info:build libtool: link: ar cru .libs/libgvplugin_gd_C.a .libs/gvplugin_gd.o .libs/gvrender_gd.o .libs/gvrender_gd_vrml.o .libs/gvtextlayout_gd.o .libs/gvloadimage_gd.o .libs/gvdevice_gd.o 
:info:build libtool: link: ranlib .libs/libgvplugin_gd_C.a
:info:build libtool: link: ( cd ".libs" && rm -f "libgvplugin_gd_C.la" && ln -s "../libgvplugin_gd_C.la" "libgvplugin_gd_C.la" )
:info:build grep: /opt/local/lib/libpng14.la: No such file or directory
:info:build sed: /opt/local/lib/libpng14.la: No such file or directory
:info:build libtool: link: `/opt/local/lib/libpng14.la' is not a valid libtool archive

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

Cc: stefan.vaillant@… added
Summary: doxygen @1.8.1: graphiz dependency problem?doxygen @1.8.1: graphviz dependency problem?

If you're experiencing a graphviz build error due to one of its dependencies still linking with libpng14, it doesn't make sense that you should be able to resolve it by just repeating the graphviz build. You should have to rebuild the thing that's still linking with libpng14 (so that it now links with libpng15), then clean graphviz and try its build again. If you want to help us resolve this once and for all, we need to know what it was on you system that was still linking with libpng14 so that we can increase its revision to rebuild it. Actually rev-upgrade should have caught and fixed this error on your system by now. Or have you turned rev-upgrade off?

Note: See TracTickets for help on using tickets.