| Summary: | =www-client/firefox-103.0 does not compile with USE='-dbus -wifi -wayland' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Boris Staletic <boris.staletic> |
| Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | firefox-103-build-log.tar.xz | ||
Please attach the full build.log. Created attachment 794858 [details]
firefox-103-build-log.tar.xz
Could you sync up and try again? I'd hope this gets resolved along with bug 861317. Please reopen if not. *** This bug has been marked as a duplicate of bug 861317 *** Hmm that being said, now that I think about it, dbus gets always pulled via indirect deps when +X is specified. -X +wayland without dbus should be possible I think... so you've somehow worked around the package dependencies (package.provided I guess?) - I may have to test this myself, but essentially your environment is currently "unsupported". (realized after sending that wayland always requires dbus) Yeah, I don't know how to get the deps sorted without dbus here :) since gtk+ is linked to app-accessibility/at-spi2-core and app-accessibility/at-spi2-atk which are both linked to dbus. Need custom patches for gtk+? Thanks for the quick response! > Could you sync up and try again? I'd hope this gets resolved along with bug 861317. Please reopen if not. Apologies for not catching the duplicate. The build is passing right now. Thanks! > Hmm that being said, now that I think about it, dbus gets always pulled via indirect deps when +X is specified. -X +wayland without dbus should be possible I think... so you've somehow worked around the package dependencies (package.provided I guess?) - I may have to test this myself, but essentially your environment is currently "unsupported". It's the firefox configuration that I have used forever in both Arch and Gentoo. > Need custom patches for gtk+? Yes. mv overlay has them, taken from FreeBSD, if I am not mistaken. Here's the link: https://gpo.zugaina.org/AJAX/Ebuild/53620930/View Just to be clear, there's nothing in my package.provided. (In reply to boris.staletic from comment #6) > > The build is passing right now. Thanks! Glad to hear it works! > > > Need custom patches for gtk+? > > Yes. mv overlay has them, taken from FreeBSD, if I am not mistaken. Here's > the link: > Good to know. Never really thought about it, but currently dbusless system seems to be a bit hard to achieve. > Good to know. Never really thought about it, but currently dbusless system seems to be a bit hard to achieve.
Yea. I never managed to remove dbus from everything, but building firefox without dbus has usually been easy.
|
The previous version of firefox (102.0) compiled just fine with the following USE flags: bstaletic@Gallifrey Severance Season 1 Mp4 1080p % eix -e firefox [U] www-client/firefox Available versions: (esr) 91.11.0 (~)91.12.0 (rapid) (~)102.0.1 (~)103.0 {+X +clang dbus debug eme-free geckodriver +gmp-autoupdate hardened hwaccel jack libproxy lto +openh264 pgo pulseaudio screencast selinux sndio +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp wayland wifi CPU_FLAGS_ARM="neon" L10N="ach af an ar ast az be bg bn br bs ca ca-valencia cak cs cy da de dsb el en-CA en-GB eo es-AR es-CL es-ES es-MX et eu fa ff fi fr fy ga gd gl gn gu he hi hr hsb hu hy ia id is it ja ka kab kk km kn ko lij lt lv mk mr ms my nb ne nl nn oc pa pl pt-BR pt-PT rm ro ru sco si sk sl son sq sr sv szl ta te th tl tr trs uk ur uz vi xh zh-CN zh-TW"} Installed versions: 102.0.1(rapid)(11:07:27 PM 07/15/2022)(X clang gmp-autoupdate openh264 system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp -dbus -debug -eme-free -geckodriver -hardened -hwaccel -jack -libproxy -lto -pgo -pulseaudio -screencast -selinux -sndio -system-png -system-python-libs -wayland -wifi CPU_FLAGS_ARM="-neon" L10N="-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -sco -si -sk -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW") Homepage: https://www.mozilla.com/firefox Description: Firefox Web Browser Emerging the latest version produces the following error (complete log attached): 13:58.10 [libdbus-sys 0.2.2] error: could not find system library 'dbus-1' required by the 'libdbus-sys' crate That happens because pkg-config fails to find libdbus, which really does not exist on this machine. Reproducible: Always Steps to Reproduce: 1. Get a system that does not have dev-libs/dbus-glib and sys-apps/dbus installed 2. USE="-dbus -wifi -wayland" emerge '=www-clients/firefox-103.0' Actual Results: After some 15 minutes, the build fails because the system is missing libdbus-1. Expected Results: Firefox 103.0 successfully merged. Portage 3.0.34 (python 3.10.5-final-0, default/linux/amd64/17.1, gcc-12.1.1, glibc-2.35-r8, 5.15.12-gentoo-dist x86_64) ================================================================= System uname: Linux-5.15.12-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-2620M_CPU_@_2.70GHz-with-glibc2.35 KiB Mem: 8022364 total, 1886604 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 26 Jul 2022 21:30:01 +0000 Head commit of repository gentoo: 7dea592a9f4b5d2d06f26391dd8a62f7c9428215 Head commit of repository mv: 82d3d9f8a028f6c1b7ce930e6ab9085c6013b2fa 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-lang/perl: 5.36.0::gentoo dev-lang/python: 3.10.5::gentoo, 3.11.0_beta4-r2::gentoo dev-lang/rust: 1.62.1::gentoo dev-util/cmake: 3.23.2::gentoo dev-util/meson: 0.63.0::gentoo sys-apps/baselayout: 2.8-r2::gentoo sys-apps/openrc: 0.45.2::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r2::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.6::gentoo sys-devel/gcc: 12.1.1_p20220625::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/lld: 14.0.6::gentoo sys-devel/llvm: 14.0.6-r1::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.18-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.35-r8::gentoo Repositories: gentoo location: /var/db/repos/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-jobs: 1 sync-rsync-verify-metamanifest: yes crossed location: /var/db/repos/crossdev masters: gentoo local location: /var/db/repos/local masters: gentoo mv location: /var/db/repos/mv sync-type: git sync-uri: https://cgit.gentoo.org/user/mv.git masters: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=native -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O3 -march=native -pipe" DISTDIR="/var/cache/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="-O3 -march=native -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="-O3 -march=native -pipe" GENTOO_MIRRORS="https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ https://mirror.wheel.sk/gentoo https://mirror.bytemark.co.uk/gentoo/ rsync://rsync.mirrorservice.org/distfiles.gentoo.org/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" 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" SHELL="/bin/zsh" USE="acl amd64 bzip2 cli crypt dri fortran ftdi gdbm iconv libglvnd libtirpc multilib ncurses nls nptl openmp pcre readline savedconfig seccomp sep-usr split-usr ssl unicode xattr zlib" ABI_X86="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_X86="mmx mmxext sse sse2 aes avx pclmul popcnt sse3 sse4_1 sse4_2 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AArch64 ARM AVR" 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_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, LINGUAS, 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