I'm trying to upgrade www-client/firefox-60.8.0 to the most recent www-client/firefox-68.0.2: [ebuild U ~] www-client/firefox-68.0.2::gentoo [60.8.0::gentoo] USE="dbus gmp-autoupdate pulseaudio screenshot startup-notification system-av1%* system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite system-webp%* wayland%* -bindist -clang -custom-cflags -custom-optimization -debug -eme-free -geckodriver (-hardened) -hwaccel -jack -lto% -neon (-pgo) (-selinux) -test -wifi" L10N="-ach -af -an -ar -ast -az -be% -bg -bn% -br -bs -ca -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 -nl -nn -oc% -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -ur% -uz -vi -xh -zh-CN -zh-TW (-as%) (-bn-BD%) (-bn-IN%) (-en-ZA%) (-mai%) (-ml%) (-or%)" 0 KiB Unfortunately, for a very long time I could not manage to build anything newer than 60.x.x. Reproducible: Always Actual Results: 18:09.73 [style 0.0.1] cargo:rerun-if-changed=/home/tmp/portage/www-client/firefox-68.0.2/work/firefox-68.0.2/ff/dist/include/nsIThread.h 18:09.74 [style 0.0.1] cargo:rerun-if-changed=/home/tmp/portage/www-client/firefox-68.0.2/work/firefox-68.0.2/ff/dist/include/mozilla/Path.h 18:09.74 [style 0.0.1] cargo:rerun-if-changed=/home/tmp/portage/www-client/firefox-68.0.2/work/firefox-68.0.2/ff/dist/include/mozilla/StaticAnalysisFunctions.h 18:09.74 [style 0.0.1] cargo:rerun-if-changed=/home/tmp/portage/www-client/firefox-68.0.2/work/firefox-68.0.2/ff/dist/include/mozilla/Preferences.h 18:09.74 thread 'main' panicked at 'failed printing to stdout: Resource temporarily unavailable (os error 11)', stack backtrace: 18:09.74 0: 0x555a8eb0f4 - <unknown> 18:09.74 1: 0x555a8f0d14 - <unknown> 18:09.74 2: 0x555a8f0adc - <unknown> 18:09.74 3: 0x555a8f1440 - <unknown> 18:09.74 4: 0x555a8f103c - <unknown> 18:09.75 5: 0x555a8f0fa0 - <unknown> 18:09.75 6: 0x555a8e9764 - <unknown> 18:09.75 7: 0x555a508804 - <unknown> 18:09.75 8: 0x555a533158 - <unknown> 18:09.75 9: 0x555a8f7ad0 - <unknown> 18:09.75 10: 0x555a5cfffc - <unknown> 18:09.75 11: 0x555a506e54 - <unknown> 18:09.75 12: 0x555a59d350 - <unknown> 18:09.75 13: 0x555a3571a0 - <unknown> 18:09.76 14: 0x555a3560f8 - <unknown> 18:09.76 15: 0x555a2f74e4 - <unknown> 18:09.76 16: 0x555a2e74a8 - <unknown> 18:09.76 17: 0x555a320550 - <unknown> 18:09.76 18: 0x555a2f822c - <unknown> 18:09.76 19: 0x555a8f0ebc - <unknown> 18:09.76 20: 0x555a8f7ad0 - <unknown> 18:09.76 21: 0x555a8f55f0 - <unknown> 18:09.76 22: 0x555a322894 - <unknown> 18:09.77 23: 0x7f7cb014f0 - __libc_start_main 18:09.77 at ../csu/libc-start.c:308 18:09.77 24: 0x555a2db47c - <unknown> 19:38.19 [style 0.0.1] cargo:rerun-if-changed=/home/tmp/portage/www-client/firefox-68.0.2/work/firefox-68.0.2/ff/dist/include/nsMappedAttributeElement.h 19:38.20 gmake[4]: *** [/home/tmp/portage/www-client/firefox-68.0.2/work/firefox-68.0.2/config/makefiles/rust.mk:240: force-cargo-library-build] Error 101 19:38.20 gmake[4]: Leaving directory '/home/tmp/portage/www-client/firefox-68.0.2/work/firefox-68.0.2/ff/toolkit/library/rust' 19:38.20 gmake[3]: *** [/home/tmp/portage/www-client/firefox-68.0.2/work/firefox-68.0.2/config/recurse.mk:74: toolkit/library/rust/target] Error 2 19:38.20 gmake[3]: Leaving directory '/home/tmp/portage/www-client/firefox-68.0.2/work/firefox-68.0.2/ff' 19:38.20 gmake[2]: *** [/home/tmp/portage/www-client/firefox-68.0.2/work/firefox-68.0.2/config/recurse.mk:34: compile] Error 2 19:38.20 gmake[2]: Leaving directory '/home/tmp/portage/www-client/firefox-68.0.2/work/firefox-68.0.2/ff' 19:38.20 gmake[1]: *** [/home/tmp/portage/www-client/firefox-68.0.2/work/firefox-68.0.2/config/rules.mk:413: default] Error 2 19:38.20 gmake[1]: Leaving directory '/home/tmp/portage/www-client/firefox-68.0.2/work/firefox-68.0.2/ff' 19:38.20 gmake: *** [client.mk:125: build] Error 2 19:38.20 11 compiler warnings present. $ rustc --version rustc 1.37.0 Portage 2.3.69 (python 2.7.15-final-0, default/linux/arm64/17.0/desktop, gcc-8.3.0, glibc-2.29-r2, 4.4.38-tegra aarch64) ================================================================= System uname: Linux-4.4.38-tegra-aarch64-with-gentoo-2.6 KiB Mem: 8039124 total, 3013048 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 17 Aug 2019 08:00:01 +0000 Head commit of repository gentoo: 833b248bfd6be3c86d3ba44977270f520387e9d1 sh bash 4.4_p23-r1 ld GNU gold (Gentoo 2.32 p2 2.32.0) 1.16 app-shells/bash: 4.4_p23-r1::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.28.2-r1::gentoo dev-lang/python: 2.7.15::gentoo, 3.5.5::gentoo, 3.6.5::gentoo dev-util/cmake: 3.15.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.41.2::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.32-r1::gentoo sys-devel/gcc: 6.4.0-r1::gentoo, 8.3.0-r1::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: -4 sync-rsync-verify-max-age: 24 jetson location: /usr/local/portage/overlay masters: gentoo priority: 0
I wonder what "resource" is "temporarily unavailable". I looked into dmesg, there's nothing about OOM or any other resources shortage, yet it's full of rustc crash reports like this one: Aug 17 21:17:55 localhost kernel: rustc[12294]: syscall 285 Aug 17 21:17:55 localhost kernel: Code: aa0503e4 aa0603e5 aa0703e6 d4000001 (b13ffc1f) Aug 17 21:17:55 localhost kernel: CPU: 0 PID: 12294 Comm: rustc Not tainted 4.4.38-tegra #1 Aug 17 21:17:55 localhost kernel: Hardware name: quill (DT) Aug 17 21:17:55 localhost kernel: task: ffffffc1ea9ba580 ti: ffffffc07b39c000 task.ti: ffffffc07b39c000 Aug 17 21:17:55 localhost kernel: PC is at 0x7f8e8dc4a4 Aug 17 21:17:55 localhost kernel: LR is at 0x7f8e9d6040 Aug 17 21:17:55 localhost kernel: pc : [<0000007f8e8dc4a4>] lr : [<0000007f8e9d6040>] pstate: 00000000 Aug 17 21:17:55 localhost kernel: sp : 0000007f8c05b1c0 Aug 17 21:17:55 localhost kernel: x29: 0000007f8c05c570 x28: 0000007f84000b80 Aug 17 21:17:55 localhost kernel: x27: 0000007f8a058948 x26: 0000007f8c05b440 Aug 17 21:17:55 localhost kernel: x25: 0000007f8c05b358 x24: 00000000000015a0 Aug 17 21:17:55 localhost kernel: x23: 0000007f8444b870 x22: 0000000000000001 Aug 17 21:17:55 localhost kernel: x21: 0000007f8ea94000 x20: 000000000000000c Aug 17 21:17:55 localhost kernel: x19: 0000007f8c05b328 x18: 0000000000000000 Aug 17 21:17:55 localhost kernel: x17: 0000007f8e8dc480 x16: 0000007f8ea93460 Aug 17 21:17:55 localhost kernel: x15: ffffffffffffffff x14: ffffffffffffff00 Aug 17 21:17:55 localhost kernel: x13: ffffffffffffffff x12: 0000000000000008 Aug 17 21:17:55 localhost kernel: x11: 0101010101010101 x10: 0000000000000006 Aug 17 21:17:55 localhost kernel: x9 : 0000000000000000 x8 : 000000000000011d Aug 17 21:17:55 localhost kernel: x7 : 0000007f8c062cf0 x6 : 0000007f8c062cf0 Aug 17 21:17:55 localhost kernel: x5 : 0000000000000000 x4 : 00000000000015a0 Aug 17 21:17:55 localhost kernel: x3 : 0000000000000000 x2 : 000000000000000c Aug 17 21:17:55 localhost kernel: x1 : 0000000000000000 x0 : 000000000000000a Aug 17 21:17:55 localhost kernel:
Thank you for the report. Please recompile and *attach* the logfiles and paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks. Please reopen this ticket (Status:unconfirmed) afterwards.
Created attachment 587376 [details] requested build log The output from `emerge --info` .is. in the first comment.
(In reply to Paul Osmialowski from comment #3) > Created attachment 587376 [details] > requested build log > > The output from `emerge --info` .is. in the first comment. Firefox 68.0.2 builds fine on arm64 for me. This is with a very beefy machine though. I will let the Mozilla team take a look at your logs.
this is a rust/cargo issue not mozilla related.
likely a duplicate. please proceed to existing bug, it has some workarounds. I never was able to re-produce this on various arm, unfortunately. *** This bug has been marked as a duplicate of bug 687028 ***
Setting `MAKEOPTS="-j2 -l1"` as they'd suggested indeed helped. This is the weirdest workaround I've ever seen and wouldn't consider it a final solution.