For a period of about a month i haven't been able to compile any kde apps. In this period i've recompiled qt3 at least once or twice and kdelibs probably 3-4 times, so i did try the obvious thing. Reproducible: Always Steps to Reproduce: 1. emerge k3b 2. 3. Actual Results: checking for KDE... libraries /usr/kde/3.5/lib64, headers /usr/kde/3.5/include checking if UIC has KDE plugins available... no configure: error: you need to install kdelibs first. If you did install kdelibs, then the Qt version that is picked up by this configure is not the same version you used to compile kdelibs. The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the _same Qt version_, compiled with the _same compiler_ and the same Qt configuration settings. Portage 2.2_rc12 (default-linux/amd64/2007.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.27 x86_64) ================================================================= System uname: Linux-2.6.27-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.2.5 Timestamp of tree: Thu, 23 Oct 2008 16:20:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.4.8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r1, 2.18.50.0.1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -Os -pipe -msse3 -fno-omit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -Os -pipe -msse3 -fno-omit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo http://gentoo.tiscali.nl/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ http://mirror.muntinternet.net/pub/gentoo/ ftp://mirror.muntinternet.net/pub/gentoo/" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en nl" MAKEOPTS="-j2" 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/local/portage/layman/pro-audio /usr/local/portage/layman/science /usr/local/portage/layman/sunrise /usr/local/portage/layman/x11 /usr/local/portage /usr/local/nouveau" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 accessibility acl acpi alsa amd64 aotuv cairo caps cdr cli cracklib crypt cups curl dbus dhcp dri dvd dvdr dvdread eds emboss encode evo fam ffmpeg flac fortran gdbm gif gimpprint gpm gtk gtk2 hal iconv ipv6 isdnlog jack jpeg kpathsea ladspa latex ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap musepack ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline realmedia reflection sdl session spell spl sse sse2 sse3 ssl svg tcpd theora tiff truetype unicode usb v4l v4l2 vorbis wavpack wmp xinerama xml xorg xv xvmc zlib" ALSA_CARDS="ice1724" 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" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl" USERLAND="GNU" VIDEO_CARDS="nouveau vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I am afraid I have to double that. Unfortunately this also blocks me from working on kdesvn (thus the added dependency). Though, I think, I can add some more info: Looks like this happens only with kde apps that run configure, not with cmake based ones. So far I've experienced this with kded, kghostscript and, well, kdesvn. The tail of the build is typical and the same as reported in this bug. Here is also the relevant part of the config.log: configure:31632: checking for KDE configure: 31685: /usr/kde/3.5/include/ksharedptr.h taking that configure: 31715: /usr/kde/3.5/lib64/libkio.la taking that configure: 31733: /usr/kde/3.5/lib64/kde3/plugins/designer/kdewidgets.la taking that configure:31806: result: libraries /usr/kde/3.5/lib64, headers /usr/kde/3.5/include configure:31845: checking if UIC has KDE plugins available configure:31872: /usr/qt/3/bin/uic -L /usr/kde/3.5/lib64/kde3/plugins/designer -nounload -impl actest.h a configure:31875: $? = 0 configure:31889: result: no configure:31900: error: you need to install kdelibs first. I suspect this is due to some misconfiguration on my end, but I cannot pinpoint what exactly (sorry, not much experience with kde internals). Although this is after running (partially completed) emerge -e world. revdep-rebuild did not report any omissions either. Oh, this did not happen before the rebuild.. emerge --info Portage 2.2_rc13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r2-x86_64-AMD_Athlon-tm-_64_X2_Dual-Core_Processor_TK-57-with-glibc2.2.5 Timestamp of tree: Sat, 08 Nov 2008 08:46:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -msse3 -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=k8 -msse3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://mirror.switch.ch/ftp/mirror/gentoo/" LANG="uk_UA.UTF-8" LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed" LINGUAS="en de fr ru uk" MAKEOPTS="-j3" 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/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X aac aalib acl acpi ada alsa amd64 arts audiofile bash-completion berkdb bluetooth branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt css cups dbus dga directfb djvu dri dvd dvdr dvdread eds emboss encode esd evo exif fam fbcon ffmpeg firefox flac fontconfig fortran gd gdbm gif gmp gpm gsl gstreamer gtk hal htmlhandbook iconv idn ieee1394 imagemagick imlib ipv6 isdnlog java javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdeprefix lame lcms ldap libcaca libnotify lm_sensors lzo mad midi mikmod mmap mmx mp3 mpeg mplayer mudflap multilib musepack musicbrainz ncurses networkmanager nls nptl nptlonly nsplugin ntp ogg openexr opengl openmp pam pcre pdf perl php png postgres ppds pppd python qt3 qt3support qt4 quicktime rar raw readline reflection samba sdl session skey sndfile spell spl sqlite sqlite3 sse sse2 sse3 ssl startup-notification svg sysfs tcl tcpd theora threads tiff tk truetype unicode usb utempter vim-syntax vorbis wavpack wmf x264 xattr xcomposite xine xinerama xml xorg xpm xscreensaver xv xvid zlib" 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" 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" 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="evdev keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de fr ru uk" USERLAND="GNU" VIDEO_CARDS="fbdev fglrx radeon radeonhd vesa vga vmware" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Oh, that rebuilding was prompted by periodic hangs of X (consuming 100% of cpu blocking all input, etc). Attempting to downgrade to xorg-server-1.4 and then back up to 1.5 has screwed it up completely, thus the rebuild. Well, that fixed X, but now I can't compile kde apps. I just thought this might be related..
Sorry, my bad. Apparently when rebuilding kdelibs I did not specify the version. So it naturally updated the 4.1 one. Completing emerge -e kdebase with proper versions of all the packages made the problem go away. Although there were issues: just rebuilding kdelibs-3.5 made the compiles come through, however all kde apps would crash at start, all the while revdep-rebuild would not put out any complaints and this is with all the same versions as before. This was fixed by rebuilding all installed kde modules. Well, I guess ABI issues.. Maarten: so, as I suspected this is an internal issue on ones system. Try running emerge --newuse -D world, rebuilding kdelibs again (you have to specify =kde-base/kdelibs-proper.version, otherwise it (re)builds the latest available one). If this does not help, well, I am afraid you'll have to rebuild world (emerge -e world), which should fix it.. kde team: I think you can close this bug as INVALID - technically this is an issue on user side - system misconfiguration..
*** This bug has been marked as a duplicate of bug 244732 ***