Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197189 - kde-base/kdepim-3.5.8 fails to compile
Summary: kde-base/kdepim-3.5.8 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-27 02:50 UTC by Neil Skrypuch
Modified: 2007-11-06 04:41 UTC (History)
0 users

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 Neil Skrypuch 2007-10-27 02:50:49 UTC
I've tried this several times now as part of a regular emerge -uDNv world. Even after updating config files and revdep-rebuilding, the result is still the same:

(...)
/usr/kde/3.5/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-skel korganizeriface.kidl
/bin/sh ../libtool --silent --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkdepim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib -I../certmanager/lib -I../certmanager/lib/ui -I../indexlib -I../ktnef -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT -D_LARGE_FILES=1  -DHAVE_BOOST -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=k8 -O3 -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  -c -o kmail_part.lo kmail_part.cpp
./templatesconfiguration.h:30: error: expected class-name before '{' token
Session management error: Could not open network socket
/usr/kde/3.5/bin/dcopidl2cpp --c++-suffix cpp --no-signals --no-stub kmailpartIface.kidl
Session management error: Could not open network socket
/bin/sh ../libtool --silent --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -DHAVE_BOOST -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=k8 -O3 -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  -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64    -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64   -o libkmail_bodypartformatter_application_octetstream.la -rpath /usr/kde/3.5/lib64/kde3 app_octetstream.lo
/bin/sh ../libtool --silent --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkdepim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib -I../certmanager/lib -I../certmanager/lib/ui -I../indexlib -I../ktnef -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT -D_LARGE_FILES=1  -DHAVE_BOOST -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=k8 -O3 -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  -c -o kmmessage.lo kmmessage.cpp
make[3]: *** [kmail_part.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/kde-base/kdepim-3.5.8/work/kdepim-3.5.8/kmail'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/kdepim-3.5.8/work/kdepim-3.5.8/kmail'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/kdepim-3.5.8/work/kdepim-3.5.8'
make: *** [all] Error 2
 *
 * ERROR: kde-base/kdepim-3.5.8 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   kdepim-3.5.8.ebuild, line 48:   Called kde_src_compile
 *   kde.eclass, line 170:   Called kde_src_compile 'all'
 *   kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
 *   kde.eclass, line 336:   Called die
 *
 * died running emake, kde_src_compile:make

Portage 2.1.3.9 (default-linux/amd64/2006.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo x86_64)
=================================================================
System uname: 2.6.22-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Fri, 26 Oct 2007 21:50:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -fomit-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/env.d /etc/env.d/java/ /etc/gconf /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="-march=k8 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi aim alsa amd64 asf audiofile berkdb bitmap-fonts bzip2 cdinstall cdparanoia cdr cli cracklib crypt cups curl cvs daap dri dts dvd dvdr dvdread emboss emul-linux-x86 encode ethereal exif fbcon ffmpeg flac foomaticdb fortran gif glut gpm iconv icq ieee1394 imagemagick imlib ipv6 isdnlog javascript jpeg jpeg2k kde lm_sensors logitech-mouse lzw lzw-tiff mad midi mng mp3 mp4 mpeg mpg msn mudflap ncurses nls nocd nptl nptlonly nvidia offensive ogg oggvorbis openal opengl openmp oscar pam pcntl pcre pdf perl php png portaudio posix ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session shorten smp sndfile spell spl sql ssl subversion svg szip tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb vcd videos vorbis x264 xcomposite xine xinerama xorg xpm xv xvid xvmc zeroconf 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-27 07:10:41 UTC
Try this:

revdep-rebuild --library libkabinterfaces.so.1
Comment 2 Neil Skrypuch 2007-10-27 18:45:26 UTC
(In reply to comment #1)
> Try this:
> 
> revdep-rebuild --library libkabinterfaces.so.1
> 

I tried that, it found a slew of broken packages and it rebuilt these successfully:

     Sat Oct 27 04:08:15 2007 >>> kde-base/kdelibs-3.5.7-r3
     Sat Oct 27 05:10:00 2007 >>> kde-base/kdebase-3.5.7-r4
     Sat Oct 27 05:22:28 2007 >>> kde-base/kdemultimedia-3.5.7
     Sat Oct 27 05:35:20 2007 >>> kde-base/kdegames-3.5.7

and then failed on kde-base/kdepim-3.5.7-r5 with the exact same error as with 3.5.8.

kde-base/kdeaddons-3.5.7 was also set to be rebuilt after kdepim, but of course it wasn't reached.

Here's the error:

(...)
/bin/sh ../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkdepim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib -I../certmanager/lib -I../certmanager/lib/ui -I../indexlib -I../ktnef -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -DHAVE_BOOST -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=k8 -O3 -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  -c -o globalsettings_base.lo globalsettings_base.cpp
./templatesconfiguration.h:30: error: expected class-name before '{' token
make[3]: *** [globalsettings_base.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
Session management error: Could not open network socket
Session management error: Could not open network socket
make[3]: Leaving directory `/var/tmp/portage/kde-base/kdepim-3.5.7-r5/work/kdepim-3.5.7/kmail'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/kdepim-3.5.7-r5/work/kdepim-3.5.7/kmail'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/kdepim-3.5.7-r5/work/kdepim-3.5.7'
make: *** [all] Error 2
 *
 * ERROR: kde-base/kdepim-3.5.7-r5 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   kdepim-3.5.7-r5.ebuild, line 65:   Called kde_src_compile
 *   kde.eclass, line 170:   Called kde_src_compile 'all'
 *   kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
 *   kde.eclass, line 336:   Called die
 *
 * died running emake, kde_src_compile:make
Comment 3 Neil Skrypuch 2007-11-06 04:41:48 UTC
I synced again today and updated world. There was a number of packages that were updated before kdepim was emerged again, but kdepim emerged successfully this time.

I'm not sure what fixed it, but here's the list up to and including kdepim:

     Mon Nov  5 15:35:30 2007 >>> sys-apps/portage-2.1.3.16
     Mon Nov  5 15:35:46 2007 >>> sys-libs/timezone-data-2007g
     Mon Nov  5 15:35:52 2007 >>> app-text/unix2dos-2.2-r1
     Mon Nov  5 15:36:46 2007 >>> media-libs/libpng-1.2.22
     Mon Nov  5 15:37:01 2007 >>> sys-apps/pciutils-2.2.7-r1
     Mon Nov  5 15:37:41 2007 >>> sys-apps/sed-4.1.5
     Mon Nov  5 15:38:57 2007 >>> app-arch/tar-1.18-r2
     Mon Nov  5 15:39:12 2007 >>> sys-process/lsof-4.78-r1
     Mon Nov  5 15:57:36 2007 >>> x11-libs/wxGTK-2.6.4.0-r1
     Mon Nov  5 15:57:44 2007 >>> app-portage/gentoolkit-0.2.3-r1
     Mon Nov  5 16:00:20 2007 >>> sys-libs/pam-0.99.8.1-r1
     Mon Nov  5 16:10:13 2007 >>> media-video/vlc-0.8.6c
     Mon Nov  5 16:11:01 2007 >>> dev-util/strace-4.5.16
     Mon Nov  5 16:52:23 2007 >>> www-client/mozilla-firefox-2.0.0.9
     Mon Nov  5 16:52:53 2007 >>> net-dialup/ppp-2.4.4-r13
     Mon Nov  5 17:27:56 2007 >>> kde-base/kdelibs-3.5.8-r1
     Mon Nov  5 18:16:28 2007 >>> kde-base/kdebase-3.5.8-r1
     Mon Nov  5 19:03:03 2007 >>> kde-base/kdepim-3.5.8

I'm considering this fixed now.