Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134785 - KDE and kdelibs fail to compile : missing observer_stub.h / UIServer_stub
Summary: KDE and kdelibs fail to compile : missing observer_stub.h / UIServer_stub
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL: http://www.mail-archive.com/kde-build...
Whiteboard:
Keywords:
: 134857 137660 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-29 07:05 UTC by Michael Evans
Modified: 2006-08-24 08:59 UTC (History)
3 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 Michael Evans 2006-05-29 07:05:19 UTC
/bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kio/kio -I../.. -I../../dcop -I../../kdecore -I../../kio/kssl -I../../kjs -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2 -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kio/kio/.. -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdecore/network -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kio/kio/../kssl -I../kssl -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kio/kio/../../interfaces  -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/dcop -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/libltdl -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdefx -I../../kdecore -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdecore -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdeui -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kio -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kio/kio -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kio/kfile -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2 -I/usr/qt/3/include -I. -I/usr/kde/3.5/include   -D_LARGEFILE64_SOURCE -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -fomit-frame-pointer -pipe -mmmx -msse -msse2 -m3dnow -mfpmath=sse -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  -c -o renamedlg.lo renamedlg.cpp
observer.cpp:32:27: error: uiserver_stub.h: No such file or directory
observer.cpp:36:27: error: observer_stub.h: No such file or directory

See this news archive for possibly relevant information:
http://www.mail-archive.com/kde-buildsystem@kde.org/msg00963.html

I also can't find the missing .h file anywhere using equery b observer.h or equery b observer_stub.h, and find within the build directory doesn't see the file either.



Portage 2.1_rc3-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-mm2 i686)
=================================================================
System uname: 2.6.16-mm2 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -mmmx -msse -msse2 -m3dnow -mfpmath=sse"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -mmmx -msse -msse2 -m3dnow -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://mirrors1.netvisao.pt/gentoo/ http://gentoo.math.bme.hu"
MAKEOPTS="-j2"
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="/portagetree"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d a52 aac acl acpi alsa apache2 apm avi bash-completion berkdb bidi bitmap-fonts bzip2 caps cdparanoia cdr cjk cli crypt css cups dga dri dv dvd dvdr eds emboss encode esd ethereal exif fftw flac flash foomaticdb fortran freetds freewnn gdbm gif ginac gnome gphoto2 gpm gstreamer gtk gtk2 ieee1394 imagemagick imlib innodb ipv6 isdnlog java joystick jpeg kde libg++ libwww lm_sensors mad maildir matroska memlimit mikmod mime ming mmx motif mp3 mpeg mpi mysql mysqli ncurses nls nocd nptl nptlonly odbc offensive ogg oggvorbis openal opengl oss pam pcntl pcre pdflib perl png posix ppds pppd python qt quicktime readline recode reflection scanner sdl server session shorten skey slang sockets socks5 speex spell spl sse sse2 ssl sysvipc szip tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wmf xine xinerama xml xml2 xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati video_cards_radeon video_cards_fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2006-05-29 07:59:41 UTC
this looks very much like a parallel make error.  try with MAKEOPTS=-j1.
Comment 2 Michael Evans 2006-05-29 14:18:49 UTC
I managed to get someone to do for me since I'm stuck at work.  I confirmed they made that change, and called back later to have them check.  It Sounds like a different error happened... but It'll be a few hours before I can check on what the problem is now.
Comment 3 Michael Evans 2006-05-29 19:38:17 UTC
*** Bug 134857 has been marked as a duplicate of this bug. ***
Comment 4 Michael Evans 2006-05-29 19:39:48 UTC
Making all in .
make[3]: Entering directory `/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdeui'
...
/usr/qt/3/bin/moc /var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdeui/kshortcutdialog.h -o kshortcutdialog.moc
/bin/sh ../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdeui -I.. -I../dcop -I../kdecore -I../kio/kssl -I../kjs -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdefx -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/interfaces -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/dcop -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/libltdl -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdefx -I../kdecore -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdecore -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdeui -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kio -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kio/kio -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kio/kfile -I/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2 -I/usr/qt/3/include -I. -I/usr/kde/3.5/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -fomit-frame-pointer -pipe -mmmx -msse -msse2 -m3dnow -mfpmath=sse -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  -c -o kshortcutdialog.lo kshortcutdialog.cpp
kshortcutdialog.cpp:44:36: error: kshortcutdialog_simple.h: No such file or directory
kshortcutdialog.cpp:45:38: error: kshortcutdialog_advanced.h: No such file or directory
kshortcutdialog.cpp: In constructor 'KShortcutDialog::KShortcutDialog(const KShortcut&, bool, QWidget*, const char*)':
kshortcutdialog.cpp:78: error: invalid use of undefined type 'struct KShortcutDialogSimple'
kshortcutdialog.h:28: error: forward declaration of 'struct KShortcutDialogSimple'
kshortcutdialog.cpp:80: error: invalid use of undefined type 'struct KShortcutDialogAdvanced'
kshortcutdialog.h:29: error: forward declaration of 'struct KShortcutDialogAdvanced'
kshortcutdialog.cpp:81: error: invalid use of undefined type 'struct KShortcutDialogAdvanced'
etc etc
make[3]: *** [kshortcutdialog.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdeui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/kdeui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.5.2-r6 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  kdelibs-3.5.2-r6.ebuild, line 127:   Called kde_src_compile
  kde.eclass, line 123:   Called kde_src_compile 'all'
  kde.eclass, line 252:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 248:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.

Syncing, searching, will post after dinner.
Comment 5 Michael Evans 2006-05-29 21:05:09 UTC
Portage 2.1_rc3-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-mm2 i686)
=================================================================
System uname: 2.6.16-mm2 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -mmmx -msse -msse2 -m3dnow -mfpmath=sse"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -mmmx -msse -msse2 -m3dnow -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://mirrors1.netvisao.pt/gentoo/ http://gentoo.math.bme.hu"
MAKEOPTS="-j1"
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="/portagetree"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d a52 aac acl acpi alsa apache2 apm avi bash-completion berkdb bidi bitmap-fonts bzip2 caps cdparanoia cdr cjk cli crypt css cups dga dri dv dvd dvdr eds emboss encode esd ethereal exif fftw flac flash foomaticdb fortran freetds freewnn gdbm gif ginac gnome gphoto2 gpm gstreamer gtk gtk2 ieee1394 imagemagick imlib innodb ipv6 isdnlog java joystick jpeg kde libg++ libwww lm_sensors mad maildir matroska memlimit mikmod mime ming mmx motif mp3 mpeg mpi mysql mysqli ncurses nls nocd nptl nptlonly odbc offensive ogg oggvorbis openal opengl oss pam pcntl pcre pdflib perl png posix ppds pppd python qt quicktime readline recode reflection scanner sdl server session shorten skey slang sockets socks5 speex spell spl sse sse2 ssl sysvipc szip tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wmf xine xinerama xml xml2 xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati video_cards_radeon video_cards_fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


It seems to have compiled when I removed the "userpriv" feature.  I'll test it again with makeopts back at -j2.

I'm not sure if this should be closed or not now... Will comment later after I've had a chance to see if the rest of KDE emerges.
Comment 6 Michael Evans 2006-05-29 23:25:13 UTC
First, I'll leave this open because I'm not sure what should happen next.

Second, removing the "userpriv" poratage feature allowed the rest of KDE to install, aside from a problem that looks unrelated.

So the question is, is this bug part of the userpriv portage module, or is this a KDE bug that is exposed by using that module?  Good luck.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 15:10:37 UTC
*** Bug 137660 has been marked as a duplicate of this bug. ***
Comment 8 Mark D. 2006-07-08 16:44:38 UTC
This is a bug caused by KDE. I am not using the userpriv module and kde-base/kdelibs-3.5.3-r3 will not compile for me (same missing header files as comment #1)


Portage 2.1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r1, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre18
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -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/lib64/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/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache confcache digest distlocks fixpackages metadata-transfer parallel-fetch sfperms strict"
GENTOO_MIRRORS="ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://chod.cwru.edu/gentoo http://gentoo.binarycompass.org http://chod.cwru.edu/gentoo"
LANG="en_CA.UTF-8"
LC_ALL="en_CA.UTF-8"
MAKEOPTS="-j2"
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 /usr/local/gentopia"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa avahi avi beagle bitmap-fonts bzip2 cairo canvas cdr cli crypt cups dbus divx4linux dlloader dri dvd dvdr dvdread emboss faad fam ffmpeg firefox flac foomaticdb gdbm gif gmail gnome gpm gstreamer gtk gtk2 hal howl id3 imlib ipv6 isdnlog jpeg lzw lzw-tiff matroska mono moznocompose moznoirc moznomail mp3 mpeg ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl pam pcre pdf pdflib perl png pppd python qt qt3 qt4 quicktime rar readline reflection samba sdl session spell spl ssl svg tcpd theora truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 vorbis wxwindows xorg xpm xv xvid zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2006-08-24 08:59:48 UTC
Assuming confcache is the problem. Don't use it, it's broken with regards to mixed gcc usage, respective updates and therefor package masked. If there's evidence that I'm wrong, reopen please.