This bug has been reported upstream: https://rt.cpan.org/Ticket/Display.html?id=96951&results=eee337c2d5448b6ee414c3b37552298a
However, that is not really much relevant to upstream anymore, as this bug affects only Test-Simple versions 0.98_05 and 0.98_06
Its very rare to happen, and can only happen if perl-core/Test-Simple-0.980.5 is installed.
Which is peculiar, because no virtuals pertain to that perl-core/ version.
Unfortunately however, the virtuals themselves don't prevent this.
This is a legal combination:
And this configuration leads to Test::Class failing tests.
(Because in this configuration, the version of Test::Simple is 0.98_05, not 0.98 )
The simplest option here is to simply delete "perl-core/Test-Simple-0.980.5", which should have never entered portage as that number anyway as upstream consider that a "-dev" version.
> gentoo-perlmod-version.pl --lax=1 0.98_05
> 0.98_05 => 0.980.500_rc
=perl-core/Test-Simple-0.980.5 # Should be nuked
Providing a newer version of Test::Simple may also mask the symptoms, but that version really aught not to be in tree.
This bug should be impossible now due changes in virtuals.
but =perl-core/Test-Simple-0.980.5-r1 should still be obliterated because there is no legitimate way to install it any more.
core : 0.980.0-r1
core : 1.1.2 ( Overlay only )
core : 0.980.5-r1
After talking to dilfridge on IRC, we've decided to erase the package without masking it. Indeed, we're only removing a version of the package and not the entire Portage tree directory so it is fine to do so.
Here's the last ChangeLog entry, as far as perl-core/Test-Simple is concerned:
$ head -6 ChangeLog
# ChangeLog for perl-core/Test-Simple
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/perl-core/Test-Simple/ChangeLog,v 1.99 2014/10/28 23:26:11 monsieurp Exp $
28 Oct 2014; Patrice Clement <firstname.lastname@example.org> -Test-Simple-0.980.5-r1.ebuild:
Removing this package. See bug 520756.
> Removing this package. See bug 520756.
Now the question is, did you get that right in the changelog =)