Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184014 - media-video/transcode-1.0.3 fails with ffmpeg-0.4.9_p20070616-r1 - patch attached
Summary: media-video/transcode-1.0.3 fails with ffmpeg-0.4.9_p20070616-r1 - patch atta...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 184223 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-02 19:25 UTC by Christian Schmidt
Modified: 2007-07-04 20:28 UTC (History)
1 user (show)

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


Attachments
Ebuild that includes patch (transcode-1.0.3-r1.ebuild,3.74 KB, text/plain)
2007-07-02 19:27 UTC, Christian Schmidt
Details
Patch to fix compatibility with latest ffmpeg (transcode-1.0.3-r1-new-ffmpeg.patch,586 bytes, patch)
2007-07-02 19:28 UTC, Christian Schmidt
Details | Diff
Fixed epatch call. (digest-transcode-1.0.3-r1,503 bytes, text/plain)
2007-07-02 19:35 UTC, Christian Schmidt
Details
patch for ffmpeg, corrected filename (transcode-1.0.3-new-ffmpeg.patch,586 bytes, text/plain)
2007-07-02 19:36 UTC, Christian Schmidt
Details
Patch for transcode to support ~ffmpeg (transcode-1.0.3-new-ffmpeg.patch,495 bytes, patch)
2007-07-03 09:16 UTC, Christian Schmidt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schmidt 2007-07-02 19:25:43 UTC
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
Comment 1 Christian Schmidt 2007-07-02 19:27:24 UTC
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.
Comment 2 Christian Schmidt 2007-07-02 19:28:46 UTC
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.
Comment 3 Christian Schmidt 2007-07-02 19:35:15 UTC
Created attachment 123711 [details]
Fixed epatch call.
Comment 4 Christian Schmidt 2007-07-02 19:36:06 UTC
Created attachment 123713 [details]
patch for ffmpeg, corrected filename
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-07-02 21:29:20 UTC

*** This bug has been marked as a duplicate of bug 183965 ***
Comment 6 Alexis Ballier gentoo-dev 2007-07-03 09:10:21 UTC
different issue of bug #183965
Comment 7 Christian Schmidt 2007-07-03 09:16:36 UTC
Created attachment 123744 [details, diff]
Patch for transcode to support ~ffmpeg

So here as well: Change register_avcodec calls to avcodec_register_all call.
Comment 8 Alexis Ballier gentoo-dev 2007-07-03 21:57:37 UTC
commited, thanks.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-07-04 20:28:55 UTC
*** Bug 184223 has been marked as a duplicate of this bug. ***