x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -O2 -march=znver3 -pipe -g -ggdb3 -c -o dec_vorbis.o dec_vorbis.c dec_lavc.c: In function ‘decode_audio’: dec_lavc.c:122:15: warning: implicit declaration of function ‘avcodec_decode_audio4’; did you mean ‘avcodec_decode_subtitle2’? [-Wimplicit-function-declaration] 122 | ret = avcodec_decode_audio4(avctx, &frame, &got_frame, avpkt); | ^~~~~~~~~~~~~~~~~~~~~ | avcodec_decode_subtitle2 dec_lavc.c: In function ‘decode_lavc’: dec_lavc.c:200:9: warning: implicit declaration of function ‘av_free_packet’; did you mean ‘av_get_packet’? [-Wimplicit-function-declaration] 200 | av_free_packet(&packet); | ^~~~~~~~~~~~~~ | av_get_packet dec_lavc.c: In function ‘lavc_decoder_open’: dec_lavc.c:274:48: error: ‘AVStream’ has no member named ‘codec’ 274 | if (pd->avFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO) { | ^~ dec_lavc.c:282:67: error: ‘AVStream’ has no member named ‘codec’ 282 | pd->avCodecCtx = pd->avFormatCtx->streams[pd->audioStream]->codec; | ^~ dec_lavc.c:292:21: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 292 | pd->avCodec = avcodec_find_decoder(pd->avCodecCtx->codec_id); | ^ file_decoder.c: In function ‘file_decoder_init’: file_decoder.c:175:9: warning: implicit declaration of function ‘av_register_all’ [-Wimplicit-function-declaration] 175 | av_register_all(); | ^~~~~~~~~~~~~~~ make[3]: *** [Makefile:477: dec_lavc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/var/tmp/portage/media-sound/aqualung-1.1-r101/work/aqualung-1.1/src/decoder' make[2]: *** [Makefile:1282: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-sound/aqualung-1.1-r101/work/aqualung-1.1/src' make[1]: *** [Makefile:444: all-recursive] Error 1 Reproducible: Always
Created attachment 766043 [details] build.log.gz
Created attachment 766044 [details] emerge-info.txt
Compiles fine with: * USE=ffmpeg and ffmpeg-4.4.1 * USE=-ffmpeg and ffmpeg-5.0
Ping
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ee900e3104d52c9ce29649540ea273e16ec218 commit f7ee900e3104d52c9ce29649540ea273e16ec218 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-02-15 06:16:07 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-15 06:16:07 +0000 media-sound/aqualung: depend on <ffmpeg-5 Bug: https://bugs.gentoo.org/834391 Signed-off-by: Sam James <sam@gentoo.org> media-sound/aqualung/aqualung-1.1-r102.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2728cd9bdaadb3dc07c4fc6f67670b4a02aa0639 commit 2728cd9bdaadb3dc07c4fc6f67670b4a02aa0639 Author: Daniel Pielmeier <billie@gentoo.org> AuthorDate: 2023-06-25 12:58:19 +0000 Commit: Daniel Pielmeier <billie@gentoo.org> CommitDate: 2023-06-25 12:58:19 +0000 media-sound/aqualung: aqualung-1.2 should compile with all current ffmpeg versions Closes: https://bugs.gentoo.org/834391 Signed-off-by: Daniel Pielmeier <billie@gentoo.org> media-sound/aqualung/{aqualung-1.2.ebuild => aqualung-1.2-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)