bootstrap-prefix.sh fails at the point of emerging sys-libs/readline-8.1. Exporting DARWIN_USE_GCC=1 did not help. Setting MAKEOPTS=-j1 did not help. Reproducible: Always Steps to Reproduce: 1. ./bootstrap-prefix.sh Actual Results: * QA Notice: command not found: * * /Users/ash/Gentoo/tmp/var/tmp/portage/sys-libs/readline-8.1/temp/environment: line 2588: pkg-config: command not found * /Users/ash/Gentoo/tmp/var/tmp/portage/sys-libs/readline-8.1/temp/environment: line 2581: pkg-config: command not found * /Users/ash/Gentoo/tmp/var/tmp/portage/sys-libs/readline-8.1/temp/environment: line 2288: pkg-config: command not found * /Users/ash/Gentoo/tmp/var/tmp/portage/sys-libs/readline-8.1/temp/environment: line 2325: pkg-config: command not found /Users/ash/Gentoo/tmp/usr/lib/portage/bin/ecompress: line 65: declare: -A: invalid option declare: usage: declare [-afFirtx] [-p] [name[=value] ...] /Users/ash/Gentoo/tmp/usr/lib/portage/bin/ecompress: line 35: /Users/ash/Gentoo/tmp/var/tmp/portage/sys-libs/readline-8.1/temp/.ecompress_skip_files: Interrupted system call * ERROR: sys-libs/readline-8.1::gentoo_prefix failed: * (no error message) * System had plenty of free memory and low CPU utilization during bootstrap; this is not an overheating/overloading issue.
Created attachment 680446 [details] build.log
“Interrupted system call” is still scary here. The only other case we’ve seen that in was an overloaded box. Does Console show anything at the time?
…What just happened? I tried this a dozen times before filing a bug report, now it works with Console open. Now bootstrap failed with a similar error when emerging bash-5.1, similar to bug 757381. This is an iMac Pro with 14 cores and 128GB of RAM, I'm only running 8 parallel compile jobs, the CPU is mostly idle when not bootstrapping. How is the system getting overloaded? Only thing in Console that happens while emerging are lines in system.log like: Dec 31 11:47:06 abby com.apple.xpc.launchd[1] (com.apple.mdworker.shared.17000000-0500-0000-0000-000000000000[44217]): Service exited due to SIGKILL | sent by mds[92]
Created attachment 680470 [details] bash build.log
Tried stopping various malware protection services, doesn't help.
This is really unexplainable, you could attempt to run bootstrap-prefix using the nohup utility, but I doubt this is going to make a difference. Is the system configured to go to sleep or something? (Not that it should make a difference, I've got that myself, and never've seen this happening.)
I successfully bootstrapped yesterday on a virgin BigSur install