in dev-utils/git the some make options are set in the src_unpack function. this does not work when building with keepwork, and stopping somewhere in the build process, and restarting. when moving the function call for setting the make options from src_unpack to src_compile, everything works as expected. Reproducible: Always Steps to Reproduce: 1. build git with FEATURES="keepwork" 2. cancel building somewhere while compiling. 3. start building again Actual Results: the make options (which are fital for building git correctly (argl :) )) are re-set to the defaults, since they are not set anymore on the second compile (src_unpack not called there...) Expected Results: ...
(In reply to comment #0) > when moving the function call for setting the make options from src_unpack to > src_compile, everything works as expected. This is because keepwork does not preserve ${T}/environment. For maximum consistency, I think change the keepwork behavior so that the make options that are set inside src_unpack will not be lost.
This is fixed in 2.1.5_rc1.