Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476504 - media-video/transcode-1.1.7-r2 fails with media-video/ffmpeg-2.0
Summary: media-video/transcode-1.1.7-r2 fails with media-video/ffmpeg-2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-2.0
  Show dependency tree
 
Reported: 2013-07-11 09:09 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2013-07-20 15:58 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,58.94 KB, text/plain)
2013-07-11 09:09 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-07-11 09:09:03 UTC
Created attachment 353074 [details]
build.log

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT -DMOD_PATH=\"/usr/lib64/transcode\" -I.. -I../src -Wall -Wstrict-prototypes -Wmissing-prototypes -march=barcelona -mtune=barcelona -O2 -pipe -c encode_lavc.c  -fPIC -DPIC -o .libs/encode_lavc_la-encode_lavc.o
encode_lavc.c:168:27: error: array type has incomplete element type
encode_lavc.c: In function 'tc_lavc_config_defaults':
encode_lavc.c:941:5: warning: implicit declaration of function 'avcodec_get_context_defaults' [-Wimplicit-function-declaration]
encode_lavc.c:979:20: error: 'AVCodecContext' has no member named 'luma_elim_threshold'
encode_lavc.c:980:20: error: 'AVCodecContext' has no member named 'chroma_elim_threshold'
encode_lavc.c:1004:20: error: 'AVCodecContext' has no member named 'quantizer_noise_shaping'
encode_lavc.c: In function 'tc_lavc_read_config':
encode_lavc.c:1158:21: error: 'AVCodecContext' has no member named 'luma_elim_threshold'
encode_lavc.c:1159:21: error: 'AVCodecContext' has no member named 'chroma_elim_threshold'
encode_lavc.c:1185:18: error: 'AVCodecContext' has no member named 'quantizer_noise_shaping'
encode_lavc.c:1190:59: error: 'CODEC_FLAG_CBP_RD' undeclared (first use in this function)
encode_lavc.c:1190:59: note: each undeclared identifier is reported only once for each function it appears in
encode_lavc.c: In function 'tc_lavc_configure':
encode_lavc.c:1397:5: error: incompatible type for argument 1 of 'avcodec_find_encoder'
In file included from ../libtc/tcavcodec.h:33:0,
                 from encode_lavc.c:35:
/usr/include/libavcodec/avcodec.h:4039:10: note: expected 'enum AVCodecID' but argument is of type 'TCConfigEntry'
encode_lavc.c:1397:19: warning: assignment from incompatible pointer type [enabled by default]
encode_lavc.c: In function 'tc_lavc_encode_video':
encode_lavc.c:1506:5: warning: 'avcodec_encode_video' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4137) [-Wdeprecated-declarations]
encode_lavc.c: At top level:
encode_lavc.c:168:27: warning: 'tc_lavc_internal_codecs' defined but not used [-Wunused-variable]
make[2]: *** [encode_lavc_la-encode_lavc.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/transcode-1.1.7-r2/work/transcode-1.1.7/encode'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/transcode-1.1.7-r2/work/transcode-1.1.7'
make: *** [all] Error 2
 [31;01m*[0m ERROR: media-video/transcode-1.1.7-r2 failed (compile phase):
 [31;01m*[0m   emake failed
Comment 1 Kelly Price 2013-07-20 12:48:18 UTC
I can confirm this build error.
Comment 2 Alexis Ballier gentoo-dev 2013-07-20 15:58:56 UTC
+*transcode-1.1.7-r3 (20 Jul 2013)
+
+  20 Jul 2013; Alexis Ballier <aballier@gentoo.org> +transcode-1.1.7-r3.ebuild,
+  +files/transcode-1.1.7-ffmpeg2.patch,
+  +files/transcode-1.1.7-preset-force.patch:
+  Do not force using a preset. Fix build with ffmpeg-2.0. Fix segfaults
+  introduced by wrong usage of the av_dict API in the ffmpeg-0.11 patch. Add
+  missing fixes from the libav9 patch.
+