With the new PDEPEND behavior introduced as a result of bug 180045 there is a build failure in stage3 with perl-core/Test-Harness because we can't use USE deps yet. dev-lang/perl is built in stage2 with the build USE flag so it is present at the beginning of stage3. In stage3 the build USE flag is turned off causing dev-lang/perl to PDEPEND on perl-core/Test-Harness which itself DEPENDs on dev-lang/perl. The resolver sees that the dep on perl is already satisfied since perl was built in stage2 and places the build of Test-Harness before the rebuild of perl without the build USE flag set. Test-Harness fails as it needs to be built with a perl without said USE flag enabled. Please provide a resolution. Thanks.
Reverting to portage-2.1.2.9 appears to correct the emerge order
Adding this dependency to dev-lang/perl should solve it: REDPEND="build? ( !perl-core/Test-Harness )" The resolver will see that perl-core/Test-Harness is blocked and therefore it has to rebuild dev-lang/perl first.
*** Bug 187737 has been marked as a duplicate of this bug. ***
Added suggested fix by Zac.
Guess we need the same for perl-core/PodParser and dev-perl/Locale-gettext.
(In reply to comment #5) > Guess we need the same for perl-core/PodParser and dev-perl/Locale-gettext. Thanks, I went ahead and added blockers for those.