Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943400 - mail-client/thunderbird-{128.4.2-r1,128.4.3}: libgkrust.a: error adding symbols: file format not recognized / warning Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
Summary: mail-client/thunderbird-{128.4.2-r1,128.4.3}: libgkrust.a: error adding symbo...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-13 22:55 UTC by J.Borme
Modified: 2024-11-13 23:10 UTC (History)
1 user (show)

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


Attachments
Build log (mail-client:thunderbird-128.4.3:20241113-212753.log.xz,608.32 KB, application/x-xz)
2024-11-13 22:56 UTC, J.Borme
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J.Borme 2024-11-13 22:55:58 UTC
mail-client/thunderbird-{128.4.2-r1,128.4.3} fail to link.
There was a recent update (Nov. 9) of dev-lang/rust-{1.79.0-r100, 1.81.0-r100} but thunderbird had correctly rebuilt after that. Same day I started using sys-devel/mold (make.conf: LDFLAGS="${LDFLAGS} -fuse-ld=mold"). Right now thunderbird does not rebuild with or without mold.

Last lines before error:

810:45.14 warning: /tmp/var/tmp/portage/mail-client/thunderbird-128.4.3/work/thunderbird-128.4.3/netwerk/base/rust-helper/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
810:45.14 warning: /tmp/var/tmp/portage/mail-client/thunderbird-128.4.3/work/thunderbird-128.4.3/xpcom/rust/gtest/xpcom/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021
810:48.00 /usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: ../../../x86_64-unknown-linux-gnu/release/libgkrust.a: error adding symbols: file format not recognized
810:48.22 collect2: error: ld returned 1 exit status
810:48.22 gmake[4]: *** [/tmp/var/tmp/portage/mail-client/thunderbird-128.4.3/work/thunderbird-128.4.3/config/rules.mk:541: ../../../dist/bin/libxul.so] Error 1

[ebuild     U ] mail-client/thunderbird-128.4.3 [128.4.2-r1] USE="X dbus eme-free hardened lto rust-extensions system-av1 system-harfbuzz system-jpeg system-libevent system-librnp system-libvpx system-png system-webp -clang -debug -hwaccel -jack -libproxy (-pgo) -pulseaudio (-selinux) -sndio (-system-icu) -wayland -wifi" L10N="fr -af -ar -ast -be -bg -br -ca -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -es-AR -es-ES -es-MX -et -eu -fi -fy -ga -gd -gl -he -hr -hsb -hu -id -is -it -ja -ka -kab -kk -ko -lt -lv -ms -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -sk -sl -sq -sr -sv -th -tr -uk -uz -vi -zh-CN -zh-TW" LLVM_SLOT="18 -17 -19"

Reproducible: Always




Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-14, glibc-2.40-r5, 6.11.6-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.11.6-gentoo-x86_64-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-glibc2.40
KiB Mem:   131820124 total,  10137984 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 13 Nov 2024 18:00:00 +0000
Head commit of repository gentoo: 9d601198ee03d6dd61d2a0e634e26d10e85de62f
Head commit of repository supertux88: b9615240c5e2f0cba8ac9f2fbeb6de2cfa80b687

Head commit of repository oubliette: 460b5c9c1f6e20a175187dca9dbe942f784146fa

Head commit of repository palemoon: c88f3f8c8f9f68b6213eca284b472736a8411f35

Head commit of repository pentoo: 0cfeab9c8df9166e58b9c4c686dc012f6c94732d

Head commit of repository pf4public: bc1e13a3f2fc1045b2a1417dbdb45162ca44d886

Head commit of repository pg_overlay: 3649138814ae47fcce50d6dce11e46a177aa85c5

Head commit of repository science: ce12d41df7b9ff0999b2998d407edb57abe7b9ea

Head commit of repository stuff: c01c19054384a0fc4d0f72b8dceac3b9c4f388b7

sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.5.2::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           2.7.18_p16-r2::gentoo, 3.10.15_p1::gentoo, 3.11.10_p1::gentoo, 3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust:             1.79.0-r100::gentoo, 1.81.0-r100::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.42-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.8::gentoo, 19.1.3::gentoo
sys-devel/gcc:             13.3.1_p20241025::gentoo, 14.2.1_p20241026::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo, 19.1.3::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.8-r1::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: /tmp/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: --quiet --times --omit-dir-times --omit-link-times

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo
    volatile: False

supertux88
    location: /var/db/repos/supertux88
    sync-type: git
    sync-uri: https://github.com/SuperTux88/gentoo-overlay.git
    masters: gentoo
    volatile: False

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0
    volatile: True

oubliette
    location: /var/lib/layman/oubliette
    sync-type: git
    sync-uri: https://github.com/nabbi/oubliette-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

palemoon
    location: /var/lib/layman/palemoon
    sync-type: git
    sync-uri: https://github.com/deu/palemoon-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

pentoo
    location: /var/lib/layman/pentoo
    sync-type: git
    sync-uri: https://github.com/pentoo/pentoo-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

pf4public
    location: /var/lib/layman/pf4public
    sync-type: git
    sync-uri: https://github.com/PF4Public/gentoo-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

pg_overlay
    location: /var/lib/layman/pg_overlay
    sync-type: git
    sync-uri: https://gitlab.com/Perfect_Gentleman/PG_Overlay.git
    masters: gentoo
    priority: 50
    volatile: True

science
    location: /var/lib/layman/science
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/sci.git
    masters: gentoo
    priority: 50
    volatile: True

stuff
    location: /var/lib/layman/stuff
    sync-type: git
    sync-uri: https://github.com/istitov/stuff.git
    masters: gentoo
    priority: 50
    volatile: True

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://ftp.rnl.tecnico.ulisboa.pt/pub/gentoo/gentoo-distfiles/releases/amd64/binpackages/23.0/x86-64-v3

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -flto -march=native -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -flto -march=native -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
DISTDIR="/tmp/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --keep-going --jobs 1"
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 -flto -march=native -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -flto -march=native -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
GENTOO_MIRRORS="ftp://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j32"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--quiet --times --omit-dir-times --omit-link-times"
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/var/tmp"
RUSTFLAGS=" -Clinker-plugin-lto"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 avif bluetooth branding bzip2 cairo cdda cdr cdrom cet crypt cuda cups dbus dri dropbox dts dvd dvdr elogind encode exif ffmpeg flac gdbm gif gmic gmp gpm gtk gui iconv icu ipv6 jpeg jpeg2k jpegxl jumbo-build kde kf6compat lcms libnotify libtirpc lto lzma mad mp3 mp4 mpeg multilib ncurses nls nvenc ogg openexr opengl openmp opus pam pango pcre pdf png policykit ppds qml qt5 qt6 readline replaygain sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vim-syntax vorbis vpx vulkan webp wxwidgets x264 xattr xcb xft xml xv xvid zlib 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" CALLIGRA_FEATURES="karbon sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr fr-FR" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="NVPTX" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby25" SANE_BACKENDS="pixma net" VIDEO_CARDS="fbdev vesa dummy nvidia" 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, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 J.Borme 2024-11-13 22:56:28 UTC
Created attachment 908682 [details]
Build log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-13 23:02:36 UTC
> RUSTFLAGS=" -Clinker-plugin-lto"

You can only set this if you're using Clang, until gccrs is a thing at least.
Comment 3 J.Borme 2024-11-13 23:10:24 UTC
Thanks. I set all this for firefox[pgo], did not think of thunderbird. I will update accordingly.