Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 764488 - ffmpeg-4.3.1 librsvg-2.0 not found using pkg-config
Summary: ffmpeg-4.3.1 librsvg-2.0 not found using pkg-config
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-08 15:25 UTC by yves.caniou
Modified: 2021-01-09 11:55 UTC (History)
1 user (show)

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


Attachments
ffbuild/config.log (config.log,434.34 KB, text/x-log)
2021-01-08 15:25 UTC, yves.caniou
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yves.caniou 2021-01-08 15:25:00 UTC
Created attachment 681949 [details]
ffbuild/config.log

The installation process ends with:
* abi_x86_32.x86: running multilib-minimal_abi_src_configure
/var/tmp/portage/media-video/ffmpeg-4.3.1/work/ffmpeg-4.3.1/configure --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --docdir=/usr/share/doc/ffmpeg-4.3.1/html --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc -m32 --cxx=x86_64-pc-linux-gnu-g++ -m32 --ar=x86_64-pc-linux-gnu-ar --nm=x86_64-pc-linux-gnu-nm --ranlib=x86_64-pc-linux-gnu-ranlib --pkg-config=x86_64-pc-linux-gnu-pkg-config --optflags=-O2 -pipe --disable-static --enable-avfilter --enable-avresample --disable-stripping --disable-optimizations --disable-libcelt --enable-nonfree --disable-indev=v4l2 --disable-outdev=v4l2 --disable-indev=oss --disable-indev=jack --disable-outdev=oss --enable-bzlib --enable-runtime-cpudetect --disable-debug --disable-gcrypt --enable-gnutls --disable-gmp --enable-gpl --disable-hardcoded-tables --enable-iconv --disable-libtls --disable-libxml2 --disable-lzma --enable-network --disable-opencl --enable-openssl --enable-postproc --disable-libsmbclient --enable-ffplay --enable-sdl2 --disable-vaapi --disable-vdpau --disable-vulkan --enable-xlib --enable-libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-zlib --disable-libcdio --disable-libiec61883 --disable-libdc1394 --disable-libcaca --disable-openal --enable-opengl --disable-libv4l2 --disable-libpulse --disable-libdrm --disable-libjack --disable-libopencore-amrwb --disable-libopencore-amrnb --disable-libcodec2 --enable-libdav1d --disable-libfdk-aac --disable-libopenjpeg --disable-libbluray --disable-libgme --disable-libgsm --disable-libaribb24 --disable-mmal --disable-libmodplug --disable-libopus --disable-libilbc --disable-librtmp --disable-libssh --disable-libspeex --disable-libsrt --enable-librsvg --disable-ffnvcodec --enable-libvorbis --disable-libvpx --disable-libzvbi --disable-appkit --disable-libbs2b --disable-chromaprint --disable-cuda-llvm --disable-libflite --disable-frei0r --disable-libfribidi --disable-fontconfig --disable-ladspa --disable-libass --disable-libtesseract --disable-lv2 --enable-libfreetype --disable-libvidstab --disable-librubberband --disable-libzmq --disable-libzimg --disable-libsoxr --enable-pthreads --disable-libvo-amrwbenc --enable-libmp3lame --disable-libkvazaar --disable-libaom --disable-libopenh264 --disable-librav1e --disable-libsnappy --enable-libtheora --disable-libtwolame --disable-libwavpack --disable-libwebp --enable-libx264 --disable-libx265 --enable-libxvid --disable-gnutls --disable-frei0r --disable-librav1e --disable-libzmq --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-vfpv3 --disable-armv8 --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --disable-altivec --disable-vsx --disable-power8 --disable-amd3dnow --disable-amd3dnowext --disable-aesni --disable-avx --disable-avx2 --disable-fma3 --disable-fma4 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42 --disable-xop --disable-doc --disable-htmlpages --disable-manpages
ERROR: librsvg-2.0 not found using pkg-config

Funnily, I have:
# eix librsvg
[I] gnome-base/librsvg
     Available versions:  (2) *2.40.21^t 2.48.8^t ~2.48.9^t ~2.50.2^t
# pkg-config --libs librsvg-2.0
-lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo
Yet, the following returns nothing
# pkg-config --exists librsvg-2.0

Btw (unsure it might help), the following
# equery f gnome-base/librsvg
shows 
/usr/lib32/librsvg-2.so -> librsvg-2.so.2.47.0
/usr/lib32/librsvg-2.so.2 -> librsvg-2.so.2.47.0
/usr/lib64/librsvg-2.so -> librsvg-2.so.2.47.0
/usr/lib64/librsvg-2.so.2 -> librsvg-2.so.2.47.0
names not in the version 2.48.8
Comment 1 Ionen Wolkens gentoo-dev 2021-01-08 17:59:16 UTC
Seems it's failing on the 32bit version which is supposed to work but there may be a system-specific issue.

I feel it may be better suited to continue this on a support channel:
https://www.gentoo.org/support/
I may be available to help there as well.

But if you believe it's a bug and should be continued here, please provide:
- attached complete build.log
- output of "emerge --info gnome-base/librsvg"
- output of "ls -l /usr/lib/pkgconfig/librsvg-2.0.pc"
- whether you did profile migration recently
And re-open the bug as unconfirmed.
Comment 2 Ionen Wolkens gentoo-dev 2021-01-08 18:01:04 UTC
Might we worth trying to update librsvg yourself too

USE=abi_x86_32 emerge -1av librsvg
Comment 3 yves.caniou 2021-01-08 18:14:16 UTC
It might be a consequence from a migration from default/linux/amd64/17.0/desktop/plasma to default/linux/amd64/17.1/desktop/plasma :?

There is no /usr/lib/pkgconfig/librsvg-2.0.pc
But 
# equery f librsvg
/usr/lib32/pkgconfig/librsvg-2.0.pc
/usr/lib64/pkgconfig/librsvg-2.0.pc

# emerge --info gnome-base/librsvg
[niced emerge]
Portage 3.0.12 (python 3.8.6-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.32-r3, 4.19.163-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.163-x86_64-x86_64-Intel-R-_Pentium-R-_CPU_G840_@_2.80GHz-with-glibc2.2.5
KiB Mem:     8052412 total,    598052 free
KiB Swap:   18675704 total,  16907164 free
Timestamp of repository gentoo: Fri, 08 Jan 2021 11:00:01 +0000
Head commit of repository gentoo: 3b2b83259d48f4afb55ff507907e9a69806526fd
sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r5::gentoo, 3.6.12-r1::gentoo, 3.7.9-r1::gentoo, 3.8.6-r1::gentoo, 3.9.0-r1::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1

MyLocalOverlay
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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 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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr en"
MAKEOPTS="-j2"
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"
USE="X a52 aac acl acpi activities alsa amd64 anthy bash-completion berkdb branding bzip2 cairo cdda cdr celt cjk cli clucene cpudetection crypt cups dbus declarative dga dri dts dvd dvdr elogind emboss encode exif fbcon ffmpeg flac fortran gdbm gif gpm gtk gui h224 h281 h323 hal ibus iconv icu immqt-bc introspection ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc m17n-lib mad mmx mng mp3 mp4 mpeg mpi multilib ncurses nls nptl nsplugin ogg oggvorbis opengl openmp pam pango pcre pdf phonon plasma png policykit ppds python qml qt5 quicktime readline scim sdl seccomp semantic-desktop sip sipim spell split-usr srtp sse sse2 ssl ssse3 startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb vorbis wav widgets wxwidgets x264 xattr xcb xft xinerama xml xml2 xmms xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_8" QEMU_SOFTMMU_TARGETS="x86_64 arm" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

gnome-base/librsvg-2.48.8::gentoo was built with the following:
USE="introspection vala" ABI_X86="32 (64) (-x32)"

(In reply to Ionen Wolkens from comment #1)
> Seems it's failing on the 32bit version which is supposed to work but there
> may be a system-specific issue.
> 
> I feel it may be better suited to continue this on a support channel:
> https://www.gentoo.org/support/
> I may be available to help there as well.
> 
> But if you believe it's a bug and should be continued here, please provide:
> - attached complete build.log
> - output of "emerge --info gnome-base/librsvg"
> - output of "ls -l /usr/lib/pkgconfig/librsvg-2.0.pc"
> - whether you did profile migration recently
> And re-open the bug as unconfirmed.
Comment 4 Ionen Wolkens gentoo-dev 2021-01-08 18:28:02 UTC
/usr/lib32/pkgconfig/librsvg-2.0.pc
/usr/lib64/pkgconfig/librsvg-2.0.pc

This is a sign that migration was not done properly given 17.1 profiles do not use lib32/ directory. Did you change profile without carefully following the migration steps?
https://www.gentoo.org/support/news-items/2019-06-05-amd64-17-1-profiles-are-now-stable.html

I doubt this is a problem with ffmpeg or librsvg. Can't properly help here so I'll suggest again to use a support venue:
https://www.gentoo.org/support/
Comment 5 yves.caniou 2021-01-08 18:37:54 UTC
I followed what emerge printed, which is a bit different yet very similar to the instructions given in the news link. I'll try to test a few things, maybe unmerge then merge things again...
Thankx anyway.
Comment 6 yves.caniou 2021-01-09 11:55:34 UTC
(In reply to yves.caniou from comment #5)
> I followed what emerge printed, which is a bit different yet very similar to
> the instructions given in the news link. I'll try to test a few things,
> maybe unmerge then merge things again...
> Thankx anyway.

I had to re-emerge by hand a few packages to make things work.
Everything's ok. Thank you.