Google tells me that this seems to be similar to Bug # 247314 . emerge -aDNuv world breaks when updating x11-libs/compizconfig-backend-kconfig-0.7.8 Making all in settings-backend make[2]: Entering directory `/var/tmp/portage/x11-libs/compizconfig-backend-kconfig-0.7.8/work/compizconfig-backend-kconfig-0.7.8/settings-backend' /bin/sh ../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./lib -I/usr/qt/3/include -I. -I/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -I/usr/include/compizconfig -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -c -o kconfig_backend.lo kconfig_backend.cpp In file included from /usr/include/kdecore_export.h:24, from /usr/include/kconfigbase.h:27, from /usr/include/kconfig.h:27, from kconfig_backend.cpp:24: [snip] make[2]: *** [kconfig_backend.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-libs/compizconfig-backend-kconfig-0.7.8/work/compizconfig-backend-kconfig-0.7.8/settings-backend' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/compizconfig-backend-kconfig-0.7.8/work/compizconfig-backend-kconfig-0.7.8' make: *** [all] Error 2 * * ERROR: x11-libs/compizconfig-backend-kconfig-0.7.8 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4075: Called kde_src_compile * environment, line 2912: Called kde_src_compile 'all' * environment, line 3037: Called kde_src_compile 'myconf' 'configure' 'make' * environment, line 3033: Called die * The specific snippet of code: * emake || die "died running emake, $FUNCNAME:make" * The die message: * died running emake, kde_src_compile:make * * 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/x11-libs/compizconfig-backend-kconfig-0.7.8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/compizconfig-backend-kconfig-0.7.8/temp/environment'. * Reproducible: Always Steps to Reproduce: 1. emerge -aDNuv world 2. 3. Actual Results: emerge fails Expected Results: emerge succeeds tried with FEATURES="-ccache" and MAKEOPTS="" too. same problem. # emerge --info Portage 2.2_rc15 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r2-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.0 Timestamp of tree: Sun, 23 Nov 2008 10:35:01 +0000 distcc 3.0 i686-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p48 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.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.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="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" 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/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/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="de en" MAKEOPTS="-j5" 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=" " SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java6 jpeg kde ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xcb xinerama xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd nv vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 172940 [details] build.log
Created attachment 175238 [details, diff] Patch for compizconfig-backend-kconfig-0.7.8.ebuild Ebuild incorrectly tries to run 'configure' with prefix=/usr (default). Solution is to run 'configure' without any prefix or as proposed in the patch set it to correct 'kde-dir' read using 'kde-config -prefix' Proposed patch for ebuild is attached. Please review and accept it into mainstream or reject. Cheers, Dawid
Patch worked for me. Thanks
Patch works for me too. Thanks!
*** Bug 243048 has been marked as a duplicate of this bug. ***
*** Bug 246377 has been marked as a duplicate of this bug. ***
patch appears to work for me.
This worked. Perhaps it's time to fix this in CVS. What do you think guys?
Hm this should be handled by new eclass which is in kde-testing branch kde-3.5 So no, we should not apply this patch.
(In reply to comment #9) > Hm this should be handled by new eclass which is in kde-testing branch kde-3.5 > So no, we should not apply this patch. > I understand that, but then the status of the bug is not precise. We should either a) mark it as a blocker to the bug of the class upgrade or b) close it as wontfix What do you think?
*** Bug 250025 has been marked as a duplicate of this bug. ***
*** Bug 266155 has been marked as a duplicate of this bug. ***
Does not work. "configure: error: The important program kde-config was not found! Please check whether you installed KDE correctly."
Hi Jens, What does not work for you? Patch/workaround for compiz-backend-kconfig-0.7.8 or maybe for the other version, ie. 0.8.2? FYI. I had to apply same change for 0.8.2 to get it compiled.
I tried the workaround for 0.8.2, but I am still getting the same error. I either do something wrong (quite possible) or the workaround does not work. Can you please post step-by-step guide to fix the issue? Editing compizconfig-backend-kconfig-0.8.2.ebuild in described way does not seem to do the trick. Thank you Jan (In reply to comment #14) > Hi Jens, > > What does not work for you? > Patch/workaround for compiz-backend-kconfig-0.7.8 or maybe for the other > version, ie. 0.8.2? > > FYI. I had to apply same change for 0.8.2 to get it compiled. >
Hi Guys, Change is the same for both 0.7.8 and more recent 0.8.2. Please find attached patch. Of course one can edit by hand file and add this line. Don't forget to #ebuild <ebuild_file.ebuild> digest after changes as hash sum has to be updated. The best is to create a copy of file under your local portage overlay, ie. /usr/local/portage/x11-libs/compizconfig-backend-kconfig and work on your local copy. I just tested again changes and everything compiles fine. Good luck and in case of question - let me know. Cheers, Dawid
Created attachment 189610 [details, diff] 0.8.2 patch
Created attachment 190679 [details, diff] Alternate ebuild patch for 0.8.2 This patch for 0.8.2 gets rid of the NEED_KDE variable and the PREFIX setting and uses the directive "need-kde 3.5". It seems less messy than setting PREFIX=`kde-config --prefix`. It works for me. Give it a try!
*** Bug 271806 has been marked as a duplicate of this bug. ***
(In reply to comment #17) > Created an attachment (id=189610) [edit] > 0.8.2 patch > Thanks man, worked for me too. Thanks a lot, its the first time i apply a patch manually :P Greetz from Argentina.
patch for 0.8.2 works for me too. This bug has been open quite a long time, but the fix seems to work. Comments regards the new eclass are appreciated, but as we have a bug in the tree and a solution for it, do you not think we should implement it anyway?
It’s really a shame, that the bug happened in 0.7.8, and with 0.8.2 I am greeted with the same shit again. Additionally the update of compiz did miss to tell me, that i have to enable the freakin’ kde3 (or kde4) USE flag, for the backend to even get installed! It happily updated everything, and the next morning, I am greeted with no freakin’ window manager, and have to dig trough .xsession-errors! @Maintainers: If this is too hard for you, I offer you help from my 8 year old son! Because he will easily be able so resolve things like this is no time! (Actually, he did!)
(In reply to comment #22) > It’s really a shame, that the bug happened in 0.7.8, and with 0.8.2 I am > greeted with the same shit again. Additionally the update of compiz did miss to > tell me, that i have to enable the freakin’ kde3 (or kde4) USE flag, for the > backend to even get installed! It happily updated everything, and the next > morning, I am greeted with no freakin’ window manager, and have to dig trough > .xsession-errors! I was planning to add a blog entry about this and a few other updates in the desktop-effects overlay, but got distracted. In any case, compiz-0.8.2-r3 is masked with a comment about the change in the KDE use flags. If you unmask a hard masked package, you get to pick the pieces. > @Maintainers: If this is too hard for you, I offer you help from my 8 year old > son! Because he will easily be able so resolve things like this is no time! > (Actually, he did!) Thank you but I can live without your sarcasm. If you think you can do better, Gentoo is always in the marked for new developers.
(In reply to comment #18) > Created an attachment (id=190679) [edit] > Alternate ebuild patch for 0.8.2 > > It works for me. Give it a try! Gave it a try. It works for me :) (kde 3.5.10 , in case that is relevant)
*** Bug 283865 has been marked as a duplicate of this bug. ***
This is what configure script tells me: configure: WARNING: unrecognized options: --with-x, --enable-mitshm, --without-xinerama, --without-debug Warning: you chose to install this package in /usr, but KDE was found in /usr/kde/3.5. For this to work, you will need to tell KDE about the new prefix, by ensuring that KDEDIRS contains it, e.g. export KDEDIRS=/usr:/usr/kde/3.5 Then restart KDE. And the package still fails to compile.
(In reply to comment #20) > (In reply to comment #17) > > Created an attachment (id=189610) [edit] > > 0.8.2 patch > > > > Thanks man, worked for me too. It works for me too.
With the last patch it works. Thanks (In reply to comment #27) > (In reply to comment #20) > > (In reply to comment #17) > > > Created an attachment (id=189610) [edit] > > > 0.8.2 patch > > > > > > > Thanks man, worked for me too. > > It works for me too. >
(In reply to comment #26) > This is what configure script tells me: ... > > And the package still fails to compile. > You applied the patch ? Take care to apply it on the LAYMAN ebuild and not on the one that is in the standard portage tree. And don't forget the ebuild ... digest It worked for me.
What effect will the 0.8.2 patch have onn a system (such as mine) where kde 3.5 has been removed? The modified patch seems to force a kde-3.5 dependency, which I'd like to avoid. Thanks.
(In reply to comment #17) > Created an attachment (id=189610) [details] > 0.8.2 patch > Hello, I am fairly certain I've followed all the advice on this bug listing but still get compile errors. I know this post is old, but I can't seem to find anything more recent. The error says that KDE is not configured, and that the selected profile contains no KDE libraries. I have followed all advice i can find, but to no avail. Can you maybe suggest what I am doing wrong? Thanks!
Created attachment 207317 [details, diff] Ebuild patch for 0.8.4 This patch is equivalent to my "Alternate ebuild patch for 0.8.2" <http://bugs.gentoo.org/attachment.cgi?id=190679> but is for version 0.8.4. It works for me!
(In reply to comment #32) > Created an attachment (id=207317) [details] > Ebuild patch for 0.8.4 > > This patch is equivalent to my "Alternate ebuild patch for 0.8.2" > <http://bugs.gentoo.org/attachment.cgi?id=190679> but is for version 0.8.4. > > It works for me! Thanks, works for me too. I've applied both in cvs.