I tried to merge k3b-0.10 and got the following output: rm: cannot remove `': Invalid argument /usr/qt/3/bin/moc ./k3bdevicemanager.h -o k3bdevicemanager.moc /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. -I./../../tools -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -funroll-loops -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 -c -o k3bdevicemanager.lo `test -f 'k3bdevicemanager.cpp' || echo './'`k3bdevicemanager.cpp rm: cannot remove `': Invalid argument /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./.. -I./../../tools -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -funroll-loops -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 -c -o k3bdevice.lo `test -f 'k3bdevice.cpp' || echo './'`k3bdevice.cpp rm: cannot remove `': Invalid argument In file included from /usr/include/linux/cdrom.h:14, from k3bscsicommand.h:20, from k3bdevice.cpp:23: /usr/include/asm/byteorder.h:38: error: syntax error before `(' token /usr/include/asm/byteorder.h:42: error: '__u64' is used as a type, but is not defined as a type. /usr/include/asm/byteorder.h:43: error: parse error before `}' token /usr/include/asm/byteorder.h:44: error: syntax error before `.' token /usr/include/asm/byteorder.h:50: error: syntax error before `.' token /usr/include/asm/byteorder.h:51: error: syntax error before `.' token /usr/include/asm/byteorder.h:52: error: parse error before `:' token In file included from /usr/include/linux/byteorder/little_endian.h:11, from /usr/include/asm/byteorder.h:65, from /usr/include/linux/cdrom.h:14, from k3bscsicommand.h:20, from k3bdevice.cpp:23: /usr/include/linux/byteorder/swab.h:199: error: syntax error before `(' token /usr/include/linux/byteorder/swab.h:209: error: syntax error before `(' token /usr/include/linux/byteorder/swab.h:213: error: `__u64' was not declared in this scope /usr/include/linux/byteorder/swab.h:213: error: `addr' was not declared in this scope /usr/include/linux/byteorder/swab.h:214: error: variable or field `__swab64s' declared void /usr/include/linux/byteorder/swab.h:214: error: `__swab64s' declared as an `inline' variable /usr/include/linux/byteorder/swab.h:214: error: syntax error before `{' token make[4]: *** [k3bdevice.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/k3b-0.10/work/k3b-0.10/src/core/device' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/k3b-0.10/work/k3b-0.10/src/core' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/k3b-0.10/work/k3b-0.10/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/k3b-0.10/work/k3b-0.10' make: *** [all] Error 2 !!! ERROR: app-cdr/k3b-0.10 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make ----------------------------------------------------------------------------- I use gcc 3.3.1-r5 and have installed kdelibs 3.1.4 Reproducible: Always Steps to Reproduce: 1.emerge -vD k3b 2. 3. Actual Results: emerge k3b-0.10 dies Expected Results: ;) a compiled k3b-0.10 Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.11 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="" ARCH="x86" AUTOCLEAN="yes" BASH_ENV="/etc/portage/bashrc" CC="gcc" CFLAGS="-O2 -mcpu=i686 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CLASSPATH="/opt/blackdown-jdk-1.4.1/jre/lib/rt.jar:.:." CLEAN_DELAY="5" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CVS_RSH="ssh" CXX="g++" CXXFLAGS="-O2 -mcpu=i686 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" EDITOR="/usr/bin/vim" FEATURES="sandbox ccache fixpackages" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}" GDK_USE_XFT="1" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://www.fhh.opensource-mirror.de/gentoo.org ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurses" G_BROKEN_FILENAMES="1" HOME="/root" HOSTNAME="knolle" INFODIR="/usr/share/info:/usr/X11R6/info" INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info" INPUTRC="/etc/inputrc" JAVAC="/opt/blackdown-jre-1.4.1/bin/javac" JAVA_HOME="/opt/blackdown-jdk-1.4.1" JDK_HOME="/opt/blackdown-jdk-1.4.1" KDEDIR="/usr/kde/3.1" KDEDIRS="/usr" LESS="-R" LESSOPEN="|lesspipe.sh %s" LOGNAME="root" MAIL="/var/mail/root" MAKEOPTS="-j2" MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man:/usr/X11R6/man:/opt/blackdown-jdk-1.4.1/man" MOZILLA_FIVE_HOME="/usr/lib/mozilla" NOCOLOR="false" PAGER="/usr/bin/less" PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/opt/blackdown-jre-1.4.1/bin:/opt/blackdown-jre-1.4.1/jre/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin" PKGDIR="/usr/portage/packages" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CACHEDIR="/var/cache/edb/dep/" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_MASTER_PID="20419" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PRELINK_PATH="" PRELINK_PATH_MASK="" PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]" PWD="/root" QMAKESPEC="linux-g++" QTDIR="/usr/qt/3" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}" RPMDIR="/usr/portage/rpm" RSYNC_RETRIES="3" RSYNC_TIMEOUT="180" SHELL="/bin/bash" SHLVL="1" SSH_CLIENT="::ffff:192.168.100.101 3032 22" SSH_CONNECTION="::ffff:192.168.100.101 3032 ::ffff:192.168.100.102 22" SSH_TTY="/dev/pts/2" SYNC="rsync://rsync.gentoo.org/gentoo-portage" TERM="xterm" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt opengl alsa cdr dga directfb dvd fbcon gtk2 jack jack-caps jack-tmpfs mozilla music openssh pnp rage128 transcode wmf xine" USER="root" USERLAND="GNU" USE_EXPAND="VIDEO_CARDS INPUT_DEVICES" USE_ORDER="env:conf:auto:defaults" XARGS="xargs -r" XINITRC="/etc/X11/xinit/xinitrc" _="/usr/bin/emerge"
This is a problem with the linux-headers package. Dunno of any fix, per se, but I can tell you that it's not really a deal with k3b.
The problem is that the type __u64 is not defined by the headerfile /usr/include/asm/types.h, because of a "#if define" at line 20. If this "#if define" and its corresponding "#endif" is removed, k3b can be emerged. This is however just a workaround :-) Also the problem seems to be with linux-headers-2.4.21, which is in ~x86.
k3b-0.10.1 just came out and I was able to build it without error. I ended up installing linux-headers-2.4.22 before I learned of the k3b update.
I'll confirm that k3b-0.10.1 fixes the emerge problem. There's an ebuild in bug 32113. Well, it just says to copy the 0.10 email to 0.10.1. :)
This is fixed by 0.10.1 - I can confirm.
Okay, a test version of 0.10.1 is in portage now. Will close.