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"
try compiling using MAKEOPTS="-j1"
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
try to (re)emerge media-libs/audiofile, this should fix all your problems
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
which version of audiofile are you using? can you attach your /usr/include/audiofile.h ?
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
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
i can't reproduce this bug, try to re-emerge gcc and disable ccache (i don't know if this can help anyway)
If it still doesn't work, could you then attach the full compilation log, including the configuration part.
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.
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.