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

Bug 115705

Summary: kdemultimedia-3.4.3 does not compile, linux-headers problem assumed
Product: Gentoo Linux Reporter: Rico Poser <rico.poser>
Component: [OLD] Core systemAssignee: Alpha Porters <alpha>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: Alpha   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 114767    
Bug Blocks:    
Attachments: Borkage with 2.6.11-r4 headers

Description Rico Poser 2005-12-15 14:45:14 UTC
As mentioned above kdemultimedia-3.4.3 does not compile on my alpha system using
gcc-3.4.4-r1 and linux-headers-2.6.11-r2.

Reproducible: Always
Steps to Reproduce:
1. emerge kdemultimedia
Actual Results:  
emerge kdemultimedia failed

Expected Results:  
emerge kdemultimedia compiles successfully

beta / # emerge kdemultimedia
...
/bin/sh ../../libtool --silent --mode=compile alpha-unknown-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I. 
  -DQT_THREAD_SUPPORT  -D_REENTRANT  -std=iso9899:1990 -W -Wall
-Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2  -mieee -O2 -mcpu=21264a -pipe
-Wformat-security -Wmissing-format-attribute -c -o plat_irix.lo `test -f
'plat_irix.c' || echo './'`plat_irix.c
/bin/sh ../../libtool --silent --mode=compile alpha-unknown-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I. 
  -DQT_THREAD_SUPPORT  -D_REENTRANT  -std=iso9899:1990 -W -Wall
-Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2  -mieee -O2 -mcpu=21264a -pipe
-Wformat-security -Wmissing-format-attribute -c -o plat_linux.lo `test -f
'plat_linux.c' || echo './'`plat_linux.c
/bin/sh ../../libtool --silent --mode=compile alpha-unknown-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I. 
  -DQT_THREAD_SUPPORT  -D_REENTRANT  -std=iso9899:1990 -W -Wall
-Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2  -mieee -O2 -mcpu=21264a -pipe
-Wformat-security -Wmissing-format-attribute -c -o plat_svr4.lo `test -f
'plat_svr4.c' || echo './'`plat_svr4.c
In file included from /usr/include/asm/byteorder.h:45,
                 from /usr/include/linux/cdrom.h:14,
                 from plat_linux.c:84:
/usr/include/linux/byteorder/little_endian.h:44: error: syntax error before "__le64"
/usr/include/linux/byteorder/little_endian.h:48: error: syntax error before "__u64"
/usr/include/linux/byteorder/little_endian.h:53: error: syntax error before "__le32"
/usr/include/linux/byteorder/little_endian.h:57: error: syntax error before "__u32"
/usr/include/linux/byteorder/little_endian.h:61: error: syntax error before "__le16"
/usr/include/linux/byteorder/little_endian.h:65: error: syntax error before "__u16"
/usr/include/linux/byteorder/little_endian.h:70: error: syntax error before "__be64"
/usr/include/linux/byteorder/little_endian.h:74: error: syntax error before "__u64"
/usr/include/linux/byteorder/little_endian.h:79: error: syntax error before "__be32"
/usr/include/linux/byteorder/little_endian.h:83: error: syntax error before "__u32"
/usr/include/linux/byteorder/little_endian.h:87: error: syntax error before "__be16"
/usr/include/linux/byteorder/little_endian.h:91: error: syntax error before "__u16"
plat_linux.c: In function `gen_play':
plat_linux.c:537: warning: left-hand operand of comma expression has no effect
plat_linux.c:537: warning: left-hand operand of comma expression has no effect
plat_linux.c:537: warning: left-hand operand of comma expression has no effect
plat_linux.c: In function `gen_set_volume':
plat_linux.c:752: warning: left-hand operand of comma expression has no effect
plat_linux.c:752: warning: left-hand operand of comma expression has no effect
plat_linux.c: In function `gen_get_volume':
plat_linux.c:773: warning: left-hand operand of comma expression has no effect
plat_linux.c:773: warning: left-hand operand of comma expression has no effect
plat_linux.c: At top level:
plat_linux.c:133: warning: unused parameter 'd'
plat_linux.c: In function `gen_play':
plat_linux.c:537: warning: statement with no effect
plat_linux.c: In function `gen_pause':
plat_linux.c:574: warning: statement with no effect
plat_linux.c: In function `gen_resume':
plat_linux.c:584: warning: statement with no effect
plat_linux.c: In function `gen_stop':
plat_linux.c:594: warning: statement with no effect
plat_linux.c: In function `gen_eject':
plat_linux.c:654: warning: statement with no effect
plat_linux.c: In function `gen_set_volume':
plat_linux.c:752: warning: statement with no effect
plat_linux.c: In function `gen_get_volume':
plat_linux.c:773: warning: statement with no effect
make[4]: *** [plat_linux.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
plat_svr4.c:28: warning: 'plat_svr4_id' defined but not used
make[4]: Leaving directory
`/var/tmp/portage/kdemultimedia-3.4.3/work/kdemultimedia-3.4.3/kscd/libwm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdemultimedia-3.4.3/work/kdemultimedia-3.4.3/kscd/libwm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdemultimedia-3.4.3/work/kdemultimedia-3.4.3/kscd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdemultimedia-3.4.3/work/kdemultimedia-3.4.3'
make: *** [all] Error 2

!!! ERROR: kde-base/kdemultimedia-3.4.3 failed.
!!! Function kde_src_compile, Line 173, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

beta / # emerge --info
Portage 2.0.51.22-r3 (default-linux/alpha/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14.2 alpha)
=================================================================
System uname: 2.6.14.2 alpha EV67
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="alpha"
AUTOCLEAN="yes"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -O2 -mcpu=21264a -pipe"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mieee -O2 -mcpu=21264a -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="alpha 7zip X alsa arts audiofile berkdb bitmap-fonts bluetooth
browserplugin bzip2 cjk clamav crypt cups curl divx4linux eds encode exif
exiscan-acl expat fam ffmpeg font-server foomaticdb fortran ftp gdbm gif gpm
gstreamer gtk gtk2 icq idn ieee1394 imlib immqt-bc ipv6 javascript jpeg kde lcms
libg++ libwww m17n-lib mad mikmod mjpeg mng motif mp3 mpeg msn ncurses nls
nsplugin ogg oggvorbis opengl pam pcre pdflib perl png python pyzor qt quicktime
quotas razor readline samba sdl spell ssl tcpd tetex tiff truetype
truetype-fonts type1-fonts udev unicode usb userlocales vorbis winbind xine xml2
xmms xv xvid zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Thomas Cort (RETIRED) gentoo-dev 2005-12-15 19:41:09 UTC
This is a known issue ( see Bug #114767 ). The header errors are due to issues
with gcc, inline functions, and asm-alpha/compiler.h (included by
asm/byteorder.h in this case).
Comment 2 Thomas Cort (RETIRED) gentoo-dev 2005-12-24 06:52:07 UTC
Rico: The problem should be solved if you upgrade to linux-headers 2.6.11-r4 and then emerge kdemultimedia.
Comment 3 Bryan Østergaard (RETIRED) gentoo-dev 2005-12-26 14:47:58 UTC
Created attachment 75571 [details]
Borkage with 2.6.11-r4 headers

kde-multimedia-3.4.3 is still borked unfortunately. Attached end of buildlog showing the problem.
Comment 4 Thomas Cort (RETIRED) gentoo-dev 2005-12-27 06:01:46 UTC
Try running this command and then emerge kdemultimedia:
sed -i -e 's/ inline / __inline__ /g' /usr/include/linux/byteorder/little_endian.h
Comment 5 Bryan Østergaard (RETIRED) gentoo-dev 2005-12-27 10:31:38 UTC
works :)
Comment 6 Bryan Østergaard (RETIRED) gentoo-dev 2005-12-27 16:26:11 UTC
Updated linux-headers-2.6.11-r4 with the fix needed for this.