checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for zlib.h... yes checking for inflateEnd in -lz... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.22... yes checking for LIBAV... yes checking whether linking with FFmpeg or Libav... FFmpeg checking whether FFmpeg works... no configure: error: in `/var/tmp/portage/media-libs/ffmpegsource-2.23/work/ffmpegsource-2.23': configure: error: cannot link with FFmpeg See `config.log' for more details Reproducible: Always
Created attachment 766025 [details] build.log.gz
Created attachment 766026 [details] emerge-info.txt
configure:17228: checking whether FFmpeg works configure:17248: x86_64-pc-linux-gnu-gcc -o conftest -O2 -march=znver3 -pipe -g -ggdb3 -D__STDC_CONSTANT_MACROS -Wl,-O1 -Wl,--as-needed conftest.c -lavformat -lavcodec -lswscale -lavutil >&5 conftest.c: In function 'main': conftest.c:32:17: warning: implicit declaration of function 'avcodec_register_all' [-Wimplicit-function-declaration] 32 | avcodec_register_all(); | ^~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/media-libs/ffmpegsource-2.23/temp/ccKkS2D1.o: in function `main': /var/tmp/portage/media-libs/ffmpegsource-2.23/work/ffmpegsource-2.23/conftest.c:32: undefined reference to `avcodec_register_all' collect2: error: ld returned 1 exit status configure:17248: $? = 1
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28702e2a5310ec37e3957e761c8419237daf1ef1 commit 28702e2a5310ec37e3957e761c8419237daf1ef1 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-26 21:23:03 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-26 21:38:25 +0000 media-libs/ffmpegsource: add 2.40 Closes: https://bugs.gentoo.org/851066 Closes: https://bugs.gentoo.org/834381 Closes: https://bugs.gentoo.org/859865 Signed-off-by: Sam James <sam@gentoo.org> media-libs/ffmpegsource/Manifest | 1 + media-libs/ffmpegsource/ffmpegsource-2.40.ebuild | 43 +++++++++++++++++++++ media-libs/ffmpegsource/ffmpegsource-9999.ebuild | 48 +++++++++++------------- 3 files changed, 66 insertions(+), 26 deletions(-)