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

Bug 516424

Summary: perl-core/Test-Simple-0.980.5-r1 : Please remove this version from tree.
Product: Gentoo Linux Reporter: Kent Fredric (IRC: kent\n) (RETIRED) <kentnl>
Component: [OLD] DevelopmentAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 300119    

Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-07-05 10:35:28 UTC
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:

=perl-core/Test-Simple-0.980.5 
=virtual/perl-Test-Simple-0.980.0-r3
=dev-lang/perl-5.18.2

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


======

TLDR:

=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.
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-10-15 02:52:33 UTC
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.

Good:
virtual: 0.980.0-r5
core   : 0.980.0-r1

Okish: 
virtual: 1.1.2
core   : 1.1.2  ( Overlay only )

Bad:
virtual: NONE
core   : 0.980.5-r1
Comment 2 Patrice Clement gentoo-dev 2014-10-28 23:52:20 UTC
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:
$ pwd
/home/patrice/gentoo-x86/perl-core/Test-Simple
$ 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 <monsieurp@gentoo.org> -Test-Simple-0.980.5-r1.ebuild:
  Removing this package. See bug 520756.

Thanks Kent!
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-10-29 08:19:02 UTC
> Removing this package. See bug 520756.

Now the question is, did you get that right in the changelog =)