Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832584 - gnome-base/librsvg-2.52.5 fails to build with rust 1.58
Summary: gnome-base/librsvg-2.52.5 fails to build with rust 1.58
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-02 14:50 UTC by Adam Stylinski
Modified: 2022-05-01 15:12 UTC (History)
2 users (show)

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


Attachments
Machine 1's build log (build.log,424.36 KB, text/x-log)
2022-02-02 14:52 UTC, Adam Stylinski
Details
Machine 2's build log (build2.log,457.51 KB, text/x-log)
2022-02-02 14:54 UTC, Adam Stylinski
Details
Machine 3's build log (build3.log,376.14 KB, text/x-log)
2022-02-02 14:55 UTC, Adam Stylinski
Details
librsvg-2.52.6 build log (gnome-base:librsvg-2.52.6:20220307-112126.log,207.97 KB, text/x-log)
2022-03-07 11:52 UTC, Saul Peebsen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Stylinski 2022-02-02 14:50:40 UTC
I get build errors on at least 3 different machines on 2 different architectures.  These may all be failing to build for different reasons (looks like the ppc64 issue may be a linking one?), but I'll upload the logs.  I can't even say if the rustc version has anything to do with it with any certainty.

Reproducible: Always

Steps to Reproduce:
1.emerge -1uv librsvg
Actual Results:  
Fails to build

Expected Results:  
Succeeds to build

Machine 1:
!!! Repository 'mysql' has sync-uri attribute, but is missing sync-type attribute
!!! Invalid PORTDIR_OVERLAY (not a dir): '/var/lib/layman/science'
!!! Section 'steam' in repos.conf has name different from repository name 'steam-overlay' set inside repository
Portage 3.0.30 (python 3.10.2-final-0, default/linux/amd64/17.1/desktop, gcc-11.2.1, glibc-2.34-r6, 5.16.1-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.16.1-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i9-10940X_CPU_@_3.30GHz-with-glibc2.34
KiB Mem:    65541664 total,  42829388 free
KiB Swap:   33554428 total,  33551612 free
Timestamp of repository gentoo: Mon, 17 Jan 2022 02:30:01 +0000
Head commit of repository gentoo: 2fe65b56ae3680d03ed397411c93050c73dd8451
sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p1) 2.37
ccache version 4.5.1 [enabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           2.7.18_p13::gentoo, 3.9.10::gentoo, 3.10.2::gentoo
dev-lang/rust:             1.58.0::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.22.1::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           12.0.1::gentoo, 13.0.0::gentoo
sys-devel/gcc:             11.2.1_p20211127::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.0::gentoo
sys-devel/llvm:            12.0.1::gentoo, 13.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.16::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r6::gentoo
Repositories:

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

LocalOverlay
    location: /usr/local/portage/overlay
    masters: gentoo

steam-overlay
    location: /var/lib/layman/steam
    masters: gentoo
    priority: 0

haskell
    location: /var/lib/layman/haskell
    masters: gentoo
    priority: 50

mysql
    location: /var/lib/layman/mysql
    sync-uri: git://anongit.gentoo.org/proj/mysql.git
    masters: gentoo
    priority: 50

reagentoo
    location: /var/lib/layman/reagentoo
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=cascadelake -mtune=cascadelake -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf"
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/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /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="-O3 -pipe -march=cascadelake -mtune=cascadelake -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --complete-graph"
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 buildpkg-live ccache 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ http://mirror.leaseweb.com/gentoo/ http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US"
MAKEOPTS="-j18"
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"
RUSTFLAGS="-C target-cpu=native"
SHELL="/bin/bash"
USE="X a52 a52codec aac aalib acl acpi alsa amd64 amd64codecs apache2 asm avi avx bash-completion bluetooth branding bzip2 cairo cd-r cdda cddb cdparanoia cdr cli cpudetection crypt cscope cups curl custom-cflags custom-cpuopts custom-cxxflags dav1d dbus dirac djbfft djvu dri dts dv dvb dvd dvd-r dvdnav dvdr dvdread elogind encode exif f77 ffmpeg flac fortran gdbm gif gpm gs gtk gui hal iconv icu ieee1394 imagemagick imlib io-uring ipv6 jack jbig jemalloc joystick jpeg jpeg2k latin1 lcms libcaca libdvdread libg++ libglvnd libnotify libtirpc libwww lzma lzo mad matroska mikmod mjpeg mmx mmxext mng mp2 mp3 mp4 mpeg mpeg2 mplayer multilib musepack musicbrainz mysql ncurses nls nptl nvidia nvidia% offensive oft ogg openal opencl opengl openmp openntpd openrc oss pam pango pcre pdf pdflib perl php php5 png pnm policykit posix ppds python qt qt3support qt4 qt5 quicktime rar readline real ruby samba sasl sdl seccomp smp speex spell split-usr srt sse sse2 sse3 sse4 sse4.1 sse4_2 ssl ssse3 startup-notification suexec svg tcpd theora threads tiff transcode truetype ttf udev udisks unicode unicode3 upower usb v4l v4l2 vcd vdpau vim-syntax vorbis win32codecs wxwidgets x264 xattr xcb xft xinerama xml xpm xv xvid zip zlib" ABI_X86="64 32" ADA_TARGET="gnat_2020" ALSA_CARDS="ca0132" 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="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" 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" 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" OFED_DRIVERS="mlx4" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_10" RUBY_TARGETS="ruby26 ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS

Machine 3:
Portage 3.0.30 (python 3.9.10-final-0, default/linux/ppc64/17.0, gcc-10.3.1, glibc-2.34-r7, 5.8.10-gentoo ppc64)
=================================================================
System uname: Linux-5.8.10-gentoo-ppc64-PPC970MP,_altivec_supported-with-glibc2.34
KiB Mem:    16206684 total,   6443352 free
KiB Swap:    1048572 total,   1030652 free
Timestamp of repository gentoo: Sun, 30 Jan 2022 15:30:01 +0000
Head commit of repository gentoo: f0112478e66e95994ed60434d0fd606d54bd3294
sh bash 5.1_p16
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
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:           2.7.18-r5::gentoo, 3.6.12::gentoo, 3.7.9-r2::gentoo, 3.8.12_p1-r2::gentoo, 3.9.10-r1::gentoo, 3.10.2-r1::gentoo
dev-lang/rust:             1.58.1::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.13.4-r2::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.5::gentoo
sys-devel/binutils:        2.26.1::gentoo, 2.27::gentoo, 2.31.1-r3::gentoo, 2.34-r2::gentoo, 2.35.2::gentoo, 2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           7.0.1::gentoo, 11.0.1::gentoo, 13.0.0::gentoo
sys-devel/gcc:             10.3.1_p20211126::gentoo, 11.2.1_p20220115::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/llvm:            7.0.1::gentoo, 11.0.1::gentoo, 12.0.0.9999::gentoo, 13.0.0::gentoo, 9999::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.16::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r7::gentoo
Repositories:

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

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

haskell
    location: /var/lib/layman/haskell
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="ppc64 ~ppc64"
ACCEPT_LICENSE="*"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=G5 -mabi=altivec -maltivec -mpowerpc-gpopt -mpowerpc-gfxopt -ftree-vectorize -flax-vector-conversions"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /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/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mcpu=G5 -mabi=altivec -maltivec -mpowerpc-gpopt -mpowerpc-gfxopt -ftree-vectorize -flax-vector-conversions"
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 buildpkg-live 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ http://mirror.leaseweb.com/gentoo/ http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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="/mnt/builddir"
SHELL="/bin/bash"
USE="acl altivec big-endian bzip2 cli crypt cscope dri fortran gdbm ibm iconv ipv6 libglvnd ncurses nls nptl ocamlopt offensive opengl openmp pam pcre ppc64 readline seccomp split-usr ssl threads unicode vim-syntax xattr zlib" ABI_PPC="64" ADA_TARGET="gnat_2020" 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_PPC="altivec" 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" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_7 python3_6 python3_8 python3_9" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Adam Stylinski 2022-02-02 14:51:16 UTC
Machine 2:

Portage 3.0.30 (python 3.9.10-final-0, default/linux/amd64/17.1/desktop, gcc-11.2.1, glibc-2.34-r4, 5.15.13-gentoo x86_64)
=================================================================
System uname: Linux-5.15.13-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-glibc2.34
KiB Mem:     8147028 total,   2187380 free
KiB Swap:    3927888 total,   1727108 free
Timestamp of repository gentoo: Wed, 02 Feb 2022 04:30:01 +0000
Head commit of repository gentoo: bdac7bbf8994e32182af9cef1d9a6a013912e3d3
sh bash 5.1_p16
ld GNU ld (Gentoo 2.36.1 p5) 2.36.1
ccache version 4.5.1 [enabled]
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r6::gentoo
dev-lang/python:           3.8.12_p1-r1::gentoo, 3.9.10::gentoo, 3.10.1-r1::gentoo
dev-lang/rust:             1.57.0::gentoo
dev-util/ccache:           4.5.1::gentoo
dev-util/cmake:            3.22.1::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.36.1-r2::gentoo, 2.37_p1-r1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           12.0.1::gentoo, 13.0.0::gentoo
sys-devel/gcc:             10.3.0-r2::gentoo, 11.2.1_p20211127::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/llvm:            12.0.1::gentoo, 13.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r4::gentoo
Repositories:

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

LocalOverlay
    location: /usr/local/portage/overlay
    masters: gentoo

mysql
    location: /var/lib/layman/mysql
    sync-uri: git://anongit.gentoo.org/proj/mysql.git
    masters: gentoo
    priority: 50

reagentoo
    location: /var/lib/layman/reagentoo
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -mtune=native -msse4.1 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT=""/home/mythtv" /etc /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-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=native -mtune=native -msse4.1 -fomit-frame-pointer"
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 buildpkg-live ccache 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BINHOST="/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="/mnt/builddir"
SHELL="/bin/bash"
USE="X a52 a52codec aac aalib acl acpi alsa amd64 amd64codecs apache2 asm avi bash-completion bluetooth branding bzip2 cairo cd-r cdda cddb cdparanoia cdr cli cpudetection crypt cscope curl custom-cflags custom-cpuopts custom-cxxflags dbus dirac djbfft dri dts dv dvb dvd dvd-r dvdnav dvdr dvdread elogind encode exif f77 ffmpeg flac fortran gdbm gif gpm gs gtk gui hal iconv icu ieee1394 imagemagick imlib ipv6 jbig joystick jpeg jpeg2k latin1 lcms libcaca libdvdread libg++ libglvnd libnotify libtirpc libwww lirc lzo mad matroska mikmod mjpeg mmx mmxext mng mp2 mp3 mp4 mpeg mpeg2 mplayer multilib musepack musicbrainz mysql ncurses nls nptl nvidia nvidia% offensive ogg openal opengl openmp openntpd oss pam pango pcre pdf pdflib perl php php5 png pnm policykit posix ppds python qt qt3 qt3support qt4 qt5 quicktime rar readline real ruby samba sasl sdl seccomp speex spell split-usr srt sse sse2 sse3 ssl ssse3 startup-notification suexec svg tcpd theora threads tiff transcode truetype udev udisks unicode upower usb v4l v4l2 vcd vdpau vim-syntax vorbis win32codecs wxwidgets x264 xattr xcb xml xpm xv xvid zip zlib" ABI_X86="64 32" ADA_TARGET="gnat_2020" APACHE2_MODULES="actions alias auth_basic auth_digest suexec authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias unixd access_compat authz_core authn_core socache_shmcb dav" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4_1" 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" 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" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python2_7 python3_6 python3_7 python3_8 python3_9" RUBY_TARGETS="ruby26 ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Adam Stylinski 2022-02-02 14:52:52 UTC
Created attachment 764226 [details]
Machine 1's build log
Comment 3 Adam Stylinski 2022-02-02 14:54:02 UTC
Created attachment 764227 [details]
Machine 2's build log
Comment 4 Adam Stylinski 2022-02-02 14:55:12 UTC
Created attachment 764228 [details]
Machine 3's build log
Comment 5 tt_1 2022-02-08 18:23:14 UTC
have you tried to compile without abi_x86_32 flag, just to see if it works? 

for me it works without 32bit libs: 

emerge -pv =librsvg-2.52.5

[ebuild     U ~] gnome-base/librsvg-2.52.5:2::gentoo [2.50.7:2::gentoo] USE="-introspection -vala" ABI_X86="(64) -32 (-x32)" 0 KiB
Comment 6 Adam Stylinski 2022-02-08 19:06:58 UTC
I don't have an immediate need that I'm aware of for the multilib support so I can give that a try.  Still definitely a bug for some users though, especially those on i686.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-08 19:11:19 UTC
(In reply to Adam Stylinski from comment #6)
> I don't have an immediate need that I'm aware of for the multilib support so
> I can give that a try.  Still definitely a bug for some users though,
> especially those on i686.

Nobody's claiming it's not, just useful to know if a workaround works or not.
Comment 8 Saul Peebsen 2022-03-07 11:52:56 UTC
Created attachment 766474 [details]
librsvg-2.52.6 build log

librsvg-2.52.6 build fails here on amd64 no-multilib, rust is up to 1.59.0. I'm not sure if my failure has anything to do with this bug, adding build log anyway.
Comment 9 Saul Peebsen 2022-03-07 12:14:18 UTC
OK, it builds fine with rust-bin-1.59.0. Meaning my rust is broken. I rebuilt rust-1.59.0 just in case, and it still does not build libsrvg. Everything else depending on rust seems to build fine.
Comment 10 Saul Peebsen 2022-03-07 17:19:08 UTC
Sorry for hijacking and noise. I rebuilt my rust without graphite and now it works.
Comment 11 Adam Stylinski 2022-03-07 17:24:36 UTC
(In reply to Saul Peebsen from comment #10)
> Sorry for hijacking and noise. I rebuilt my rust without graphite and now it
> works.

Interesting - is there perhaps an LTO bug lurking here?  Perhaps some UB being missed?
Comment 12 Adam Stylinski 2022-05-01 14:55:11 UTC
(In reply to Adam Stylinski from comment #11)
> (In reply to Saul Peebsen from comment #10)
> > Sorry for hijacking and noise. I rebuilt my rust without graphite and now it
> > works.
> 
> Interesting - is there perhaps an LTO bug lurking here?  Perhaps some UB
> being missed?

So I ran into this issue again with rust 1.60 and noticed there's no "graphite" use flag to turn that behavior on or off, nor am I specifically enabling LTO or any other oddball linker plugin features.

Is this something the rust build process turns on implicitly if built with graphite support?  Is there a way we could disable it somehow?
Comment 13 Adam Stylinski 2022-05-01 15:02:30 UTC
And rust-bin is also failing to build this...so is my issue somehow different?
Comment 14 Adam Stylinski 2022-05-01 15:12:04 UTC
Sorry, this latest trial was for 2.52.5 and I am on multilib.  It _may_ have been this issue: https://bugs.gentoo.org/751616