Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943114 - media-video/ffmpeg-6.1.2[svg] fails to configure with gnome-base/librsvg-2.58.2-r1
Summary: media-video/ffmpeg-6.1.2[svg] fails to configure with gnome-base/librsvg-2.58...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-09 10:15 UTC by Eugene Shalygin
Modified: 2024-11-09 14:04 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Shalygin 2024-11-09 10:15:35 UTC
>>> Configuring source in /tmp/portage/media-video/ffmpeg-6.1.2/work/ffmpeg-6.1.2 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
/tmp/portage/media-video/ffmpeg-6.1.2/work/ffmpeg-6.1.2/configure --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --docdir=/usr/share/doc/ffmpeg-6.1.2/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc -m32 -mfpmath=sse --cxx=x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse --ar=x86_64-pc-linux-gnu-ar --nm=x86_64-pc-linux-gnu-nm --strip=x86_64-pc-linux-gnu-strip --ranlib=x86_64-pc-linux-gnu-ranlib --pkg-config=x86_64-pc-linux-gnu-pkg-config --optflags=-march=native -O2 -pipe -pipe --disable-static --disable-libaribcaption --enable-avfilter --disable-stripping --disable-optimizations --disable-libcelt --enable-version3 --disable-indev=oss --disable-indev=jack --disable-indev=sndio --disable-outdev=oss --disable-outdev=sndio --enable-version3 --enable-version3 --enable-nonfree --enable-bzlib --disable-runtime-cpudetect --disable-debug --disable-gcrypt --enable-gnutls --enable-gmp --enable-gpl --disable-hardcoded-tables --enable-iconv --disable-libxml2 --enable-lzma --enable-network --disable-opencl --disable-openssl --enable-postproc --disable-libsmbclient --enable-ffplay --enable-sdl2 --enable-vaapi --enable-vdpau --enable-vulkan --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --enable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --enable-libv4l2 --enable-libpulse --enable-libdrm --disable-libjack --enable-libopencore-amrwb --enable-libopencore-amrnb --disable-libcodec2 --enable-libdav1d --enable-libfdk-aac --enable-libopenjpeg --enable-libjxl --disable-libbluray --disable-libgme --enable-libgsm --disable-libaribb24 --enable-libmodplug --enable-libopus --disable-libvpl --disable-libilbc --disable-librtmp --disable-libssh --enable-libspeex --disable-libsrt --enable-librsvg --disable-ffnvcodec --enable-libvorbis --enable-libvpx --disable-libzvbi --disable-appkit --enable-libbs2b --enable-chromaprint --disable-cuda-llvm --disable-libflite --enable-fontconfig --disable-frei0r --disable-libfribidi --disable-libglslang --disable-ladspa --enable-lcms2 --enable-libass --disable-libplacebo --disable-libtesseract --disable-lv2 --disable-librubberband --disable-libshaderc --enable-libfreetype --enable-libharfbuzz --disable-libvidstab --disable-libvmaf --disable-libzmq --disable-libzimg --enable-libsoxr --enable-pthreads --disable-amf --enable-libvo-amrwbenc --disable-libkvazaar --disable-libaom --enable-libmp3lame --disable-libopenh264 --disable-librav1e --disable-libsnappy --disable-libsvtav1 --enable-libtheora --disable-libtwolame --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --disable-librav1e --disable-libzmq --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-vfpv3 --disable-armv8 --disable-dotprod --disable-i8mm --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-altivec --disable-vsx --disable-power8 --disable-amd3dnow --disable-amd3dnowext --disable-fma4 --disable-xop --enable-pic --disable-asm --cpu=host --disable-doc --disable-htmlpages --disable-manpages
ERROR: librsvg-2.0 not found using pkg-config


Reproducible: Always




$  emerge --info media-video/ffmpeg
Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-14, glibc-2.40-r5, 6.11.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.11.6-gentoo-x86_64-AMD_Ryzen_9_9950X_16-Core_Processor-with-glibc2.40
KiB Mem:    96538856 total,  66010956 free
KiB Swap:  100663292 total, 100663292 free
Timestamp of repository gentoo: Sat, 09 Nov 2024 08:18:41 +0000
Head commit of repository gentoo: 71b2c1e99e513bbbfdab85caac7278f06b7dee28

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p2) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake:           3.31.0::gentoo
dev-build/libtool:         2.5.3::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust-bin:         1.79.0-r100::gentoo, 1.81.0-r100::gentoo, 1.82.0-r100::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.40::gentoo
sys-apps/systemd:          256.7::gentoo
sys-devel/binutils:        2.43-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           18.1.8-r6::gentoo, 19.1.3::gentoo
sys-devel/gcc:             14.2.1_p20241026::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo
sys-devel/llvm:            18.1.8-r6::gentoo, 19.1.3::gentoo
sys-kernel/linux-headers:  6.11::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    volatile: False

brother-overlay
    location: /var/db/repos/brother-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brother-overlay.git

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @FREE @EULA 2dboy-EULA xv CC-Sampling-Plus-1.0 GPL2 as-is ValveSteamLicense unRAR bakoma fairuse Skype-TOS Zarf CDF android szip freedist MPEG-4 intel-ucode AVASYS linux-fw-redistributable no-source-code bh-luxi free-noncomm MSttfEULA NVIDIA-r1 GPL LPPL CC-BY-NC-4.0 OSGi-Specification-2.0 sun-jsr67 JasPer2.0 Amazon-EULA all-rights-reserved MS-vscode-EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf /usr/share/themes/oxygen-gtk/gtk-3.0 /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -pipe"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 3 --load-average 6.0 --quiet-build --keep-going"
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 collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://mirror.netcologne.de/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--as-needed -Wl,--hash-style=gnu"
LEX="flex"
LINGUAS=" en en_GB eo de uk"
MAKEOPTS="-j16"
PKGDIR="/var/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--quiet"
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="/tmp"
PYTHONPATH="/usr/share/gdb/python"
SHELL="/bin/zsh"
USE="X a52 aac acl acpi activities alsa amd64 amr apng attica avahi bash-completion bluetooth branding bs2b btrfs bzip2 cairo canberra caps cdda cdr cet chromaprint crypt css cups dbus declarative designer dirac djvu dri dts dv dvd dvdnav dvdr efi egl elfutils emacs encode exif faac ffmpeg flac fontconfig fuse gdbm geoip gif git gmp gnuplot gold gpm gsm gstreamer gtk gui harfbuzz iconv icu idn imagemagick inotify io-uring iproute2 ipv6 jemalloc jit jpeg jpeg2k jpegxl kde kerberos kf6 kf6compat kipi kwallet lame lapack latex lcms libass libinput libnotify libsamplerate libsecret libtirpc live lm-sensors logitech lto luajit luatex lzma mad metalink mng mp3 mp4 mpeg mpi mpris mtp multicall multilib ncurses netlink network networkmanager nfs nftables nls numa ogg openexr opengl openmp openssl pam pango pch pcre pdf pipewire pkcs11 plasma png policykit postscript ppds pulseaudio qml qrcode qt6 quicktime quvi radio readline romio rss rtmp samba scanner screencast sctp sdl seccomp semantic-desktop slp smp sound speex spell sqlite ssl startup-notification svg symlink system-icu system-png system-sqlite systemd taglib test-rust theora threads thumbnail tiff truetype udev udisks unicode upnp upower usb v4l v4l2 vaapi vdpau vim-syntax vorbis vpx vulkan wayland webengine webp widgets wifi x264 x265 xattr xcb xcomposite xft xinerama xml xmp xrandr xv xvid yv12 zeroconf zlib zsh-completion zstd" ABI_X86="64" ADA_TARGET="gcc_12" 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" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 avx512_bf16 avx512_bitalg avx512_vbmi2 avx512_vnni avx512_vp2intersect avx512_vpopcntdq avx512bw avx512cd avx512dq avx512f avx512ifma avx512vbmi avx512vl f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="garmin garmintxt gpsclock timing" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput evdev libinput" KERNEL="linux" L10N="en en-GB eo de uk" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32 ruby31" SANE_BACKENDS="net" VIDEO_CARDS="v4l radeon amdgpu radeonsi" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

media-video/ffmpeg-6.1.2::gentoo was built with the following:
USE="X alsa amr amrenc bs2b bzip2 cdio chromaprint chromium dav1d encode fdk fontconfig gmp gnutls gpl gsm iconv jpeg2k jpegxl lcms libass libdrm libsoxr libv4l lzma modplug mp3 network opengl opus pic postproc pulseaudio sdl speex svg theora threads truetype v4l vaapi vdpau vorbis vpx vulkan webp x264 x265 xvid zlib -amf (-appkit) -bluray -codec2 -cpudetection -cuda -debug -doc -flite -frei0r -fribidi -gcrypt -glslang -gme -hardcoded-tables -iec61883 -ieee1394 -jack -kvazaar -ladspa -libaom -libaribb24 -libcaca -libilbc -libplacebo -librtmp -libtesseract -libxml2 -lv2 (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -nvenc -openal -opencl -openh264 -openssl -oss -qsv -rav1e -rubberband -samba -shaderc -snappy -sndio -soc -srt -ssh -static-libs -svt-av1 -test -twolame -verify-sig -vidstab -vmaf -zeromq -zimg -zvbi" 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 gnome-base/librsvg
[Omitted common part]

=================================================================
                        Package Settings
=================================================================

gnome-base/librsvg-2.58.2-r1::gentoo was built with the following:
USE="introspection vala -debug -gtk-doc" ABI_X86="32 (64) (-x32)"
CFLAGS="-march=native -O2 -pipe -pipe -Wno-incompatible-pointer-types"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-09 10:17:16 UTC
Should be fixed with:

commit b673ae2f19d960de7afaaf77349822dfee2f91f5
Author: Sam James <sam@gentoo.org>
Date:   Sat Nov 9 09:44:04 2024 +0000

    gnome-base/librsvg: fix phase definitions

    The issue here is the same as with libdovi. If we change the inherit
    order back to before 01ba4dc61965ef7658a24728841c04c9a1ce4871, then
    MULTILIB_USEDEP isn't defined so rust.eclass can't use it for generating
    the multilib dep on Rust itself.

    Also, add a missing rust_pkg_setup call in 2.57.3.

    Bug: https://bugs.gentoo.org/943110
    Signed-off-by: Sam James <sam@gentoo.org>

commit 85bb5aa0b841aa0f1a67f72bbaf5c63a0fe3126e
Author: Sam James <sam@gentoo.org>
Date:   Sat Nov 9 09:51:26 2024 +0000

    gnome-base/librsvg: add missing revbump for 2.58.2

    Fixes: b673ae2f19d960de7afaaf77349822dfee2f91f5
    Signed-off-by: Sam James <sam@gentoo.org>
Comment 2 Larry the Git Cow gentoo-dev 2024-11-09 10:33:20 UTC
The bug has been referenced in the following commit(s):

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

commit 6b8004c0feea76de89abf38f7e0e2b2c2fca1001
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-11-09 10:31:53 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-11-09 10:31:53 +0000

    media-libs/libdovi: adjust style
    
    Prefer to avoid having pseudo-duplicate phases where possible.
    
    Also simplify src_test, this has no tests (thus why there was no
    phase defined using cargo-c) but still need to avoid cargo_src_test
    or it'll start compiling.
    
    Bug: https://bugs.gentoo.org/943114
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 media-libs/libdovi/libdovi-3.3.1-r1.ebuild | 54 ++++++++++++++----------------
 1 file changed, 25 insertions(+), 29 deletions(-)
Comment 3 Eugene Shalygin 2024-11-09 10:37:38 UTC
(In reply to Sam James from comment #1)
> Should be fixed with:
> 
> commit b673ae2f19d960de7afaaf77349822dfee2f91f5

Thank you, it is.
Comment 4 Ionen Wolkens gentoo-dev 2024-11-09 14:04:27 UTC
(In reply to Larry the Git Cow from comment #2)
> The bug has been referenced in the following commit(s):
Sorry, tagged the wrong bug (and either way was not important to tag).