Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453268 - dev-lang/perl-5.16.2 causes dependency conflict with all perl modules
Summary: dev-lang/perl-5.16.2 causes dependency conflict with all perl modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-21 03:02 UTC by Mike Gilbert
Modified: 2013-07-30 03:43 UTC (History)
4 users (show)

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


Attachments
fixed ebuild (perl-5.16.2.ebuild,4.15 KB, text/plain)
2013-01-21 05:53 UTC, jeremy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2013-01-21 03:02:35 UTC
By setting EAPI=5, the ebuild triggers stricter handling of IUSE, causing errors like this:

WARNING: One or more updates have been skipped due to a dependency conflict:

dev-lang/perl:0

  (dev-lang/perl-5.16.2::gentoo, ebuild scheduled for merge) conflicts with
    dev-lang/perl[-build] required by (dev-perl/Net-HTTP-6.30.0::gentoo, installed)
  (dev-lang/perl-5.16.2::gentoo, ebuild scheduled for merge) conflicts with
    dev-lang/perl[-build] required by (dev-perl/Encode-Locale-1.30.0::gentoo, installed)
  (dev-lang/perl-5.16.2::gentoo, ebuild scheduled for merge) conflicts with
    dev-lang/perl[-build] required by (perl-core/IO-1.25::gentoo, installed)
  (dev-lang/perl-5.16.2::gentoo, ebuild scheduled for merge) conflicts with
    dev-lang/perl[-build] required by (dev-util/App-SVN-Bisect-1.1::gentoo, installed)

Possible resolutions are:

1. Add build to IUSE in dev-lang/perl-5.16.2

2. Change the dependency to "dev-lang/perl[-build(-)]" in perl-module.eclass and upgrade all perl modules to EAPI >= 4

3. Downgrade perl-5.16.2 to EAPI 4 temporarily
Comment 1 Arfrever Frehtes Taifersar Arahesis 2013-01-21 03:13:53 UTC
4. Add "build" (and maybe "bootstrap" for consistency) to IUSE_IMPLICIT variable in gentoo-x86/profiles/base/make.defaults.
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2013-01-21 04:47:20 UTC
I am tempted to choose a) add "build" to perl-5.16.2 and remove it once the older ebuilds are gone.

But I cannot fix it right now. If anyone wants to, just do it.
Comment 3 jeremy 2013-01-21 05:46:32 UTC
I choose option 1 and just moved it to my local overlay. Worked like a champ. defaults to disabled anyway (-build)
Comment 4 jeremy 2013-01-21 05:53:12 UTC
Created attachment 336302 [details]
fixed ebuild
Comment 5 Mike Gilbert gentoo-dev 2013-01-21 06:24:25 UTC
(In reply to comment #2)

Sounds good to me. Committed.
Comment 6 Aaron Webster 2013-01-27 12:49:35 UTC
It's unclear to me how to exactly resolve the problem.  I've synced the new ebuild but when I try to emerge it with the build flag all my perl modules complain, for example, 

    dev-lang/perl[-build] required by (dev-perl/libxml-perl-0.80.0::gentoo, installed)

Is there a workaround for this?
Comment 7 Torsten Veller (RETIRED) gentoo-dev 2013-01-27 13:48:32 UTC
"build" is only used in early stage building.

Do emerge dev-lang/perl with USE="-build".