Summary: | media-plugins/alsa-plugins-1.0.26: fails to build with media-video/libav-9 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Luca Barbato <lu_zero> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexandre.guimaraes, alsa-bugs, candrews, gem, kensington, Martin.Jansa, thev00d00, uzytkownik2 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://tinderboxlogs.s3.amazonaws.com/tbamd64.excelsior.flameeyes.eu/media-plugins%3Aalsa-plugins-1.0.26%3A20121115-063444.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 443230 | ||
Attachments: | workaround for libav-9 |
Description
Diego Elio Pettenò (RETIRED)
2012-11-15 06:37:04 UTC
Same problem here, with media-video/libav-9999 Same here: libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DNDEBUG -Wall -g -I/usr/include/alsa "-DAVCODEC_HEADER=<libavcodec/avcodec.h>" -O2 -march=native -pipe -ggdb -Wa,--compress-debug-sections -c pcm_a52.c -fPIC -DPIC -o .libs/pcm_a52.o pcm_a52.c: In function 'convert_data': pcm_a52.c:55:2: warning: 'avcodec_encode_audio' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3968) [-Wdeprecated-declarations] pcm_a52.c: In function 'a52_free': pcm_a52.c:412:3: warning: implicit declaration of function 'av_free' [-Wimplicit-function-declaration] pcm_a52.c: In function 'a52_prepare': pcm_a52.c:432:2: warning: implicit declaration of function 'avcodec_alloc_context' [-Wimplicit-function-declaration] pcm_a52.c:432:13: warning: assignment makes pointer from integer without a cast [enabled by default] pcm_a52.c:447:32: error: 'AV_CH_LAYOUT_STEREO' undeclared (first use in this function) pcm_a52.c:447:32: note: each undeclared identifier is reported only once for each function it appears in pcm_a52.c:450:32: error: 'AV_CH_LAYOUT_QUAD' undeclared (first use in this function) pcm_a52.c:453:32: error: 'AV_CH_LAYOUT_5POINT1' undeclared (first use in this function) pcm_a52.c:460:2: warning: implicit declaration of function 'avcodec_open' [-Wimplicit-function-declaration] make[2]: *** [pcm_a52.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-plugins/alsa-plugins-1.0.26/work/alsa-plugins-1.0.26/a52' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-plugins/alsa-plugins-1.0.26/work/alsa-plugins-1.0.26' make: *** [all] Error 2 Given that alsa-plugins always break when updating ffmpeg, maybe it would be a good idea to persuade the upstreams to move the ffmpeg-dependent plugins from the alsa-plugins tarball to the libav/ffmpeg git trees. Erm. No. Unsurprisingly this is still an issue with libav-9.4 Ubuntu have an fixed issue[1], which contains a patch[2] 1. https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1076011 2. https://bugs.launchpad.net/ubuntu/+source/alsa-plugins/+bug/1076011/+attachment/3426720/+files/fix-ftbfs-libav9.patch Created attachment 346322 [details, diff] workaround for libav-9 prepared from sources in comment 6, cleanly apply on 1.0.26 it would be nice if we also have patch in portage now because libav-9.* is now not anymore masked in portage Patch added, thanks. |