>>> Emerging (1 of 1) app-i18n/skim-1.4.5 to / * skim-1.4.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking skim-1.4.5.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking skim-1.4.5.tar.bz2 to /var/tmp/portage/app-i18n/skim-1.4.5/work * Applying skim-1.4.5-asneeded.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-i18n/skim-1.4.5/work/skim-1.4.5 ... Checking for Python : /usr/bin/python Checking for SCons : Use Bundled scons. ** installation prefix for the project set to: /usr Checking for kde-config : kde-config was found Checking for kde version : 3.5.9 Checking for the qt library : qt is in /usr/qt/3 Checking for uic : uic was found as /usr/qt/3/bin/uic Checking for moc : moc was found as /usr/qt/3/bin/moc Checking for the qt includes : ok /usr/qt/3/include/ Checking for the kde includes : ok /usr/kde/3.5/include Checking for pkg-config : Found Checking for scim >= 1.4.4 ... Found Checking for scim-x11utils ... Found scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... meinproc --check --cache doc/de/index.cache.bz2 doc/de/index.docbook meinproc --check --cache doc/en/index.cache.bz2 doc/en/index.docbook dcopidl plugins/compmgrclient/compmgrclient.h > plugins/compmgrclient/compmgrclient.kidl || (rm -f plugins/compmgrclient/compmgrclient.kidl ; false) /usr/qt/3/bin/moc -o plugins/compmgrclient/compmgrclient.moc plugins/compmgrclient/compmgrclient.h processing scimkdesettings.kcfgc to get scimkdesettings.h and scimkdesettings.cpp kconfig_compiler -dutils utils/scimkdeconfig.kcfg utils/scimkdesettings.kcfgc g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -I/usr/include/scim-1.0 -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Iutils -Iplugins/compmgrclient -c -o plugins/compmgrclient/compmgrclient.os plugins/compmgrclient/compmgrclient.cpp dcopidl2cpp --c++-suffix cpp --no-signals --no-stub plugins/compmgrclient/compmgrclient.kidl g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -I/usr/include/scim-1.0 -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Iutils -Iplugins/compmgrclient -c -o plugins/compmgrclient/compmgrclient_skel.os plugins/compmgrclient/compmgrclient_skel.cpp uic_processing(["plugins/compmgrclient/compositemanagerbase.h", "plugins/compmgrclient/compositemanagerbase.cpp", "plugins/compmgrclient/compositemanagerbase.moc"], ["plugins/compmgrclient/compositemanagerbase.ui"]) /usr/qt/3/bin/uic -L /usr/kde/3.5/lib/kde3/plugins -nounload -o plugins/compmgrclient/compositemanagerbase.h plugins/compmgrclient/compositemanagerbase.ui /usr/qt/3/bin/uic -L /usr/kde/3.5/lib/kde3/plugins -nounload -tr tr2i18n -impl plugins/compmgrclient/compositemanagerbase.h plugins/compmgrclient/compositemanagerbase.ui >> plugins/compmgrclient/compositemanagerbase.cpp /usr/qt/3/bin/moc -o plugins/compmgrclient/compositemanagerbase.moc plugins/compmgrclient/compositemanagerbase.h g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -I/usr/include/scim-1.0 -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Iutils -Iplugins/compmgrclient -c -o plugins/compmgrclient/compositemanagerbase.os plugins/compmgrclient/compositemanagerbase.cpp /usr/qt/3/bin/moc -o plugins/compmgrclient/compositemanagerconfig.moc plugins/compmgrclient/compositemanagerconfig.h g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -I/usr/include/scim-1.0 -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Iutils -Iplugins/compmgrclient -c -o plugins/compmgrclient/compositemanagerconfig.os plugins/compmgrclient/compositemanagerconfig.cpp /usr/qt/3/bin/moc -o src/socketserverthread.moc src/socketserverthread.h g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -DVERSION=\"1.4.5\" -DPACKAGE=\"skim\" -DSCIM_VERSION=\"1.4.7\" -I/usr/include/scim-1.0 -DSCIM_BINARY_VERSION=\"1.4.0\" -DSCIM_LIBDIR=\"/usr/lib\" -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Isrc -c -o src/socketserverthread.os src/socketserverthread.cpp /usr/qt/3/bin/moc -o src/skimpluginmanager.moc src/skimpluginmanager.h g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -DVERSION=\"1.4.5\" -DPACKAGE=\"skim\" -DSCIM_VERSION=\"1.4.7\" -I/usr/include/scim-1.0 -DSCIM_BINARY_VERSION=\"1.4.0\" -DSCIM_LIBDIR=\"/usr/lib\" -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Isrc -c -o src/skimpluginmanager.os src/skimpluginmanager.cpp /usr/qt/3/bin/moc -o src/scimhelpdialog.moc src/scimhelpdialog.h g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -DVERSION=\"1.4.5\" -DPACKAGE=\"skim\" -DSCIM_VERSION=\"1.4.7\" -I/usr/include/scim-1.0 -DSCIM_BINARY_VERSION=\"1.4.0\" -DSCIM_LIBDIR=\"/usr/lib\" -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Isrc -c -o src/scimhelpdialog.os src/scimhelpdialog.cpp /usr/qt/3/bin/moc -o src/skimglobalactions.moc src/skimglobalactions.h g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -DVERSION=\"1.4.5\" -DPACKAGE=\"skim\" -DSCIM_VERSION=\"1.4.7\" -I/usr/include/scim-1.0 -DSCIM_BINARY_VERSION=\"1.4.0\" -DSCIM_LIBDIR=\"/usr/lib\" -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Isrc -c -o src/skimglobalactions.os src/skimglobalactions.cpp /usr/qt/3/bin/moc -o src/skimplugin.moc src/skimplugin.h g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -DVERSION=\"1.4.5\" -DPACKAGE=\"skim\" -DSCIM_VERSION=\"1.4.7\" -I/usr/include/scim-1.0 -DSCIM_BINARY_VERSION=\"1.4.0\" -DSCIM_LIBDIR=\"/usr/lib\" -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Isrc -c -o src/skimplugin.os src/skimplugin.cpp /usr/qt/3/bin/moc -o src/skimkeygrabber.moc src/skimkeygrabber.h g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -DVERSION=\"1.4.5\" -DPACKAGE=\"skim\" -DSCIM_VERSION=\"1.4.7\" -I/usr/include/scim-1.0 -DSCIM_BINARY_VERSION=\"1.4.0\" -DSCIM_LIBDIR=\"/usr/lib\" -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Isrc -Isrc -c -o src/skimkeygrabber.os src/skimkeygrabber.cpp g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Iutils -c -o utils/scimkdesettings.os utils/scimkdesettings.cpp /usr/qt/3/bin/moc -o utils/scimmovehandle.moc utils/scimmovehandle.h g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Iutils -c -o utils/scimmovehandle.os utils/scimmovehandle.cpp /usr/qt/3/bin/moc -o utils/scimdragableframe.moc utils/scimdragableframe.h g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Iutils -c -o utils/scimdragableframe.os utils/scimdragableframe.cpp g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Iutils -c -o utils/scimxmlguibuilder.os utils/scimxmlguibuilder.cpp /usr/qt/3/bin/moc -o utils/scimactions.moc utils/scimactions.h g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Iutils -c -o utils/scimactions.os utils/scimactions.cpp /usr/qt/3/bin/moc -o utils/scimtoolbar.moc utils/scimtoolbar.h g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Iutils -c -o utils/scimtoolbar.os utils/scimtoolbar.cpp /usr/qt/3/bin/moc -o utils/kautocmodule.moc utils/kautocmodule.h g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Iutils -c -o utils/kautocmodule.os utils/kautocmodule.cpp g++ -O2 -march=prescott -pipe -DNO_CONFIG_H -I/usr/kde/3.5/include -I/usr/qt/3/include/ -DENABLE_DEBUG=0 -DQT_THREAD_SUPPORT -D_REENTRANT -fPIC -O2 -march=prescott -pipe -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -I. -Iutils -c -o utils/skimplugininfo.os utils/skimplugininfo.cpp g++ -Wl,--rpath=/usr/qt/3/lib -Wl,--rpath=/usr/lib/kde3 -Wl,--rpath=/usr/kde/3.5/lib -Wl,--rpath=/usr/lib -Wl,--soname=libscim-kdeutils.so.0 -shared -o utils/libscim-kdeutils.so.0.1.0 utils/scimkdesettings.os utils/scimmovehandle.os utils/scimdragableframe.os utils/scimxmlguibuilder.os utils/scimactions.os utils/scimtoolbar.os utils/kautocmodule.os utils/skimplugininfo.os -L/usr/kde/3.5/lib -L/usr/qt/3/lib building 'libscim-kdeutils.la' from 'libscim-kdeutils.so.0.1.0' g++ -Wl,--rpath=/usr/qt/3/lib -Wl,--rpath=/usr/lib/kde3 -Wl,--rpath=/usr/kde/3.5/lib -Wl,--rpath=/usr/lib -Wl,--soname=libskim.so.0 -shared -o src/libskim.so.0.1.0 src/socketserverthread.os src/skimpluginmanager.os src/scimhelpdialog.os src/skimglobalactions.os src/skimplugin.os src/skimkeygrabber.os -Lutils -L/usr/kde/3.5/lib -L/usr/qt/3/lib -lqt-mt -lkdecore -lkdeui -lkutils -lscim-kdeutils -lscim-1.0 -lscim-x11utils-1.0 -lX11 -lscim-1.0 /usr/lib/gcc/i686-pc-linux-gnu/4.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lscim-kdeutils collect2: ld returned 1 exit status scons: *** [src/libskim.so.0.1.0] Error 1 scons: building terminated because of errors. * * ERROR: app-i18n/skim-1.4.5 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2966: Called die * The specific snippet of code: * CFLAGS="${CXXFLAGS}" ./scons ${sconsopts} || die * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-i18n/skim-1.4.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-i18n/skim-1.4.5/temp/environment'. * * Messages for package app-i18n/skim-1.4.5: * * ERROR: app-i18n/skim-1.4.5 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2966: Called die * The specific snippet of code: * CFLAGS="${CXXFLAGS}" ./scons ${sconsopts} || die * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-i18n/skim-1.4.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-i18n/skim-1.4.5/temp/environment'. * Portage 2.1.5_rc6 (default/linux/x86/2008.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.25-gentoo-r1 i686) ================================================================= System uname: 2.6.25-gentoo-r1 i686 Genuine Intel(R) CPU T2050 @ 1.60GHz Timestamp of tree: Sun, 04 May 2008 01:45:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r2 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.25-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch sandbox sfperms strict userfetch" GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo http://ftp.kaist.ac.kr/pub/gentoo http://mirror.pacific.net.au/linux/Gentoo" LDFLAGS="" LINGUAS="en_US en *" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" 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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-china /usr/portage/local/layman/sunrise /usr/portage/local/localman/secludedsage" SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa arts bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emacs emboss encode evo firefox fortran gdbm gif gpm hal iconv ipv6 isdnlog java jpeg kde kerberos ldap libnotify mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nfs nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg tcpd tiff truetype unicode v4l v4l2 vorbis win32codecs x86 xcomposite xine xml xorg xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en *" USERLAND="GNU" VIDEO_CARDS="i810 vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always Steps to Reproduce: 1.emerge skim 2. 3.
I use AMD64 and have the same bug. My workaround: ebuild /usr/portage/app-i18n/skim/skim-1.4.5.ebuild clean ebuild /usr/portage/app-i18n/skim/skim-1.4.5.ebuild compile # fail :( ebuild /usr/portage/app-i18n/skim/skim-1.4.5.ebuild compile # success!! ebuild /usr/portage/app-i18n/skim/skim-1.4.5.ebuild merge
I removed the --as-needed patch got a good result. Is --as-needed patch really needed?
Adding the author to the CC list.
Faint, what was I saying? I am sorry that I used the wrong word... I was saying "Is this library (scim-kdeutils) which --as-needed might clear really need" instead of unconsciously typed "Is --as-needed patch really needed?"
As Oleg said, re-emerging this works. I built the system again from the first and the bug disappeared.