Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651348 - sys-libs/ncurses: ignores MAKEOPTS=-j1
Summary: sys-libs/ncurses: ignores MAKEOPTS=-j1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-24 10:44 UTC by Toralf Förster
Modified: 2018-03-25 19:59 UTC (History)
0 users

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


Attachments
20.20180324-113536 (20.20180324-113536,96.58 KB, text/plain)
2018-03-24 10:45 UTC, Toralf Förster
Details
sys-libs:ncurses-6.1-r1:20180324-143115.log.gz (sys-libs:ncurses-6.1-r1:20180324-143115.log.gz,162.74 KB, application/x-bzip)
2018-03-24 19:19 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-03-24 10:44:59 UTC
attached is the pstree
Comment 1 Toralf Förster gentoo-dev 2018-03-24 10:45:22 UTC
Created attachment 525214 [details]
20.20180324-113536

pstree
Comment 2 Mike Gilbert gentoo-dev 2018-03-24 17:47:45 UTC
Err, based on that pstree, it looks like you had MAKEOPTS=-j7. The child of emake is "make -j7".
Comment 3 Toralf Förster gentoo-dev 2018-03-24 18:17:54 UTC
The tinderbox has this set - works for nearly all packages except few ones, ncurses are among them :


MAKEOPTS="-j 1"
NINJAFLAGS="-j 1"
EGO_BUILD_FLAGS="-p 1"
GOMAXPROCS="1"
GO19CONCURRENTCOMPILATION=0
RUSTFLAGS="-C codegen-units=1"
RUST_TEST_THREADS=1
RUST_TEST_TASKS=1
Comment 4 Mike Gilbert gentoo-dev 2018-03-24 18:53:43 UTC
Please attach your build log that corresponds to the process tree you provided.
Comment 5 Mike Gilbert gentoo-dev 2018-03-24 19:18:30 UTC
Also, I still really think this is a config issue on your end. emake is clearly passing -j7 to make; I don't see anything in the ebuild that would override MAKEOPTS.
Comment 6 Toralf Förster gentoo-dev 2018-03-24 19:19:21 UTC
Created attachment 525278 [details]
sys-libs:ncurses-6.1-r1:20180324-143115.log.gz

log from 17.0-desktop-plasma_abi32+64_20180324-084537
Comment 7 Toralf Förster gentoo-dev 2018-03-24 19:22:20 UTC
BTW have a look at bug 646092 - similar issue there
Comment 8 Toralf Förster gentoo-dev 2018-03-25 11:10:08 UTC
Maybe something like this is needed? :

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dca844ed582e369708a7769d4e84abf6e9b5fb0d
Comment 9 Mike Gilbert gentoo-dev 2018-03-25 14:02:02 UTC
Rust uses a completely custom build system.

ncurses uses pretty normal looking makefiles along with autoconf.

That's why this bug makes no sense to me -- there's no obvious build system that needs fixing here.

I did some experiments to try and reproduce the problem myself, and was unable to get anything resembling your pstree with anything other than MAKEOPTS=-j7.
Comment 10 Toralf Förster gentoo-dev 2018-03-25 19:59:49 UTC
OMG - needed hours here to realize that this is indeed PEBKAC.

Sry.