Portage knows when something has been unpacked and doesn't need unpacking. Likewise it knows that something has been compiled/built and doesn't need rebuilding. But even though a package has been installed, it DOES repeat that step. Seems like it should be able to skip that step if it was past the install and got tripped up on buildpkg or merge. Reproducible: Always Steps to Reproduce: 1. Find a package that breaks on buildpkg step 2. emerge it, watch it break at end. 3. repeat emerge, and notice it skips unpack, configure, compile, but does install again. Expected Results: I should think we can skil a successfully completed install step!
just to be sure we use the same terminology: do you mean the install or merge phase ?
I mean install. Stuff that happens in the src_install() step is being repeated, whereas it is noting that the src_compile step has already been completed and can be skipped. I only notice this if something happens *after* install is complete, which, admittedly, is rare.
Putting a hold on feature requests for portage as they are drowning out the bugs. Most of these features should be available in the next major version of portage. But for the time being, they are just drowning out the major bugs and delaying the next version's progress. Any bugs that contain patches and any bugs for etc-update or dispatch-conf can be reopened. Sorry, I'm just not good enough with bugzilla. ;)
> Putting a hold on feature requests for portage as they are drowning out the > bugs. This is not a feature request. I've documented inconsistent behaviour. That is a bug. Low priority, certainly, but a bug all the same. It's not resolved, and so I'm re-openning it. AfC
Strangely, it's not inconsistant behaviour. Portage should run cleaning on the directory prior to trying to build it, I'd bet you have keepwork on and it's getting reused. In terms of ebuild.sh actual execution, setup/unpack/compile aren't repeated, install is. it's odd, but it's legacy behaviour (something changed in developmental branch). Reopen if you don't have said features on please...