Opened 15 years ago

Closed 12 years ago

Last modified 12 years ago

#22331 closed defect (fixed)

py25-gtk build failure with gtk2+quartz: can't find libgtk-x11-2.0.la

Reported by: eflister Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: g5pw (Aljaž Srebrnič)
Port: py25-gtk

Description

osx 10.5.8, xcode 3.1.2

$ sudo port upgrade installed
Password:
--->  Computing dependencies for py25-gtk
--->  Building py25-gtk
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-gtk/work/pygtk-2.16.0" && /usr/bin/make -j1 all " returned error 2
Command output: /usr/bin/make  all-recursive
Making all in .
Making all in gtk
/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0 -I/opt/local/include/libglade-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libxml2 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -O2 -arch i386 -Wall -fno-strict-aliasing -std=c9x -module -avoid-version  -L/opt/local/lib -o glade.la -rpath /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk glade_la-libglademodule.lo glade_la-libglade.lo -framework Cocoa -L/opt/local/lib -lglade-2.0 -lgtk-quartz-2.0 -lxml2 -lpthread -lgdk-quartz-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype -lpng12 -lz -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv   
grep: /opt/local/lib/libgtk-x11-2.0.la: No such file or directory
sed: /opt/local/lib/libgtk-x11-2.0.la: No such file or directory
libtool: link: `/opt/local/lib/libgtk-x11-2.0.la' is not a valid libtool archive
make[2]: *** [glade.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Unable to upgrade port: 1

Change History (9)

comment:1 Changed 15 years ago by eflister

i did these, and it didn't change the error: $ sudo port -f uninstall py25-gtk $ sudo port -f clean py25-gtk $ sudo port install py25-gtk

here's my list of installed ports and variants -- i think the issue is related to some +no_x11 variants i have in there (ie, cairo, gtk2, pango). the variant system seems totally broken -- how am i supposed to debug this?

$ port installed The following ports are currently installed:

apache-ant @1.7.1_0 apache-ant @1.7.1_0+darwin (active) apr @1.3.3_1 apr @1.3.5_0 apr @1.3.9_0 (active) apr-util @1.3.4_1 apr-util @1.3.7_0 apr-util @1.3.9_0 (active) atk @1.26.0_1 (active) atlas @3.8.3_1 (active) autoconf @2.63_0 autoconf @2.64_2 (active) automake @1.10.2_0 automake @1.11_0 (active) bzip2 @1.0.5_1 bzip2 @1.0.5_2 bzip2 @1.0.5_3+darwin (active) cairo @1.8.6_3+macosx cairo @1.8.6_4+macosx cairo @1.8.8_0+macosx cairo @1.8.8_0+macosx+no_x11+quartz (active) cairo @1.8.8_0+macosx+quartz curl @7.19.5_0 curl @7.19.6_0 (active) cyrus-sasl2 @2.1.22_0+kerberos cyrus-sasl2 @2.1.23_0+kerberos (active) darcs @2.2.0_1 darcs @2.2.1_0 (active) db46 @4.6.21_3 db46 @4.6.21_5 db46 @4.6.21_6 (active) dbus @1.2.14_0 dbus @1.2.16_1 (active) dbus-glib @0.80_0 (active) desktop-file-utils @0.15_1 (active) docbook-xml @5.0_0 (active) docbook-xml-4.1.2 @4.1.2_1 (active) docbook-xml-4.2 @4.2_0 (active) docbook-xml-4.3 @4.3_0 (active) docbook-xml-4.4 @4.4_0 (active) docbook-xml-4.5 @4.5_0 (active) docbook-xml-5.0 @5.0_0 (active) docbook-xsl @1.75.1_0 docbook-xsl @1.75.2_0 (active) expat @2.0.1_0 (active) fftw-3 @3.2.1_2 fftw-3 @3.2.2_0+i386 (active) flex @2.5.35_0 (active) fontconfig @2.6.0_1+macosx fontconfig @2.6.0_2+macosx fontconfig @2.7.3_0+macosx (active) fontforge @20080927_1 fontforge @20090224_0 fontforge @20090622_0 (active) freetype @2.3.8_0+macosx freetype @2.3.9_0+macosx freetype @2.3.9_1+macosx (active) gawk @3.1.6_0 gawk @3.1.7_0 (active) gcc43 @4.3.4_0 (active) gconf @2.26.2_0 (active) gd2 @2.0.35_5 (active) gdbm @1.8.3_1 (active) getopt @1.1.4_1 (active) gettext @0.17_4 (active) ghc @6.10.1_9+darwin_9_i386 ghc @6.10.3_1+darwin_9_i386 ghc @6.10.4_0+darwin_9_i386 (active) ghostscript @8.63_1 ghostscript @8.64_2 ghostscript @8.64_3 ghostscript @8.70_0 (active) giflib @4.1.6_0 giflib @4.1.6_1 (active) glib2 @2.18.3_0+darwin_9 glib2 @2.20.3_0 glib2 @2.20.4_0 glib2 @2.22.2_0+darwin (active) glut @3.7_3 (active) gmp @4.2.4_1 gmp @4.2.4_3 gmp @4.3.1_0 gmp @4.3.1_1 (active) gnome-common @2.26.0_0 (active) gnome-doc-utils @0.16.1_0 gnome-doc-utils @0.16.1_1 (active) gnome-keyring @2.26.3_0 (active) gnome-mime-data @2.18.0_3 (active) gnome-vfs @2.24.1_0 gnome-vfs @2.24.2_0 (active) gnutls @2.6.5_0 gnutls @2.8.3_0 (active) gperf @3.0.3_0 gperf @3.0.4_0 (active) graphviz @2.24.0_0+macosx (active) groff @1.20.1_1 (active) gtk-chtheme @0.3.1_0 (active) gtk-doc @1.11_0 gtk-doc @1.11_1 (active) gtk2 @2.16.2_0+x11 gtk2 @2.16.3_0+no_x11+quartz gtk2 @2.16.3_0+x11 gtk2 @2.18.2_0+no_x11+quartz (active) gtk2-clearlooks @0.6.2_0 (active) gtk2hs @0.10.1_0+no_x11 (active) gtkglext @1.2.0_3 (active) gtksourceview2 @2.6.2_0 (active) guile @1.8.6_1 guile @1.8.7_0 (active) gvfs @1.2.3_0 (active) gzip @1.3.12_0 (active) haddock @2.4.2_0 (active) hamcrest-core @1.1_0 hamcrest-core @1.2_0 (active) help2man @1.36.4_1 (active) hs-cabal @0.6.2_0 (active) hs-ghc-paths @0.1.0.5_0 (active) hs-http @4000.0.6_0 (active) hs-libcabal @1.6.0.3_1 (active) hs-zlib @0.5.0.0_0 (active) ige-mac-integration @0.8.2_0 (active) intltool @0.40.6_0 (active) iso-codes @3.10_0 iso-codes @3.10.1_0 iso-codes @3.11_0 (active) jasper @1.900.1_3 jasper @1.900.1_4 jasper @1.900.1_5 (active) jpeg @6b_3 (active) junit @4.5_0 junit @4.6_1 (active) libarchive @2.7.0_0 libarchive @2.7.1_0 (active) libart_lgpl @2.3.20_0 (active) libbonobo @2.24.1_0 libbonobo @2.24.2_0 (active) libcroco @0.6.2_0 (active) libedit @20090111-3.0_0 libedit @20090503-3.0_0 (active) libffi @3.0.8_1 (active) libgcrypt @1.4.4_0 (active) libglade2 @2.6.4_0 (active) libgpg-error @1.7_0 (active) libgsf @1.14.15_0 libgsf @1.14.16_0 (active) libiconv @1.12_2 libiconv @1.13_0 (active) libidl @0.8.13_0 (active) libmcrypt @2.5.8_1 (active) libpixman @0.12.0_1 libpixman @0.14.0_0 libpixman @0.16.2_0 (active) libpng @1.2.34_0 libpng @1.2.35_0 libpng @1.2.37_0 libpng @1.2.40_0 (active) libproxy @0.2.3_1 libproxy @0.3.0_0 (active) librsvg @2.26.0_0 librsvg @2.26.0_1 (active) libsoup @2.26.3_0 (active) libtasn1 @1.7_0 libtasn1 @2.2_0 (active) libtool @2.2.6a_0 (active) libuninameslist @20080409_0 (active) libxml2 @2.7.2_1+darwin_9 libxml2 @2.7.3_0 libxml2 @2.7.6_0 (active) libxslt @1.1.24_2 libxslt @1.1.26_0 (active) lilypond @2.12.1_0+docs lilypond @2.12.2_0+docs lilypond @2.12.2_1+docs (active) lzmautils @4.32.7_0 lzmautils @4.32.7_1 (active) lzo @1.08_0 (active) m4 @1.4.12_1 m4 @1.4.13_0 (active) makedepend @1.0.2_0 (active) mesa @7.2_7+hw_render mesa @7.4.2_0+hw_render mesa @7.6_1+hw_render (active) mftrace @1.2.14_1 (active) mpfr @2.4.1-p4_1 (active) ncurses @5.7_0 (active) ncursesw @5.7_0 (active) neon @0.28.4_0 neon @0.28.6_0 (active) netpbm @10.26.58_0 netpbm @10.26.60_1 netpbm @10.26.61_0 (active) opencdk @0.6.6_0 (active) openmotif @2.3.1-1_2 openmotif @2.3.2_0 (active) openssl @0.9.8j_0 openssl @0.9.8k_0 openssl @0.9.8k_0+darwin (active) orbit2 @2.14.17_0 orbit2 @2.14.17_1 (active) p5-getopt-long @2.38_0 (active) p5-locale-gettext @1.05_0 (active) p5-pathtools @3.30_0 (active) p5-scalar-list-utils @1.21_0 (active) p5-xml-parser @2.36_0 (active) pango @1.22.4_1 pango @1.24.0_0+macosx pango @1.24.2_0+macosx pango @1.24.4_0+macosx+no_x11+quartz pango @1.24.5_0+macosx+no_x11+quartz (active) perl5 @5.8.9_0 (active) perl5.8 @5.8.9_2 perl5.8 @5.8.9_3 (active) pkgconfig @0.23_1 (active) policykit @0.9_0 (active) popt @1.15_0 (active) portaudio @19.20071207_1 (active) potrace @1.8_0 (active) py25-cairo @1.8.2_0+darwin_9 (active) py25-gobject @2.18.0_0+darwin_9 (active) py25-libxml2 @2.6.21_1 (active) py25-nose @0.10.4_0 (active) py25-numpy @1.3.0_0 py25-numpy @1.3.0_1 (active) py25-setuptools @0.6c9_0 py25-setuptools @0.6c11_0 (active) py26-cairo @1.8.4_0+darwin_9 (active) py26-gobject @2.18.0_0 (active) py26-gtk @2.12.1_0+darwin_9 (active) py26-libxml2 @2.6.21_0 (active) py26-nose @0.10.4_0 (active) py26-numpy @1.3.0_0 (active) py26-pil @1.1.6_0 (active) py26-setuptools @0.6c9_0 (active) python25 @2.5.4_0+darwin_9+macosx python25 @2.5.4_5+darwin_9+macosx python25 @2.5.4_6+darwin_9+macosx python25 @2.5.4_8+darwin_9+macosx (active) python26 @2.6.1_0+darwin_9 python26 @2.6.1_1 python26 @2.6.2_2 python26 @2.6.4_0+darwin (active) rarian @0.8.1_0 (active) readline @5.2.012_1 readline @6.0.000_1 readline @6.0.000_2+darwin (active) serf @0.3.0_0 (active) shared-mime-info @0.60_0 shared-mime-info @0.70_0 (active) sqlite3 @3.6.10_1 sqlite3 @3.6.11_0 sqlite3 @3.6.14.2_0 sqlite3 @3.6.16_0 sqlite3 @3.6.19_0 (active) subversion @1.6.0_1 subversion @1.6.2_0 (active) swi-prolog @5.6.63_1+darwin_9+mt swi-prolog @5.6.63_2+darwin_9+mt (active) t1utils @1.32_0 tcl @8.5.6_0 tcl @8.5.7_1+darwin (active) texi2html @1.80_0 texi2html @1.82_0 (active) texinfo @4.13_0 (active) texlive @2007_6 (active) texlive_base @2007_5 texlive_base @2007_6 texlive_base @2007_7+motif (active) texlive_texmf-full @2007_3 texlive_texmf-full @2007_4 (active) texlive_texmf-minimal @2007_2 texlive_texmf-minimal @2007_3 (active) tiff @3.8.2_2+darwin_9+macosx tiff @3.8.2_3+macosx tiff @3.9.1_0+macosx (active) tk @8.5.6_1 tk @8.5.7_0+darwin (active) urw-fonts @1.0.7pre44_0 (active) xbitmaps @1.0.1_1 xbitmaps @1.1.0_0 (active) Xft2 @2.1.13_0 Xft2 @2.1.13_1 Xft2 @2.1.14_0 (active) xmlcatmgr @2.2_1 (active) xorg-applewmproto @1.1.1_0 xorg-applewmproto @1.2.0_0 (active) xorg-bigreqsproto @1.0.2_0 xorg-bigreqsproto @1.1.0_0 (active) xorg-compositeproto @0.4_0 (active) xorg-damageproto @1.1.0_0 (active) xorg-dmxproto @2.2.2_0 (active) xorg-dri2proto @2.0_0 xorg-dri2proto @2.1_0 (active) xorg-evieproto @1.0.2_0 (active) xorg-fixesproto @4.0_0 xorg-fixesproto @4.1.1_0 (active) xorg-fontcacheproto @0.1.2_0 (active) xorg-fontsproto @2.0.2_0 (active) xorg-glproto @1.4.9_0 xorg-glproto @1.4.10_0 (active) xorg-inputproto @1.5.0_0 xorg-inputproto @1.5.1_0 xorg-inputproto @2.0_0 (active) xorg-kbproto @1.0.3_0 xorg-kbproto @1.0.4_0 (active) xorg-libAppleWM @1.0.0_1 xorg-libAppleWM @1.2.0_0 (active) xorg-libdmx @1.0.2_1 (active) xorg-libfontenc @1.0.4_0 (active) xorg-libFS @1.0.1_0 (active) xorg-libice @1.0.5_0 xorg-libice @1.0.6_0 (active) xorg-liblbxutil @1.0.1_0 (active) xorg-liboldX @1.0.1_0 (active) xorg-libpthread-stubs @0.1_0 (active) xorg-libs @20090105_0 xorg-libs @20090224_0 (active) xorg-libsm @1.1.0_0 xorg-libsm @1.1.1_0 (active) xorg-libX11 @1.1.5_1 xorg-libX11 @1.2_0 xorg-libX11 @1.2.1_0 xorg-libX11 @1.3.2_0 (active) xorg-libXau @1.0.4_0 xorg-libXau @1.0.5_0 (active) xorg-libXaw @1.0.5_0 xorg-libXaw @1.0.7_0 (active) xorg-libxcb @1.1_0 xorg-libxcb @1.2_0+python26 xorg-libxcb @1.3_0+python26 (active) xorg-libXcomposite @0.4.0_0 (active) xorg-libXcursor @1.1.9_0 (active) xorg-libXdamage @1.1.1_0 (active) xorg-libXdmcp @1.0.2_0 xorg-libXdmcp @1.0.3_0 (active) xorg-libXevie @1.0.2_1 (active) xorg-libXext @1.0.4_0 xorg-libXext @1.0.5_1 xorg-libXext @1.1.1_0 (active) xorg-libXfixes @4.0.3_0 xorg-libXfixes @4.0.4_0 (active) xorg-libXfont @1.3.4_0 xorg-libXfont @1.4.0_1 (active) xorg-libXfontcache @1.0.4_0 (active) xorg-libXi @1.2.0_0 xorg-libXi @1.2.1_0 xorg-libXi @1.3_0 (active) xorg-libXinerama @1.0.3_0 (active) xorg-libxkbfile @1.0.5_0 xorg-libxkbfile @1.0.6_0 (active) xorg-libxkbui @1.0.2_0 (active) xorg-libXmu @1.0.4_0 xorg-libXmu @1.0.5_0 (active) xorg-libXp @1.0.0_2 xorg-libXp @1.0.0_3 (active) xorg-libXrandr @1.2.3_0 xorg-libXrandr @1.3.0_0 (active) xorg-libXres @1.0.3_0 (active) xorg-libXScrnSaver @1.1.3_0 xorg-libXScrnSaver @1.2.0_0 (active) xorg-libXt @1.0.5_0 xorg-libXt @1.0.5_2 xorg-libXt @1.0.7_0 (active) xorg-libXTrap @1.0.0_1 xorg-libXTrap @1.0.0_2 (active) xorg-libXtst @1.0.3_0 (active) xorg-libXv @1.0.4_0 (active) xorg-libXvMC @1.0.4_0 (active) xorg-libXxf86dga @1.0.2_0 (active) xorg-libXxf86misc @1.0.1_1 (active) xorg-libXxf86vm @1.0.2_0 (active) xorg-printproto @1.0.4_0 (active) xorg-randrproto @1.2.1_0 xorg-randrproto @1.3.0_0 (active) xorg-recordproto @1.13.2_0 (active) xorg-renderproto @0.9.3_0 xorg-renderproto @0.11_0 (active) xorg-resourceproto @1.0.2_0 (active) xorg-scrnsaverproto @1.1.0_0 xorg-scrnsaverproto @1.2.0_0 (active) xorg-trapproto @3.4.3_0 (active) xorg-util-macros @1.2.1_0 xorg-util-macros @1.2.1_1 xorg-util-macros @1.3.0_0 (active) xorg-videoproto @2.2.2_0 (active) xorg-xcb-proto @1.3_0+python26 xorg-xcb-proto @1.4_0+python26 xorg-xcb-proto @1.5_1+python26 (active) xorg-xcb-util @0.3.2_0 xorg-xcb-util @0.3.3_0 xorg-xcb-util @0.3.5_0 (active) xorg-xcmiscproto @1.1.2_0 xorg-xcmiscproto @1.2.0_0 (active) xorg-xextproto @7.0.4_0 xorg-xextproto @7.0.5_0 xorg-xextproto @7.1.1_0 (active) xorg-xf86bigfontproto @1.1.2_0 xorg-xf86bigfontproto @1.2.0_0 (active) xorg-xf86dgaproto @2.0.3_0 (active) xorg-xf86miscproto @0.9.2_0 (active) xorg-xf86vidmodeproto @2.2.2_0 (active) xorg-xineramaproto @1.1.2_0 (active) xorg-xproto @7.0.14_1 xorg-xproto @7.0.15_0 xorg-xproto @7.0.16_0 (active) xorg-xtrans @1.2.2_0 xorg-xtrans @1.2.3_0 xorg-xtrans @1.2.5_0 (active) xpm @3.5.7_0 xpm @3.5.8_0 (active) xrender @0.9.4_5 xrender @0.9.5_0 (active) zlib @1.2.3_2 zlib @1.2.3_3 (active)

comment:2 in reply to:  1 Changed 15 years ago by eflister

Replying to erik.flister@…:

formatting the above

i did these, and it didn't change the error:

> $ sudo port -f uninstall py25-gtk
> $ sudo port -f clean py25-gtk
> $ sudo port install py25-gtk

here's my list of installed ports and variants -- i think the issue is related to some +no_x11 variants i have in there (ie, cairo, gtk2, pango). the variant system seems totally broken -- how am i supposed to debug this?

> $ port installed
> The following ports are currently installed:
>   apache-ant @1.7.1_0
>   apache-ant @1.7.1_0+darwin (active)
>   apr @1.3.3_1
>   apr @1.3.5_0
>   apr @1.3.9_0 (active)
>   apr-util @1.3.4_1
>   apr-util @1.3.7_0
>   apr-util @1.3.9_0 (active)
>   atk @1.26.0_1 (active)
>   atlas @3.8.3_1 (active)
>   autoconf @2.63_0
>   autoconf @2.64_2 (active)
>   automake @1.10.2_0
>   automake @1.11_0 (active)
>   bzip2 @1.0.5_1
>   bzip2 @1.0.5_2
>   bzip2 @1.0.5_3+darwin (active)
>   cairo @1.8.6_3+macosx
>   cairo @1.8.6_4+macosx
>   cairo @1.8.8_0+macosx
>   cairo @1.8.8_0+macosx+no_x11+quartz (active)
>   cairo @1.8.8_0+macosx+quartz
>   curl @7.19.5_0
>   curl @7.19.6_0 (active)
>   cyrus-sasl2 @2.1.22_0+kerberos
>   cyrus-sasl2 @2.1.23_0+kerberos (active)
>   darcs @2.2.0_1
>   darcs @2.2.1_0 (active)
>   db46 @4.6.21_3
>   db46 @4.6.21_5
>   db46 @4.6.21_6 (active)
>   dbus @1.2.14_0
>   dbus @1.2.16_1 (active)
>   dbus-glib @0.80_0 (active)
>   desktop-file-utils @0.15_1 (active)
>   docbook-xml @5.0_0 (active)
>   docbook-xml-4.1.2 @4.1.2_1 (active)
>   docbook-xml-4.2 @4.2_0 (active)
>   docbook-xml-4.3 @4.3_0 (active)
>   docbook-xml-4.4 @4.4_0 (active)
>   docbook-xml-4.5 @4.5_0 (active)
>   docbook-xml-5.0 @5.0_0 (active)
>   docbook-xsl @1.75.1_0
>   docbook-xsl @1.75.2_0 (active)
>   expat @2.0.1_0 (active)
>   fftw-3 @3.2.1_2
>   fftw-3 @3.2.2_0+i386 (active)
>   flex @2.5.35_0 (active)
>   fontconfig @2.6.0_1+macosx
>   fontconfig @2.6.0_2+macosx
>   fontconfig @2.7.3_0+macosx (active)
>   fontforge @20080927_1
>   fontforge @20090224_0
>   fontforge @20090622_0 (active)
>   freetype @2.3.8_0+macosx
>   freetype @2.3.9_0+macosx
>   freetype @2.3.9_1+macosx (active)
>   gawk @3.1.6_0
>   gawk @3.1.7_0 (active)
>   gcc43 @4.3.4_0 (active)
>   gconf @2.26.2_0 (active)
>   gd2 @2.0.35_5 (active)
>   gdbm @1.8.3_1 (active)
>   getopt @1.1.4_1 (active)
>   gettext @0.17_4 (active)
>   ghc @6.10.1_9+darwin_9_i386
>   ghc @6.10.3_1+darwin_9_i386
>   ghc @6.10.4_0+darwin_9_i386 (active)
>   ghostscript @8.63_1
>   ghostscript @8.64_2
>   ghostscript @8.64_3
>   ghostscript @8.70_0 (active)
>   giflib @4.1.6_0
>   giflib @4.1.6_1 (active)
>   glib2 @2.18.3_0+darwin_9
>   glib2 @2.20.3_0
>   glib2 @2.20.4_0
>   glib2 @2.22.2_0+darwin (active)
>   glut @3.7_3 (active)
>   gmp @4.2.4_1
>   gmp @4.2.4_3
>   gmp @4.3.1_0
>   gmp @4.3.1_1 (active)
>   gnome-common @2.26.0_0 (active)
>   gnome-doc-utils @0.16.1_0
>   gnome-doc-utils @0.16.1_1 (active)
>   gnome-keyring @2.26.3_0 (active)
>   gnome-mime-data @2.18.0_3 (active)
>   gnome-vfs @2.24.1_0
>   gnome-vfs @2.24.2_0 (active)
>   gnutls @2.6.5_0
>   gnutls @2.8.3_0 (active)
>   gperf @3.0.3_0
>   gperf @3.0.4_0 (active)
>   graphviz @2.24.0_0+macosx (active)
>   groff @1.20.1_1 (active)
>   gtk-chtheme @0.3.1_0 (active)
>   gtk-doc @1.11_0
>   gtk-doc @1.11_1 (active)
>   gtk2 @2.16.2_0+x11
>   gtk2 @2.16.3_0+no_x11+quartz
>   gtk2 @2.16.3_0+x11
>   gtk2 @2.18.2_0+no_x11+quartz (active)
>   gtk2-clearlooks @0.6.2_0 (active)
>   gtk2hs @0.10.1_0+no_x11 (active)
>   gtkglext @1.2.0_3 (active)
>   gtksourceview2 @2.6.2_0 (active)
>   guile @1.8.6_1
>   guile @1.8.7_0 (active)
>   gvfs @1.2.3_0 (active)
>   gzip @1.3.12_0 (active)
>   haddock @2.4.2_0 (active)
>   hamcrest-core @1.1_0
>   hamcrest-core @1.2_0 (active)
>   help2man @1.36.4_1 (active)
>   hs-cabal @0.6.2_0 (active)
>   hs-ghc-paths @0.1.0.5_0 (active)
>   hs-http @4000.0.6_0 (active)
>   hs-libcabal @1.6.0.3_1 (active)
>   hs-zlib @0.5.0.0_0 (active)
>   ige-mac-integration @0.8.2_0 (active)
>   intltool @0.40.6_0 (active)
>   iso-codes @3.10_0
>   iso-codes @3.10.1_0
>   iso-codes @3.11_0 (active)
>   jasper @1.900.1_3
>   jasper @1.900.1_4
>   jasper @1.900.1_5 (active)
>   jpeg @6b_3 (active)
>   junit @4.5_0
>   junit @4.6_1 (active)
>   libarchive @2.7.0_0
>   libarchive @2.7.1_0 (active)
>   libart_lgpl @2.3.20_0 (active)
>   libbonobo @2.24.1_0
>   libbonobo @2.24.2_0 (active)
>   libcroco @0.6.2_0 (active)
>   libedit @20090111-3.0_0
>   libedit @20090503-3.0_0 (active)
>   libffi @3.0.8_1 (active)
>   libgcrypt @1.4.4_0 (active)
>   libglade2 @2.6.4_0 (active)
>   libgpg-error @1.7_0 (active)
>   libgsf @1.14.15_0
>   libgsf @1.14.16_0 (active)
>   libiconv @1.12_2
>   libiconv @1.13_0 (active)
>   libidl @0.8.13_0 (active)
>   libmcrypt @2.5.8_1 (active)
>   libpixman @0.12.0_1
>   libpixman @0.14.0_0
>   libpixman @0.16.2_0 (active)
>   libpng @1.2.34_0
>   libpng @1.2.35_0
>   libpng @1.2.37_0
>   libpng @1.2.40_0 (active)
>   libproxy @0.2.3_1
>   libproxy @0.3.0_0 (active)
>   librsvg @2.26.0_0
>   librsvg @2.26.0_1 (active)
>   libsoup @2.26.3_0 (active)
>   libtasn1 @1.7_0
>   libtasn1 @2.2_0 (active)
>   libtool @2.2.6a_0 (active)
>   libuninameslist @20080409_0 (active)
>   libxml2 @2.7.2_1+darwin_9
>   libxml2 @2.7.3_0
>   libxml2 @2.7.6_0 (active)
>   libxslt @1.1.24_2
>   libxslt @1.1.26_0 (active)
>   lilypond @2.12.1_0+docs
>   lilypond @2.12.2_0+docs
>   lilypond @2.12.2_1+docs (active)
>   lzmautils @4.32.7_0
>   lzmautils @4.32.7_1 (active)
>   lzo @1.08_0 (active)
>   m4 @1.4.12_1
>   m4 @1.4.13_0 (active)
>   makedepend @1.0.2_0 (active)
>   mesa @7.2_7+hw_render
>   mesa @7.4.2_0+hw_render
>   mesa @7.6_1+hw_render (active)
>   mftrace @1.2.14_1 (active)
>   mpfr @2.4.1-p4_1 (active)
>   ncurses @5.7_0 (active)
>   ncursesw @5.7_0 (active)
>   neon @0.28.4_0
>   neon @0.28.6_0 (active)
>   netpbm @10.26.58_0
>   netpbm @10.26.60_1
>   netpbm @10.26.61_0 (active)
>   opencdk @0.6.6_0 (active)
>   openmotif @2.3.1-1_2
>   openmotif @2.3.2_0 (active)
>   openssl @0.9.8j_0
>   openssl @0.9.8k_0
>   openssl @0.9.8k_0+darwin (active)
>   orbit2 @2.14.17_0
>   orbit2 @2.14.17_1 (active)
>   p5-getopt-long @2.38_0 (active)
>   p5-locale-gettext @1.05_0 (active)
>   p5-pathtools @3.30_0 (active)
>   p5-scalar-list-utils @1.21_0 (active)
>   p5-xml-parser @2.36_0 (active)
>   pango @1.22.4_1
>   pango @1.24.0_0+macosx
>   pango @1.24.2_0+macosx
>   pango @1.24.4_0+macosx+no_x11+quartz
>   pango @1.24.5_0+macosx+no_x11+quartz (active)
>   perl5 @5.8.9_0 (active)
>   perl5.8 @5.8.9_2
>   perl5.8 @5.8.9_3 (active)
>   pkgconfig @0.23_1 (active)
>   policykit @0.9_0 (active)
>   popt @1.15_0 (active)
>   portaudio @19.20071207_1 (active)
>   potrace @1.8_0 (active)
>   py25-cairo @1.8.2_0+darwin_9 (active)
>   py25-gobject @2.18.0_0+darwin_9 (active)
>   py25-libxml2 @2.6.21_1 (active)
>   py25-nose @0.10.4_0 (active)
>   py25-numpy @1.3.0_0
>   py25-numpy @1.3.0_1 (active)
>   py25-setuptools @0.6c9_0
>   py25-setuptools @0.6c11_0 (active)
>   py26-cairo @1.8.4_0+darwin_9 (active)
>   py26-gobject @2.18.0_0 (active)
>   py26-gtk @2.12.1_0+darwin_9 (active)
>   py26-libxml2 @2.6.21_0 (active)
>   py26-nose @0.10.4_0 (active)
>   py26-numpy @1.3.0_0 (active)
>   py26-pil @1.1.6_0 (active)
>   py26-setuptools @0.6c9_0 (active)
>   python25 @2.5.4_0+darwin_9+macosx
>   python25 @2.5.4_5+darwin_9+macosx
>   python25 @2.5.4_6+darwin_9+macosx
>   python25 @2.5.4_8+darwin_9+macosx (active)
>   python26 @2.6.1_0+darwin_9
>   python26 @2.6.1_1
>   python26 @2.6.2_2
>   python26 @2.6.4_0+darwin (active)
>   rarian @0.8.1_0 (active)
>   readline @5.2.012_1
>   readline @6.0.000_1
>   readline @6.0.000_2+darwin (active)
>   serf @0.3.0_0 (active)
>   shared-mime-info @0.60_0
>   shared-mime-info @0.70_0 (active)
>   sqlite3 @3.6.10_1
>   sqlite3 @3.6.11_0
>   sqlite3 @3.6.14.2_0
>   sqlite3 @3.6.16_0
>   sqlite3 @3.6.19_0 (active)
>   subversion @1.6.0_1
>   subversion @1.6.2_0 (active)
>   swi-prolog @5.6.63_1+darwin_9+mt
>   swi-prolog @5.6.63_2+darwin_9+mt (active)
>   t1utils @1.32_0
>   tcl @8.5.6_0
>   tcl @8.5.7_1+darwin (active)
>   texi2html @1.80_0
>   texi2html @1.82_0 (active)
>   texinfo @4.13_0 (active)
>   texlive @2007_6 (active)
>   texlive_base @2007_5
>   texlive_base @2007_6
>   texlive_base @2007_7+motif (active)
>   texlive_texmf-full @2007_3
>   texlive_texmf-full @2007_4 (active)
>   texlive_texmf-minimal @2007_2
>   texlive_texmf-minimal @2007_3 (active)
>   tiff @3.8.2_2+darwin_9+macosx
>   tiff @3.8.2_3+macosx
>   tiff @3.9.1_0+macosx (active)
>   tk @8.5.6_1
>   tk @8.5.7_0+darwin (active)
>   urw-fonts @1.0.7pre44_0 (active)
>   xbitmaps @1.0.1_1
>   xbitmaps @1.1.0_0 (active)
>   Xft2 @2.1.13_0
>   Xft2 @2.1.13_1
>   Xft2 @2.1.14_0 (active)
>   xmlcatmgr @2.2_1 (active)
>   xorg-applewmproto @1.1.1_0
>   xorg-applewmproto @1.2.0_0 (active)
>   xorg-bigreqsproto @1.0.2_0
>   xorg-bigreqsproto @1.1.0_0 (active)
>   xorg-compositeproto @0.4_0 (active)
>   xorg-damageproto @1.1.0_0 (active)
>   xorg-dmxproto @2.2.2_0 (active)
>   xorg-dri2proto @2.0_0
>   xorg-dri2proto @2.1_0 (active)
>   xorg-evieproto @1.0.2_0 (active)
>   xorg-fixesproto @4.0_0
>   xorg-fixesproto @4.1.1_0 (active)
>   xorg-fontcacheproto @0.1.2_0 (active)
>   xorg-fontsproto @2.0.2_0 (active)
>   xorg-glproto @1.4.9_0
>   xorg-glproto @1.4.10_0 (active)
>   xorg-inputproto @1.5.0_0
>   xorg-inputproto @1.5.1_0
>   xorg-inputproto @2.0_0 (active)
>   xorg-kbproto @1.0.3_0
>   xorg-kbproto @1.0.4_0 (active)
>   xorg-libAppleWM @1.0.0_1
>   xorg-libAppleWM @1.2.0_0 (active)
>   xorg-libdmx @1.0.2_1 (active)
>   xorg-libfontenc @1.0.4_0 (active)
>   xorg-libFS @1.0.1_0 (active)
>   xorg-libice @1.0.5_0
>   xorg-libice @1.0.6_0 (active)
>   xorg-liblbxutil @1.0.1_0 (active)
>   xorg-liboldX @1.0.1_0 (active)
>   xorg-libpthread-stubs @0.1_0 (active)
>   xorg-libs @20090105_0
>   xorg-libs @20090224_0 (active)
>   xorg-libsm @1.1.0_0
>   xorg-libsm @1.1.1_0 (active)
>   xorg-libX11 @1.1.5_1
>   xorg-libX11 @1.2_0
>   xorg-libX11 @1.2.1_0
>   xorg-libX11 @1.3.2_0 (active)
>   xorg-libXau @1.0.4_0
>   xorg-libXau @1.0.5_0 (active)
>   xorg-libXaw @1.0.5_0
>   xorg-libXaw @1.0.7_0 (active)
>   xorg-libxcb @1.1_0
>   xorg-libxcb @1.2_0+python26
>   xorg-libxcb @1.3_0+python26 (active)
>   xorg-libXcomposite @0.4.0_0 (active)
>   xorg-libXcursor @1.1.9_0 (active)
>   xorg-libXdamage @1.1.1_0 (active)
>   xorg-libXdmcp @1.0.2_0
>   xorg-libXdmcp @1.0.3_0 (active)
>   xorg-libXevie @1.0.2_1 (active)
>   xorg-libXext @1.0.4_0
>   xorg-libXext @1.0.5_1
>   xorg-libXext @1.1.1_0 (active)
>   xorg-libXfixes @4.0.3_0
>   xorg-libXfixes @4.0.4_0 (active)
>   xorg-libXfont @1.3.4_0
>   xorg-libXfont @1.4.0_1 (active)
>   xorg-libXfontcache @1.0.4_0 (active)
>   xorg-libXi @1.2.0_0
>   xorg-libXi @1.2.1_0
>   xorg-libXi @1.3_0 (active)
>   xorg-libXinerama @1.0.3_0 (active)
>   xorg-libxkbfile @1.0.5_0
>   xorg-libxkbfile @1.0.6_0 (active)
>   xorg-libxkbui @1.0.2_0 (active)
>   xorg-libXmu @1.0.4_0
>   xorg-libXmu @1.0.5_0 (active)
>   xorg-libXp @1.0.0_2
>   xorg-libXp @1.0.0_3 (active)
>   xorg-libXrandr @1.2.3_0
>   xorg-libXrandr @1.3.0_0 (active)
>   xorg-libXres @1.0.3_0 (active)
>   xorg-libXScrnSaver @1.1.3_0
>   xorg-libXScrnSaver @1.2.0_0 (active)
>   xorg-libXt @1.0.5_0
>   xorg-libXt @1.0.5_2
>   xorg-libXt @1.0.7_0 (active)
>   xorg-libXTrap @1.0.0_1
>   xorg-libXTrap @1.0.0_2 (active)
>   xorg-libXtst @1.0.3_0 (active)
>   xorg-libXv @1.0.4_0 (active)
>   xorg-libXvMC @1.0.4_0 (active)
>   xorg-libXxf86dga @1.0.2_0 (active)
>   xorg-libXxf86misc @1.0.1_1 (active)
>   xorg-libXxf86vm @1.0.2_0 (active)
>   xorg-printproto @1.0.4_0 (active)
>   xorg-randrproto @1.2.1_0
>   xorg-randrproto @1.3.0_0 (active)
>   xorg-recordproto @1.13.2_0 (active)
>   xorg-renderproto @0.9.3_0
>   xorg-renderproto @0.11_0 (active)
>   xorg-resourceproto @1.0.2_0 (active)
>   xorg-scrnsaverproto @1.1.0_0
>   xorg-scrnsaverproto @1.2.0_0 (active)
>   xorg-trapproto @3.4.3_0 (active)
>   xorg-util-macros @1.2.1_0
>   xorg-util-macros @1.2.1_1
>   xorg-util-macros @1.3.0_0 (active)
>   xorg-videoproto @2.2.2_0 (active)
>   xorg-xcb-proto @1.3_0+python26
>   xorg-xcb-proto @1.4_0+python26
>   xorg-xcb-proto @1.5_1+python26 (active)
>   xorg-xcb-util @0.3.2_0
>   xorg-xcb-util @0.3.3_0
>   xorg-xcb-util @0.3.5_0 (active)
>   xorg-xcmiscproto @1.1.2_0
>   xorg-xcmiscproto @1.2.0_0 (active)
>   xorg-xextproto @7.0.4_0
>   xorg-xextproto @7.0.5_0
>   xorg-xextproto @7.1.1_0 (active)
>   xorg-xf86bigfontproto @1.1.2_0
>   xorg-xf86bigfontproto @1.2.0_0 (active)
>   xorg-xf86dgaproto @2.0.3_0 (active)
>   xorg-xf86miscproto @0.9.2_0 (active)
>   xorg-xf86vidmodeproto @2.2.2_0 (active)
>   xorg-xineramaproto @1.1.2_0 (active)
>   xorg-xproto @7.0.14_1
>   xorg-xproto @7.0.15_0
>   xorg-xproto @7.0.16_0 (active)
>   xorg-xtrans @1.2.2_0
>   xorg-xtrans @1.2.3_0
>   xorg-xtrans @1.2.5_0 (active)
>   xpm @3.5.7_0
>   xpm @3.5.8_0 (active)
>   xrender @0.9.4_5
>   xrender @0.9.5_0 (active)
>   zlib @1.2.3_2
>   zlib @1.2.3_3 (active)

comment:3 Changed 15 years ago by blb@…

You have gtk2 +quartz active, so I'm guessing /opt/local/lib/libgtk-x11-2.0.la doesn't exist at all right?

It sounds you have some things built against gtk2 +x11 and others +quartz, so everything from gtk2 on up in the dependency chain would have to be rebuilt for +quartz if that's what you want to use.

comment:4 Changed 15 years ago by eflister

wow, thanks for getting back to me so fast!

i am happy either with x11 or quartz, but can't get either working. what is the right way to work with variants, it seems far too easy to get them out of sync, and far to hard to figure out what to do once in that situation. the whole idea of variants seems to break the whole point of a package manager that handles dependencies for you -- what am i missing? the macports docs don't give any guidance on the matter.

i thought i had everything built with no_x11, so why would py25-gtk try to be +x11? there is no no_x11 or quartz variant for it -- isn't it a problem with the portfile if it doesn't notice this problem? do you know that py25-gtk can work in a no_x11, +quartz environment?

so now i tried going the x11 route.

$ sudo port install cairo -no_x11
$ sudo port install gtk2 +x11
$ sudo port install py25-gtk

at least after this, libgtk-x11-2.0.la exists. the first two work, but the third fails, this time with an error that makes it look like it wants to be quartz this time! argh!

--->  Computing dependencies for py25-gtk
--->  Building py25-gtk
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-gtk/work/pygtk-2.16.0" && /usr/bin/make -j1 all " returned error 2
Command output: /usr/bin/make  all-recursive
Making all in .
make[2]: Nothing to be done for `all-am'.
Making all in gtk
/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0 -I/opt/local/include/python2.5/pycairo -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12   -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12    -O2 -arch i386 -Wall -fno-strict-aliasing -std=c9x -module -avoid-version  -L/opt/local/lib -o _gtk.la -rpath /opt/local/lib/python2.5/site-packages/gtk-2.0/gtk _gtk_la-gtk-types.lo _gtk_la-gtkmodule.lo _gtk_la-gtkobject-support.lo _gtk_la-pygtkcellrenderer.lo _gtk_la-pygtktreemodel.lo _gtk_la-gtk.lo _gtk_la-gdk.lo -framework Cocoa -L/opt/local/lib -lgtk-quartz-2.0 -lgdk-quartz-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype -lpng12 -lz -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv   
libtool: link: /usr/bin/gcc-4.0 -Wl,-undefined -Wl,dynamic_lookup -o .libs/_gtk.so -bundle  .libs/_gtk_la-gtk-types.o .libs/_gtk_la-gtkmodule.o .libs/_gtk_la-gtkobject-support.o .libs/_gtk_la-pygtkcellrenderer.o .libs/_gtk_la-pygtktreemodel.o .libs/_gtk_la-gtk.o .libs/_gtk_la-gdk.o   -L/opt/local/lib -framework Cocoa -lgtk-quartz-2.0 -lgdk-quartz-2.0 /opt/local/lib/libatk-1.0.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libcairo.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib /opt/local/lib/libpixman-1.dylib -lm /opt/local/lib/libfontconfig.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib /opt/local/lib/libpng12.dylib -lz /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libglib-2.0.dylib -lresolv /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib  -arch i386   -framework Cocoa -framework Carbon -framework CoreFoundation
ld: library not found for -lgtk-quartz-2.0
collect2: ld returned 1 exit status
make[2]: *** [_gtk.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

comment:5 Changed 15 years ago by giampaolo.bozzali@…

I had the same problem after rebuilding gtk2, cairo and pango with +quartz+no_x11...I also think it's a matter of some other dependencies to rebuild with new variants because in my previous macports setup I used to set +quartz and +no_x11 imediately and that kind of problem never occurred... but I still don't know which other pkgs would have to be rebuilt :(

By now I solved with a dirty trick and It's working, I made a symlink of gtk and gdk libraries in /opt/local/lib:

sudo ln -s libgtk-quartz-2.0.la libgtk-x11-2.0.la
sudo ln -s libgdk-quartz-2.0.la libgdk-x11-2.0.la

OSX 10.4.11

comment:6 Changed 15 years ago by guy.linton@…

I have set variants.conf to +no_x11 and +quartz, but I am getting libbonoboui failing because `/opt/local/lib/libgtk-x11-2.0.la' is not found. I have libgtk-quartz.la instead.

This is the same problem as in http://trac.macports.org/ticket/18135.

Unfortunately, I didn't know that I should use +no_x11 and +quartz till after I had built some other stuff. I have rebuild cairo, pango and gtk2 after setting the conf options, but it still gives the error.

Do you have any idea how I could find out which object is calling for libgtk-x11, and hence what I still need to rebuild?

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Cc: erik.flister@… removed
Keywords: libgtk x11 py25 gtk build failure removed
Summary: py25-gtk build failure: can't find libgtk-x11-2.0.lapy25-gtk build failure with gtk2+quartz: can't find libgtk-x11-2.0.la

comment:8 Changed 12 years ago by g5pw (Aljaž Srebrnič)

Resolution: fixed
Status: newclosed

I'll go ahead and close this ticket, feel free to reopen it if the problem is still present after the latest updates.

comment:9 Changed 12 years ago by g5pw (Aljaž Srebrnič)

Cc: g5pw@… added

Cc Me!

Note: See TracTickets for help on using tickets.