media-sound/audacity-1.3.8 fails to build: # emerge -v media-sound/audacity These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-sound/audacity-1.3.8 USE="alsa ffmpeg flac id3tag mp3 soundtouch vamp vorbis -jack -ladspa -libsamplerate -midi -twolame" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB ... x86_64-pc-linux-gnu-g++ -c -march=athlon64 -O2 -pipe -fomit-frame-pointer -I../lib-src/portmixer/include -I../lib-src/portaudio-v19/include -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../lib-src/FileDialog -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wall -I/var/tmp/portage/media-sound/audacity-1.3.8/work/audacity-src-1.3.8/lib-src/lib-widget-extra -I../lib-src/libresample/include -I../lib-src/sbsms/include -I/usr/include/soundtouch -I../lib-src/libnyquist -I/usr/include/taglib -fno-strict-aliasing -I./include -I. -DLIBDIR=\"/usr/lib64\" -D__STDC_CONSTANT_MACROS -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 Dependencies.cpp -o Dependencies.o x86_64-pc-linux-gnu-g++ -c -march=athlon64 -O2 -pipe -fomit-frame-pointer -I../lib-src/portmixer/include -I../lib-src/portaudio-v19/include -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../lib-src/FileDialog -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wall -I/var/tmp/portage/media-sound/audacity-1.3.8/work/audacity-src-1.3.8/lib-src/lib-widget-extra -I../lib-src/libresample/include -I../lib-src/sbsms/include -I/usr/include/soundtouch -I../lib-src/libnyquist -I/usr/include/taglib -fno-strict-aliasing -I./include -I. -DLIBDIR=\"/usr/lib64\" -D__STDC_CONSTANT_MACROS -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 Envelope.cpp -o Envelope.o ../images/AudacityLogoWithName.xpm:2: warning: ‘AudacityLogoWithName_xpm’ defined but not used ../images/AudacityLogoAlpha.xpm:2: warning: ‘AudacityLogoAlpha_xpm’ defined but not used x86_64-pc-linux-gnu-g++ -c -march=athlon64 -O2 -pipe -fomit-frame-pointer -I../lib-src/portmixer/include -I../lib-src/portaudio-v19/include -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I../lib-src/FileDialog -march=athlon64 -O2 -pipe -fomit-frame-pointer -Wall -I/var/tmp/portage/media-sound/audacity-1.3.8/work/audacity-src-1.3.8/lib-src/lib-widget-extra -I../lib-src/libresample/include -I../lib-src/sbsms/include -I/usr/include/soundtouch -I../lib-src/libnyquist -I/usr/include/taglib -fno-strict-aliasing -I./include -I. -DLIBDIR=\"/usr/lib64\" -D__STDC_CONSTANT_MACROS -Wall -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 FFmpeg.cpp -o FFmpeg.o FFmpeg.cpp:249: error: invalid conversion from ‘int (*)(URLContext*, unsigned char*, int)’ to ‘int (*)(URLContext*, const unsigned char*, int)’ make[1]: *** [FFmpeg.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/media-sound/audacity-1.3.8/work/audacity-src-1.3.8/src' make: *** [audacity] Error 2 * ERROR: media-sound/audacity-1.3.8 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3281: Called _eapi2_src_compile * ebuild.sh, line 646: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =media-sound/audacity-1.3.8', * the complete build log and the output of 'emerge -pqv =media-sound/audacity-1.3.8'. * The complete build log is located at '/var/tmp/portage/media-sound/audacity-1.3.8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/audacity-1.3.8/temp/environment'. * S: '/var/tmp/portage/media-sound/audacity-1.3.8/work/audacity-src-1.3.8'
Created attachment 252843 [details] emerge --info
I thought this might be a compiler version issue, but it's not. I tried with both gcc-4.4.3-r2 and gcc-4.4.4-r2. Both worked for me. I haven't looked at the code that isn't compiling, but it looks like a valid C++ error to me. I got some ebuild warnings though: * configure: WARNING: unrecognized options: --enable-unicode, --enable-nyquist, --disable-ladspa, --with-libsndfile, --with-expat, --without-libsamplerate, --with-libresample, --with-libvorbis, --with-libmad, --with-libflac, --without-libid3tag, --without-soundtouch, --without-libvamp, --without-libtwolame, --with-ffmpeg, --without-midi, --with-alsa, --without-jack, --with-wx-config, --disable-programs, --disable-programs Maybe this ebuild needs some work. Specifically, a patch to fix that compiler error in FFmpeg.cpp and maybe another to not pass in unrecognized options to ./configure.
Created attachment 252983 [details] emerge --info (works)
Update your portage tree. This was fixed back on Oct. 27th (see bug #284308) and your tree timestamp is older than that. Also, the unrecognized options error from ./configure cannot be easily fixed. See comment #1 from bug #265208 for more details.