Recent changed in ffmpeg snapshots seem to break trancode-1.0.3: /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I../import -I../libac3 -I../avilib -I/usr/include -I../libvo -I../libioaux -I../libxio -I/usr/include -I/usr/include/lqt -I/usr/include -I/usr/include -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=athlon-xp -fweb -pipe -DDCT_YUV_PRECISION=1 -MT aud_aux.lo -MD -MP -MF .deps/aud_aux.Tpo -c -o aud_aux.lo aud_aux.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib/transcode\" -I.. -I../src -I../import -I../libac3 -I../avilib -I/usr/include -I../libvo -I../libioaux -I../libxio -I/usr/include -I/usr/include/lqt -I/usr/include -I/usr/include -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=athlon-xp -fweb -pipe -DDCT_YUV_PRECISION=1 -MT aud_aux.lo -MD -MP -MF .deps/aud_aux.Tpo -c aud_aux.c -fPIC -DPIC -o .libs/aud_aux.o aud_aux.c: In function 'audio_init_ffmpeg': aud_aux.c:364: error: 'ac3_encoder' undeclared (first use in this function) aud_aux.c:364: error: (Each undeclared identifier is reported only once aud_aux.c:364: error: for each function it appears in.) aud_aux.c:365: error: 'mp2_encoder' undeclared (first use in this function) aud_aux.c: In function 'audio_encode_mp3': aud_aux.c:806: warning: pointer targets in passing argument 5 of 'lame_encode_buffer' differ in signedness aud_aux.c:813: warning: pointer targets in passing argument 4 of 'lame_encode_buffer_interleaved' differ in signedness aud_aux.c:854: warning: pointer targets in passing argument 1 of 'tc_get_mp3_header' differ in signedness aud_aux.c: In function 'audio_close': aud_aux.c:1063: warning: pointer targets in passing argument 2 of 'lame_encode_flush' differ in signedness make[2]: *** [aud_aux.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-video/transcode-1.0.3/work/transcode-1.0.3/export' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/transcode-1.0.3/work/transcode-1.0.3' make: *** [all] Error 2 Sat Apr 7 12:11:46 2007 >>> media-video/ffmpeg-0.4.9_p20070330 Sun Jul 1 17:17:17 2007 >>> media-video/ffmpeg-0.4.9_p20070616-r1 Fri Apr 20 19:08:38 2007 >>> media-video/transcode-1.0.3 It looks like the former ffmpeg version worked well. Reproducible: Always Steps to Reproduce: emerge -auvDNt world after changes to USE-Flags causing a re-merge of transcode Actual Results: compile breaks Expected Results: compile succeeds
Created attachment 123708 [details] Ebuild that includes patch New ebuild for transcode-1.0.3-r1, version bump to set to ~ as the bug only appears with ~ ffmpeg.
Created attachment 123709 [details, diff] Patch to fix compatibility with latest ffmpeg The static initializers for the ac3/mp2 encoders seem to have gone. Replaced with the structs returned from lookup.
Created attachment 123711 [details] Fixed epatch call.
Created attachment 123713 [details] patch for ffmpeg, corrected filename
*** This bug has been marked as a duplicate of bug 183965 ***
different issue of bug #183965
Created attachment 123744 [details, diff] Patch for transcode to support ~ffmpeg So here as well: Change register_avcodec calls to avcodec_register_all call.
commited, thanks.
*** Bug 184223 has been marked as a duplicate of this bug. ***