552:30.35 security/sandbox/linux/Unified_cpp_sandbox_linux3.o 552:30.36 /usr/lib/llvm/11/bin/aarch64-unknown-linux-gnu-clang++ -std=gnu++17 -o Unified_cpp_sandbox_linux3.o -c -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build/dist/system_wrappers -include /var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DNS_NO_XPCOM -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/security/sandbox/linux -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build/security/sandbox/linux -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/security/sandbox/linux -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/security/sandbox/chromium-shim -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/security/sandbox/chromium -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/nsprpub -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build/dist/include/nss -I/usr/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build/mozilla-config.h -Qunused-arguments -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++2a-compat -Wcomma -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-compare -Wno-error=tautological-type-limit-compare -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=return-std-move -Wno-error=atomic-alignment -Wno-error=deprecated-copy -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-psabi -Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -pipe -mcpu=cortex-a57 -mtune=cortex-a57 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -O2 -fomit-frame-pointer -funwind-tables -Wno-shadow -fexperimental-new-pass-manager -MD -MP -MF .deps/Unified_cpp_sandbox_linux3.o.pp -fcolor-diagnostics Unified_cpp_sandbox_linux3.cpp 552:34.65 In file included from Unified_cpp_sandbox_linux3.cpp:20: 552:34.65 /var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/security/sandbox/linux/SandboxFilter.cpp:586:14: error: use of undeclared identifier '__NR_statx' 552:34.65 case __NR_statx: 552:34.65 ^ 552:34.68 /var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/security/sandbox/linux/SandboxFilter.cpp:844:12: error: use of undeclared identifier '__NR_rseq' 552:34.68 case __NR_rseq: 552:34.68 ^ 552:34.74 /var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/security/sandbox/linux/SandboxFilter.cpp:1423:12: error: use of undeclared identifier '__NR_fork' 552:34.74 case __NR_fork: 552:34.74 ^ 552:35.35 3 errors generated. 552:35.36 gmake[4]: *** [/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/config/rules.mk:676: Unified_cpp_sandbox_linux3.o] Error 1 552:35.36 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build/security/sandbox/linux' 552:35.36 gmake[3]: *** [/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/config/recurse.mk:72: security/sandbox/linux/target-objects] Error 2 552:35.39 gmake[3]: Leaving directory '/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build' 552:35.40 gmake[2]: *** [/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/config/recurse.mk:34: compile] Error 2 552:35.47 gmake[2]: Leaving directory '/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build' 552:35.48 gmake[1]: *** [/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/config/rules.mk:355: default] Error 2 552:35.52 gmake[1]: Leaving directory '/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build' 552:35.53 gmake: *** [client.mk:125: build] Error 2 552:35.57 99 compiler warnings present. Reproducible: Always Unicorn configuration. Portage 3.0.8 (python 3.7.9-final-0, default/linux/arm64/17.0/desktop, gcc-9.3.0, glibc-2.32-r2, 4.4.38-tegra aarch64) ================================================================= System uname: Linux-4.4.38-tegra-aarch64-with-gentoo-2.7 KiB Mem: 8039124 total, 1075396 free KiB Swap: 4194300 total, 4151736 free Timestamp of repository gentoo: Fri, 13 Nov 2020 09:00:01 +0000 Head commit of repository gentoo: e2a338c9bbe6c03873acf3a71728cfce002bb1ac sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p6) 2.34.0 app-shells/bash: 5.0_p18::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.30.3::gentoo dev-lang/python: 2.7.18-r4::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0::gentoo dev-util/cmake: 3.18.4::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.34-r2::gentoo sys-devel/gcc: 9.3.0-r1::gentoo sys-devel/gcc-config: 2.3.2::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: -4 jetson location: /usr/local/portage/overlay masters: gentoo priority: 0 armhpc location: /home/pawelo/portage/armhpc-gentoo-repo.git masters: gentoo priority: 1 fuverlay location: /var/lib/layman/fuverlay masters: gentoo priority: 50 ACCEPT_KEYWORDS="arm64" ACCEPT_LICENSE="*" CBUILD="aarch64-unknown-linux-gnu" CFLAGS="-O2 -pipe -march=native -mcpu=cortex-a57 -mtune=cortex-a57" CHOST="aarch64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /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 -mcpu=cortex-a57 -mtune=cortex-a57" 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" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch 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" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j1 -l1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="-4" 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" USE="7zip X Xaw3d a52 aac aalib acl acpi adplug alsa amrenc anacron ao arm64 aspell audiofile bat bcmath berkdb bluetooth bonjour boost branding bzip2 c++11 cacert cairo calendar canberra caps cdda cddb cdparanoia cdr chromaprint cli conntrack contrib cookie_check corefonts crypt cscope cups curl cxx dbus declarative detex dhcp djvu dri dri3 dts dv dvdr dvi2tty egl elfutils elogind emboss encode equalizer evdev exif expat extras faac faad ffi ffmpeg fft fftw flac fontconfig fontforge fonts fortran fpx frei0r ftdi ftp games gcr gd gdbm gdk-pixbuf gif gimp glamor glib gme gmp gmplayer gold gopher graphviz gsettings gsl gsm gssapi gstaudio gstreamer gstvideo gtk gtk2 gtk3 gui guile haptic hash hdf5 heif heterogeneous highlight hires-icons hotkeys http hwloc iconv icu imagemagick inifile int64 intl iproute2 ipv4 isabelle jadetex java javascript jbig jemalloc jms joystick jpeg jpeg2k json kdrive kpathsea lame lapack lapacke large-stack largepages latex latex3 lcms ldap ldap-sasl ldapdb lensfun libatomic libcanberra libdrm libffi libglvnd libmpeg2 libnotify libsamplerate libsoxr libtirpc libudev lldb lm-sensors lmdb log4j lqr lua luajitex luatex lvm lvm1 lz4 lzma lzo mad md5sum mdnsresponder-compat melt metis mhash minizip mng mp3 mp3rtp mp4 mpeg mpfi mpfr mplayer multimedia ncurses netcdf nls nptl ntl numa ocr offensive ogg ogm ompt openal opencv opendx openexr opengl openh264 openldap openmp openpgp openssl opus osmesa pam pango paraview pcntl pcre pdf perl pgm phonon physfs pie plugins png pnm policykit postproc postscript ppds preview-latex previewer ptex pulseaudio python qml qt5 rar raw readline rle romio rustfmt sasl scp sdl seccomp secure-delete sendto serialport servletapi sha2 sharedmem sixel slang smp smpeg sndfile soap sound source-highlight sox soxr speex spell split-usr sqlite ssh ssl standalone startup-notification subunit suggested svg system-llvm sysvipc szip tahoma tcl tcpd telnet tex4ht texi2html texteffect theora tiff tk toolame tools traceroute6 tre tremor truetype twm twolame udev udisks udisks2 umfpack unicode unwind upower usb utils v4l v4l2 vector-icons vidstab vnc vorbis wad wavpack wayland webkit webp widgets wmf woff2 wxwidgets x11extras x264 x265 xattr xcb xephyr xetex xft xindy xinetd xml xmlpatterns xmlreader xmlwriter xmp xnest xpm xslt xv xvfb xvid yaml yuv4mpeg z3 zeroconf zeromq zimg zip zlib zstd" ADA_TARGET="gnat_2018" 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_ARM="edsp thumb vfp vfpv3 vfpv4 vfp-d32 aes sha1 sha2 crc32 v4 v5 v6 v7 v8 thumb2" 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="pl" 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-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="tegra fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Please attach the full build.log. This looks weird though. Have you got the latest linux-headers? (This is independent of the installed kernel *sources*).
(In reply to Sam James from comment #1) > Please attach the full build.log. This looks weird though. Have you got the > latest linux-headers? (This is independent of the installed kernel > *sources*). Sorry: >sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) Yes, try 5.4 for me?
Seems like you've just solved the mystery. No I don't have latest linux-headers on this machine, it's still linux-headers-4.4 to match with vendor-locked-in kernel 4.4.38. I guess updating it (and subsequent glibc rebuild) may result in unstable userspace...
(In reply to Paul Osmialowski from comment #3) > Seems like you've just solved the mystery. No I don't have latest > linux-headers on this machine, it's still linux-headers-4.4 to match with > vendor-locked-in kernel 4.4.38. I guess updating it (and subsequent glibc > rebuild) may result in unstable userspace... Upgrading the headers is completely fine, it's independent of the kernel you need. glibc should be OK to upgrade too with newer headers.
Ok, I'll try, but it will take time on this machine.
Sadly, it still fails to build Unified_cpp_sandbox_linux3.cpp, yet this time the number of failing switch cases reduced to just one, __NR_fork: 538:00.26 /usr/lib/llvm/11/bin/aarch64-unknown-linux-gnu-clang++ -std=gnu++17 -o Unified_cpp_sandbox_linux3.o -c -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build/dist/system_wrappers -include /var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DNS_NO_XPCOM -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/security/sandbox/linux -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build/security/sandbox/linux -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/security/sandbox/linux -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/security/sandbox/chromium-shim -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/security/sandbox/chromium -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/nsprpub -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build/dist/include/nss -I/usr/include/pixman-1 -fPIC -DMOZILLA_CLIENT -include /var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build/mozilla-config.h -Qunused-arguments -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++2a-compat -Wcomma -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-compare -Wno-error=tautological-type-limit-compare -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=return-std-move -Wno-error=atomic-alignment -Wno-error=deprecated-copy -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-psabi -Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -pipe -mcpu=cortex-a57 -mtune=cortex-a57 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -O2 -fomit-frame-pointer -funwind-tables -Wno-shadow -fexperimental-new-pass-manager -MD -MP -MF .deps/Unified_cpp_sandbox_linux3.o.pp -fcolor-diagnostics Unified_cpp_sandbox_linux3.cpp 538:04.68 In file included from Unified_cpp_sandbox_linux3.cpp:20: 538:04.68 /var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/security/sandbox/linux/SandboxFilter.cpp:1423:12: error: use of undeclared identifier '__NR_fork' 538:04.68 case __NR_fork: 538:04.68 ^ 538:05.31 1 error generated. 538:05.32 gmake[4]: *** [/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/config/rules.mk:676: Unified_cpp_sandbox_linux3.o] Error 1 538:05.32 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build/security/sandbox/linux' 538:05.32 gmake[3]: *** [/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/config/recurse.mk:72: security/sandbox/linux/target-objects] Error 2 538:05.34 gmake[3]: Leaving directory '/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build' 538:05.35 gmake[2]: *** [/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/config/recurse.mk:34: compile] Error 2 538:05.41 gmake[2]: Leaving directory '/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build' 538:05.42 gmake[1]: *** [/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox-83.0/config/rules.mk:355: default] Error 2 538:05.45 gmake[1]: Leaving directory '/var/tmp/portage/www-client/firefox-83.0_rc2/work/firefox_build' 538:05.46 gmake: *** [client.mk:125: build] Error 2 538:05.50 99 compiler warnings present. [ebuild R ] sys-kernel/linux-headers-5.4-r1::gentoo USE="-headers-only" 0 KiB [ebuild R ] sys-libs/glibc-2.32-r2:2.2::gentoo USE="caps (crypt) gd multiarch ssp (static-libs) (-audit) (-cet) -compile-locales -custom-cflags -doc -headers-only (-multilib) -nscd -profile (-selinux) -static-pie -suid -systemtap -test (-vanilla)" 0 KiB
I am almost certain that this is a result of sticking to old linux-headers. Now your system lacks support for all new __NR_* syscalls added in the past. Please upgrade to latest stable linux-headers *and* rebuild *all* packages depending on linux-headers to pick up __NR_statx, __NR_rseq and __NR_fork definition (don't forget about glibc). After a reboot, try again. In the meanwhile Sam will trigger a new build on our arm64 box just in case...
But, I've rebuilt glibc and rebooted the machine before I started this failed build...
Sam finished building on our arm64 box so this isn't a general problem. I run into this on my own with other packages on an outdated Gentoo system I was updating. All I can tell you based on this experience: Make sure that once you updated linux-headers, that you rebuild all packages depending on linux-headers (and the virtual) and maybe complete @system set.
Doing emerge @system for some time now. Again, it will take time on this machine.
Sadly it didn't help. I've rebuilt @system which included such critical things as gcc and binutils. Additionally, I've also rebuilt the clang compiler which for some time is the only one that can build firefox. The missing case bug still prevails. This missing constant was defined after the kernel version 4.4.38 that the vendor had provided. On this system I'm having the 4.4.38 sources unpacked in /usr/src and configured with whatever was exposed by vendor's kernel in /proc/config.gz - though it couldn't complete the entire build process, it was sufficient to install (and maintain) Gentoo on this machine. I've also got the gentoo-sources-5.4.48 installed, configured and compiled in /usr/src, I've tried to boot it, and although the bootloader accepted and started it, this kernel died soon after throwing some startup messages on the serial port, being unable to enumerate critical peripherals. Now I've redirected /usr/src/linux symlink to those configured and compiled 5.4.48-gentoo sources, also I've recompiled glibc again and rebooted the system. Firefox is being built now, we'll see how far this can go.
The running kernel version doesn't matter. You can still build firefox with 3.x kernel. You really have to ensure that your system is up to date and knows about these syscalls. Keep in mind that even @system might be missing some critical packages. However, rebuilding all packages depending on sys-kernel/linux-headers and virtual/os-headers should resolve your issue. But the order could be important... I am closing this bug as INVALID because it's not a bug in firefox ebuild.
For completeness, please be sure you don't get fooled by binaries packages -- you really need to rebuild to pick up changes from latest linux-headers. Also, do you use a build host or are you building directly on this host?
There's not many of the binary packages installed in this system (and not many for arm64 Gentoo profiles available in general), the only thing that comes to my mind is... rust-bin. Also, I'm building everything natively on this machine, sadly, with MAKEOPTS="-j1 -l1" hence it can take forever with things like gcc, llvm, clang, webkits and firefox.
No, I didn't mean something like rust-bin. With FEATURES=buildpkg or some emerge parameters for example you can create binpkgs by yourself. If you re-emerge these packages later and don't pay attention you can get fooled because you will just re-install binpkg instead of rebuilding the package like you intended to do.
The only FEATURES I'm using -pid-sandbox, so this is not the issue here. Another attempt to build firefox just failed. Googling the error message I came across this: http://lists.llvm.org/pipermail/llvm-dev/2014-June/073603.html strangely, it's 2014 issue, while I have this board since 2018 and as I recall, 4.4 kernels weren't old at that time.
OK, this code in question is coming from our musl patches. I'll guard the code between ifdef but till now I still don't understand why you hit this.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3acc858b86c6422ca957d32afddc8d6198bb2b2d commit 3acc858b86c6422ca957d32afddc8d6198bb2b2d Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-11-16 19:18:37 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-11-16 19:33:01 +0000 www-client/firefox: guard __NR_fork with ifdef Bug: https://bugs.gentoo.org/754297 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/Manifest | 2 +- www-client/firefox/firefox-83.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Please tell us if this will make firefox work for you so we can backport to ESR, too.
Right, yet it will take some more time as it's now full version 83.0 (not merely _rc2) and it needs newer spidermonkey, which takes significant amount of time to build.
Finally! >>> Source compiled. >>> Test phase [not enabled]: www-client/firefox-83.0 >>> Install www-client/firefox-83.0 into /home/tmp/portage/www-client/firefox-83.0/image * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p 0:01.80 /usr/bin/gmake -C . -j6 -s -w install 0:01.90 gmake: Entering directory '/home/tmp/portage/www-client/firefox-83.0/work/firefox_build' 0:01.92 gmake[1]: Entering directory '/home/tmp/portage/www-client/firefox-83.0/work/firefox_build/browser/installer' 0:18.21 gmake[1]: Leaving directory '/home/tmp/portage/www-client/firefox-83.0/work/firefox_build/browser/installer' 0:18.21 gmake: Leaving directory '/home/tmp/portage/www-client/firefox-83.0/work/firefox_build' * Disabling auto-update for gmp-gmpopenh264 plugin ... * Disabling auto-update for gmp-widevinecdm plugin ... * Installing langpack-pl@firefox.mozilla.org.xpi into /home/tmp/portage/www-client/firefox-83.0/image/usr/lib64/firefox/distribution/extensions ... >>> Completed installing www-client/firefox-83.0 into /home/tmp/portage/www-client/firefox-83.0/image * Final size of build directory: 5775280 KiB ( 5.5 GiB) * Final size of installed tree: 232012 KiB (226.5 MiB)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b07fd011e810d4609d8ef44d50098625aaccc77 commit 8b07fd011e810d4609d8ef44d50098625aaccc77 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-11-17 16:44:23 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-11-17 16:53:26 +0000 www-client/firefox: guard __NR_fork with ifdef Bug: https://bugs.gentoo.org/754297 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/Manifest | 2 +- www-client/firefox/firefox-78.5.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)