Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675680 - sys-devel/clang-6.0.1 emerge fails with parallel compilation
Summary: sys-devel/clang-6.0.1 emerge fails with parallel compilation
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-17 10:29 UTC by alex Mezey
Modified: 2019-01-17 18:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alex Mezey 2019-01-17 10:29:48 UTC
My emerge ... @world failed with clang. I don't have the build log any more. I had 'MAKEOPTS="-j11"' in my make.conf. The error message said ninja -j11 (and one more or some more options) had an error. This error was not more specified or I didn't find it in the mixed messages of 11 threads.
I changed to MAKEOPTS="-j1" emerged -1 clang, which took some time but was successfull and then changed my make.conf back and started emerge ... @world again. I have not investigated more.

I guess some dependencies which are processed by ninja should be fixed.
It works for me now, but was very time consuming and would have been much more time consuming if I would not got the lucky guess. If an ebuild cannot be build parallel there is a way to handle it within the ebuild. This would be a second solution if the ninja stuff cannot be fixed. Of cause it would be better if it would work parallel.
I think I filed a similar bug with something some time ago. I don't remember which ebuild it was and couldn't find it here.

THIS MIGHT BE A BUG IN NINJA OR IT'S DOCUMENTATION.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-01-17 18:45:47 UTC
Can't help you without the details.  It is entirely possible you've ran out of memory.