Created attachment 570398 [details] emerge -pqv '=www-client/firefox-66.0-r1::gentoo' Fails at configure section with a weird Rust related error.
Created attachment 570400 [details] emerge --info '=www-client/firefox-66.0-r1::gentoo'
Created attachment 570402 [details] build.log
Your rust installation isn't working. That's not a firefox problem.
A build of firefox-65.0.2 worked fine, only firefox-66.0 doesn't work.
Where are you building? Where's your build dir located (filesystem)? Unpack, delete $WORKDIR/firefox/6004_revert-bug1497976_bug1507655.patch ... this will probably "fix" the problem for you but unless we understand why you hit this I am not going to drop this revert.
Yes, removing the patch does indeed make the build run to finish. It seems like Python 2.7 has close_fd=False on subprocess.Popen by default, and that's what runs the configure process. My theory is that close_fds=False leaves those "extra file descriptors" open and rustc tries to read from them, and fails.
The main question is why _you_ are hitting this. Keep in mind that this was the default until FF64 (see https://bugzilla.mozilla.org/show_bug.cgi?id=1497976). Then, Mozilla changed the code to address a build problem on other platforms. However, this is causing performance regressing, see https://bugzilla.mozilla.org/show_bug.cgi?id=1507655.
I'll drop the patch.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f1462820b95e68cd9fa572f5183fc85587b424b commit 5f1462820b95e68cd9fa572f5183fc85587b424b Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-03-27 23:09:28 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-03-27 23:17:45 +0000 www-client/firefox: bump to v66.0.2 - drop 6004_revert-bug1497976_bug1507655.patch which causes build problems for some users. [Bug 681548] - TerminalLoggingHandler patched to allow non-ascii characters. [Bug 666948] - Add rust-1.33+ support. [Bug 679656] Bug: https://bugs.gentoo.org/679656 Closes: https://bugs.gentoo.org/666948 Closes: https://bugs.gentoo.org/681548 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/Manifest | 185 +++++++++++---------- ...firefox-66.0.1.ebuild => firefox-66.0.2.ebuild} | 2 +- 2 files changed, 94 insertions(+), 93 deletions(-)