Summary: | gnome-base/librsvg-2.52.5 fails to build with rust 1.58 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Adam Stylinski <stylinae> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | jaglover, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Machine 1's build log
Machine 2's build log Machine 3's build log librsvg-2.52.6 build log |
Description
Adam Stylinski
2022-02-02 14:50:40 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 Created attachment 764226 [details]
Machine 1's build log
Created attachment 764227 [details]
Machine 2's build log
Created attachment 764228 [details]
Machine 3's build log
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 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. (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. 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.
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. Sorry for hijacking and noise. I rebuilt my rust without graphite and now it works. (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? (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? And rust-bin is also failing to build this...so is my issue somehow different? 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 |