# emerge -pqv '=media-video/ffmpeg-4.4.4-r2::gentoo' [ebuild R ] media-video/ffmpeg-4.4.4-r2 USE="X alsa amr amrenc bluray bs2b bzip2 cdio chromaprint chromium codec2 dav1d doc encode fdk fontconfig frei0r fribidi gcrypt gme gmp gnutls gpl gsm iconv jack jpeg2k kvazaar ladspa libaom libaribb24 libass libcaca libilbc librtmp libsoxr libtesseract libv4l libxml2 lv2 lzma modplug mp3 network openal opengl openh264 openssl opus postproc pulseaudio rav1e rubberband samba sdl snappy sndio speex srt ssh svg svt-av1 theora threads truetype twolame v4l vidstab vmaf vorbis vpx vulkan webp x264 x265 xvid zeromq zimg zlib zvbi -amf (-appkit) -cpudetection -cuda -debug -flite -hardcoded-tables -iec61883 -ieee1394 -libdrm (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -nvenc -opencl -oss -pic -qsv -static-libs -test -vaapi -vdpau -verify-sig" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" # emerge --info '=media-video/ffmpeg-4.4.4-r2::gentoo' Portage 3.0.47 (python 3.11.3-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-13, glibc-2.37-r3, 6.3.4-gentoo-r1-amd64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.3.4-gentoo-r1-amd64-x86_64-12th_Gen_Intel-R-_Core-TM-_i7-12700-with-glibc2.37 KiB Mem: 32876056 total, 15448696 free KiB Swap: 8388604 total, 8388604 free Timestamp of repository gentoo: Wed, 31 May 2023 11:00:01 +0000 Head commit of repository gentoo: 9f629cbd84d9a7a75833b08e07cf12f9870d1d98 Timestamp of repository EmilienMottet: Mon, 29 May 2023 18:33:58 +0000 Head commit of repository EmilienMottet: c1635922cb20eca6c7482366f1154f7eb4d7715f Timestamp of repository brave-overlay: Tue, 30 May 2023 14:01:58 +0000 Head commit of repository brave-overlay: 49e141585d33cf37f43481c6925f4daef5afc843 Timestamp of repository darkelf: Mon, 29 May 2023 18:33:43 +0000 Head commit of repository darkelf: ca8f191e990e772253aa517d3feb073b0ba48b7e Timestamp of repository guru: Tue, 30 May 2023 22:01:56 +0000 Head commit of repository guru: 82d2c734e03514ff82127786a6a1ef6712b0fdf4 Timestamp of repository kde: Mon, 29 May 2023 18:33:45 +0000 Head commit of repository kde: de9db4feaeededdfdfd7f2499b6d699a5903e203 sh bash 5.2_p15-r3 ld GNU ld (Gentoo 2.40 p5) 2.40.0 ccache version 4.8 [enabled] app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p15-r3::gentoo dev-java/java-config: 2.3.1-r1::gentoo dev-lang/perl: 5.36.1-r2::gentoo dev-lang/python: 3.10.11::gentoo, 3.11.3::gentoo, 3.12.0_beta1_p3::gentoo dev-lang/rust: 1.69.0-r1::gentoo dev-util/ccache: 4.8-r2::gentoo dev-util/cmake: 3.26.4-r1::gentoo dev-util/meson: 1.1.1::gentoo sys-apps/baselayout: 2.13-r1::gentoo sys-apps/sandbox: 2.30-r1::gentoo sys-apps/systemd: 253.4::gentoo sys-devel/autoconf: 2.13-r8::gentoo, 2.71-r6::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.40-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r3::gentoo, 16.0.4::gentoo sys-devel/gcc: 12.3.1_p20230526::gentoo, 13.1.1_p20230527::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/lld: 15.0.7::gentoo sys-devel/llvm: 14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.4::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r3::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://server.kopylovs.net/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 EmilienMottet location: /var/db/repos/EmilienMottet sync-type: git sync-uri: https://github.com/gentoo-mirror/EmilienMottet.git masters: gentoo volatile: False brave-overlay location: /var/db/repos/brave-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/brave-overlay.git masters: gentoo volatile: False darkelf location: /var/db/repos/darkelf sync-type: git sync-uri: https://github.com/gentoo-mirror/darkelf.git masters: gentoo volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False kde location: /var/db/repos/kde sync-type: git sync-uri: https://github.com/gentoo-mirror/kde.git masters: gentoo volatile: False ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA android AnyDesk-TOS geekbench google-chrome microsoft-edge Microsoft-vscode OPERA-2018 PUEL-11 RAR TeamViewer Vivaldi" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php7.4/ext-active/ /etc/php/fpm-php8.0/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php7.4/ext-active/ /etc/php/phpdbg-php8.0/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr" FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" GENTOO_MIRRORS="https://mirror.isoc.org.il/pub/gentoo/" LANG="en_US.utf8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j10" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="X a52 aac aalib accessibility acl acpi activities alsa amd64 ao appindicator archive aspell audit bash-completion berkdb bidi bluray boost branding brotli btrfs bzip2 cairo cdda cddb cdio cdr cgi cli colord contrib cron crypt cryptsetup cups curl dbi dbus designer device-mapper djvu doc dri dts dv dvb dvd dvdr eds emacs enchant encode evdev evo examples executable exif expat experimental extra extras fam fastcgi fbcon ffmpeg fftw firebird flac fluidsynth fontconfig fontforge fortran freetds ftp fuse games gcrypt gd gdbm gdk-pixbuf geoip geolocation gif git glade glib glusterfs gme gmp gnome gnome-keyring gnome-online-accounts gnuplot gnutls go gpg gphoto2 gpm graphviz gsm gssapi gstreamer gtk gtk-doc gtk3 gui guile harfbuzz hdf5 heif highlight hscolour html http http2 ibus iconv icu idn imagemagick imap imlib introspection iodbc ios ipv6 jack java javascript jbig jemalloc jpeg jpeg2k jpegxl json kde kerberos keyring ladspa lame latex lcms ldap libass libcaca libevent libnotify libsamplerate libtirpc libxml2 lmdb lua lv2 lvm lz4 lzma lzo mad magic maildir man mbedtls mbox memcached midi mmap mms mng modplug mono mp3 mp4 mpeg mpi mplayer mssql mtp multilib multimedia musepack mysql nas nautilus ncurses netlink nettle network networkmanager nfs nls nptl nss ntlm odbc offensive ogg openal openexr opengl openmp openssl opus pam pango pcap pcre pdf perl phonon pkcs11 plasma plugins png policykit portaudio postgres postscript ppds pulseaudio python qdbm qml qrcode qt5 raw rdma readline redis rss samba sasl screencast sctp sdl seccomp semantic-desktop sftp share skey smp smtp snappy sndfile sndio snmp sound source sox speech speex spell sql sqlite ssh ssl startup-notification svg symlink syslog sysprof systemd taglib tbb tcl tcpd telemetry telepathy test-rust theora threads tiff tk tools tpm tracker tremor truetype twolame udev udisks unicode unwind upnp upower usb utils uuid v4l vala vcd vim-syntax vnc vorbis vpx vulkan wavpack wayland webengine webkit webp websockets widevine widgets wmf wxwidgets x264 x265 xattr xcb xface xft xinerama xml xmp xpm xscreensaver xv xvid yaml zeroconf zip zlib zsh-completion zstd" ABI_X86="64 32" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_10" RUBY_TARGETS="ruby30 ruby31 ruby32" VIDEO_CARDS="fbdev vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= media-video/ffmpeg-4.4.4-r2::gentoo was built with the following: USE="X alsa amr amrenc bluray bs2b bzip2 cdio chromaprint chromium codec2 dav1d doc encode fdk fontconfig frei0r fribidi gcrypt gme gmp gnutls gpl gsm iconv jack jpeg2k kvazaar ladspa libaom libaribb24 libass libcaca libilbc librtmp libsoxr libtesseract libv4l libxml2 lv2 lzma modplug mp3 network openal opengl openh264 openssl opus postproc pulseaudio rav1e rubberband samba sdl snappy sndio speex srt ssh svg svt-av1 theora threads truetype twolame v4l vidstab vmaf vorbis vpx vulkan webp x264 x265 xvid zeromq zimg zlib zvbi -amf (-appkit) -cpudetection -cuda -debug -flite -hardcoded-tables -iec61883 -ieee1394 -libdrm (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -nvenc -opencl -oss -pic -qsv -static-libs -test -vaapi -vdpau -verify-sig" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" FEATURES="binpkg-multi-instance binpkg-docompress config-protect-if-modified multilib-strict binpkg-logs ebuild-locks userfetch userpriv qa-unresolved-soname-deps unmerge-orphans distlocks usersandbox network-sandbox news assume-digests ipc-sandbox merge-sync binpkg-dostrip strict-keepdir strict warn-on-large-env buildpkg-live fixlafiles sfperms protect-owned sandbox usersync parallel-fetch preserve-libs unmerge-logs unknown-features-warn xattr pid-sandbox"
Created attachment 862976 [details] build.log.xz
x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -DBUILDING_avcodec -march=native -O2 -pipe -fomit-frame-pointer -std=c11 -fPIC -pthread -I/usr/include/lilv-0 -I/usr/include/serd-0 -I/usr/include/sord-0 -I/usr/include/sratom-0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/fribidi -pthread -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/bs2b -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/fribidi -I/usr/include/openh264 -I/usr/include/openjpeg-2.5 -I/usr/include/opus -I/usr/include/opus -D_REENTRANT -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/harfbuzz -pthread -I/usr/include/pixman-1 -I/usr/include/p11-kit-1 -I/usr/include/samba-4.0 -I/usr/include/srt -I/usr/include/p11-kit-1 -I/usr/include/svt-av1 -DEB_DLL -I/usr/include/leptonica -I/usr/include/libvmaf -DX264_API_IMPORTS -I/usr/include/libxml2 -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -Wno-char-subscripts -march=native -O2 -pipe -fomit-frame-pointer -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -Wno-maybe-uninitialized -I/usr/include/SDL2 -D_REENTRANT -MMD -MF libavcodec/lzf.d -MT libavcodec/lzf.o -c -o libavcodec/lzf.o src/libavcodec/lzf.c src/libavcodec/libsvtav1.c: In function ‘alloc_buffer’: src/libavcodec/libsvtav1.c:124:51: error: ‘EbSvtAv1EncConfiguration’ has no member named ‘compressed_ten_bit_format’ 124 | (config->encoder_bit_depth > 8) && (config->compressed_ten_bit_format == 0) ? 1 : 0; | ^~ make: *** [/var/tmp/portage/media-video/ffmpeg-4.4.4-r2/work/ffmpeg-4.4.4/ffbuild/common.mak:67: libavcodec/libsvtav1.o] Error 1 make: *** Waiting for unfinished jobs.... [31;01m*[0m ERROR: media-video/ffmpeg-4.4.4-r2::gentoo failed (compile phase): [31;01m*[0m emake failed
https://git.videolan.org/?p=ffmpeg.git;a=commit;h=c3c8f97a9804b4234e97f13b0057ffc2c9af27c0
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786f54b7aa322c015dd121519970eaba3e17bec1 commit 786f54b7aa322c015dd121519970eaba3e17bec1 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-05-31 18:40:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-31 18:43:01 +0000 media-video/ffmpeg: fix build w/ svt-av1-1.5.0 Closes: https://bugs.gentoo.org/907478 Closes: https://bugs.gentoo.org/907493 Signed-off-by: Sam James <sam@gentoo.org> media-video/ffmpeg/ffmpeg-4.4.4-r2.ebuild | 1 + media-video/ffmpeg/ffmpeg-5.1.3.ebuild | 1 + .../ffmpeg-4.4.4-fix-build-svt-av1-1.5.0.patch | 44 ++++++++++++ .../ffmpeg-5.1.3-fix-build-svt-av1-1.5.0.patch | 81 ++++++++++++++++++++++ 4 files changed, 127 insertions(+)