Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 75966

Summary: kdemultimedia failed to build: Conflicting __u64 definitions
Product: Gentoo Linux Reporter: Robert Shideleff <spamtrap>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: VERIFIED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Robert Shideleff 2004-12-28 17:16:58 UTC
Building for amd64 seems produce a conflicting __u64 definition in cdromAccess.cpp

Reproducible: Always
Steps to Reproduce:
1.Emerge for amd64
2.
3.

Actual Results:  
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX 
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. 
-I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include   
-DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O2 
-pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE 
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fpermissive 
-c -o cdromRawAccess.lo cdromRawAccess.cpp 
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX 
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. 
-I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include   
-DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O2 
-pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE 
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fpermissive 
-c -o cdromInputStream.lo cdromInputStream.cpp 
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX 
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. 
-I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include   
-DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O2 
-pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE 
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fpermissive 
-c -o bufferInputStream.lo bufferInputStream.cpp 
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX 
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. 
-I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include   
-DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O2 
-pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE 
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fpermissive 
-c -o simpleRingBuffer.lo simpleRingBuffer.cpp 
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX 
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. 
-I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include   
-DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O2 
-pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE 
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fpermissive 
-c -o cdromAccess.lo cdromAccess.cpp 
In file included from cdromAccess_Linux.cpp:16, 
                 from cdromAccess.cpp:38: 
/usr/include/asm/types.h:29: error: conflicting declaration 'typedef long long 
unsigned int __u64' 
cdromAccess.cpp:32: error: '__u64' has a previous declaration as `typedef long 
unsigned int __u64' 
/usr/include/asm/types.h:29: error: declaration of `typedef long long unsigned 
int __u64' 
cdromAccess.cpp:32: error: conflicts with previous declaration `typedef long 
unsigned int __u64' 
/usr/include/asm/types.h:29: error: declaration of `typedef long long unsigned 
int __u64' 
cdromAccess.cpp:32: error: conflicts with previous declaration `typedef long 
unsigned int __u64' 
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX 
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. 
-I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include   
-DQT_THREAD_SUPPORT  -D_REENTRANT  -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -O2 
-pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE 
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fpermissive 
-c -o inputDetector.lo inputDetector.cpp 
make[4]: *** [cdromAccess.lo] Error 1 
make[4]: *** Waiting for unfinished jobs.... 
make[4]: Leaving directory 
`/var/tmp/portage/kdemultimedia-3.3.1/work/kdemultimedia-3.3.1/mpeglib/lib/input' 
make[3]: *** [all-recursive] Error 1 
make[3]: Leaving directory 
`/var/tmp/portage/kdemultimedia-3.3.1/work/kdemultimedia-3.3.1/mpeglib/lib' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/kdemultimedia-3.3.1/work/kdemultimedia-3.3.1/mpeglib' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/kdemultimedia-3.3.1/work/kdemultimedia-3.3.1' 
make: *** [all] Error 2 
 
!!! ERROR: kde-base/kdemultimedia-3.3.1 failed. 
!!! Function kde_src_compile, Line 142, Exitcode 2 
!!! died running emake, kde_src_compile:make 
!!! If you need support, post the topmost build error, NOT this status message. 
 
 

Expected Results:  
Good emerge 

>emerge --info 
Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, 
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r12 x86_64) 
================================================================= 
System uname: 2.6.9-gentoo-r12 x86_64 AMD Athlon(tm) 64 Processor 3700+ 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1 
Libtools: sys-devel/libtool-1.5.2-r7 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon64 -O3 -pipe" 
CHOST="x86_64-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon64 -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" 
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X Xaw3d acl acpi aim alsa apache2 arts atlas berkdb bitmap-fonts cdr 
crypt cups dga doc dri dvd emacs encode ethereal evo f77 fam fastcgi fbcon 
flash fortran gb gd gif gpm gps gtk gtk2 gtkhtml hbci imagemagick imap innodb 
ipv6 jabber java jikes jp2 jpeg junit kde kerberos lcms leim libgda lzw 
lzw-tiff maildir mbox mozilla mpi msn mule multilib ncurses nls oav oci8 odbc 
offensive ofx oggvorbis opengl oscar oss pam pcmcia pda pdflib perl pie 
plotutils png pnp postgres python qt quotes radeon readline samba sasl sdl slp 
smime snmp socks5 softmmu ssl tcltk tcpd theora tiff truetype truetype-fonts 
trusted type1-fonts usb userlocales videos wmf xface xinerama xml xml2 xmms xpm 
xrandr xv zeo zlib"
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2004-12-29 02:27:12 UTC

*** This bug has been marked as a duplicate of 74961 ***
Comment 2 Luke Worth 2005-02-08 23:37:25 UTC
btw i dont think you're supposed to put amd64 in your use flags?
(from the bottom of /usr/portage/profiles/use.desc)
Comment 3 Luke Worth 2005-02-08 23:40:27 UTC
i'm stupid
Comment 4 Robert Shideleff 2005-02-09 08:14:05 UTC
I presume that means that you realized that I don't have it in my use flags, but it probably got auto included since that is the type of system I am building.

BTW, the new release built properly (6.1-r1). I had other problems, but if I can't work them out, I'll put them in another report.