Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19214 - Arts-1.1.1 ebuild fails
Summary: Arts-1.1.1 ebuild fails
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-12 19:51 UTC by George W
Modified: 2011-10-30 22:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
contents of /usr/include/audiofile.h (audiofile.h,22.89 KB, text/plain)
2003-04-13 19:22 UTC, George W
Details
contents of /usr/include/audiofile.h (audiofile.h,22.89 KB, text/plain)
2003-04-13 19:22 UTC, George W
Details

Note You need to log in before you can comment on or make changes to this bug.
Description George W 2003-04-12 19:51:35 UTC
Emerging arts-1.1.1 (using ACCEPT_KEYWORDS="~x86") fails, with errors about
AFframecount' undeclared

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS="~x86" WANT_GTK2="yes" USE="gtk2 truetype java matrox dvd alsa
oss" emerge -vu kdelibs
2.Calculating dependencies ...done!
>>> emerge (1 of 2) kde-base/arts-1.1.1 to /
alsa
>>> md5 ;-) arts-1.1.1.tar.bz2
alsa (snip)
3. Error below.



Actual Results:  
`/bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I.
-I. -I.. -I../mcop -I/usr/kde/3.1/include -I/usr/qt/3/include
-I/usr/X11R6/include  -I../libltdl  -DQT_THREAD_SUPPORT  -D_REENTRANT 
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
-Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -mcpu=athlon-xp -O3 -pipe
-fno-exceptions -fno-check-new  -ftemplate-depth-99  -c -o
synth_play_wav_impl.lo `test -f 'synth_play_wav_impl.cc' || echo
'./'`synth_play_wav_impl.cc

synth_play_wav_impl.cc
synth_play_wav_impl.cc: In constructor 
   `Arts::CachedWav::CachedWav(Arts::Cache*, std::basic_string<char, 
   std::char_traits<char>, std::allocator<char> >)':
synth_play_wav_impl.cc:95: `AFframecount' undeclared (first use this function)
synth_play_wav_impl.cc:95: (Each undeclared identifier is reported only once 
   for each function it appears in.)
synth_play_wav_impl.cc:95: parse error before `;' token
synth_play_wav_impl.cc:96: `AFfilehandle' undeclared (first use this function)
synth_play_wav_impl.cc:106: `file' undeclared (first use this function)
synth_play_wav_impl.cc:106: `afOpenFile' undeclared (first use this function)
synth_play_wav_impl.cc:113: `frameCount' undeclared (first use this function)
synth_play_wav_impl.cc:113: `AF_DEFAULT_TRACK' undeclared (first use this 
   function)
synth_play_wav_impl.cc:113: `afGetFrameCount' undeclared (first use this 
   function)
synth_play_wav_impl.cc:117: `afCloseFile' undeclared (first use this function)
synth_play_wav_impl.cc:121: `afGetChannels' undeclared (first use this 
   function)
synth_play_wav_impl.cc:122: `afGetSampleFormat' undeclared (first use this 
   function)
synth_play_wav_impl.cc:125: `AF_BYTEORDER_LITTLEENDIAN' undeclared (first use 
   this function)
synth_play_wav_impl.cc:125: `afSetVirtualByteOrder' undeclared (first use this 
   function)
synth_play_wav_impl.cc:137: `afGetRate' undeclared (first use this function)
synth_play_wav_impl.cc:145: `afGetTrackBytes' undeclared (first use this 
   function)
synth_play_wav_impl.cc:156: `afReadFrames' undeclared (first use this function)
make[3]: *** [synth_play_wav_impl.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/arts-1.1.1/work/arts-1.1.1/flow'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/arts-1.1.1/work/arts-1.1.1/flow'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/arts-1.1.1/work/arts-1.1.1'
make: *** [all] Error 2

!!! ERROR: kde-base/arts-1.1.1 failed.
!!! Function kde_src_compile, Line 121, Exitcode 2
!!! died running emake, kde_src_compile:make


Expected Results:  
emerged arts.

 emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-ck4 i686 AMD Athlon(tm) XP 2000+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm arts avi crypt cups encode gif jpeg kde libg++ mikmod mmx
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml
alsa gdbm berkdb slang readline bonobo svga java guile X sdl gpm tcpd pam libwww
ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl mozilla snmp cdr"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Michele Balistreri (RETIRED) gentoo-dev 2003-04-13 08:06:49 UTC
try compiling using MAKEOPTS="-j1" 
Comment 2 George W 2003-04-13 08:53:17 UTC
Hi. 

Thanks for the tip, but I had no joy using MAKEOPTS="-j1"

same error  as previously.

I'm beginning to think this is esound related, as I am having problems with that (and nautilus), with a similar error about AFframecount.

Will file a bug against esound.

g
Comment 3 Michele Balistreri (RETIRED) gentoo-dev 2003-04-13 09:04:16 UTC
try to (re)emerge media-libs/audiofile, this should fix all your problems 
Comment 4 George W 2003-04-13 09:52:47 UTC
cheers for more help, but still no joy

audiofile was previously emerged. I re-emerged it successfully as requested, than tried emerging arts again, same error as before

g
Comment 5 Michele Balistreri (RETIRED) gentoo-dev 2003-04-13 10:15:23 UTC
which version of audiofile are you using? can you attach your /usr/include/audiofile.h ? 
Comment 6 George W 2003-04-13 19:22:07 UTC
Created attachment 10603 [details]
contents of  /usr/include/audiofile.h 

1) contents of	/usr/include/audiofile.h as requested

2) epm -q audiofile returns: audiofile-0.2.3-r1
Comment 7 George W 2003-04-13 19:22:17 UTC
Created attachment 10604 [details]
contents of  /usr/include/audiofile.h 

1) contents of	/usr/include/audiofile.h as requested

2) epm -q audiofile returns: audiofile-0.2.3-r1
Comment 8 Michele Balistreri (RETIRED) gentoo-dev 2003-04-14 09:21:34 UTC
i can't reproduce this bug, try to re-emerge gcc and disable ccache (i don't know if this 
can help anyway) 
Comment 9 Paul de Vrieze (RETIRED) gentoo-dev 2003-04-25 06:31:53 UTC
If it still doesn't work, could you then attach the full compilation log, including the configuration part.
Comment 10 Caleb Tennis (RETIRED) gentoo-dev 2003-05-29 00:04:51 UTC
Try out arts-1.1.2 with the new kde 3.1.2 and see if that fixes anything for you.  Otherwise 
please attach your compilation log per the last comment. 
Comment 11 Caleb Tennis (RETIRED) gentoo-dev 2003-10-14 11:11:51 UTC
Closing due to inactivity for a while.  Please reopen or file a new bug report
if you're still having problems with the latest arts version.