Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 73649

Summary: perl blocks with File-Spec, etc?
Product: Gentoo Linux Reporter: Eric Brown <eric.brown>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Eric Brown 2004-12-07 05:15:39 UTC
I have some problems emerging spamassassin deps like dev-perl/File-Spec.  It seems that perl lists several packages, including File-Spec as a block.  Am I right to assume that File-Spec is part of the standard perl distribution at this point, so the functionality is built in now?

I would be inclined to assume that applications such as these:
spamassassin
Archive-Tar
Cache-cache
HTML-Mason
PodParser
Text-Harness

are wrong to depend on File-Spec on machines with newer versions of perl.  If that's the case, we could simply patch them... It looks like these blocks have been in the perl ebuild since 2003 though, so what's really going on?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Eric Brown 2004-12-07 05:29:17 UTC
On a further note, I mean File-Spec is a dep for spamassassin, and i think some of those other packages are indirectly depending on it.

I have another machine with spamassassin and perl 5.8.6 installed, but for some reason File-Spec is NOT installed... The ebuild for spamassassin says:

DEPEND="|| ( >=dev-lang/perl-5.8.2-r1
    ( >=dev-perl/ExtUtils-MakeMaker-6.11-r1
    >=dev-perl/File-Spec-0.8
    dev-perl/Time-Local
    dev-perl/Getopt-Long
    ) )

Since I have perl-5.8.6, I'm wondering how this happened? emerge spamassassin -pv doesn't show any deps, and it's R.
Comment 2 Eric Brown 2004-12-07 05:38:49 UTC
Sorry, it must be too early to be thinking properly,

The problem was that File-Spec needed to be ~x86, and that even as an ~x86 package, it would block on emerge -uD world.  It had to be updated before world.

I don't think it's really a bug anymore.
Comment 3 charlax 2004-12-07 11:53:33 UTC
Sorry but I'm french and I don't see what you mean.

Can you explain how you have repair this bug ?
Comment 4 Eric Brown 2004-12-07 14:02:50 UTC
1) I put this into my /etc/portage/package.keywords:
dev-perl/File-Spec ~x86 
2)  emerge File-Spec  (it should update to the ~x86 version)
3)  emerge -uD world (works normal now, no blocks)
Comment 5 charlax 2004-12-08 05:54:59 UTC
Thank you very much !

It works !