Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143799 - net-p2p/ktorrent-2.0 fails to merge (compile error)
Summary: net-p2p/ktorrent-2.0 fails to merge (compile error)
Status: VERIFIED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
: 156145 162541 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-13 10:33 UTC by Simon Farnsworth
Modified: 2007-01-17 15:48 UTC (History)
4 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 Simon Farnsworth 2006-08-13 10:33:42 UTC
net-p2p/ktorrent-2.0 fails to merge, due to a compile error in the ipfilter plugin:

Making all in ipfilter
make[3]: Entering directory `/var/tmp/portage/ktorrent-2.0/work/ktorrent-2.0/plugins/ipfilter'
/usr/qt/3/bin/uic -L /usr/kde/3.5/lib/kde3/plugins/designer -nounload -o ipblockingpref.h ./ipblockingpref.ui
/usr/qt/3/bin/uic -L /usr/kde/3.5/lib/kde3/plugins/designer -nounload -o convert_dlg.h ./convert_dlg.ui
/usr/kde/3.5/bin/kconfig_compiler ./ktipfilterplugin.kcfg ./ipfilterpluginsettings.kcfgc; ret=$?; \
        if test "$ret" != 0; then rm -f ipfilterpluginsettings.h ; exit $ret ;  fi
/usr/qt/3/bin/moc ./convertdialog.h -o convertdialog.moc
/usr/qt/3/bin/moc ./ipfilterplugin.h -o ipfilterplugin.moc.cpp
/bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include -I./../../libktorrent  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions   -c -o ipfilterplugin.moc.lo `test -f 'ipfilterplugin.moc.cpp' || echo './'`ipfilterplugin.moc.cpp
/bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include -I./../../libktorrent  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions   -c -o ipfilterpluginsettings.lo `test -f 'ipfilterpluginsettings.cpp' || echo './'`ipfilterpluginsettings.cpp
In file included from ipfilterplugin.h:27,
                 from ipfilterplugin.moc.cpp:11:
ipblockingprefpage.h:25:28: error: ipblockingpref.h: No such file or directory
ipblockingprefpage.h:42: error: expected class-name before '{' token
ipblockingprefpage.h:42: warning: 'class kt::IPBlockingPrefPageWidget' has virtual functions but non-virtual destructor
distcc[26326] ERROR: compile ipfilterplugin.moc.cpp on localhost failed
make[3]: *** [ipfilterplugin.moc.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/ktorrent-2.0/work/ktorrent-2.0/plugins/ipfilter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/ktorrent-2.0/work/ktorrent-2.0/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ktorrent-2.0/work/ktorrent-2.0'
make: *** [all] Error 2

!!! ERROR: net-p2p/ktorrent-2.0 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  ktorrent-2.0.ebuild, line 26:   Called kde_src_compile
  kde.eclass, line 164:   Called kde_src_compile 'all'
  kde.eclass, line 323:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 319:   Called die

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

emerge --info returns:
# emerge --info
Portage 2.1.1_pre5 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-ck1 i686)
=================================================================
System uname: 2.6.16-ck1 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.12.4
Last Sync: Sun, 13 Aug 2006 16:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
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/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.blueyonder.co.uk http://mirror.ovh.net/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LINGUAS="en en_GB"
MAKEOPTS="-j4"
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.uk.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext 7zip X a52 aac acl acpi alsa amarok amr apache2 arts artswrappersuid asf asm avi bash-completion berkdb bitmap-fonts bittorrent bluetooth bzip2 cacheemu cairo calendar caps ccache cdda cddb cdio cdparanoia cdrom cli crypt css cups curl curlwrappers dbus delays dga dlloader doc dri dts dv dvb dvd dvdr dvdread editor edl eds elibc_glibc emboss encode esd examples fdftk ffmpeg flac foomaticdb fortran freetts ftp ftruncate gcj gdbm gif gimp glitz glut glx gnokii gnome gpm gstreamer gtk gtk2 hal haskell ieee1394 imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 irda irmc isdnlog jabber javascript jit joystick jpeg jpeg2k kcal kde kdeenablefinal kdepim kerberos kernel_linux kipi ldap libg++ libwww linguas_en linguas_en_GB live lm_sensors logitech-mouse mad maildir maps mikmod mime mmap mmx mmxext motif mozsvg mp3 mpeg mplayer msn multicall music ncurses new-login nls no-old-linux nodrm nptl nptlonly nsplugin offensive ogg opengl oss pam pcre pda pdflib perl pic png postgres ppds pppd python qt3 qt4 quicktime rdesktop readline real reflection rtc sasl scanner sdl session sharedmem smime sms sockets softmmu sounds spell spl sql sse ssl stream subversion suid tcpd theora truetype truetype-fonts type1-fonts udev unicode usb userland_GNU utf8 v4l v4l2 vcd vhosts video_cards_ati video_cards_radeon videos vim-with-x visualization vorbis win32codecs xanim xattr xcomposite xinerama xml xorg xscreensaver xv xvid yahoo zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-13 10:39:26 UTC
Could you try to compile it with a non-vanilla gcc version?
Comment 2 Simon Farnsworth 2006-08-13 11:06:38 UTC
You'll need to explain what you mean by "non-vanilla gcc version". My gcc is the one obtained by doing "emerge gcc"; I've not changed it in any way, shape or for.
Comment 3 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-13 11:17:02 UTC
(In reply to comment #2)
> You'll need to explain what you mean by "non-vanilla gcc version". My gcc is
> the one obtained by doing "emerge gcc"; I've not changed it in any way, shape
> or for.
> 

Portage 2.1.1_pre5 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3,
2.6.16-ck1 i686)

The gcc version you are using is gcc-4.1.1/vanilla, which is not officially supported. Use gcc-config to change to a non-vanilla gcc compiler.

Additionally, please paste the output of `which uic` and `which designer`.
Comment 4 Simon Farnsworth 2006-08-13 11:28:11 UTC
I can't switch compiler:

# gcc-config -l
Available compilers for CTARGET i686-pc-linux-gnu
  [1]   i686-pc-linux-gnu-4.1.1/vanilla

Activated profiles:
  i686-pc-linux-gnu *       i686-pc-linux-gnu-4.1.1/vanilla

# emerge -p gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-4.1.1

How do I install a supported compiler? This machine was initially installed as a 1.4 machine, and I've been updating via emerge -uD world ever since.
Comment 5 Simon Farnsworth 2006-08-13 11:28:42 UTC
# which uic
/usr/bin/uic
# which uic
/usr/bin/uic
Comment 6 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-13 11:31:07 UTC
I also need `which designer`

Apart from that:

`ls -l /etc/make.profile`

and

`emerge -pv gcc`
Comment 7 Simon Farnsworth 2006-08-13 11:35:56 UTC
Sorry; the double uic was a pasting error:

# which designer
/usr/bin/designer

# ls -l /etc/make.profile
lrwxrwxrwx 1 root root 49 Mar 18 18:43 /etc/make.profile -> ..//usr/portage/profiles/default-linux/x86/2006.0

# emerge -pv gcc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-4.1.1  USE="doc fortran gcj gtk nls (-altivec) -bootstrap -build -hardened -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB

Total size of downloads: 0 kB

Also, emerge -nv --newuse -u gcc doesn't cause an update.
Comment 8 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-13 11:43:23 UTC
uic and designer should be:
/usr/qt/3/bin/uic
/usr/qt/3/bin/designer

Can you check whether they are symlinks?
Comment 9 Ryan Hill (RETIRED) gentoo-dev 2006-08-13 11:51:51 UTC
vanilla is the base gentoo gcc (ie. without ssp or pie), not vanilla GCC from upstream or GCC built with the vanilla flag.  confused yet?  blame the new gcc-config eselect crud. ;d

dirtyepic@deep13 ~ $ gcc-config -l
Available compilers for CTARGET i686-pc-linux-gnu
  [1]   i686-pc-linux-gnu-3.3.6/vanilla
  [2]   i686-pc-linux-gnu-3.4.6/vanilla
  [3]   i686-pc-linux-gnu-4.0.3/vanilla
  [4]   i686-pc-linux-gnu-4.1.1/vanilla
  [5]   i686-pc-linux-gnu-4.1.2-pre20060811/vanilla

Activated profiles:
  i686-pc-linux-gnu *       i686-pc-linux-gnu-4.1.2-pre20060811/vanilla
Comment 10 Simon Farnsworth 2006-08-13 11:54:05 UTC
They're not symlinks, and equery belongs shows:

# equery b `which uic` `which designer`
[ Searching for file(s) /usr/bin/uic,/usr/bin/designer in *... ]
x11-libs/qt-4.1.4 (/usr/bin/uic)
x11-libs/qt-4.1.4 (/usr/bin/designer)

I'm now unmerging qt4 with:
emerge --unmerge '>=qt-4'

When that's done, I'll check to see if emerge -uD world brings it back in, and if ktorrent builds without qt4 installed.
Comment 11 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-13 11:56:22 UTC
Before you do anything else, try:

FEATURES="-distcc" MAKEOPTS="-j1" emerge ktorrent

and, if you changed any use flags, `emerge -uDN world`
Comment 12 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-13 11:57:52 UTC
(In reply to comment #10)

> # equery b `which uic` `which designer`
> [ Searching for file(s) /usr/bin/uic,/usr/bin/designer in *... ]
> x11-libs/qt-4.1.4 (/usr/bin/uic)
> x11-libs/qt-4.1.4 (/usr/bin/designer)

equery b uic designer
[ Searching for file(s) uic,designer in *... ]
x11-libs/qt-3.3.6-r1 (/usr/qt/3/bin/uic)
x11-libs/qt-3.3.6-r1 (/usr/qt/3/plugins/designer)
x11-libs/qt-3.3.6-r1 (/usr/qt/3/bin/designer)
x11-libs/qt-3.3.6-r1 (/usr/qt/3/tools/designer)
kde-base/kdelibs-3.5.4 (/usr/kde/3.5/lib/kde3/plugins/designer)
Comment 13 Simon Farnsworth 2006-08-13 12:26:21 UTC
Having uninstalled Qt4, I get the following output from equery b uic designer:
# equery b uic designer
[ Searching for file(s) uic,designer in *... ]
dev-python/qscintilla-1.6 (/usr/qt/3/plugins/designer)
x11-libs/qt-3.3.6-r1 (/usr/qt/3/bin/designer)
x11-libs/qt-3.3.6-r1 (/usr/qt/3/tools/designer)
x11-libs/qt-3.3.6-r1 (/usr/qt/3/plugins/designer)
x11-libs/qt-3.3.6-r1 (/usr/qt/3/bin/uic)
kde-base/libkdepim-3.5.4 (/usr/kde/3.5/lib/kde3/plugins/designer)
kde-base/kdelibs-3.5.4 (/usr/kde/3.5/lib/kde3/plugins/designer)

This suggests that it was picking up the Qt4 versions before.

emerge ktorrent failed; FEATURES="-distcc" MAKEOPTS="-j1" emerge ktorrent is currently running.

emerge -uD world picks up Qt4 again, so if the current compile succeeds, I'll update Qt to add Qt4 in its own slot, and try again. If not, I'll post the failure output.
Comment 14 Simon Farnsworth 2006-08-13 12:41:55 UTC
Without Qt4, distcc or parallelism, it compiles and installs. I'll try again with Qt4 installed.
Comment 15 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-13 13:46:40 UTC
That could mean that your distcc setup is not configured correctly. If it works for any MAKEOPTS and with FEATURES="-distcc", that would explain it.

lisa: advise
Comment 16 Simon Farnsworth 2006-08-14 01:36:54 UTC
It looks like the makefiles don't cope with parallelism.

I emerged qt4 again:
emerge -u qt
Then compiled ktorrent successfully without distcc or parallelism:
FEATURES="-distcc" MAKEOPTS="-j1" emerge ktorrent

Then, I got ktorrent to fail to compile with:
FEATURES="-distcc" emerge ktorrent
(picking up my normal MAKEOPTS="-j4"
The error in question is unchanged, and stil references a missing header file:

In file included from ipfilterplugin.h:27,
                 from ipfilterplugin.moc.cpp:11:
ipblockingprefpage.h:25:28: error: ipblockingpref.h: No such file or directory
ipblockingprefpage.h:42: error: expected class-name before '{' token
ipblockingprefpage.h:42: warning: 'class kt::IPBlockingPrefPageWidget' has virtual functions but non-virtual destructor
make[3]: *** [ipfilterplugin.moc.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/ktorrent-2.0/work/ktorrent-2.0/plugins/ipfilter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/ktorrent-2.0/work/ktorrent-2.0/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ktorrent-2.0/work/ktorrent-2.0'
make: *** [all] Error 2

!!! ERROR: net-p2p/ktorrent-2.0 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  ktorrent-2.0.ebuild, line 26:   Called kde_src_compile
  kde.eclass, line 164:   Called kde_src_compile 'all'
  kde.eclass, line 323:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 319:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 17 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-14 06:13:39 UTC
(In reply to comment #16)
> It looks like the makefiles don't cope with parallelism.
> I emerged qt4 again:
> emerge -u qt
> Then compiled ktorrent successfully without distcc or parallelism:
> FEATURES="-distcc" MAKEOPTS="-j1" emerge ktorrent
> Then, I got ktorrent to fail to compile with:
> FEATURES="-distcc" emerge ktorrent
> (picking up my normal MAKEOPTS="-j4"

Well, first of all, the that header file is generated by uic and designer. Looks like it works fine with both qt3 and qt4.
We are lucky to have isolated the issue, however I am here unable to reproduce your bug, I use both distcc and MAKEOPTS="-j5" and it works fine, so the only conclusion I can get to is that there is something broken in your system.

> Session management error: Could not open network socket
> Session management error: Could not open network socket

If you have disabled distcc, I guess that message should not show up.
Comment 18 Simon Farnsworth 2006-08-14 14:17:52 UTC
(In reply to comment #17)
> > Session management error: Could not open network socket
> > Session management error: Could not open network socket
> 
> If you have disabled distcc, I guess that message should not show up.
> 
Why would disabling distcc hide a Qt Designer message (it's complaining that it can't open a socket to X11)? You've lost me again.
Comment 19 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-14 15:01:50 UTC
In any case, there's nothing wrong with the ebuild. Something in your system is not ok, I just can't tell what with these datails.
Comment 20 Simon Farnsworth 2006-08-14 15:16:53 UTC
I'm disagreeing with you, especially since you've already proven yourself wrong on one count (accusing me of running an "unsupported" GCC, when it turns out that I'm running the current Gentoo testing GCC).

I suspect that the Makefile is not correctly ordering dependencies for some reason, so the build failure depends on the speed of the machine involved. Your machine is probably sufficiently faster or slower than my Athlon to hide the build failure; distcc is going to make such a build failure worse, as it speeds up GCC, but not the Qt tools.

If you're going to blame my system, please tell me how to debug such a supposed "broken system".
Comment 21 Joshua Jackson (RETIRED) gentoo-dev 2006-08-14 16:42:07 UTC
Works for me here

Portage 2.1.1_pre5-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.4
Last Sync: Mon, 14 Aug 2006 15:00:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     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.60
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.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig confcache distlocks metadata-transfer sandbox sfperms splitdebug strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS=""
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 X alsa apache2 apm avi berkdb bitmap-fonts cdr cli crypt cups dbus dlloader dri dvd dvdr elibc_glibc emboss foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux libg++ libwww mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev userland_GNU video_cards_i810 video_cards_i915 video_cards_vesa vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 22 Alex Maclean 2006-08-14 17:02:55 UTC
Compiles fine with -j1 and -j3 here.

Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.4
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
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-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk"
LINGUAS="en en_GB"
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.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d acpi alsa amr apache2 audacious avahi avi bash-completion beagle berkdb bitmap-fonts bittorrent bookmarks browserplugin bzip2 cairo ccache cdparanoia cdr cdrom chardet clamav clamd cli cpudetection crypt cups curl curlwrappers cursors dbus dlloader dpms dri dvd dvdr dvdread dvi eds elf encode esd ethereal exif expat extensions extrafilters fam fame ffmpeg finger firefox flac flash flatfile font-server fontconfig foomaticdb fortran freetts gaim gajim gd gdbm gdm geoip gif gimp gimpprint gmail gmailtimestamps gnome gnome-print gnutls gstreamer gstreamer010 gtk gtk2 gtkhtml gtkspell guile gvim hal hddtemp howl-compat html httpd icons id3 imagemagick imlib imlib2 infopipe jabber joystick jpeg kde kdeenablefinal kdm lame lcms libclamav libg++ libwww lighttpd lm_sensors lzo lzw mad mikmod mjpeg mmx mmxext mng mono motif moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg mplayer msn musepack nautilus ncurses network new-login nfs nls no-old-linux no-seamonkey no-suexec nogecko-sdk nogg noplugin nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opendoc opengl openssl pam pam_chroot panel-plugin pango pcre pdflib perl png pop pppd python qt qt3 quicktime rar rdesktop readline reflection rtc ruby samba sdl session sftp sftplogging smtp sox speex spell spl sqlite sqlite3 sse sse-filters sse2 ssl startup-notification subversion svg svgz swat sysfs syslog taglib tagwriting tcl tcltk tcpd tga theora thunar-vfs tidy tiff tk tools tos transcode truetype truetype-fonts type1-fonts udev uk_bleb uk_rt unicode unzip usb vim vim-pager vim-with-x virus-scan vorbis win32codecs wma wordperfect wv wxgtk1 wxwindows x264 xanim xchat xchattext xcomposite xext xine xinerama xinetd xml xmlreader xmlwriter xmms xorg xosd xprint xrandr xscreensaver xsettings xv xvid xvmc zip zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev input_devices_joystick kernel_linux linguas_en linguas_en_GB userland_GNU video_cards_nv video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 23 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-14 17:22:34 UTC
(In reply to comment #20)

> I suspect that the Makefile is not correctly ordering dependencies for some
> reason, so the build failure depends on the speed of the machine involved. Your
> machine is probably sufficiently faster or slower than my Athlon to hide the
> build failure; distcc is going to make such a build failure worse, as it speeds
> up GCC, but not the Qt tools.

I have tried with an Athlon XP 1800+ with your same MAKEOPTS and still it works fine. Seeing that none of us is able to reproduce the bug, and again, as I said, it's not a problem with the ebuild, I've send this to upstream to let them check it: https://bugs.kde.org/show_bug.cgi?id=132431
Comment 24 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-14 17:23:06 UTC
Resolving upstream.
Comment 25 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-15 06:07:52 UTC
Simon: could you please go to the KDE bug and add the whole compilation log?
Comment 26 Simon Farnsworth 2006-09-25 05:45:40 UTC
Sorry for the long delay in getting back to you; I had a mailserver crash (hardware failed completely), and I've only just finished recovering old mail.

For reference (and I'm posting this to the KDE bug as well), I've found the cause of the problem, but not a permanent solution.

I have net-misc/ntp syncing my time; at the moment, my PC's clock is running fast (just enough to cause ntp to be occasionally stepping the time backwards), due to the hot weather.

ntp's log shows that the failed compiles were occurring at a point when it was stepping the time regularly. Waiting for cooler weather, when the clock was staying within ntp's required 500 ppm stability was enough to fix the problem.

I'm now looking in ntp's documentation for a way to force it to never step the clock, but only to slew the clock.
Comment 27 Simon Farnsworth 2006-09-25 05:47:10 UTC
OK. Tried to submit upstream, too, but it's refusing to let me, as I don't have a bugs.kde.org account. If someone thinks it'll be of interest to them, can they submit it for me?

Thanks,

Simon
Comment 28 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-25 06:10:35 UTC
(In reply to comment #27)
> OK. Tried to submit upstream, too, but it's refusing to let me, as I don't have
> a bugs.kde.org account. If someone thinks it'll be of interest to them, can
> they submit it for me?
> 
> Thanks,
> 
> Simon
> 

Can't you just create an account as you did here?
Comment 29 Simon Farnsworth 2006-09-25 06:15:08 UTC
I've attempted to. I'm still waiting for the confirmation e-mail (and it's not even connected to my mailserver yet).
Comment 30 Simon Farnsworth 2006-09-25 06:22:00 UTC
Looks like ktown.kde.org is just a little overloaded; mail's through, and I'm now updating the KDE bug.
Comment 31 Jakub Moc (RETIRED) gentoo-dev 2006-11-24 09:37:31 UTC
*** Bug 156145 has been marked as a duplicate of this bug. ***
Comment 32 Jakub Moc (RETIRED) gentoo-dev 2007-01-17 15:48:21 UTC
*** Bug 162541 has been marked as a duplicate of this bug. ***