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

Bug 286211

Summary: emerge: add a feature to ignore --jobs if only one package is to be emerged
Product: Gentoo Linux Reporter: Andrey Vihrov <andrey.vihrov>
Component: [OLD] Core systemAssignee: Portage team <dev-portage>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrey Vihrov 2009-09-24 12:47:10 UTC
First, the --jobs option is good, but it is useless with only one package in the list. Second, apparently, when a user emerges exactly one package, the probability is high that he/she may have wanted to read the output of the build process -- as opposed to emerging many packages, where the user just wants to get it done.

Based on this, the proposal is to implement a feature (which may be default or accessible via a command line option) that would make emerge behave just as if --jobs were not set if the count of packages to be emerged is exactly one.

Please feel free to comment it, thanks.

Reproducible: Always

Steps to Reproduce:
Comment 1 Sebastian Luther (few) 2009-10-03 07:19:47 UTC
Such an command line option already exists. It's called --jobs 1. And I'm against making this the default behavior if only one package is merged. I'm almost never interested in all the output and wouldn't have an option to hide it.
Comment 2 Zac Medico gentoo-dev 2009-10-03 07:24:20 UTC
FWIW, -j1 also works. I don't like the idea of having an option for it to react automatically. Sorry. :)