Opened 16 years ago

Closed 12 years ago

#19134 closed defect (fixed)

graphviz, graphviz-devel: +no_x11 variant still uses X libraries

Reported by: alpha@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: graphviz, graphviz-devel

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

When building graphviz with the no_x11 variant enabled the build fails when trying to link libXpm and libX11. See below.

/usr/bin/gcc-4.0 -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o .libs/libgvplugin_gd.6.0.0.dylib  .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  -L/opt/local/lib ../../lib/gvc/.libs/libgvc.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/work/graphviz-2.22.2/lib/graph/.libs/libgraph.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/work/graphviz-2.22.2/lib/cdt/.libs/libcdt.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_graphviz/work/graphviz-2.22.2/lib/pathplan/.libs/libpathplan.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libz.dylib ../../lib/graph/.libs/libgraph.dylib ../../lib/cdt/.libs/libcdt.dylib -lXpm -lX11 /opt/local/lib/libjpeg.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libfreetype.dylib /opt/local/lib/libpng12.dylib -lz /opt/local/lib/libiconv.dylib -lm  -install_name  /opt/local/lib/graphviz/libgvplugin_gd.6.dylib -compatibility_version 7 -current_version 7.0
/usr/bin/libtool: can't locate file for: -lXpm
/usr/bin/libtool: file: -lXpm is not an object file (not allowed in a library)
/usr/bin/libtool: can't locate file for: -lX11
/usr/bin/libtool: file: -lX11 is not an object file (not allowed in a library)
make[3]: *** [libgvplugin_gd.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Change History (9)

comment:1 Changed 16 years ago by alpha@…

Owner: changed from ryandesign to ryandesign@…

comment:2 Changed 16 years ago by alpha@…

Description: modified (diff)

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

Description: modified (diff)

comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:5 Changed 16 years ago by alpha@…

Thanks for fixing the description, I guess my Terminal has some problems with copy and paste when running screen.

comment:6 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Yes, that's one of the things I haven't figured out how to fix about screen either...

comment:7 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Port: graphviz-devel added
Status: newassigned
Summary: Cannot build graphviz with no_x11graphviz, graphviz-devel: +no_x11 variant still uses X libraries

I confirmed that trying to install graphviz_devel @2.23.20090406.0445_0 +no_x11 still links with libXpm and libX11, which it oughtn't.

Version 0, edited 16 years ago by ryandesign (Ryan Carsten Schmidt) (next)

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

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

Resolution: fixed
Status: assignedclosed

I can't reproduce this anymore with graphviz @2.30.0_1 or graphviz-devel @2.31.20130204.0546.

Note: See TracTickets for help on using tickets.