Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669974 - -j (jobs) parameter cannot be combined (e.g. -Oj1) - silently ignored
Summary: -j (jobs) parameter cannot be combined (e.g. -Oj1) - silently ignored
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
Depends on:
Reported: 2018-10-30 16:26 UTC by soundbastlerlive
Modified: 2021-08-09 11:41 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description soundbastlerlive 2018-10-30 16:26:37 UTC
For many years I've had to avoid combining -jX with something else. I never bothered to create a bug, but I think it is one.

AFAIK it is common (or even POSIX/getopt) that single letter/dash options can be combined, with at least one that requires an arg if you place it at the end. Probably

E.g. 'tail -fn3' (follow and show last 3 lines)

But e.g. 'emerge -Oj1' will silently ignore the 'j1' and use whatever is set in make.conf.

Is this on purpose or should it be fixed?

IMHO it should either work or cause an error, but not be silently ignored.

Comment 1 soundbastlerlive 2021-08-09 11:41:35 UTC
this still happens 3 years later, command line switches silently ignored!

emerge -O -j1
emerge -Oq -j1

does not work:
emerge -Oj1
emerge -Oqj1