Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833775 - media-video/ffmpeg-4.4.1-r2 fails to (re)build after media-libs/x265-3.5 upgrade
Summary: media-video/ffmpeg-4.4.1-r2 fails to (re)build after media-libs/x265-3.5 upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 814662
  Show dependency tree
 
Reported: 2022-02-19 16:43 UTC by Albert W. Hopkins
Modified: 2022-02-22 04:35 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,5.75 KB, text/x-log)
2022-02-19 16:43 UTC, Albert W. Hopkins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2022-02-19 16:43:39 UTC
Created attachment 765477 [details]
build.log

This appears to be similar to #559332.

An upgrade to media-libs/x265-3.5 appears to be causing a rebuild of ffmpeg, but the rebuild fails:

[ebuild  r  U  ] media-libs/x265-3.5:0/199::gentoo [3.4:0/192::gentoo] USE="-10bit -12bit -numa -pic -test" ABI_X86="(64) -32 (-x32)" 1502 KiB
[ebuild  rR    ] media-video/ffmpeg-4.4.1-r2:0/56.58.58::gentoo  USE="amr bzip2 cpudetection encode fdk gpl jpeg2k mp3 network openal openh264 openssl opus speex theora threads vorbis vpx x264 x265 zlib -X -alsa (-amf) -amrenc (-appkit) -bluray -bs2b -cdio -chromaprint -chromium -codec2 (-cuda) -dav1d -debug -doc -flite -fontconfig -frei0r -fribidi -gcrypt -gme -gmp -gnutls -gsm -hardcoded-tables -iconv -iec61883 -ieee1394 -jack -kvazaar -ladspa -libaom -libaribb24 -libass -libcaca -libdrm -libilbc -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -opencl -opengl -oss -pic -postproc -pulseaudio -rav1e -rubberband -samba -sdl -snappy -sndio -srt -ssh -static-libs -svg -svt-av1 -test -truetype -twolame -v4l -vaapi -vdpau -vidstab -vulkan -webp -xvid -zeromq -zimg -zvbi" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes avx mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -avx2 -fma3 -fma4 -xop" FFTOOLS="-aviocat -cws2fws -ffescape -ffeval -ffhash -fourcc2pixfmt -graph2dot -ismindex -pktdumper -qt-faststart -sidxindex -trasher" VIDEO_CARDS="-nvidia" 0 KiB

Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 1502 KiB



Eventually yields:

ERROR: x265 not found using pkg-config

```emerge--info
Portage 3.0.30 (python 3.10.0-final-0, default/linux/amd64/17.1/systemd, gcc-11.2.0, glibc-2.33-r7, 5.16.10-gentoo x86_64)
=================================================================
System uname: Linux-5.16.10-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2630_0_@_2.30GHz-with-glibc2.33
KiB Mem:    32877168 total,   6501372 free
KiB Swap:   13609976 total,  13593592 free
Timestamp of repository gentoo: Sat, 19 Feb 2022 15:05:33 +0000
Timestamp of repository marduk: Fri, 14 Jan 2022 01:45:09 +0000
sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           3.9.9-r1::gentoo, 3.10.0_p1-r1::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/sandbox:          2.25::gentoo
sys-apps/systemd:          249.9::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.4::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/gcc:             11.2.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.33-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://gbp/repos/gbp/gentoo
    priority: -1000
    sync-rsync-verify-metamanifest: False
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

marduk
    location: /var/db/repos/marduk
    sync-type: rsync
    sync-uri: rsync://gbp/repos/gbp/marduk
    masters: gentoo
    priority: 50
    sync-rsync-verify-metamanifest: False
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="     -O2     -march=native     -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="     -O2     -march=native     -pipe "
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="     --autounmask=n     --changed-deps=y     --jobs=5     --unordered-display     --verbose-conflicts     --with-bdeps=n "
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks fixlafiles multilib-strict news noinfo notitles parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms skiprocheck strict unknown-features-warn unmerge-logs unmerge-orphans"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="     --jobs=5     --load-average=5.64     --output-sync "
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS=""
PORTAGE_COMPRESS_FLAGS=""
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"
USE="amd64 container ipv6 libglvnd openssl split-usr ssl systemd unicode" ABI_X86="64" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" KERNEL="linux" NGINX_MODULES_HTTP="addition auth_basic autoindex fancyindex gzip headers_more proxy referer rewrite uwsgi" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" USERLAND="GNU"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SHELL, SIZE, STRINGS, STRIP, YACC, YFLAGS
```
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-19 17:01:54 UTC
Could you share the .pc file installed by x265 and:
>Include the log file "ffbuild/config.log" produced by configure as this will help
>solve the problem.
Comment 2 Larry the Git Cow gentoo-dev 2022-02-20 01:48:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7ff89f33cf31c0238f3bdb2b095d8b1b75c7cdf

commit a7ff89f33cf31c0238f3bdb2b095d8b1b75c7cdf
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-02-20 01:47:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-20 01:47:27 +0000

    media-libs/x265: stabilize 3.5-r2 for amd64, arm, arm64, ppc64, x86
    
    Forward stable kws from 3.5. Had meant to do 3.5-r2 and didn't realise
    we still had 3.5. Oops.
    
    Closes: https://bugs.gentoo.org/814662
    Closes: https://bugs.gentoo.org/833775
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/x265/x265-3.5-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80b3cdfccb45eff1e5bdb33b625c8f413dfe3905

commit 80b3cdfccb45eff1e5bdb33b625c8f413dfe3905
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-02-20 01:47:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-20 01:47:54 +0000

    media-libs/x265: drop 3.5
    
    Bug: https://bugs.gentoo.org/814662
    Bug: https://bugs.gentoo.org/833775
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/x265/x265-3.5.ebuild | 218 ----------------------------------------
 1 file changed, 218 deletions(-)