Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292198 - x11-libs/gtk+-2.18.3 failed:Cannot load module <snip> Referenced from libgio-2.0.0.dylib
Summary: x11-libs/gtk+-2.18.3 failed:Cannot load module <snip> Referenced from libgio-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-06 23:38 UTC by matt
Modified: 2009-11-14 16:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matt 2009-11-06 23:38:41 UTC
warning: no debug map in executable (-arch ppc)
libtool: link: ( cd ".libs" && rm -f "im-ti-et.la" && ln -s "../im-ti-et.la" "im-ti-et.la" )
/Volumes/prefix-ppc-macos-native/bin/bash ../../libtool  --tag=CC   --mode=compile powerpc-apple-darwin8-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../gdk -I../../gdk $
libtool: compile:  powerpc-apple-darwin8-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../gdk -I../../gdk -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DG_DISABLE_CA$
mv -f .deps/imviqr.Tpo .deps/imviqr.Plo
/Volumes/prefix-ppc-macos-native/bin/bash ../../libtool  --tag=CC   --mode=link powerpc-apple-darwin8-gcc  -DGDK_PIXBUF_DISABLE_DEPRECATED  -pipe -mcpu=G4 -mtune=G4 -Wal$
libtool: link: powerpc-apple-darwin8-gcc -Wl,-undefined -Wl,dynamic_lookup -o .libs/im-viqr.bundle -bundle  .libs/imviqr.o   ../../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dyl$
ld warning: duplicate dylib /Volumes/prefix-ppc-macos-native/lib/libz.1.dylib
ld warning: duplicate dylib /Volumes/prefix-ppc-macos-native/usr/lib/gcc/powerpc-apple-darwin8/4.2.1/libgcc_s.1.dylib
libtool: link: dsymutil .libs/im-viqr.bundle || :
warning: no debug map in executable (-arch ppc)
libtool: link: ( cd ".libs" && rm -f "im-viqr.la" && ln -s "../im-viqr.la" "im-viqr.la" )
../../gtk/gtk-query-immodules-2.0 im-am-et.la im-cedilla.la im-cyrillic-translit.la  im-inuktitut.la im-ipa.la im-multipress.la im-thai.la im-ti-er.la im-ti-et.la im-viq$
Cannot load module /Volumes/prefix-ppc-macos-native/var/tmp/portage/x11-libs/gtk+-2.18.3/work/gtk+-2.18.3/modules/input/im-am-et.la: dlopen(/Volumes/prefix-ppc-macos-nat$
  Referenced from: /Volumes/prefix-ppc-macos-native/usr/lib/libgio-2.0.0.dylib
  Expected in: dynamic lookup

/Volumes/prefix-ppc-macos-native/var/tmp/portage/x11-libs/gtk+-2.18.3/work/gtk+-2.18.3/modules/input/im-am-et.la does not export GTK+ IM module API: dlopen(/Volumes/pref$
  Referenced from: /Volumes/prefix-ppc-macos-native/usr/lib/libgio-2.0.0.dylib
  Expected in: dynamic lookup

Cannot load module /Volumes/prefix-ppc-macos-native/var/tmp/portage/x11-libs/gtk+-2.18.3/work/gtk+-2.18.3/modules/input/im-cedilla.la: dlopen(/Volumes/prefix-ppc-macos-n$
  Referenced from: /Volumes/prefix-ppc-macos-native/usr/lib/libgio-2.0.0.dylib
  Expected in: dynamic lookup

/Volumes/prefix-ppc-macos-native/var/tmp/portage/x11-libs/gtk+-2.18.3/work/gtk+-2.18.3/modules/input/im-cedilla.la does not export GTK+ IM module API: dlopen(/Volumes/pr$
  Referenced from: /Volumes/prefix-ppc-macos-native/usr/lib/libgio-2.0.0.dylib
  Expected in: dynamic lookup

<snip>

/Volumes/prefix-ppc-macos-native/var/tmp/portage/x11-libs/gtk+-2.18.3/work/gtk+-2.18.3/modules/input/im-viqr.la does not export GTK+ IM module API: dlopen(/Volumes/prefi$
  Referenced from: /Volumes/prefix-ppc-macos-native/usr/lib/libgio-2.0.0.dylib
  Expected in: dynamic lookup

make[3]: *** [gtk.immodules] Error 1
make[3]: Leaving directory `/Volumes/prefix-ppc-macos-native/var/tmp/portage/x11-libs/gtk+-2.18.3/work/gtk+-2.18.3/modules/input'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/Volumes/prefix-ppc-macos-native/var/tmp/portage/x11-libs/gtk+-2.18.3/work/gtk+-2.18.3/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Volumes/prefix-ppc-macos-native/var/tmp/portage/x11-libs/gtk+-2.18.3/work/gtk+-2.18.3'
make: *** [all] Error 2
 ^[[31;01m*^[[0m ERROR: x11-libs/gtk+-2.18.3 failed:
 ^[[31;01m*^[[0m   emake failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m     ebuild.sh, line   51:  Called call-ebuildshell 'src_compile'
 ^[[31;01m*^[[0m   environment, line  604:  Called src_compile
 ^[[31;01m*^[[0m   environment, line 3164:  Called _eapi2_src_compile
 ^[[31;01m*^[[0m     ebuild.sh, line  678:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m                emake || die "emake failed"


Portage 2.2.00.14771-prefix (prefix/darwin/macos/10.4/ppc, gcc-4.2.1, unavailable, 8.11.0 Power Macintosh)
=================================================================
System uname: Darwin-8.11.0-Power_Macintosh-powerpc-32bit
Timestamp of tree: Fri, 06 Nov 2009 20:55:42 +0000
distcc 2.18.4-Apple.1 powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r3
sys-devel/autoconf:  2.63-r01.1
sys-devel/automake:  1.10.2-r00.1, 1.11
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6a-r00.2
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-02 -pipe -maltivec -mcpu=G4 -mtune=G4"
CHOST="powerpc-apple-darwin8"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-02 -pipe -maltivec -mcpu=G4 -mtune=G4"
DISTDIR="/Volumes/prefix-ppc-macos-native/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
LINGUAS="en en_US"
PKGDIR="/Volumes/prefix-ppc-macos-native/usr/portage/packages"
PORTAGE_CONFIGROOT="/Volumes/prefix-ppc-macos-native/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Volumes/prefix-ppc-macos-native/var/tmp"
PORTDIR="/Volumes/prefix-ppc-macos-native/usr/portage"
PORTDIR_OVERLAY="/Volumes/prefix-ppc-macos-native/usr/local/portage/local /Volumes/prefix-ppc-macos-native/usr/local/portage/mattmatteh-overlay"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"


[ebuild     U ] x11-libs/gtk+-2.18.3 [2.16.6-r00.1] USE="aqua jpeg tiff -X (-cups) -debug -doc -jpeg2k -test -vim-syntax -xinerama" 0 kB
Comment 1 Fabian Groffen gentoo-dev 2009-11-08 09:54:26 UTC
seems your snipped got corrupted:

ERROR: No debug map or DWARF data was found to link.libtool: link: ( cd ".libs" && rm -f "im-viqr.la" && ln -s "../im-viqr.la" "im-viqr.la" )../../gtk/gtk-query-immodules-2.0 im-am-et.la im-cedilla.la im-cyrillic-translit.la  im-inuktitut.la im-ipa.la im-multipress.la im-thai.la im-ti-er.la im-ti-et.la im-viqr.la  > gtk.immodulesCannot load module /Library/Gentoo/var/tmp/portage/x11-libs/gtk+-2.18.3/work/gtk+-2.18.3/modules/input/im-am-et.la: dlopen(/Library/Gentoo/var/tmp/portage/x11-libs/gtk+-2.18.3/work/gtk+-2.18.3/modules/input/.libs/im-am-et.bundle, 10): Symbol not found: _res_9_query  Referenced from: /Library/Gentoo/usr/lib/libgio-2.0.0.dylib  Expected in: dynamic lookup/Library/Gentoo/var/tmp/portage/x11-libs/gtk+-2.18.3/work/gtk+-2.18.3/modules/input/im-am-et.la does not export GTK+ IM module API: dlopen(/Library/Gentoo/var/tmp/portage/x11-libs/gtk+-2.18.3/work/gtk+-2.18.3/modules/input/.libs/im-am-et.bundle, 10): Symbol not found: _res_9_query  Referenced from: /Library/Gentoo/usr/lib/libgio-2.0.0.dylib  Expected in: dynamic lookup

It looks for res_9_query, which is in -lresolv, and might not be found due to some Snow Leopard fix.
Comment 2 Fabian Groffen gentoo-dev 2009-11-14 13:59:22 UTC
seems to be no resolv magic in configure (any more), testing a brute force fix at the moment
Comment 3 Fabian Groffen gentoo-dev 2009-11-14 14:38:37 UTC
it's not gtk+ but glib's libgio that seems to miss the right dependency
Comment 4 Fabian Groffen gentoo-dev 2009-11-14 16:32:28 UTC
Please sync and reemerge dev-libs/glib, then try gtk+ again.  I applied a fix to glib (adding -lresolv) that allows gtk+ to compile correctly then.

Not bumping because this stuff is big, and we're most probably the only two affected by it.