Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753533 - dev-lang/spidermonkey-78.4.0::gentoo failed (compile phase)
Summary: dev-lang/spidermonkey-78.4.0::gentoo failed (compile phase)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-08 07:19 UTC by Stephan Litterst
Modified: 2020-11-08 14:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
output of emerge --info (emerge.info.txt,6.89 KB, text/plain)
2020-11-08 07:20 UTC, Stephan Litterst
Details
output of emerge --pqv (emerge.pqv.txt,115 bytes, text/plain)
2020-11-08 07:22 UTC, Stephan Litterst
Details
environment (environment,133.85 KB, text/plain)
2020-11-08 07:27 UTC, Stephan Litterst
Details
bzip2 compressed build.log (build.log.bz2,30.55 KB, application/x-bzip)
2020-11-08 07:28 UTC, Stephan Litterst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Litterst 2020-11-08 07:19:44 UTC
* ERROR: dev-lang/spidermonkey-78.4.0::gentoo failed (compile phase):
* emake failed


Reproducible: Always

Steps to Reproduce:
1. emerge spidermonkey 78.4.0

Actual Results:  
emerge failed

Expected Results:  
should emerge
Comment 1 Stephan Litterst 2020-11-08 07:20:49 UTC
Created attachment 670403 [details]
output of emerge --info
Comment 2 Stephan Litterst 2020-11-08 07:22:37 UTC
Created attachment 670406 [details]
output of emerge --pqv
Comment 3 Stephan Litterst 2020-11-08 07:26:36 UTC
unfortunately I can't upload the build log:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@gentoo.org to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.
Apache Server at bugs.gentoo.org Port 443
Comment 4 Stephan Litterst 2020-11-08 07:27:58 UTC
Created attachment 670409 [details]
environment
Comment 5 Stephan Litterst 2020-11-08 07:28:43 UTC
Created attachment 670412 [details]
bzip2 compressed build.log
Comment 6 Stephan Litterst 2020-11-08 07:29:41 UTC
(In reply to Stephan Litterst from comment #3)
> unfortunately I can't upload the build log:
> 
> Internal Server Error
> 
> The server encountered an internal error or misconfiguration and was unable
> to complete your request.
> 
> Please contact the server administrator at webmaster@gentoo.org to inform
> them of the time this error occurred, and the actions you performed just
> before this error.
> 
> More information about this error may be available in the server error log.
> Apache Server at bugs.gentoo.org Port 443

---
works now - possibly wrong file permission on my side.
Comment 7 Ionen Wolkens gentoo-dev 2020-11-08 07:49:20 UTC
>x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus
Almost always means you ran out of ram while building (`dmesg` would mention killing it). spidermonkey:78 needs more than previous versions.

Each cc1plus sometime use up to ~2GB and rustc up to ~4GB. MAKEOPTS=-j5 can be enough to run out with 8GB ram + 1GB swap, especially if also using --jobs 4 on emerge.

Try with lower values and building it on its own.
Comment 8 Stephan Litterst 2020-11-08 10:51:32 UTC
Trying with lower values produced the same results.

In the end it was the size of the tmpfs partition of /var/tmp/portage.
The partitiion was mounted with max size of 730 MB which was not enough.
Not mounting /var/tmp/portage as tmpfs was the solution.
Comment 9 Thomas Deutschmann (RETIRED) gentoo-dev 2020-11-08 14:29:13 UTC
Wondering why check-reqs didn't catch this.