Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ffmpeg-6.0.1-r2 fails to build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Nreal
Apprentice
Apprentice


Joined: 06 Jan 2009
Posts: 266

PostPosted: Tue Mar 12, 2024 4:31 am    Post subject: ffmpeg-6.0.1-r2 fails to build Reply with quote

Emerge --info
Code:
# emerge --info
Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.38-r10, 6.6.16-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.6.16-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-8700_CPU_@_3.20GHz-with-glibc2.38
KiB Mem:    41014108 total,   4455792 free
KiB Swap:   16383996 total,  16294636 free
Timestamp of repository gentoo: Tue, 12 Mar 2024 03:00:00 +0000
Head commit of repository gentoo: d5e3125224022b28f05c9ef5a28131f29b7bfb64
Head commit of repository brave-overlay: 80c911a716ef040c903845f420538e85120cec7a

Timestamp of repository guru: Tue, 12 Mar 2024 00:48:38 +0000
Head commit of repository guru: 9f27765b9477dd4d3cfac6e0ffeec3aa2f1aeee0

Timestamp of repository vmacs: Mon, 12 Feb 2024 16:35:46 +0000
Head commit of repository vmacs: 2fcf3baf68b8f81647696aff1821135a6e9217c3

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.27.9::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.1-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 3

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.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

vmacs
    location: /var/db/repos/vmacs
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/vmacs.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=skylake -O2 -pipe"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.agdsn.de/gentoo     https://ftp.agdsn.de/gentoo     rsync://ftp.agdsn.de/gentoo     https://mirror.yandex.ru/gentoo-distfiles/     http://mirror.yandex.ru/gentoo-distfiles/     ftp://mirror.yandex.ru/gentoo-distfiles/     https://ftp.lysator.liu.se/gentoo/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="fi en"
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 access_compat acl acpi addressbook alsa amd64 animation-rtl apache aptx asis auth_digest auth_form authn_dbd authn_socache authz_dbd base blueray bluetooth bluray branding brave brotli bzip2 cache_disk cache_socache cairo caja cdda cddb cdr cern_meta cgi cgrypt charset_lite cli color-management colord corefonts cron crypt cue cups custom-modes dbd dbus declarative discid dist-kernel dri dts dumpio dvd dvdr egl elogind encode exif extra extras fastcgi fdk ffmpeg fileinfo fingerprints firefox flac fortran freeimage ftp fullscreen gdbm geoip geolocation gif gimp git gles2 gnuplot gphoto2 gpm gps graphite graphviz grimshot grub gstreamer gtk gui handbrake haptic hcitop hpijs hplip http iconv icu ident imagemagick imagemap inspector intel ipv6 jack java javascript jpeg jpeg2 jpeg2k jpg kde kernel-install lame lcms lensfun libav-aac libnotify libtirpc lm-sensors lvm lzip lzma lzo mad marble mate matroska minizip mmap mms mng mono mount mp3 mp4 mpeg mpg123 mplayer mtp multilib musicbrainz mypaint-brush-engine mysql mysqli ncurses networkmanager nls numa nvenc nvidia ocr odbc ofono ogg openal opencl opengl openmp opus oss pam pango panorama pcre pdf perl php png policykit positioning postproc postscript ppds pulseaudio python qml qrcode qt5 qt6 qtdiag qtmedia qtplugininfo raw rdp readline rss rustfmt scanner sdl seccomp server sockets sound spell split-usr spyder ssl startup-notification static-ppds streamtuner svg swig szip tcl test-rust themes theora threads tiff tray truetype twolame udev udisks unicode upower usb vhosts vlc vorbis vpx vulkan wallpapers wavpack waydroid wayland wayland-compositor webkit webp wifi wxwidgets x264 x265 xattr xcb xft xine xml xpm xv xvfb xvid xwayland zip zlib zstd" ABI_X86="64 32" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy proxy_http proxy_http2 rewrite access_compat" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput synaptics evdev joystick" KERNEL="linux" L10N="fi en en-GB en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="i915 intel nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


build.log
https://unblock-this.com/build.log
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Tue Mar 12, 2024 4:43 am    Post subject: Reply with quote

Quote:

/var/tmp/portage/media-video/ffmpeg-6.0.1-r2/work/ffmpeg-6.0.1/tools/cl2c /var/tmp/portage/media-video/ffmpeg-6.0.1-r2/work/ffmpeg-6.0.1/libavfilter/opencl/avgblur.cl libavfilter/opencl/avgblur.c
/var/tmp/portage/media-video/ffmpeg-6.0.1-r2/work/ffmpeg-6.0.1/tools/cl2c: line 27: libavfilter/opencl/avgblur.c: No such file or directory
/var/tmp/portage/media-video/ffmpeg-6.0.1-r2/work/ffmpeg-6.0.1/tools/cl2c: line 34: libavfilter/opencl/avgblur.c: No such file or directory
/var/tmp/portage/media-video/ffmpeg-6.0.1-r2/work/ffmpeg-6.0.1/tools/cl2c: line 36: libavfilter/opencl/avgblur.c: No such file or directory
make: *** [/var/tmp/portage/media-video/ffmpeg-6.0.1-r2/work/ffmpeg-6.0.1/libavfilter/Makefile:650: libavfilter/opencl/avgblur.c] Error 1
make: *** Waiting for unfinished jobs....


Looks like bug 782553 is back :(
Back to top
View user's profile Send private message
Nreal
Apprentice
Apprentice


Joined: 06 Jan 2009
Posts: 266

PostPosted: Tue Mar 12, 2024 5:09 am    Post subject: Reply with quote

Yes the bug is there. Went for newer version 6.1.1-r4 and the problem is still there.

Builds without opencl flag.
Code:
USE="-opencl" emerge -av =media-video/ffmpeg-6.1.1-r4


Code:
--- replaced dir /usr
<<<          dir /usr/share/doc/ffmpeg-6.0.1-r2
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
>>> media-video/ffmpeg-6.1.1-r4 merged.
>>> Regenerating /etc/ld.so.cache...

>>> Completed (1 of 1) media-video/ffmpeg-6.1.1-r4::gentoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum