Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275966 - perl-core/Test-Harness depends on dev-lang/perl[-build]
Summary: perl-core/Test-Harness depends on dev-lang/perl[-build]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-30 16:48 UTC by Tom Prince
Modified: 2011-01-23 16:04 UTC (History)
0 users

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 Tom Prince 2009-06-30 16:48:36 UTC
Test-Harness depends on ExtUtils/MakeMaker/Config.pm, which is only installed with USE=-build.
Comment 1 Tom Prince 2009-06-30 17:08:11 UTC
This also affects perl-core/PodParse and dev-perl/Locale-gettext.

This is an issue build a stage3 tarball from ~arch, as otherwise all three pacakges are build before dev-lang/perl is rebuild without USE=build

dev-perl/Locale-gettext is part of a circular dependency.

dev-perl/Locale-gettext depends on dev-lang/perl depends on sys-libs/db depends on sys-devel/automake depends on sys-apps/help2man depends on dev-perl/Locale-gettext.
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2009-07-01 14:48:00 UTC
(In reply to comment #1)
> This is an issue build a stage3 tarball from ~arch, as otherwise all three
> pacakges are build before dev-lang/perl is rebuild without USE=build

I don't understand what you are doing exactly and why the modules are installed before perl. Can you please explain?
Comment 3 Tom Prince 2009-07-01 15:15:09 UTC
When building a stage3 tarball with metro, with ~amd64. The stage2 tarball has perl installed with USE=build. Then when rebuilding for stage3, with -build, portage decides to build the modules before perl itself, and so they fail due to lack of ExtUtils/MakeMaker/Config.pm 
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2009-07-01 15:42:38 UTC
I don't know how metro works, does it use portage?
Because this should be fixed by bug 250020 and in >=portage-2.1.6.8.

Is some other package depending on Test-Harness?

The problem is: If I'd change it, whose build system will freak out next. But it seems to be sane.
Comment 5 Tom Prince 2009-07-01 16:11:55 UTC
It is an issue with portage. I can cause the errors with emerge directly.

This issue seems to be subtle. The problem seems to appear only when help2man pulls in Locale-gettext. The problem doesn't seem to manifest with USE=-nls, preventing Locale-gettext being pulled in, or USE=-berkdb which prevents db (and hence automake and help2man) from being pulled in.
Comment 6 Torsten Veller (RETIRED) gentoo-dev 2011-01-23 16:04:00 UTC
Latest testing perl-core/Test-Harness depends on dev-lang/perl[-build]