emerge www-client/firefox-96.0.3 fails with 0:36.61 TypeError: Interfaces which are exposed to the web may only be defined in a DOM WebIDL root ('/slow/tmp_portage/www-client/firefox-96.0.3/work/firefox-96.0.3/dom/webidl', '/slow/tmp_portage/www-client/firefox-96.0.3/work/firefox-96.0.3/dom/bindings', '/var/tmp/portage/www-client/firefox-96.0.3/work/firefox_build/dom/bindings'). Consider marking the interface [ChromeOnly] or [Func='nsContentUtils::IsCallerChromeOrFuzzingEnabled'] if you do not want it exposed to the web. 0:36.61 /slow/tmp_portage/www-client/firefox-96.0.3/work/firefox_build/dom/bindings/Animation.webidl line 18:10 Reproducible: Always Might be ralted to https://bugzilla.mozilla.org/show_bug.cgi?id=1742564
# emerge --info Portage 3.0.30 (python 3.9.10-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.2.1, glibc-2.34-r7, 5.15.2-gentoo x86_64) ================================================================= System uname: Linux-5.15.2-gentoo-x86_64-Intel-R-_Core-TM-_i3-4130_CPU_@_3.40GHz-with-glibc2.34 KiB Mem: 8019444 total, 333040 free KiB Swap: 10506504 total, 10280712 free Timestamp of repository gentoo: Fri, 28 Jan 2022 06:30:01 +0000 Head commit of repository gentoo: 130b8accb93831e95ba3548369420f1a9be29725 Head commit of repository brother-overlay: b216154a0197486ec867d92bedf48aec7f958c9d sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 ccache version 4.5.1 [disabled] 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: 2.7.18_p13::gentoo, 3.9.10-r1::gentoo, 3.10.2-r1::gentoo dev-lang/rust: 1.58.1::gentoo dev-util/ccache: 4.5.1::gentoo dev-util/cmake: 3.22.2::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.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4::gentoo sys-devel/clang: 13.0.0::gentoo sys-devel/gcc: 11.2.1_p20220115::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/lld: 13.0.0::gentoo sys-devel/llvm: 13.0.0::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.16::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r7::gentoo Repositories: gentoo location: /slow/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: local location: /usr/local/portage masters: gentoo brother-overlay location: /usr/local/portage/brother-overlay sync-type: git sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git masters: gentoo priority: 9999 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/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="-O2 -pipe -march=native -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 cgroup config-protect-if-modified distlocks ebuild-locks fail-clean 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://104.19.139.75/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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/bash" USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dri3 dts dvd dvdr elogind encode exif flac gdbm gif gmp gpm gui iconv icu jpeg kde kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl nptlonly ogg opengl pam pango pcre pdf plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp slang spell split-usr ssl startup-notification svg tiff truetype udev udisks unicode upower usb vorbis wayland widgets wxwidgets x264 xattr xcb xml xv xvid xvmc 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="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" 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="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
Can you post the full build.log? You can use xz -09 build.log to compress it. If you have time and motivation, could you try building 91.5.1 and/or 96.0.2? Please note that downgrading from 96 -> 91 could cause some profile issues so take a backup from your ~/.mozilla or don't at least launch it if you haven't.
Someone who hit this in #gentoo (tried to get to them to report it) mentioned it being tmpfs related.
Created attachment 764083 [details] build.log The build log
I'm currently running 95.0-r1 I'll try to recompile it and post the build log if that breaks too
So fast read-through there seems to be some sort of mismatch between /slow/tmp_portage/ and /var/tmp/portage/. Do you have some sort of package.env file for firefox? and yes if you can build 95 but not 96 it's most likely something in the ebuild, or in the way mozilla now handles system python.
ebuild /usr/portage/www-client/firefox/firefox-91.5.1.ebuild compile ends in success noah /usr/src # mount | fgrep slow /dev/sdc1 on /slow type ext4 (rw,noatime) noah /usr/src # realpath /var/tmp/portage /slow/tmp_portage noah /usr/src # I have a ssd that I don't like to wear with builds so I kept the old sniping disk just for that
noah /usr/src # cat /etc/portage/package.env cat: /etc/portage/package.env: No such file or directory noah /usr/src #
So if I just change my PORTAGE_TMPDIR to "/slow/tmp_portage/" all is good. But if I symlink /var/tmp/portage -> /slow/tmp_portage/ I can reproduce this issue. I'm not sure whether it's portage or firefox related but the issue you linked does seem to be the culprit: https://bugzilla.mozilla.org/show_bug.cgi?id=1742564 Or just something in the new way they're pushing to build firefox with mach. I'll make a bug report for mozilla tomorrow - meanwhile try un-symlinking your /var/tmp/portage or do PORTAGE_TMPDIR="/slow/tmp_portage/" emerge -av firefox
PORTAGE_TMPDIR="/slow/tmp_portage/" in /etc/portage/make.conf solved the problem. Closing!
I'd still consider this bug valid. Trying to solve it with upstream but it may be Gentoo-specific, so might need some sort of a workaround over it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e12b4567a82589085e4fb85914296930530861cf commit e12b4567a82589085e4fb85914296930530861cf Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2022-02-12 08:06:52 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2022-02-12 08:08:29 +0000 www-client/firefox: 97.0 build fixes - fix building the browser under a symlinked builddir with an upstream patch. Closes: https://bugs.gentoo.org/832204 Signed-off-by: Joonas Niilola <juippis@gentoo.org> www-client/firefox/Manifest | 2 +- www-client/firefox/firefox-97.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)