Created attachment 283187 [details] aqualung-0.9_beta11-r1-build.log Hello! The problems is that aqualung-0.9_beta11-r1 refuses to build. The build log and 'emerge --info' output are attached.
Created attachment 283189 [details] aqualung-0.9_beta11-r1-emerge.info 'emerge --info' output
Can you please add the following command to the ebuild: sed -i -e 's/CODEC_TYPE_AUDIO/AVMEDIA_TYPE_AUDIO/' src/decoder/dec_lavc.c Place it within the src_prepare function before eautoreconf. Test if this modifictions work in a local overlay and report back here.
I have tried the above replacement myself with ffmpeg-0.7.3 and libav-0.7.1. It builds fine with ffmpeg but libav fails at linking stage with: i686-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -Wall -DAQUALUNG_SKINDIR=\"/usr/share/aqualung/skin\" -DAQUALUNG_LOCALEDIR=\"/usr/share/locale\" -DAQUALUNG_DATADIR=\"/usr/share/aqualung\" -D_GNU_SOURCE -Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu -o aqualung about.o build_store.o cdda.o cddb_lookup.o cd_ripper.o core.o cover.o export.o ext_title_format.o file_info.o gui_main.o httpc.o ifp_device.o loop_bar.o metadata.o metadata_api.o metadata_ape.o metadata_flac.o metadata_id3v1.o metadata_id3v2.o metadata_ogg.o music_browser.o options.o playlist.o plugin.o podcast.o ports.o rb.o search.o search_playlist.o segv.o skin.o store_cdda.o store_file.o store_podcast.o transceiver.o trashlist.o utils.o utils_gui.o volume.o decoder/libdecoder.a encoder/libencoder.a -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng14 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lgthread-2.0 -lrt -lglib-2.0 -lxml2 -lz -lm -llrdf -lsamplerate -lasound -lsndfile -lFLAC -logg -lvorbis -lvorbisfile -lwavpack -lm -loggz -logg -lspeex -lmad -lmodplug -lmpcdec -lstdc++ -lmac -lstdc++ -lavformat -lavcodec -lavutil -lz -logg -lvorbis -lvorbisenc -lmp3lame -lcdio_paranoia -lcdio_cdda -lcdio -lcddb -lz -lbz2 -llua decoder/libdecoder.a(libdecoder_a-dec_lavc.o): In function `decode_lavc': dec_lavc.c:(.text+0x53b): undefined reference to `avcodec_decode_audio2' collect2: ld returned 1 exit status make[3]: *** [aqualung] Error 1 make[3]: Leaving directory `/media/system/tmp/portage/media-sound/aqualung-0.9_beta11-r1/work/aqualung-0.9beta11/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/media/system/tmp/portage/media-sound/aqualung-0.9_beta11-r1/work/aqualung-0.9beta11/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/media/system/tmp/portage/media-sound/aqualung-0.9_beta11-r1/work/aqualung-0.9beta11' make: *** [all] Error 2 It looks like avcodec_decode_audio2 has been removed from libav-0.7.1 while ffmpeg-0.7.3 still has it but marked as deprecated. Aqualung needs to be patched to use avcodec_decode_audio3 but I am not able to fix this myself. I will report this issue upstream.
(In reply to comment #3) > > Aqualung needs to be patched to use avcodec_decode_audio3 but I am not able to > fix this myself. I will report this issue upstream. So has it been reported? I cannot find in in Aqualung's bugzilla, but this bugzilla doesn't seem to be active at all.
(In reply to comment #4) > So has it been reported? It has been reported http://aqualung.factorial.hu/mantis/bug_view_page.php?bug_id=0000177 > I cannot find in in Aqualung's bugzilla, but this bugzilla doesn't seem to be active at all. Patience is a virtue!
(In reply to comment #5) > (In reply to comment #4) > > So has it been reported? > > It has been reported > http://aqualung.factorial.hu/mantis/bug_view_page.php?bug_id=0000177 > > > I cannot find in in Aqualung's bugzilla, but this bugzilla doesn't seem to be active at all. > > Patience is a virtue! Thanks a lot! :) For some unknown reason, the search in Aqualung bugzilla give me only very very old bugs. But now I'll watch this one. Regards, Vladimir
committed a patch to fix this
(In reply to comment #7) > committed a patch to fix this i dont have an account on their bug tracker, could someone plz post the patch there ?
(In reply to comment #8) > (In reply to comment #7) > > committed a patch to fix this > > i dont have an account on their bug tracker, could someone plz post the patch > there ? Thanks Alexis, I will attach the patch to the upstream bug tracker.