Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35146 - Compiler Error when compiling kdelibs 3.1.4
Summary: Compiler Error when compiling kdelibs 3.1.4
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-05 11:27 UTC by Philipp Kirchner
Modified: 2003-12-17 00:53 UTC (History)
2 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 Philipp Kirchner 2003-12-05 11:27:48 UTC
When i emerge kde, emerging kdelibs 3.1.4 fails with:


/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I.
-I.. -I./.. -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kio -I../kio/kio
-I../kio/kfile -I.. -I/usr/qt/3/include -I/usr/X11R6/include
-I/usr/kde/3.1/include   -DQT_THREAD_SUPPORT  -D_REENTRANT   -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG
-O2 -march=athlon-tbird -O3 -pipe -fno-exceptions -fno-check-new 
-DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT  -c
-o fmout.lo `test -f 'fmout.cc' || echo './'`fmout.cc
rm: cannot remove `': Invalid argument
deviceman.cc: In member function `int DeviceManager::initManager()':
deviceman.cc:345: error: aggregate `snd_seq_client_info_t clienti' has
   incomplete type and cannot be defined
deviceman.cc:346: error: aggregate `snd_seq_port_info_t porti' has incomplete
   type and cannot be defined
deviceman.cc:348: error: `SND_SEQ_OPEN' undeclared (first use this function)
deviceman.cc:348: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
deviceman.cc:351: error: aggregate `snd_seq_system_info_t info' has incomplete
   type and cannot be defined
/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I.
-I.. -I./.. -I../dcop -I../libltdl -I../kdecore -I../kdeui -I../kio -I../kio/kio
-I../kio/kfile -I.. -I/usr/qt/3/include -I/usr/X11R6/include
-I/usr/kde/3.1/include   -DQT_THREAD_SUPPORT  -D_REENTRANT   -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG
-O2 -march=athlon-tbird -O3 -pipe -fno-exceptions -fno-check-new 
-DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT  -c
-o gusout.lo `test -f 'gusout.cc' || echo './'`gusout.cc
make[2]: *** [deviceman.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
rm: cannot remove `': Invalid argument
make[2]: Leaving directory
`/var/tmp/portage/kdelibs-3.1.4/work/kdelibs-3.1.4/libkmid'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.1.4/work/kdelibs-3.1.4'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.1.4 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make


Reproducible: Always
Steps to Reproduce:
1. emerge kde
that was it...
Actual Results:  
the above mentiode failure appeared

Expected Results:  
compile

Booted LiveCD, waiting for emerge to complete so i could run gentoo...

Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.21-gss)
=================================================================
System uname: 2.4.21-gss i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
rsync://linux.rz.ruhr-uni-bochum.de/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
rsync://ftp.join.uni-muenster.de/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acl acpi alsa apache2 apm arts avi berkdb bindist bonobo cdr
crypt cups curl dga dvd emacs encode ethereal evo fam fbcon flash foomaticdb gb
gd gdb gdbm gif gnome gphoto2 gpm gtk gtk2 imap imlib innodb ipv6 java jpeg
junit kde lcms ldap libg++ libwww mad maildir mbox mcal memlimit mikmod mmx
motif mozilla mpeg mpi mysql nas ncurses nhc98 nls oggvorbis opengl oss pam pda
pdflib perl plotutils png postgres ppds python qt quicktime readline ruby samba
sasl scanner sdl slang slp snmp spell sse ssl svga tcltk tcpd tetex tiff
truetype unicode usb videos wxwindows x86 xml xml2 xmms xosd xv zlib"
Comment 1 Daniel Seyffer 2003-12-06 14:57:10 UTC
Same here.  Check if you have alsa-lib installed. If yes and it is newer than 0.9.8 then downgrade to 0.9.8. This worked fine for me. By the way: /media-libs/libao apparently has the same problem...
Comment 2 Jon Portnoy (RETIRED) gentoo-dev 2003-12-09 22:24:29 UTC
Same issue here on AMD64.
Comment 3 James Lademann 2003-12-10 12:35:41 UTC
Just another "Me too" comment.  I'm attempting the alsa-lib fix mentioned above as we speak and will report my findings.....
Comment 4 Philipp Kirchner 2003-12-17 00:53:45 UTC
removed the ~x86 entry in make.conf, now it works....