Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36121 - kde-base/kdelibs-3.1.4 fails to build with alsa-driver-1.0.0_rc1 and above
Summary: kde-base/kdelibs-3.1.4 fails to build with alsa-driver-1.0.0_rc1 and above
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 37097 (view as bug list)
Depends on: 35412
Blocks:
  Show dependency tree
 
Reported: 2003-12-19 08:45 UTC by Olivier Castan
Modified: 2004-01-03 06:04 UTC (History)
1 user (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 Olivier Castan 2003-12-19 08:45:09 UTC
Fails when building libkmid :
[...]
/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 -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -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
deviceman.cc: In member function `int DeviceManager::initManager()':
deviceman.cc:345: aggregate `snd_seq_client_info_t clienti' has incomplete type
   and cannot be defined
deviceman.cc:346: aggregate `snd_seq_port_info_t porti' has incomplete type and
   cannot be defined
deviceman.cc:348: `SND_SEQ_OPEN' undeclared (first use this function)
deviceman.cc:348: (Each undeclared identifier is reported only once for each
   function it appears in.)
deviceman.cc:351: aggregate `snd_seq_system_info_t info' has incomplete type
   and cannot be defined
make[2]: *** [deviceman.lo] Erreur 1
make[2]: *** Attente des t
Comment 1 Olivier Castan 2003-12-19 08:45:09 UTC
Fails when building libkmid :
[...]
/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 -O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -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
deviceman.cc: In member function `int DeviceManager::initManager()':
deviceman.cc:345: aggregate `snd_seq_client_info_t clienti' has incomplete type
   and cannot be defined
deviceman.cc:346: aggregate `snd_seq_port_info_t porti' has incomplete type and
   cannot be defined
deviceman.cc:348: `SND_SEQ_OPEN' undeclared (first use this function)
deviceman.cc:348: (Each undeclared identifier is reported only once for each
   function it appears in.)
deviceman.cc:351: aggregate `snd_seq_system_info_t info' has incomplete type
   and cannot be defined
make[2]: *** [deviceman.lo] Erreur 1
make[2]: *** Attente des tâches non terminées....
make[2]: Leaving directory `/home/portage/tmp/portage/kdelibs-3.1.4/work/kdelibs-3.1.4/libkmid'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/home/portage/tmp/portage/kdelibs-3.1.4/work/kdelibs-3.1.4'
make: *** [all] Erreur 2
 
!!! ERROR: kde-base/kdelibs-3.1.4 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make
 
I gues the right headers are not included. Looking for configure script, it only looks for alsa-0.9 and alsa-0.5

grep ASOUND kdelibs-3.1.4/config.h gives :
#define HAVE_ALSA_ASOUNDLIB_H 1
/* #undef HAVE_LIBASOUND */
/* #undef HAVE_LIBASOUND2 */
#define HAVE_SYS_ASOUNDLIB_H 1



Reproducible: Always
Steps to Reproduce:

Actual Results:  
Failure

Expected Results:  
Build successful

emerge info
Portage 2.0.49-r18 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-ben2)
=================================================================
System uname: 2.4.22-ben2 ppc
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
DISTDIR="/home/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://gentoo.mirror.sdv.fr http://128.213.5.34/gentoo/
http://gentoo.inode.at/ http://ds.thn.htu.se/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X X509 aalib alsa altivec arts berkdb bonobo cdr crypt cups dga dillo
directfb dv dvd encode esd faad fbcon ffmpeg flash foomaticdb gd gdbm ggi gif
gnome gnome-libs gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib java
javascript jpeg libwww mad matroska mitshm motif mozilla mpeg mpeg4 ncurses nls
odbc offensive oggvorbis opengl oss pam pdflib perl pg-hier png ppc ppds python
quicktime radeon readline sdl slang spell ssl tcpd tiff truetype wmf xface xine
xmms xv xvid zlib"

I'm quite sure that's not PPC specific.
Comment 2 Olivier Castan 2003-12-19 09:17:30 UTC
Found a dependency after reading forums
Comment 3 Ajay Sharma 2003-12-22 21:04:39 UTC
I have this problem as well, I guess the workaround is to:

emerge =alsa-lib-0.9.8

OR

USE="-alsa" emerge kdelibs

I'm doing the latter right now so we'll see if it compilies.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2003-12-24 13:10:01 UTC
dependency changed to < 1.0.0 - should be fixed now.
Comment 5 Todd Lee 2003-12-27 16:25:59 UTC
A dependency of <alsa-lib-1.0.0 is still satisfied by alsa-lib-1.0.0_rc2 (which breaks kdelibs). I think that <=alsa-lib-0.9.8 works.
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2004-01-03 05:46:40 UTC
*** Bug 37097 has been marked as a duplicate of this bug. ***
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2004-01-03 06:04:57 UTC
arts and kdelibs are now patched to accept alsa 1.0.