Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 916652 Details for
Bug 948162
media-libs/ffmpegsource-2.40-r2 - [ffmpeg] src/.../audiosource.cpp: error: av_get_channel_layout_nb_channels was not declared in this scope
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-libs:ffmpegsource-2.40-r2:20250115-212713.log
media-libs:ffmpegsource-2.40-r2:20250115-212713.log (text/plain), 12.51 KB, created by
Toralf Förster
on 2025-01-15 21:51:51 UTC
(
hide
)
Description:
media-libs:ffmpegsource-2.40-r2:20250115-212713.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2025-01-15 21:51:51 UTC
Size:
12.51 KB
patch
obsolete
> * Package: media-libs/ffmpegsource-2.40-r2:0/4 > * Repository: gentoo > * Maintainer: sarnex@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking ffmpegsource-2.40.tar.gz to /var/tmp/portage/media-libs/ffmpegsource-2.40-r2/work >>>> Source unpacked in /var/tmp/portage/media-libs/ffmpegsource-2.40-r2/work >>>> Preparing source in /var/tmp/portage/media-libs/ffmpegsource-2.40-r2/work/ffms2-2.40 ... > * Applying ffmpegsource-2.40-Fix-build-with-ffmpeg-5.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/media-libs/ffmpegsource-2.40-r2/work/ffms2-2.40' ... > * Running 'libtoolize --install --copy --force --automake' ... > [ ok ] > * Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/media-libs/ffmpegsource-2.40-r2/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader --force' ... > [ ok ] > * Running 'automake --add-missing --copy --foreign --force-missing' ... > [ ok ] > * Running elibtoolize in: ffms2-2.40/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying verbose-pic/2.4.7 patch ... > * Applying clang-runtime-ltmain/2.4.7 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-libs/ffmpegsource-2.40-r2/work/ffms2-2.40 ... > * econf: updating ffms2-2.40/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating ffms2-2.40/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/ffmpegsource-2.40-r2 --htmldir=/usr/share/doc/ffmpegsource-2.40-r2/html --with-sysroot=/ --libdir=/usr/lib64 >checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c >checking whether sleep supports fractional seconds... yes >checking filesystem timestamp resolution... 0.01 >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /usr/bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking xargs -n works... yes >checking whether to enable maintainer-specific portions of Makefiles... no >checking if debug build is enabled... no >no >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >checking whether the compiler supports GNU C++... yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes >checking for x86_64-pc-linux-gnu-g++ option to enable C++11 features... none needed >checking dependency style of x86_64-pc-linux-gnu-g++... none >checking whether ln -s works... yes >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking how to print strings... printf >checking for a sed that does not truncate output... /usr/bin/sed >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for fgrep... /usr/bin/grep -F >checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B >checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm >checking the maximum length of command line arguments... 1572864 >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r >checking for file... file >checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok >checking for sysroot... / >checking for a working dd... /usr/bin/dd >checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... no >checking if : is a manifest tool... no >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for dlfcn.h... yes >checking for objdir... .libs >checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no >checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC >checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes >checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes >checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E >checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... 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 for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC >checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes >checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes >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 libavformat >= 53.20.0 libavcodec >= 53.24.0 libswscale >= 0.7.0 libavutil >= 51.21.0 libswresample >= 1.0.0... yes >checking whether FFmpeg works... yes >checking whether -Wl,-Bsymbolic is needed... no >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating ffms2.pc >config.status: creating src/config/config.h >config.status: executing depfiles commands >config.status: executing libtool commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-libs/ffmpegsource-2.40-r2/work/ffms2-2.40 ... >make -O -j4 >cd . && /bin/sh ./config.status ffms2.pc >config.status: creating ffms2.pc >/bin/sh ./libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./src/config -I. -I./include -I./src/config -D_FILE_OFFSET_BITS=64 -DFFMS_EXPORTS -D__STDC_CONSTANT_MACROS -include config.h -std=c++11 -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -c -o src/core/audiosource.lo src/core/audiosource.cpp >libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./src/config -I. -I./include -I./src/config -D_FILE_OFFSET_BITS=64 -DFFMS_EXPORTS -D__STDC_CONSTANT_MACROS -include config.h -std=c++11 -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -c src/core/audiosource.cpp -fPIC -DPIC -o src/core/.libs/audiosource.o >src/core/audiosource.cpp: In member function 'void FFMS_AudioSource::SetOutputFormat(const FFMS_ResampleOptions&)': >src/core/audiosource.cpp:209:95: error: 'av_get_channel_layout_nb_channels' was not declared in this scope > 209 | BytesPerSample = av_get_bytes_per_sample(static_cast<AVSampleFormat>(opt.SampleFormat)) * av_get_channel_layout_nb_channels(opt.ChannelLayout); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/core/audiosource.cpp:225:5: error: 'av_opt_set_channel_layout' was not declared in this scope; did you mean 'av_opt_set_chlayout'? > 225 | av_opt_set_channel_layout(newContext.get(), "out_channel_layout", opt.ChannelLayout, 0); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > | av_opt_set_chlayout >make: *** [Makefile:721: src/core/audiosource.lo] Error 1 >make: *** Waiting for unfinished jobs.... >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./src/config -I. -I./include -I./src/config -D_FILE_OFFSET_BITS=64 -DFFMS_EXPORTS -D__STDC_CONSTANT_MACROS -include config.h -std=c++11 -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -c -o src/index/ffmsindex.o src/index/ffmsindex.cpp >/bin/sh ./libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./src/config -I. -I./include -I./src/config -D_FILE_OFFSET_BITS=64 -DFFMS_EXPORTS -D__STDC_CONSTANT_MACROS -include config.h -std=c++11 -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -c -o src/core/filehandle.lo src/core/filehandle.cpp >libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./src/config -I. -I./include -I./src/config -D_FILE_OFFSET_BITS=64 -DFFMS_EXPORTS -D__STDC_CONSTANT_MACROS -include config.h -std=c++11 -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -c src/core/filehandle.cpp -fPIC -DPIC -o src/core/.libs/filehandle.o >/bin/sh ./libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./src/config -I. -I./include -I./src/config -D_FILE_OFFSET_BITS=64 -DFFMS_EXPORTS -D__STDC_CONSTANT_MACROS -include config.h -std=c++11 -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -c -o src/core/ffms.lo src/core/ffms.cpp >libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./src/config -I. -I./include -I./src/config -D_FILE_OFFSET_BITS=64 -DFFMS_EXPORTS -D__STDC_CONSTANT_MACROS -include config.h -std=c++11 -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -c src/core/ffms.cpp -fPIC -DPIC -o src/core/.libs/ffms.o > * ERROR: media-libs/ffmpegsource-2.40-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-libs/ffmpegsource-2.40-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-libs/ffmpegsource-2.40-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/media-libs:ffmpegsource-2.40-r2:20250115-212713.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-libs/ffmpegsource-2.40-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-libs/ffmpegsource-2.40-r2/temp/environment'. > * Working directory: '/var/tmp/portage/media-libs/ffmpegsource-2.40-r2/work/ffms2-2.40' > * S: '/var/tmp/portage/media-libs/ffmpegsource-2.40-r2/work/ffms2-2.40' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 948162
:
916646
|
916647
|
916648
|
916649
|
916650
|
916651
| 916652 |
916653
|
916654