On 2022-11-30, Jochen Kirchner wrote:
[...]
make -j17 -l17 VERBOSE=true OPTFLAGS= CXX=x86_64-pc-linux-gnu-g++Can you try emerging with -j1 in MAKEOPTS?
Sadly, the makefile[1] does not print out the mkdir commands (recipe on
lines 202 thru 204), so it's not possible to spot in the output when are these being executed, but, from a quick glance (I might have overlooked something!), it sounds like the target that runs mkdir is not a
dependency of the targets that generate and link the object files (line
262, line 273), so it'd be possible for this to happen just because
the second mkdir did not complete before the first g++ was checking for
the directory.
[1] https://github.com/aristocratos/btop/blob/main/Makefile
make -j17 -l17 VERBOSE=true OPTFLAGS= CXX=x86_64-pc-linux-gnu-g++
Nuno Silva wrote:
On 2022-11-30, Jochen Kirchner wrote:
[...]
make -j17 -l17 VERBOSE=true OPTFLAGS= CXX=x86_64-pc-linux-gnu-g++Can you try emerging with -j1 in MAKEOPTS?
Sadly, the makefile[1] does not print out the mkdir commands (recipe
on
lines 202 thru 204), so it's not possible to spot in the output when
are
these being executed, but, from a quick glance (I might have
overlooked
something!), it sounds like the target that runs mkdir is not a
dependency of the targets that generate and link the object files
(line
262, line 273), so it'd be possible for this to happen just because
the second mkdir did not complete before the first g++ was checking
for
the directory.
[1] https://github.com/aristocratos/btop/blob/main/Makefile
That's a good idea. Just to test if that error happens to everybody, I installed btop-1.2.12 here. Actually, it's kinda neat looking.
Anyway,
it installed fine here on my 8 core machine with normal -j settings,
-j9
I think. It could help using -j1 tho. Still, it installed here
without
any problems.
If -j1 doesn't work, maybe sync the tree again to see if maybe some
typo
got fixed or something else was wrong during last sync. That is rare nowadays but when grasping at straws, grab what you can.
Oh, my google search earlier didn't yield anything either. This seems
to be a odd failure.
Dale
:-) :-)
this is my make.conf: (its a web - and mail server)
MAKEOPTS="-j17 -l17"
* Warning
Using a large number of jobs can significantly impact memory
consumption. A good recommendation is to have at least 2 GiB of RAM
for every job specified (so, e.g. -j6 requires at least 12 GiB). To
avoid running out of memory, lower the number of jobs to fit the
available memory.
On Wed, Nov 30, 2022 at 01:50:02PM +0100, Jochen Kirchner wrote
this is my make.conf: (its a web - and mail server)
MAKEOPTS="-j17 -l17"
Ouch!!! How much ram do you have on that machine? The Gentoo install handbook has a dire warning at...
https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation#MAKEOPTS
...that you need approx 2 gigabytes free ram for each increment in "MAKEOPTS".
* Warning
Using a large number of jobs can significantly impact memory
consumption. A good recommendation is to have at least 2 GiB of RAM
for every job specified (so, e.g. -j6 requires at least 12 GiB). To
avoid running out of memory, lower the number of jobs to fit the
available memory.
If you have a fancy-schmancy "desktop environment" allow another 3 or
4 Gigs, especially if you're simultaneously running Chrome or
calculating large spreadsheets or processing large documents. For "MAKEOPTS=-j17" you'll need at least 36-to-40 gigabytes.
On Wed, Nov 30, 2022 at 01:50:02PM +0100, Jochen Kirchner wrote
this is my make.conf: (its a web - and mail server)
MAKEOPTS="-j17 -l17"
Ouch!!! How much ram do you have on that machine? The Gentoo
install
handbook has a dire warning at...
https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation#MAKEOPTS
...that you need approx 2 gigabytes free ram for each increment in "MAKEOPTS".
* Warning
Using a large number of jobs can significantly impact memory
consumption. A good recommendation is to have at least 2 GiB of RAM
for every job specified (so, e.g. -j6 requires at least 12 GiB). To
avoid running out of memory, lower the number of jobs to fit the
available memory.
If you have a fancy-schmancy "desktop environment" allow another 3 or
4 Gigs, especially if you're simultaneously running Chrome or
calculating large spreadsheets or processing large documents. For "MAKEOPTS=-j17" you'll need at least 36-to-40 gigabytes.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 149:28:54 |
Calls: | 10,383 |
Calls today: | 8 |
Files: | 14,054 |
D/L today: |
2 files (1,861K bytes) |
Messages: | 6,417,769 |