Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187866 - >=portage-2.1.2.11 causes build problems with PDEPEND in stage3
Summary: >=portage-2.1.2.11 causes build problems with PDEPEND in stage3
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 187737 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-06 00:53 UTC by Daniel Ostrow (RETIRED)
Modified: 2007-08-17 22:57 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Ostrow (RETIRED) gentoo-dev 2007-08-06 00:53:50 UTC
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.
Comment 1 Brent Baude (RETIRED) gentoo-dev 2007-08-06 01:09:18 UTC
Reverting to portage-2.1.2.9 appears to correct the emerge order
Comment 2 Zac Medico gentoo-dev 2007-08-06 01:28:55 UTC
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.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-08-06 07:35:37 UTC
*** Bug 187737 has been marked as a duplicate of this bug. ***
Comment 4 Christian Hartmann (RETIRED) gentoo-dev 2007-08-06 10:21:56 UTC
Added suggested fix by Zac.
Comment 5 Christian Heim (RETIRED) gentoo-dev 2007-08-13 19:18:23 UTC
Guess we need the same for perl-core/PodParser and dev-perl/Locale-gettext.
Comment 6 Zac Medico gentoo-dev 2007-08-17 22:57:56 UTC
(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.