Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248293 - x11-libs/compizconfig-backend-kconfig-0.7.8 fails with error: QtCore/qglobal.h: No such file or directory
Summary: x11-libs/compizconfig-backend-kconfig-0.7.8 fails with error: QtCore/qglobal....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InVCS
: 243048 246377 250025 266155 271806 283865 (view as bug list)
Depends on:
Blocks: kde3-on-kde4
  Show dependency tree
 
Reported: 2008-11-23 14:15 UTC by Till Heikamp
Modified: 2009-10-16 18:24 UTC (History)
19 users (show)

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


Attachments
build.log (build.log,27.96 KB, text/plain)
2008-11-23 14:16 UTC, Till Heikamp
Details
Patch for compizconfig-backend-kconfig-0.7.8.ebuild (compizconfig-backend-kconfig-0.7.8.ebuild.patch,317 bytes, patch)
2008-12-14 09:22 UTC, Dawid Kowalski
Details | Diff
0.8.2 patch (compizconfig-backend-kconfig-0.8.2.ebuild.patch,398 bytes, patch)
2009-04-27 12:18 UTC, Dawid Kowalski
Details | Diff
Alternate ebuild patch for 0.8.2 (compizconfig-backend-kconfig-0.8.2.ebuild.20090508.patch,537 bytes, patch)
2009-05-08 10:41 UTC, Ian Abbott
Details | Diff
Ebuild patch for 0.8.4 (compizconfig-backend-kconfig-0.8.4.ebuild.20091016.patch,540 bytes, patch)
2009-10-16 14:48 UTC, Ian Abbott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Till Heikamp 2008-11-23 14:15:53 UTC
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
Comment 1 Till Heikamp 2008-11-23 14:16:26 UTC
Created attachment 172940 [details]
build.log
Comment 2 Dawid Kowalski 2008-12-14 09:22:24 UTC
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
Comment 3 Michael Prager 2009-01-17 01:02:55 UTC
Patch worked for me. Thanks
Comment 4 Ian Abbott 2009-02-25 11:10:20 UTC
Patch works for me too. Thanks!
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-03-07 16:43:36 UTC
*** Bug 243048 has been marked as a duplicate of this bug. ***
Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-03-07 16:48:19 UTC
*** Bug 246377 has been marked as a duplicate of this bug. ***
Comment 7 Chris Bull 2009-03-15 20:34:25 UTC
patch appears to work for me.
Comment 8 Ioannis Aslanidis (RETIRED) gentoo-dev 2009-04-11 10:20:41 UTC
This worked. Perhaps it's time to fix this in CVS. What do you think guys?
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2009-04-11 10:25:26 UTC
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.
Comment 10 Ioannis Aslanidis (RETIRED) gentoo-dev 2009-04-11 23:25:11 UTC
(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?
Comment 11 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-04-26 03:45:04 UTC
*** Bug 250025 has been marked as a duplicate of this bug. ***
Comment 12 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-04-26 11:59:01 UTC
*** Bug 266155 has been marked as a duplicate of this bug. ***
Comment 13 Jens Mueller 2009-04-26 21:04:04 UTC
Does not work.

"configure: error: The important program kde-config was not found!                                                                                                                                                                           
Please check whether you installed KDE correctly."
Comment 14 Dawid Kowalski 2009-04-26 22:58:59 UTC
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.
Comment 15 Jan Buchta 2009-04-27 11:42:00 UTC
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.
> 

Comment 16 Dawid Kowalski 2009-04-27 12:18:06 UTC
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
Comment 17 Dawid Kowalski 2009-04-27 12:18:51 UTC
Created attachment 189610 [details, diff]
0.8.2 patch
Comment 18 Ian Abbott 2009-05-08 10:41:03 UTC
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!
Comment 19 Mike Auty (RETIRED) gentoo-dev 2009-05-31 14:11:09 UTC
*** Bug 271806 has been marked as a duplicate of this bug. ***
Comment 20 Cristian 2009-06-29 03:52:47 UTC
(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.
Comment 21 Russell Knighton 2009-07-13 15:40:55 UTC
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?
Comment 22 Navid Zamani 2009-07-18 13:20:54 UTC
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!)
Comment 23 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-07-18 13:44:03 UTC
(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.
Comment 24 Christian Harms 2009-07-27 17:42:15 UTC
(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)
Comment 25 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-09-06 22:24:23 UTC
*** Bug 283865 has been marked as a duplicate of this bug. ***
Comment 26 Vladimir Berezhnoy 2009-09-10 13:35:30 UTC
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.
Comment 27 Silvio 2009-09-14 20:19:23 UTC
(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.
Comment 28 Alessandro Surace 2009-09-16 10:25:31 UTC
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.
> 

Comment 29 Frédéric Ribadeau Dumas 2009-09-23 11:24:39 UTC
(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.
Comment 30 N. Andrew Walsh 2009-09-28 15:23:30 UTC
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.
Comment 31 colin 2009-10-15 01:27:54 UTC
(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!


Comment 32 Ian Abbott 2009-10-16 14:48:22 UTC
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!
Comment 33 Zac Medico gentoo-dev 2009-10-16 18:24:14 UTC
(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.