Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485166 - net-nds/openldap should not depend on dev-lang/perl[-build]
Summary: net-nds/openldap should not depend on dev-lang/perl[-build]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-17 05:40 UTC by Luke-Jr
Modified: 2014-11-08 05:09 UTC (History)
2 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 Luke-Jr 2013-09-17 05:40:06 UTC
At least dev-lang/perl-5.16.1 seems to have removed the 'build' USE flag, yet a number of other ebuilds in the tree have USE dependencies on [-build] without specifying a default.

These should be changed from dev-lang/perl[-build] to dev-lang/perl[-build(-)]

app-doc/podbrowser
dev-vcs/git
net-nds/openldap
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-09-17 14:55:16 UTC
app-doc/podbrowser
dev-vcs/git
net-nds/openldap
Comment 2 Linlin Yan 2013-10-23 17:44:00 UTC
I got this problem (warning) too:

# emerge -avuDN --with-bdeps=y @world

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB

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

dev-lang/perl:0

  (dev-lang/perl-5.16.3::gentoo, ebuild scheduled for merge) conflicts with
    dev-lang/perl[-build] required by (dev-vcs/git-1.8.1.5-r1::gentoo, installed)


Nothing to merge; quitting.
Comment 3 J. M. Gottfried 2013-10-30 19:28:19 UTC
(In reply to Jeroen Roovers from comment #1)
> app-doc/podbrowser
> dev-vcs/git
> net-nds/openldap

This problem is now disturbing updates for two weeks.
Changing dev-lang/perl[-build] to dev-lang/perl[-build(-)]
as described above (e.g. in git ebuild) solves the problem here.
Could this tiny change be committed into the main portage tree please?
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-12-06 14:03:14 UTC
+  06 Dec 2013; Lars Wendler <polynomial-c@gentoo.org> git-1.8.1.5.ebuild,
+  git-1.8.1.5-r1.ebuild, git-1.8.2.1.ebuild, -git-1.8.3.2.ebuild,
+  -git-1.8.4.ebuild, -git-1.8.4.2.ebuild, -git-1.8.4.3.ebuild,
+  -git-1.8.4.4.ebuild:
+  Fixed remaining ebuilds who suffer from bug #485166. Removed some older
+  versions.
+
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2013-12-06 22:43:35 UTC
What's the EAPI2 compatible way of implementing dev-lang/perl[-build(-)]?
I have fixed the EAPI4 versions of OpenLDAP
Comment 6 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2013-12-08 15:43:49 UTC
(In reply to Robin Johnson from comment #5)
> What's the EAPI2 compatible way of implementing dev-lang/perl[-build(-)]?
> I have fixed the EAPI4 versions of OpenLDAP

Can we drop versions with old EAPI (less than 4)?
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2013-12-09 03:49:38 UTC
No, we can't. One of them esp is the old major 2.3 series that is there as it's needed for anybody that isn't upgrading to the 2.4 series yet; we can ask for stablereq on the EAPI5 stuff soon and drop the rest of the 2.4 series after that.
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2014-06-29 22:17:49 UTC
app-doc/podbrowser fixed (affected version removed)
Comment 9 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-10-14 11:41:37 UTC
dev-vcs/git looks good now,
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2014-11-08 01:32:16 UTC
(In reply to Robin Johnson from comment #5)
> What's the EAPI2 compatible way of implementing dev-lang/perl[-build(-)]?
> I have fixed the EAPI4 versions of OpenLDAP

"|| ( >=dev-lang/perl-5.16 <dev-lang/perl-5.16[-build] )"

^ this is how perl-module.eclass does it for now.

However, Perl 5.12 (the last unmasked version before 5.16) is gone since 04 Jul 2014. It's probably safe to just keep 

">=dev-lang/perl-5.16" 

(and even 5.16 will be dropped tomorrow).
Comment 11 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2014-11-08 05:09:33 UTC
Implemented now; these have compatibility support a long way back, so i'm using the long version to not force a perl upgrade on the users.