Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160621 - x11-wm/compiz-0.3.6 won't compile
Summary: x11-wm/compiz-0.3.6 won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-07 02:58 UTC by Lee Davis
Modified: 2007-01-28 13:02 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lee Davis 2007-01-07 02:58:12 UTC
compiz 0.3.6 fails to compile.  Fails at:

In file included from decorator.moc.cpp:11:
decorator.h:37:35: kdecoration_plugins_p.h: No such file or directory
decorator.h:38:27: kdecoration_p.h: No such file or directory
In file included from window.h:37,
                 from decorator.h:46,
                 from decorator.moc.cpp:11:
options.h:27:25: kdecoration.h: No such file or directory
In file included from window.h:37,
                 from decorator.h:46,
                 from decorator.moc.cpp:11:
options.h:35: error: expected class-name before '{' token
options.h:83: error: `WindowOperation' does not name a type
options.h:119: error: `KDecorationDefines' has not been declared
options.h:120: error: ISO C++ forbids declaration of `WindowOperation' with no type
options.h:120: error: expected `;' before "windowOperation"
options.h:126: error: `KDecorationDefines' has not been declared
options.h:126: error: ISO C++ forbids declaration of `WindowOperation' with no type
options.h:126: error: expected `;' before "OpTitlebarDblClick"
In file included from decorator.h:46,
                 from decorator.moc.cpp:11:
window.h:45: error: expected class-name before '{' token
window.h:64: error: `MaximizeMode' does not name a type
window.h:83: error: `WindowOperation' has not been declared
window.h:83: error: ISO C++ forbids declaration of `parameter' with no type
window.h:92: error: `MaximizeMode' has not been declared
window.h:92: error: ISO C++ forbids declaration of `mode' with no type
window.h:199: error: field `mIcons' has incomplete type
In file included from decorator.moc.cpp:11:
decorator.h:73: error: expected class-name before '{' token
decorator.h:76: error: `Requirement' has not been declared
decorator.h:77: error: ISO C++ forbids declaration of `parameter' with no type
make[3]: *** [decorator.moc.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/compiz-0.3.6/work/compiz-0.3.6/kde/window-decorator'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/compiz-0.3.6/work/compiz-0.3.6/kde'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/compiz-0.3.6/work/compiz-0.3.6'
make: *** [all] Error 2

!!! ERROR: x11-wm/compiz-0.3.6 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  compiz-0.3.6.ebuild, line 42:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


Reproducible: Always

Steps to Reproduce:
1. emerge --update compiz

Actual Results:  
Compile fails.

Expected Results:  
Compiz should update.
Comment 1 Lee Davis 2007-01-07 02:58:53 UTC
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Genuine Intel(R) CPU           T2500  @ 2.00GHz
Gentoo Base System version 1.12.6
Last Sync: Sun, 07 Jan 2007 00:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /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/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm arts audiofile avi berkdb bitmap-fonts bluetooth bzip2 cdr cli cracklib crypt ctype cups dba dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran frontendonly ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux lcms libg++ libwww linguas_en mad memlimit mikmod mng motif mozilla mp3 mpeg msn ncurses nls nptl nptlonly nvidia offensive ogg opengl oss pam pcre pdflib perl png posix pppd python qt qt3 qt4 quicktime readline reflection ruby samba sdl session simplexml slang soap sockets spell spl ssl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa vorbis x86 xine xinerama xml xml2 xorg xsl xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Dan Coats 2007-01-09 16:47:40 UTC
Making all in window-decorator
make[3]: Entering directory `/var/tmp/portage/compiz-0.3.6/work/compiz-0.3.6/kde/window-decorator'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -I/usr/qt/3/include -I/usr/kde/3.5/include    -O2 -march=athlon-xp -pipe -fomit-frame-pointer -MT decorator.moc.o -MD -MP -MF ".deps/decorator.moc.Tpo" -c -o decorator.moc.o decorator.moc.cpp; \
        then mv -f ".deps/decorator.moc.Tpo" ".deps/decorator.moc.Po"; else rm -f ".deps/decorator.moc.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -I/usr/qt/3/include -I/usr/kde/3.5/include    -O2 -march=athlon-xp -pipe -fomit-frame-pointer -MT window.moc.o -MD -MP -MF ".deps/window.moc.Tpo" -c -o window.moc.o window.moc.cpp; \
        then mv -f ".deps/window.moc.Tpo" ".deps/window.moc.Po"; else rm -f ".deps/window.moc.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -I/usr/qt/3/include -I/usr/kde/3.5/include    -O2 -march=athlon-xp -pipe -fomit-frame-pointer -MT KWinInterface_skel.o -MD -MP -MF ".deps/KWinInterface_skel.Tpo" -c -o KWinInterface_skel.o KWinInterface_skel.cpp; \
        then mv -f ".deps/KWinInterface_skel.Tpo" ".deps/KWinInterface_skel.Po"; else rm -f ".deps/KWinInterface_skel.Tpo"; exit 1; fi
In file included from decorator.moc.cpp:11:
decorator.h:44:29: error: dbus/connection.h: No such file or directory
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -I/usr/qt/3/include -I/usr/kde/3.5/include    -O2 -march=athlon-xp -pipe -fomit-frame-pointer -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \
        then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
decorator.h:133: error: ISO C++ forbids declaration of 'DBusMessage' with no type
decorator.h:133: error: expected ';' before '*' token
decorator.h:166: error: ISO C++ forbids declaration of 'DBusConnection' with no type
decorator.h:166: error: expected ';' before '*' token
decorator.h:167: error: 'DBusQt' has not been declared
decorator.h:167: error: expected ';' before 'mDBusQtConnection'
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -I/usr/qt/3/include -I/usr/kde/3.5/include    -O2 -march=athlon-xp -pipe -fomit-frame-pointer -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o utils.cpp; \
        then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi
make[3]: *** [decorator.moc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from main.cpp:31:
decorator.h:44:29: error: dbus/connection.h: No such file or directory
decorator.h:133: error: ISO C++ forbids declaration of 'DBusMessage' with no type
decorator.h:133: error: expected ';' before '*' token
decorator.h:166: error: ISO C++ forbids declaration of 'DBusConnection' with no type
decorator.h:166: error: expected ';' before '*' token
decorator.h:167: error: 'DBusQt' has not been declared
decorator.h:167: error: expected ';' before 'mDBusQtConnection'
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/compiz-0.3.6/work/compiz-0.3.6/kde/window-decorator'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/compiz-0.3.6/work/compiz-0.3.6/kde'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/compiz-0.3.6/work/compiz-0.3.6'
make: *** [all] Error 2

!!! ERROR: x11-wm/compiz-0.3.6 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  compiz-0.3.6.ebuild, line 42:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 3 Dan Coats 2007-01-09 16:50:34 UTC
 emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.19-gentoo-r3 i686)
=================================================================
System uname: 2.6.19-gentoo-r3 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.6
Last Sync: Mon, 08 Jan 2007 22:00:01 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.osuosl.org/ http://open-systems.ufl.edu/mirrors/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac accessability acl adns aiglx aim alsa alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm arts audiofile bash-completion bcmath berkdb bidi bindinst bitmap-fonts browserplugin bzip2 cairo calendar caps cli cracklib crypt cups curlwrappers dedicated dga dio divx4linux dlloader dri dts dvd eds elibc_glibc emacs emacs-w3 emboss encode erandom esd ethereal examples expat fastcgi fbcon font foomaticdb fortran ftp gd gdbm gif glitz glut gnome gnusetup gnutls gpm gstreamer gtk gtk2 gtkhtml hardened iconv imap imlib immqt-bc inifile input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads java javascript jp2 jpeg jpeg2k kde kerberos kernel_linux krb4 libcaca libclamv libg++ libwww live lzo mad maildir mailwrapper mikmod milter mime ming mmap mmx mono motif mp3 mpeg mpi msn musicbrainz ncurses nls nptl nptlonly nvidia oav objc ogg opengl oracle oscar oss pam pcre perl php pic png portaudio posix pppd python qt3 qt4 quicktime readline reflection sdl session shared spell spl sqlite sse ssl symlink tcltktcpd tcpd test threads truetype truetype-fonts type1-fonts udev urandom usb usepackagedmakefiles userland_GNU userlocales vcd vhosts video_cards_nv video_cards_nvidia video_cards_vesa videos vorbis win32codecs wmf wxwindows xcomposite xinerama xml xorg xpm xprint xrandr xv xvid xvmc yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Mikko Ruuska 2007-01-12 16:52:01 UTC
Seems to have a missing dependency on kwin for kdecorator_p.h & co.
Comment 5 Vincent Le Ligeour 2007-01-17 23:58:32 UTC
(In reply to comment #2)

Comment #2 is related to upstream compiz I think, because dbus use flag is well used in the ebuild but compiz still includes dbus headers
Comment 6 Hanno Böck gentoo-dev 2007-01-28 12:22:32 UTC
I think all dep-issues on 0.3.6 have been resolved lately.
Comment 7 Vincent Le Ligeour 2007-01-28 13:02:15 UTC
(In reply to comment #6)
> I think all dep-issues on 0.3.6 have been resolved lately.
> 

This bug should be reopen as compiz cannot be build without dbus support and with kde support (decoration).
In fact file compiz-0.3.6/kde/window-decorator/decorator.h includes dbus header whereas kde could be compiled without dbus.
Workaround : add dbus dependency when kde use flag is enable in compiz ebuild