Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gtk+ build problem - dynamic modules are not supported
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
rich0
Developer
Developer


Joined: 15 Sep 2002
Posts: 163

PostPosted: Fri Aug 08, 2008 5:01 pm    Post subject: gtk+ build problem - dynamic modules are not supported Reply with quote

I'm running into some odd problems building gtk+ - this is in a reinstall, although some elements of the system such as /etc, /bin, /sbin, and /lib64 and /lib32 are rescued from the previous installation (although most of the key stuff there has been rebuilt such as gcc/glibc).

I run into this error with every gtk+ v2 ebuild. This was performed on 2.12.11:

Code:

(cd .libs && rm -f im-multipress.la && ln -s ../im-multipress.la im-multipress.la)
../../gtk/gtk-query-immodules-2.0 im-xim.la  im-am-et.la im-cedilla.la im-cyrillic-translit.la im-inuktitut.la im-ipa.la im-thai.la im-ti-er.la im-ti-et.la im-viqr.la im-multipress.la  > gtk.immodules
Cannot load module /var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-xim.la: dynamic modules are not supported by this system
/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-xim.la does not export GTK+ IM module API: dynamic modules are not supported by this system
Cannot load module /var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-am-et.la: dynamic modules are not supported by this system
/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-am-et.la does not export GTK+ IM module API: dynamic modules are not supported by this system
Cannot load module /var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-cedilla.la: dynamic modules are not supported by this system
/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-cedilla.la does not export GTK+ IM module API: dynamic modules are not supported by this system
Cannot load module /var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-cyrillic-translit.la: dynamic modules are not supported by this system
/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-cyrillic-translit.la does not export GTK+ IM module API: dynamic modules are not supported by this system
Cannot load module /var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-inuktitut.la: dynamic modules are not supported by this system
/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-inuktitut.la does not export GTK+ IM module API: dynamic modules are not supported by this system
Cannot load module /var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-ipa.la: dynamic modules are not supported by this system
/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-ipa.la does not export GTK+ IM module API: dynamic modules are not supported by this system
Cannot load module /var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-thai.la: dynamic modules are not supported by this system
/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-thai.la does not export GTK+ IM module API: dynamic modules are not supported by this system
Cannot load module /var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-ti-er.la: dynamic modules are not supported by this system
/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-ti-er.la does not export GTK+ IM module API: dynamic modules are not supported by this system
Cannot load module /var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-ti-et.la: dynamic modules are not supported by this system
/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-ti-et.la does not export GTK+ IM module API: dynamic modules are not supported by this system
Cannot load module /var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-viqr.la: dynamic modules are not supported by this system
/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-viqr.la does not export GTK+ IM module API: dynamic modules are not supported by this system
Cannot load module /var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-multipress.la: dynamic modules are not supported by this system
/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input/im-multipress.la does not export GTK+ IM module API: dynamic modules are not supported by this system
make[3]: *** [gtk.immodules] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules/input'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11'
make: *** [all] Error 2
 *
 * ERROR: x11-libs/gtk+-2.12.11 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2945:  Called die
 * The specific snippet of code:
 *       emake || die "compile failed"
 *  The die message:
 *   compile failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/emerge/x11-libs:gtk+-2.12.11:20080808-161001.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/gtk+-2.12.11/temp/environment'.
 *


Here is an excerpt of just the env vars from the environment file:
Code:

declare -x ABI="amd64"
declare -x ALLOWED_FLAGS="-pipe -O -O0 -O1 -O2 -mcpu -march -mtune -fstack-protector -fstack-protector-all -fbounds-checking -fno-PIE -fno-pie -fno-unit-at-a-time -g -g[0-9] -ggdb -ggdb[0-9] -gstabs -gstabs+ -fno-ident -W* -w -fno-stack-protector -fno-stack-protector-all             -fno-strict-aliasing -fno-bounds-checking -mregparm -mno-app-regs -mapp-regs          -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow                -mips1 -mips2 -mips3 -mips4 -mips32 -mips64 -mips16           -msoft-float -mno-soft-float -mhard-float -mno-hard-float -mfpu               -mieee -mieee-with-inexact -mschedule           -mtls-direct-seg-refs -mno-tls-direct-seg-refs                -mflat -mno-flat -mno-faster-structs -mfaster-structs           -m32 -m64 -mabi -mlittle-endian -mbig-endian -EL -EB -fPIC            -mlive-g0 -mcmodel -mstack-bias -mno-stack-bias              -msecure-plt -D*"
declare -x ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
declare -x ALSA_OUTPUT_PORTS="128:0"
declare -x ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
declare -x ANT_HOME="/usr/share/ant"
declare -x APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
declare -x ARCH="amd64"
declare -x ASFLAGS_x86="--32"
declare -x CBUILD="x86_64-pc-linux-gnu"
declare -x CDEFINE_amd64="__x86_64__"
declare -x CDEFINE_default="__unix__"
declare -x CDEFINE_x86="__i386__"
declare -x CFLAGS=" -march=k8 -pipe -O2"
declare -x CFLAGS_default=""
declare -x CFLAGS_x86="-m32"
declare -x CHOST="x86_64-pc-linux-gnu"
declare -x CHOST_amd64="x86_64-pc-linux-gnu"
declare -x CHOST_default="x86_64-pc-linux-gnu"
declare -x CHOST_x86="i686-pc-linux-gnu"
declare -x CLASSPATH="."
declare -x COLON_SEPARATED="XDG_DATA_DIRS"
declare -x CTARGET_default="x86_64-pc-linux-gnu"
declare -x CVS_RSH="ssh"
declare -x CXXFLAGS=" -march=k8 -pipe -O2"
declare -x DCCC_PATH="/usr/lib/distcc/bin"
declare -x DEBUGBUILD="1"
declare -x DEFAULT_ABI="amd64"
declare -x DESTTREE="/usr"
declare -x DIROPTIONS="-m0755"
declare -x ELIBC="glibc"
declare -x ELT_APPLIED_PATCHES=" 1.5.10 1.5.6"
declare -x ELT_LTMAIN_SH="/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11/ltmain.sh"
declare -x EXEOPTIONS="-m0755"
declare -x FCFLAGS=""
declare -x FEATURES="buildpkg ccache distlocks metadata-transfer multilib-strict nostrip parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
declare -x FFLAGS=""
declare -x GCC_SPECS=""
declare -x GDK_USE_XFT="1"
declare -x GENERATION="2"
declare -x GNOME_TARBALL_SUFFIX="bz2"
declare -x HUSHLOGIN="FALSE"
declare -x INHERITED="toolchain-funcs portability flag-o-matic virtualx multilib libtool gnome.org autotools eutils"
declare -x INPUT_DEVICES="keyboard mouse"
declare -x INSDESTTREE=""
declare -x INSOPTIONS="-m0644"
declare -x IUSE=" cups debug doc jpeg tiff vim-syntax xinerama X"
declare -x JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
declare -x JAVA_HOME="/etc/java-config-2/current-system-vm"
declare -x JDK_HOME="/etc/java-config-2/current-system-vm"
declare -x KDEDIRS="/usr:/usr/local:/usr/kde/3.5"
declare -x KERNEL="linux"
declare -x KERNEL_ABI="amd64"
declare -x KV="2.6.25-gentoo-r7-rf78"
declare -x LANG="en_US"
declare -x LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
declare -x LDFLAGS="-Wl,-O1"
declare -x LDFLAGS_default=""
declare -x LDFLAGS_x86="-m elf_i386"
declare -x LDPATH="/usr/local/lib://usr/lib32/opengl/xorg-x11/lib://usr/lib64/opengl/xorg-x11/lib:/lib:/usr/lib:/lib64:/usr/lib64:/usr/local/lib64:/lib32:/usr/lib32:/usr/local/lib32:/usr/x86_64-pc-linux-gnu/lib:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32:/usr/lib64/nspr:/usr/lib64/nss:/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/:/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/native_threads/:/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/classic/:/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/server/:/usr/lib/qt4:/usr/lib64/qt4:/usr/lib32/qt4:/usr/kde/3.5/lib:/usr/kde/3.5/lib64:/usr/kde/3.5/lib32:/usr/qt/3/lib:/usr/qt/3/lib64:/usr/qt/3/lib32:/usr/games/lib:/usr/games/lib32:/usr/lib32/libstdc++-v3/:/usr/NX/lib:/usr/lib64/R/lib"
declare -x LIBDIR_amd64="lib64"
declare -x LIBDIR_default="lib"
declare -x LIBDIR_ppc="lib32"
declare -x LIBDIR_ppc64="lib64"
declare -x LIBDIR_x86="lib32"
declare -x LIBOPTIONS="-m0644"
declare -x LINGUAS="en"
declare -x MAIL="/var/mail/root"
declare -x MAKEOPTS="-j1"
declare -x MULTILIB_ABIS="amd64 x86"
declare -x MULTILIB_STRICT_DENY="64-bit.*shared object"
declare -x MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
declare -x MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
declare -x OPENGL_PROFILE="xorg-x11"
declare -x PALUDIS_OPTIONS="--continue-on-failure if-independent --dl-override-masks license --log-level warning --show-reasons summary --show-use-descriptions changed --resume-command-template /tmp/.paludis-resume-XXXXXX"
declare -x PKG_CONFIG_PATH="/usr/qt/3/lib64/pkgconfig"
declare -x PORTAGE_NICENESS="10"
declare -x PRELINK_PATH=""
declare -x PRELINK_PATH_MASK="/usr/NX:/lib/modules:/usr/lib64/locale:/usr/lib64/wine:/usr/lib64/valgrind:*.la:*.png:*.py:*.pl:*.pm:*.sh:*.xml:*.xslt:*.a:*.js"
declare -x PYTHONPATH="/usr/lib64/portage/pym"
declare -x QMAKESPEC="linux-g++"
declare -x QTDIR="/usr/qt/3"
declare -x RESTRICT=""
declare -x RUBYOPT="-rauto_gem"
declare -x R_HOME="/usr/lib64/R"
declare -x S="/var/tmp/portage/x11-libs/gtk+-2.12.11/work/gtk+-2.12.11"
declare -x SANDBOX_DENY="/etc/ld.so.preload"
declare -x SANDBOX_PREDICT=":/dev/console:/dev/random:/proc/self/maps:/usr/lib64/portage/pym:/usr/lib/python2.0/:/usr/lib/python2.1/:/usr/lib/python2.2/:/usr/lib/python2.3/:/usr/lib/python2.4/:/usr/lib/python2.5/:/usr/lib/python3.0/:/var/cache/edb/dep:/var/db/aliases.db:/var/db/ethers.db:/var/db/group.db:/var/db/hosts.db:/var/db/netgroup.db:/var/db/netmasks.db:/var/db/networks.db:/var/db/passwd.db:/var/db/protocols.db:/var/db/rpc.db:/var/db/services.db:/var/tmp/portage/x11-libs/gtk+-2.12.11/homedir/.:"
declare -x SANDBOX_READ=":/:/dev/shm:/dev/stdin:/var/tmp:/var/tmp/ccache:"
declare -x SANDBOX_WRITE=":/dev/console:/dev/fd:/dev/null:/dev/pts/:/dev/pty:/dev/shm:/dev/shm/ngpt:/dev/stderr:/dev/stdout:/dev/tts:/dev/tty:/dev/vc/:/dev/zero:/proc/self/fd:/tmp:/tmp/:/usr/lib32/cf:/usr/lib32/conftest:/usr/lib64/cf:/usr/lib64/conftest:/usr/lib/cf:/usr/lib/conftest:/usr/tmp/cf:/usr/tmp/conftest:/var/log/scrollkeeper.log:/var/tmp:/var/tmp/:/var/tmp/ccache:/var/tmp/portage/x11-libs/gtk+-2.12.11/homedir/.bash_history:/var/tmp/portage/x11-libs/gtk+-2.12.11/homedir/.gconfd/lock:"
declare -x SEARCH_DIRS_MASK="/usr/NX"
declare -x SGML_CATALOG_FILES="/etc/sgml/xml-simple-docbook-4.1.2.4.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/xml-docbook-4.4.cat:/etc/sgml/sgml-docbook-4.0.cat:/etc/sgml/sgml-docbook-3.0.cat:/etc/sgml/dsssl-docbook-stylesheets.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/sgml-docbook-4.4.cat:/etc/sgml/sgml-docbook.cat:/etc/sgml/sgml-ent.cat:/etc/sgml/xml-docbook-4.1.2.cat:/etc/sgml/sgml-docbook-4.1.cat"
declare -x SLOT="2"
declare -x STAGE1_USE="multilib nptl nptlonly unicode"
declare -x SYMLINK_LIB="yes"
declare -x TZ="EST5EDT"
declare -x UNSTABLE_FLAGS="-Os -O3 -freorder-blocks"
declare -x USE="X amd64 cups elibc_glibc jpeg kernel_linux multilib tiff userland_GNU vim-syntax"
declare -x USERLAND="GNU"
declare -x VIDEO_CARDS="nv nvidia vga"
declare -x VMHANDLE="blackdown-jdk-1.4.2"
declare -x WANT_AUTOCONF="2.5"
declare -x WANT_AUTOMAKE="1.7"
declare -x XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share"
declare -x XPSERVERLIST=""
declare -x _E_DOCDESTTREE_=""
declare -x _E_EXEDESTTREE_=""


Any ideas as to what the problem is. Most other packages build fine, except for the 40 million ones that depend on gtk+ in some way...
Back to top
View user's profile Send private message
rich0
Developer
Developer


Joined: 15 Sep 2002
Posts: 163

PostPosted: Sat Aug 09, 2008 2:46 am    Post subject: Reply with quote

Well, I have no idea what was wrong, but I ended up just doing an emerge -e gtk+ and unsurprisingly that did the trick - 250 packages later... :)

I'm sure it didn't help that the contents of /bin,/lib and /usr/bin,/usr/lib weren't in sync.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum