Summary: | www-client/chromium-87.0.4280.88 fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | nvaert1986 <nvaert1986> |
Component: | Current packages | Assignee: | Chromium Project <chromium> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
The build log part 1
The build log part 2 |
Description
nvaert1986
2020-12-06 12:19:44 UTC
I still have the build log if desired, but it's 10MB in size, so can't add it as an attachment. The area where it failed: ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderFrameHostImpl::*)(mojo::StructPtr<blink::mojom::GetSavableResourceLinksReply>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderFrameHostImpl> >; long unsigned int ...indices = {0}]’: ../../base/bind_internal.h:773:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::PushMessagingManager::*)(mojo::PendingReceiver<blink::mojom::PushMessaging>); BoundArgsTuple = std::tuple<base::WeakPtr<content::PushMessagingManager>, mojo::PendingReceiver<blink::mojom::PushMessaging> >; long unsigned int ...indices = {0, 1}]’: ../../base/bind_internal.h:773:1: warning: control reaches end of non-void function [-Wreturn-type] ../../base/bind_internal.h: In function ‘bool base::internal::QueryCancellationTraitsImpl(base::internal::BindStateBase::CancellationQueryMode, const Functor&, const BoundArgsTuple&, std::index_sequence<indices ...>) [with Functor = void (content::RenderFrameHostImpl::*)(mojo::PendingReceiver<blink::mojom::ReportingObserver>); BoundArgsTuple = std::tuple<base::WeakPtr<content::RenderFrameHostImpl>, mojo::PendingReceiver<blink::mojom::ReportingObserver> >; long unsigned int ...indices = {0, 1}]’: ../../base/bind_internal.h:773:1: warning: control reaches end of non-void function [-Wreturn-type] ninja: build stopped: subcommand failed. [31;01m*[0m ERROR: www-client/chromium-87.0.4280.88::gentoo failed (compile phase): [31;01m*[0m ninja -v -j16 -l0 -C out/Release chrome chromedriver failed [31;01m*[0m [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 125: Called src_compile [31;01m*[0m environment, line 4416: Called eninja '-C' 'out/Release' 'chrome' 'chromedriver' [31;01m*[0m environment, line 2055: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m "$@" || die "${nonfatal_args[@]}" "${*} failed" [31;01m*[0m [31;01m*[0m If you need support, post the output of `emerge --info '=www-client/chromium-87.0.4280.88::gentoo'`, [31;01m*[0m the complete build log and the output of `emerge -pqv '=www-client/chromium-87.0.4280.88::gentoo'`. [32;01m*[0m [32;01m*[0m MemTotal: 32844400 kB [32;01m*[0m SwapTotal: 6000636 kB [32;01m*[0m [31;01m*[0m The complete build log is located at '/var/tmp/portage/www-client/chromium-87.0.4280.88/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-87.0.4280.88/temp/environment'. [31;01m*[0m Working directory: '/var/tmp/portage/www-client/chromium-87.0.4280.88/work/chromium-87.0.4280.88' [31;01m*[0m S: '/var/tmp/portage/www-client/chromium-87.0.4280.88/work/chromium-87.0.4280.88' The lines you show are only warnings. There should be a line starting with FAILED. We need at least this lines and the error messages afterwards. You can also compress the build.log and attach it here. The uncompressed file is 101,4MB. The compressed file using tar.bz2 with maximum compression is 1,5MB even when using 7zip it's 1,2MB and refuses to upload as the maximum file size is 1MB Created attachment 677053 [details]
The build log part 1
Contains part 1 of the build log
Created attachment 677056 [details]
The build log part 2
Sorry for my lack of initial creativity. I've split the build log in 2 parts using head and tail. The full build log as requested. Thanks. Next time try to use xz and you don't need tar to compress single file ;) From the build.log I see: {standard input}: Assembler messages: {standard input}:5263: Warning: end of file not at end of a line; newline inserted {standard input}:5359: Error: number of operands mismatch for `movabs' x86_64-pc-linux-gnu-g++: fatal error: Killed signal terminated program cc1plus That means you run out of RAM and OOM killed g++. Try to reduce number of parallel jobs in MAKEOPTS. Good estimation is 2GB per compile job, but some chromium files are very large and g++ needs more than 3GB. |