Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250632 - [perl-overlay] perl modules have bogus deps on perl 5.10
Summary: [perl-overlay] perl modules have bogus deps on perl 5.10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-11 18:27 UTC by michael higgins
Modified: 2009-03-21 10:21 UTC (History)
1 user (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 michael higgins 2008-12-11 18:27:33 UTC
perl modules are blocking deep world update because of bogus dependency on perl 5.10

Reproducible: Always

Steps to Reproduce:
1. Atttempt to update "world" 
2. MRO-Compat-0.09 fails
3. MRO-Compat-0.09-r1 fails

Wants perl 5.10.0 (not in stable tree, why the dependency?)
Actual Results:  
I checked with #gentoo-perl No real help or any explanation there. Finally just unmasked every perl module in the tree in order to have a day. This can't be the approved solution, can it?

Expected Results:  
Can't update world

No blocks resulting from modules ALREADY INSTALLED, allowing update to world
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-11 18:34:58 UTC
Hi,
Where does MRO-Compat come from? I cannot find it. Also, please post your emerge --info and the emerge output saying it is blocked. Thanks.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-11 18:41:45 UTC
found it: http://svn.danieltwc.com/overlays/perl-common/trunk/dev-perl/

Regardless, We can't control external overlays. So, you need to contact the author about your problem here. Thanks.
Comment 3 Daniel Pielmeier gentoo-dev 2008-12-11 18:57:23 UTC
I guess this is from the perl-experimental overlay [1] where also perl-5.10 resides.

[1] http://overlays.gentoo.org/proj/perl/browser/perl-experimental
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-11 19:07:38 UTC
(In reply to comment #3)
> I guess this is from the perl-experimental overlay [1] where also perl-5.10
> resides.
> 
> [1] http://overlays.gentoo.org/proj/perl/browser/perl-experimental
> 

Ah, interesting. Thanks..

So, I guess this needs to be addressed by tove or some other perl guy.
Comment 5 Michele Beltrame 2008-12-11 19:56:28 UTC
Fixed in MRO-Compat-0.09-r2 (perl-experimental)

Please test and let me know.
Comment 6 michael higgins 2008-12-12 00:58:55 UTC
This is the initial problem. After sync, emerge system. Accept case and s/core/dev name changes to /etc/portage/package.keywords (odd, but IDK if related). Then emerge world:

echo >nohup.out ; nohup emerge -puDNtv world & tail -f nohup.out 
[1] 24332

nohup: ignoring input and appending output to `nohup.out'

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

Calculating world dependencies  ..

!!! Problem resolving dependencies for dev-perl/catalystframework

emerge: there are no ebuilds to satisfy ">=dev-perl/perl-5.10.0".
(dependency required by "dev-perl/MRO-Compat-0.09" [installed])

!!! Depgraph creation failed.

So, I'll try to update:
 emerge -av '>dev-perl/MRO-Compat-0.09'

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

Calculating dependencies \
!!! All ebuilds that could satisfy ">dev-perl/MRO-Compat-0.09" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-perl/MRO-Compat-0.09-r2 (masked by: ~x86 keyword)
- dev-perl/MRO-Compat-0.09-r1 (masked by: ~x86 keyword)

(How did I install it to begin, if it's masked? I don't understand what happened.)

echo 'dev-perl/MRO-Compat ~x86' >>/etc/portage/package.keywords 
 emerge -1av '=dev-perl/MRO-Compat-0.09-r2'

Messages for package dev-perl/MRO-Compat-0.09-r2:

Thanks! ;-)

Then :

Calculating world dependencies  . 
!!! Ebuilds for the following packages are either all
!!! masked or don't exist:
dev-perl/Module-Install dev-perl/DateTime-Format-MySQL dev-perl/catalystframework

??? First it has unresolvable dependencies, then it disappears?!?

[D] dev-perl/catalystframework [1]
     Available versions:  ~5.7013 ~5.7014 ~5.7015
     Installed versions:  5.7014(03:31:04 PM 09/15/2008)
     Homepage:            http://www.catalystframework.org/
     Description:         Meta package for Catalyst - The Elegant MVC Web Application Framework, and all the plugins you need to get started

[1] "perl-experimental" /usr/portage/local/layman/perl-experimental

So, I can't figure why it sez it can't find it... oh, it's masked. I see. SO who masked it and why?

Aside, I got this advice too:
(11:16:37 AM): hey
(11:17:59 AM): I just read your emssages in #gentoo-perl. MRO-Compat depends on either perl 5.10.0 OR (Class-C3 AND Class-C3-XS)
(11:18:15 AM): so installing those ebuild would probably do the trick
(04:24:49 PM) ME: Sorry, not very good with IRC. I got some help via new sync, another version works. Also:
(04:24:50 PM) User is not logged in
(04:24:57 PM) ME: package MRO::Compat; use strict; use warnings; require 5.006_000; 
(04:24:57 PM) User is not logged in

... So, I think there is not dependency on 5.10.0 -- from what I see it is 5.6. Can anyone shed some light on why this happened and why perl stuff got suddenly masked? ;-)
Comment 7 Michele Beltrame 2008-12-12 07:29:17 UTC
All the ebuilds of perl-experimental have been marches (by ~arch keyword) because it was a requirement for being in the perl-experimental overlay. 
The mistake was in me not having masked all those packages in the first place.

The easiest thing you can do is add all the packages of perl-experimental to you /etc/packages.keywords. This can be done automatically:

ls -1 /usr/portage/local/layman/perl-experimental/dev-perl/ | awk '{ print "dev-perl/" $1 " ~amd64"}' >>/etc/portage/package.keywords

Michele.

Comment 8 Torsten Veller (RETIRED) gentoo-dev 2009-03-21 10:21:41 UTC
I think this one is fixed.