Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939804 - mail-client/thunderbird-128.2.1[-dbus] fails to compile
Summary: mail-client/thunderbird-128.2.1[-dbus] fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-18 06:04 UTC by Patrick Lauer
Modified: 2024-09-19 08:50 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2024-09-18 06:04:04 UTC
14:48.86 ld.lld: error: undefined symbol: dbus_set_error_from_message
14:48.86 >>> referenced by message.rs:924 (src/message.rs:924)
14:48.86 >>>               ../../../x86_64-unknown-linux-gnu/release/libxul.so.lto.libgkrust.a(dbus-6b7d0a0580891095.dbus.ee1c95725b24db8a-cgu.0.rcgu.o at 624205152).o:(dbus::prop::Props::get::h45011557da570cb5)
14:48.86 ld.lld: error: undefined symbol: dbus_message_iter_init
14:48.86 >>> referenced by message.rs:651 (src/message.rs:651)
14:48.86 >>>               ../../../x86_64-unknown-linux-gnu/release/libxul.so.lto.libgkrust.a(dbus-6b7d0a0580891095.dbus.ee1c95725b24db8a-cgu.0.rcgu.o at 624205152).o:(dbus::prop::Props::get::h45011557da570cb5)
14:48.86 ld.lld: error: undefined symbol: dbus_set_error
14:48.86 >>> referenced by lib.rs:99 (src/lib.rs:99)
14:48.87 >>>               ../../../x86_64-unknown-linux-gnu/release/libxul.so.lto.libgkrust.a(dbus-6b7d0a0580891095.dbus.ee1c95725b24db8a-cgu.0.rcgu.o at 624205152).o:(dbus::prop::Props::get::h45011557da570cb5)
14:48.87 ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
14:49.67 x86_64-pc-linux-gnu-clang++-18: error: linker command failed with exit code 1 (use -v to see invocation)
14:49.67 gmake[4]: *** [/var/tmp/portage/mail-client/thunderbird-128.2.1/work/thunderbird-128.2.1/config/rules.mk:541: ../../../dist/bin/libxul.so] Error 1
14:49.67 gmake[4]: Leaving directory '/var/tmp/portage/mail-client/thunderbird-128.2.1/work/thunderbird_build/toolkit/library/build'
14:49.67 gmake[3]: *** [/var/tmp/portage/mail-client/thunderbird-128.2.1/work/thunderbird-128.2.1/config/recurse.mk:72: toolkit/library/build/target] Error 2
14:49.67 gmake[3]: Leaving directory '/var/tmp/portage/mail-client/thunderbird-128.2.1/work/thunderbird_build'
14:49.67 gmake[2]: *** [/var/tmp/portage/mail-client/thunderbird-128.2.1/work/thunderbird-128.2.1/config/recurse.mk:34: compile] Error 2
14:49.67 gmake[2]: Leaving directory '/var/tmp/portage/mail-client/thunderbird-128.2.1/work/thunderbird_build'
14:49.67 gmake[1]: *** [/var/tmp/portage/mail-client/thunderbird-128.2.1/work/thunderbird-128.2.1/config/rules.mk:361: default] Error 2
14:49.67 gmake[1]: Leaving directory '/var/tmp/portage/mail-client/thunderbird-128.2.1/work/thunderbird_build'
14:49.67 gmake: *** [client.mk:60: build] Error 2
14:49.67 W 165 compiler warnings present.
 * ERROR: mail-client/thunderbird-128.2.1::gentoo failed (compile phase):
 *   (no error message)

Portage 3.0.66 (python 3.12.6-final-0, default/linux/amd64/23.0/split-usr, gcc-13, glibc-2.40-r3, 6.10.7-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.10.7-gentoo-x86_64-x86_64-AMD_Ryzen_9_5900X_12-Core_Processor-with-glibc2.40
KiB Mem:    65752144 total,  17079564 free
KiB Swap:   20971516 total,  20971516 free
Head commit of repository gentoo: 806d8252d8ce623b805f316b50563d67d1d3c5df

sh bash 5.2_p32-r1
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p32-r1::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake:           3.30.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.11.10::gentoo, 3.12.6::gentoo, 3.13.0_rc2::gentoo
dev-lang/rust:             1.81.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.55::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.42-r2::gentoo, 2.43-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo, 14.2.1_p20240817::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo, 18.1.8::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.8-r4::gentoo
sys-kernel/linux-headers:  6.10::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r3::gentoo
Repositories:

gentoo
    location: /home/me/code/gentoo
    sync-type: git
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -flto=8 -fuse-linker-plugin -ggdb3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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 -march=native -flto=8 -fuse-linker-plugin -ggdb3"
DISTDIR="/chroot/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="-O2 -pipe -march=native -flto=8 -fuse-linker-plugin -ggdb3"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg 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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -flto=8 -fuse-linker-plugin -ggdb3"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
INSTALL_MASK="/etc/X11/xinit/xinitrc.d/80-dbus /usr/bin/dbus-launch"
LANG="C.UTF8"
LDFLAGS="-O2 -flto=8"
LEX="flex"
MAKEOPTS="-j24"
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 acl alsa amd64 apng bzip2 cet crypt cups dri ffmpeg gdbm glamor gmp gpo iconv icu ipv6 lapack libtirpc lto minizip multilib ncurses nls opencl opengl openmp pam pcre pgo readline seccomp split-usr sqlite ssl system-llvm test-rust truetype udev unicode vaapi vdpau vulkan xattr xvmc zlib" ABI_X86="64 32" ADA_TARGET="gcc_12" AMDGPU_TARGETS="gfx803" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand 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 mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_SLOT="18" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_11 python3_12" VIDEO_CARDS="radeon r600 radeonsi amdgpu" 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, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Joonas Niilola gentoo-dev 2024-09-18 11:05:32 UTC
Okay so something behind the "--enable-thunderbird-rust" configure option requires dbus. Now I wonder should dbus be an unconditional requirement, should "--enable-thunderbird-rust" be tied to dbus, or should it become its own independent use flag (although I feel like it's _going_ to become core part of thunderbird in future).

Something like "+rust-plugins" could work for now.
Comment 2 Larry the Git Cow gentoo-dev 2024-09-19 08:50:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e199f761b5d87253e7d4a7ec1af7df8783cf58

commit d1e199f761b5d87253e7d4a7ec1af7df8783cf58
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2024-09-19 08:47:30 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-09-19 08:50:56 +0000

    mail-client/thunderbird: add 128.2.2
    
     - add new experimental use flag 'rust-extensions' for now.
    
    Closes: https://bugs.gentoo.org/939804
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 mail-client/thunderbird/Manifest                   |   65 ++
 mail-client/thunderbird/metadata.xml               |    2 +
 mail-client/thunderbird/thunderbird-128.2.2.ebuild | 1192 ++++++++++++++++++++
 3 files changed, 1259 insertions(+)