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

Bug 657790

Summary: sys-devel/clang-5.0.2 Failed to emerge
Product: Gentoo Linux Reporter: f4prv <Philippe.PERET>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Environment

Description f4prv 2018-06-11 06:56:23 UTC
Created attachment 535626 [details]
Environment

Hello
When i try emerge sys-devel/clang.
------------------------------------------------------------------------------
ninja: build stopped: subcommand failed.
 * ERROR: sys-devel/clang-5.0.2::gentoo failed (compile phase):
 *   ninja -v -j3 -l0 failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 4666:  Called multilib-minimal_src_compile
 *   environment, line 2891:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 3122:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2826:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2824:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  624:  Called multilib-minimal_abi_src_compile
 *   environment, line 2885:  Called multilib_src_compile
 *   environment, line 3334:  Called cmake-utils_src_compile
 *   environment, line 1028:  Called cmake-utils_src_make
 *   environment, line 1213:  Called _cmake_ninja_src_make
 *   environment, line  406:  Called eninja
 *   environment, line 1549:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=sys-devel/clang-5.0.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/clang-5.0.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-devel/clang-5.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/clang-5.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-devel/clang-5.0.2/work/x/y/cfe-5.0.2.src-abi_x86_32.x86'
 * S: '/var/tmp/portage/sys-devel/clang-5.0.2/work/x/y/cfe-5.0.2.src'
---------------------------------------------------------------------------

Thank you if you can help.
Comment 1 Jonas Stein gentoo-dev 2018-06-23 23:07:56 UTC
Thank you for the report. Please recompile and *attach* the logfiles and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Please reopen this ticket (Status:unconfirmed) afterwards.
Comment 2 f4prv 2018-06-24 16:50:48 UTC
Hello again 

I solved the problem by myself with strange solution.


changed /etc/portage/make.conf
I have changed -J3 -J1  and then It works.

(may ne not enought memory to compile 2 Go)

Good to know 

Thank you Jonas 

Philippe