Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 738862

Summary: www-client/chromium-84.0.4147.135 fails to build
Product: Gentoo Linux Reporter: Kilian <roehner>
Component: Current packagesAssignee: Chromium Project <chromium>
Status: RESOLVED INVALID    
Severity: normal CC: bkohler, roehner, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: output emerge --info '=www-client/chromium-84.0.4147.135::gentoo
output of emerge -pqv '=www-client/chromium-84.0.4147.135::gentoo'
build.log

Description Kilian 2020-08-24 21:47:49 UTC
Created attachment 656528 [details]
output emerge --info '=www-client/chromium-84.0.4147.135::gentoo

x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.




ninja: build stopped: subcommand failed.
 * ERROR: www-client/chromium-84.0.4147.135::gentoo failed (compile phase):
 *   ninja -v -j8 -l0 -C out/Release chrome chromedriver failed
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 4344:  Called eninja '-C' 'out/Release' 'chrome' 'chromedriver'
 *   environment, line 2041:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
Comment 1 Kilian 2020-08-24 21:50:17 UTC
Created attachment 656530 [details]
output of emerge -pqv '=www-client/chromium-84.0.4147.135::gentoo'
Comment 2 Kilian 2020-08-24 21:53:35 UTC
Created attachment 656532 [details]
build.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-24 21:56:30 UTC
>x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus

Check dmesg, but you almost certainly out of memory errored (OOMed). Run with fewer jobs.
Comment 4 Kilian 2020-08-24 22:02:24 UTC
(In reply to Sam James from comment #3)
> >x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus
> 
> Check dmesg, but you almost certainly out of memory errored (OOMed). Run
> with fewer jobs.

I will try, thanks.

If it works, the bug with this ebuild is that

 * Checking for at least 3 GiB RAM ...                                                                                        [ ok ]
 * Checking for at least 7 GiB disk space at "/var/tmp/portage/www-client/chromium-84.0.4147.135/temp" ...                    [ ok ]
 
is not enough then.
Comment 5 Ben Kohler gentoo-dev 2020-09-15 12:27:38 UTC
3GB is the bare minimum with low jobs (1), it cannot possibly calculate exactly how much memory will be used for your job count and your compiler version and options and your existing memory load (eg is chromium already running with 20 tabs open using 5GB memory?).