Opened 12 years ago

Closed 10 years ago

Last modified 10 years ago

#34450 closed defect (worksforme)

graphviz: Dependencies not resolved

Reported by: ps@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: ctreleaven (Craig Treleaven), cooljeanius (Eric Gallager)
Port: graphviz

Description

Graphviz cannot be installed using Ports 2.0.4 on OS X 10.7.3

Failures:

  • cairo.h not found
  • glib.h not found
  • glibconfig.h not found

The files live in:

  • cairo.h is in /opt/local/include/cairo
  • glib.h is in /opt/local/include/glib-2.0
  • glibconfig.h is in /opt/local/lib/glib-2./include

Change History (7)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to ryandesign@…

In the future please Cc the port maintainer(s).

Please attach the main.log with the error.

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

Could you attach the main.log file showing the error, please? Otherwise I have nothing to go on with this bug report.

comment:3 Changed 10 years ago by ctreleaven (Craig Treleaven)

I know it has been a year and a half since the original report, but while playing with egall's port-depcheck.sh, I noticed that graphviz links with some undeclared dependencies, including cairo and glib2 as reported, among several others:

$ ./port-depcheck.sh graphviz
--- /var/folders/-A/-Ac1IVy2H9WLW1x5c9D7XU+++TI/-Tmp-//port-depcheck.sh.2137392.MDnp2x	2013-12-11 21:37:43.000000000 -0500
+++ /var/folders/-A/-Ac1IVy2H9WLW1x5c9D7XU+++TI/-Tmp-//port-depcheck.sh.2137391.NYxY1W	2013-12-11 21:37:42.000000000 -0500
@@ -1,17 +1,32 @@
+bzip2
+cairo
 expat                           
 fontconfig                      
 freetype                        
 gd2                             
 gettext                         
+glib2
+graphviz
 gts                             
 jpeg                            
 libLASi                         
+libiconv
 libpng                          
 libtool                         
 pango                           
-pkgconfig                       
 poppler                         
-urw-fonts                       
+tiff
 webp                            
+xorg-libX11
+xorg-libXau
 xorg-libXaw                     
+xorg-libXdmcp
+xorg-libXext
+xorg-libXmu
+xorg-libXt
+xorg-libice
+xorg-libsm
+xorg-libxcb
+xpm
+xrender
 zlib                            

comment:4 Changed 10 years ago by ctreleaven (Craig Treleaven)

Cc: ctreleaven@… added

Cc Me!

comment:5 in reply to:  3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed
Summary: Dependencies not resolvedgraphviz: Dependencies not resolved

Replying to ctreleaven@…:

I know it has been a year and a half since the original report, but while playing with egall's port-depcheck.sh, I noticed that graphviz links with some undeclared dependencies, including cairo and glib2 as reported, among several others:

$ ./port-depcheck.sh graphviz
--- /var/folders/-A/-Ac1IVy2H9WLW1x5c9D7XU+++TI/-Tmp-//port-depcheck.sh.2137392.MDnp2x	2013-12-11 21:37:43.000000000 -0500
+++ /var/folders/-A/-Ac1IVy2H9WLW1x5c9D7XU+++TI/-Tmp-//port-depcheck.sh.2137391.NYxY1W	2013-12-11 21:37:42.000000000 -0500
@@ -1,17 +1,32 @@
+bzip2

bzip2 is a dependency of freetype which is a dependency of cairo.

+cairo
+glib2

cairo and glib2 are dependencies of pango which is a dependency of graphviz.

+libiconv
+tiff

libiconv and tiff are dependencies of gd2 which is a dependency of graphviz.

-pkgconfig                       

pkgconfig is required at build time to detect dependencies.

-urw-fonts                       

I believe the fonts can be used at runtime though maybe we don't need this anymore; maybe we only need freetype and fontconfig to find normal system fonts.

+xorg-libX11
+xorg-libXau
+xorg-libXdmcp
+xorg-libXext
+xorg-libXmu
+xorg-libXt
+xorg-libice
+xorg-libsm
+xorg-libxcb
+xpm

These are all direct or indirect dependencies of xorg-libXaw which is a dependency of graphviz' +x11 variant.

+xrender

xrender is a dependency of Xft2 which is a dependency of pango.

I'm going to close this ticket since no additional information was provided by the reporter and I cannot reproduce the problem.

comment:6 in reply to:  3 Changed 10 years ago by cooljeanius (Eric Gallager)

Replying to ctreleaven@…:

I know it has been a year and a half since the original report, but while playing with egall's port-depcheck.sh, I noticed that graphviz links with some undeclared dependencies

Right, I've been meaning to push an update to that...

Edit: #41788

Last edited 10 years ago by cooljeanius (Eric Gallager) (previous) (diff)

comment:7 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.