Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922135 - gnome-base/librsvg-2.57.0 fails to build
Summary: gnome-base/librsvg-2.57.0 fails to build
Status: RESOLVED DUPLICATE of bug 907492
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-14 22:11 UTC by Benjamin Schulz
Modified: 2024-02-11 14:04 UTC (History)
4 users (show)

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


Attachments
build log (build.log,259.42 KB, text/plain)
2024-01-14 22:58 UTC, Benjamin Schulz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Schulz 2024-01-14 22:11:16 UTC
gnome-base/librsvg-2.57.0 fails to build

Reproducible: Always

Steps to Reproduce:
1.emerge =gnome-base/librsvg-2.57.0
2.
3.
Actual Results:  
fails to build

Expected Results:  
should build

/home/Benni # emerge --info
+Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.38-r9, 6.1.67-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.1.67-gentoo-x86_64-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-glibc2.38
KiB Mem:    32783524 total,  23822316 free
KiB Swap:   31249404 total,  28746236 free
Timestamp of repository gentoo: Sun, 14 Jan 2024 21:30:01 +0000
Head commit of repository gentoo: 547c370b97ab2fb620bb4e134a995bfa5475a0f9
Timestamp of repository escpr2: Fri, 08 Dec 2023 17:18:01 +0000
Head commit of repository escpr2: 8d84a976f5df90476c9fa42f9497ad0000a0d82f

Timestamp of repository guru: Sun, 14 Jan 2024 19:33:40 +0000
Head commit of repository guru: 064b139d54ab2ad1e954869735f4a5c187533637

Timestamp of repository pixlra: Sun, 14 Jan 2024 19:33:38 +0000
Head commit of repository pixlra: 5135c35338618b0a326909b5275f39330803f7b0

Timestamp of repository sage-on-gentoo: Sun, 14 Jan 2024 19:33:32 +0000
Head commit of repository sage-on-gentoo: e9e75f05bdcc64152bbb2ef2871dd94dd1634484

Timestamp of repository science: Sun, 14 Jan 2024 19:33:42 +0000
Head commit of repository science: c30730afecee57bec7c8eae3dece0326cf57db81

Timestamp of repository ssnb: Sun, 14 Jan 2024 19:33:36 +0000
Head commit of repository ssnb: 111c9d2546c4cab0afd07dea5107f9503464b9b5

Timestamp of repository steam-overlay: Sun, 14 Jan 2024 19:33:33 +0000
Head commit of repository steam-overlay: 14a6172fa3df412adc288e613893c056addef21e

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p4) 2.41.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/cmake:           3.27.9::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.0-r2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust:             1.74.1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             12.3.1_p20230825::gentoo, 13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r9::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-max-age: 3
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

escpr2
    location: /var/db/repos/escpr2
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/escpr2.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

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

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

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

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

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.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="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe"
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/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="-march=native -O3 -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="-march=native -O3 -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="-march=native -O3 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.iso885915@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="de 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="7zip R X a52 aac acl acpi activities addc addressbook admin ads alsa amd64 appstream archive asm aspell assistant avif base bittorrent bluetooth bluray boost branding broadway bzip2 cairo calendar caps cdda cddb cdio cdr cdrom cinnamon clamav cli clippy color-management colord contrib contribcvv contribdnn contribfreetype contribhdf contribxfeatures2d crypt cryptsetup cuda cups cvs dbus designer dhcp-tools dhcpcd dia discover distributed djvu download dri drm dropbox dts dv dvb dvd dvdr dvi eds education efiemu eigen elogind encode epub escprlib evdev examples excel exif extra faad fbgemm ffmpeg fftw fits flac fltk font-styles fontconfig fortran fpx ftp fuse gdal gdbm gdbui geolocation gflags gif gimp git gloo gnome gnome-keyring gnome-shell gnumeric gnuplot gnutls go goffice googledrive gpg gphoto2 gps grammar graphics graphite grub gsl gstreamer gtk gtk3 gtk4 gts gui handbook hdf5 hex highlight html htmlreport http hunspell iconv icu image image-backend imagemagick imagequant innodb-lz4 innodb-lzo ipv6 java javascript jit jpeg jpeg2k jpegxl json julia jupyter kaccounts kafka kate kbd kbindicator kcm kde kdesu kerberos keyring kpathsea kwallet lapack latency-timing latex lcms ldap libdrm libnotify libtesseract libtirpc libuv libv4l libxml2 linguist llvm lm-sensors logrotate lrz lspclient lto lzma lzo mad map marble markdown mate math mathml matio mediaplayer mercurial metapost mng mobi modula2 mongodb mount mp3 mp4 mpeg multilib multimedia multitarget mysql nautilus ncurses netapi netcdf netlink network networkmanager nftables nls nnpack notebook nsight ntfs numpy nvcontrol nvdec nvenc nvidia objc objc++ objc-gc ogg okular opencl opencv opencvapps openexr opengl openmp origin osmesa oxygen pam pango panorama pcap pcre pdf pdfimport pdfium perl pgplot phonon pim plasma png policykit positioning postgres postscript ppds ppp printsupport pstricks publishers pulseaudio pyqt6 python qalculate qdbus qml qnnpack qt5 qt6 qtaudio qtcamera qtdiag qtegrity qthelp qtmedia qtmultimedia qtplugininfo quick rar raw readline redland reviewboard rss rtf rust-src rustfmt rustls samba sanitizer sasl scanner science scripttools sdk sdl sdl-image seccomp semantic-desktop sensord sensors serial serialport server session sha2 share sieve sim skins smartcard smp sndfile sound source-highlight spam-report spamassassin speech spell split-usr sql sqlite ssh ssl startup-notification subversion svg svg2 systemtap szip t1lib tcl telephony tensorpipe terminal tesseract test-rust tex4ht texi2html thesaurus threads tiff tk tools tor-hardening tpm truetype udev udisks uefi ufw unicode upower usb utils v4l v4lutils vaapi vcd vdpau verify-file verify-sig vis-profiler vorbis vtv vulkan wav wavpack webchannel webdav webengine webkit webp websockets widgets wifi winbind wineappdb wireless wma wmf wordperfect wxwidgets x11extras x264 x265 xattr xcb xft xine xinerama xkb xla xml xmlpatterns xmlwriter xmp xmss xorg xpm xps xrandr xray xrender xs xscreensaver xv xvid xxhash yassl zlib zstd" ABI_X86="64" 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" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a 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" KERNEL="linux" L10N="de en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LUA_SINGLE_TARGET="lua5-4" 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="nvidia d3d12" 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
Comment 1 Benjamin Schulz 2024-01-14 22:58:20 UTC
Created attachment 882296 [details]
build log
Comment 2 Ionen Wolkens gentoo-dev 2024-01-15 03:29:22 UTC
dev-lang/rust:             1.74.1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo

Given you have both, I'm gonna guess that one of them does not have USE=abi_x86_32 enabled and it's the one that's selected.

So it ends up failing with:
  = note: the `i686-unknown-linux-gnu` target may not be installed
Comment 3 Benjamin Schulz 2024-01-15 18:49:42 UTC
Hi Ionen, thank you for your comments.

I unmerged rust-bin and rust.

emerge -uD --newuse world

lead to a reinstall of rust-bin and then librsvg compiled.

So it was a problem with dev-lang/rust.

hm, I usually do not want to install binaries. So this is kind of sad....
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-15 19:14:08 UTC
(In reply to Benjamin Schulz from comment #3)
> Hi Ionen, thank you for your comments.
> 
> I unmerged rust-bin and rust.
> 
> emerge -uD --newuse world
> 
> lead to a reinstall of rust-bin and then librsvg compiled.
> 
> So it was a problem with dev-lang/rust.
> 
> hm, I usually do not want to install binaries. So this is kind of sad....

You can still use dev-lang/rust, it's just that you had both rust-bin and rust installed and it used the wrong one. But the virtual defaults to rust-bin.

You can do emerge -v1 dev-lang/rust
Comment 5 Mart Raudsepp gentoo-dev 2024-02-11 13:50:23 UTC
Anything to improve here on librsvg, or to retitle and reassign, or..?
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-11 14:03:17 UTC

*** This bug has been marked as a duplicate of bug 907492 ***
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-11 14:03:46 UTC
(In reply to Mart Raudsepp from comment #5)
> Anything to improve here on librsvg, or to retitle and reassign, or..?

I think librsvg is blameless but it can do an eselect-rust-and-warn-hack if it wants.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-11 14:04:05 UTC
maybe has_version instead (was just thinking of whatever firefox does)