Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 842537 - www-client/firefox-100.0 fails to build with -dbus
Summary: www-client/firefox-100.0 fails to build with -dbus
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 842582 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-05-04 05:43 UTC by Patrick Lauer
Modified: 2022-05-04 15:41 UTC (History)
2 users (show)

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


Attachments
compressed build log from armv7-cross (build.log.xz,432.06 KB, application/x-xz)
2022-05-04 06:40 UTC, tt_1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2022-05-04 05:43:57 UTC
814:10.01^O ld.lld: error: undefined symbol: dbus_message_new_method_call^O^O
814:10.01^O >>> referenced by message.rs:575 (/var/tmp/portage/www-client/firefox-100.0/work/firefox-100.0/third_party/rust/dbus/src/message.rs:575)^O^O
814:10.01^O >>>               audio_thread_priority-478ecd91921509ad.audio_thread_priority.4df874fd-cgu.0.rcgu.o:(dbus::message::Message::new_method_call::h819121c46524fdb4) in archive /var/tmp/portage/www-client/firefox-100.0/work/firefox_build/x86_64-unknown-linux-gnu/release/libgkrust.a^O^O
814:10.01^O >>> referenced by message.rs:585 (/var/tmp/portage/www-client/firefox-100.0/work/firefox-100.0/third_party/rust/dbus/src/message.rs:585)^O^O
814:10.01^O >>>               dbus-5804fecca83e941e.dbus.39b2c139-cgu.0.rcgu.o:(dbus::message::Message::method_call::hc1946b6f7712f50c) in archive /var/tmp/portage/www-client/firefox-100.0/work/firefox_build/x86_64-unknown-linux-gnu/release/libgkrust.a^O^O
814:10.01^O >>> referenced by message.rs:585 (/var/tmp/portage/www-client/firefox-100.0/work/firefox-100.0/third_party/rust/dbus/src/message.rs:585)^O^O
814:10.01^O >>>               dbus-5804fecca83e941e.dbus.39b2c139-cgu.0.rcgu.o:(dbus::prop::Props::get::hd5141e1cd393a864) in archive /var/tmp/portage/www-client/firefox-100.0/work/firefox_build/x86_64-unknown-linux-gnu/release/libgkrust.a^O^O
814:10.01^O >>> referenced 2 more times^O^O
814:10.18^O ld.lld: error: undefined symbol: dbus_message_get_type^O^O

[snip]

814:10.19^O ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)^O^O
814:10.24^O clang-14: error: linker command failed with exit code 1 (use -v to see invocation)^O^O
814:10.24^O gmake[4]: *** [/var/tmp/portage/www-client/firefox-100.0/work/firefox-100.0/config/rules.mk:531: libxul.so] Error 1^O^O
814:10.24^O gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-100.0/work/firefox_build/toolkit/library/build'^O^O
814:10.24^O gmake[3]: *** [/var/tmp/portage/www-client/firefox-100.0/work/firefox-100.0/config/recurse.mk:72: toolkit/library/build/target] Error 2^O^O
814:10.24^O gmake[3]: *** Waiting for unfinished jobs....^O^O

[snip]

8 * ERROR: www-client/firefox-100.0::gentoo failed (compile phase):
 *   (no error message)
Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1, gcc-11.3.0, glibc-2.35-r4, 5.17.2-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.17.2-gentoo-x86_64-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-glibc2.35
KiB Mem:    65828640 total,   5013720 free
KiB Swap:   20971516 total,  20971516 free
sh bash 5.1_p16
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.9.12::gentoo, 3.10.4::gentoo
dev-lang/rust:             1.60.0::gentoo
dev-util/cmake:            3.23.1::gentoo
dev-util/meson:            0.61.4-r2::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.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.3::gentoo
sys-devel/gcc:             10.3.1_p20211126::gentoo, 11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.3::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.3::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.17-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r4::gentoo
Repositories:

gentoo
    location: /home/me/code/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1

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"
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 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 -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 multilib-strict network-sandbox news parallel-fetch pid-sandbox 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"
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 cli crypt cups dri ffmpeg fortran gdbm glamor gmp gpo iconv icu ipv6 lapack libglvnd libtirpc lto minizip multilib ncurses nls nptl opencl opengl openmp pam pcre pgo readline seccomp split-usr sqlite ssl system-llvm truetype udev unicode vdpau vulkan xattr xvmc zlib" ABI_X86="64 32" 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_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 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_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="radeon r600 radeonsi amdgpu" 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, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-04 05:53:45 UTC
No build.log?
Comment 2 Joonas Niilola gentoo-dev 2022-05-04 05:59:44 UTC
Is this with -dbus? 

I think I hit this error too, but after rebuilding (binpkgs) for dbus and systemd-utils (and some other I don't remember) never saw it again. So I shrugged it off as binpkg-related.
Comment 3 tt_1 2022-05-04 06:40:46 UTC
Created attachment 776594 [details]
compressed build log from armv7-cross
Comment 5 tt_1 2022-05-04 06:48:22 UTC
emerge -pv firefox:

www-client/firefox-100.0:rapid::gentoo [99.0.1:rapid::gentoo] to /usr/armv7a-unknown-linux-gnueabihf/ USE="hwaccel lto system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-png system-webp -clang -dbus -debug (-eme-free) -geckodriver -gmp-autoupdate -hardened -jack -libproxy -openh264 (-pgo) -pulseaudio -screencast (-selinux) (-sndio) -system-av1 (-system-python) -wayland -wifi"
Comment 6 Joonas Niilola gentoo-dev 2022-05-04 13:20:45 UTC
(In reply to tt_1 from comment #4)
> upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1761691
> 
> upstream fix: https://hg.mozilla.org/mozilla-central/rev/0a1ce7fa5835

Thanks. 

Applied the patch and been doing test runs, so far 6/8 done without any problems. Made sure -dbus was tested also. Gonna merge soon.
Comment 7 Larry the Git Cow gentoo-dev 2022-05-04 14:15:01 UTC
The bug has been closed via the following commit(s):

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

commit 7b9cd33af9ed411cddd37b9544970b0a1f407a15
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2022-05-04 14:13:47 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-05-04 14:14:59 +0000

    www-client/firefox: update patchset for 100.0
    
     - fix a (rare?) condition where -dbus failed.
    
    Closes: https://bugs.gentoo.org/842537
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/Manifest             | 2 +-
 www-client/firefox/firefox-100.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-04 15:41:07 UTC
*** Bug 842582 has been marked as a duplicate of this bug. ***