Bug 18150 - dev-perl/CGI needs <=perl-5.6.1
Bug#: 18150 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: rac@gentoo.org Reported By: mcummings@gentoo.org
Component: Ebuilds
URL: 
Summary: dev-perl/CGI needs <=perl-5.6.1
Keywords:  
Status Whiteboard: 
Opened: 2003-03-25 08:12 0000
Description:   Opened: 2003-03-25 08:12 0000
Leave it to me to find a bug on the eve of my "retiring" from being a dev. The
ebuild we have for dev-perl/CGI needs to have <=perl-5.6.1 added to it's DEPEND
list. Perl 5.8.0 comes with the newer version of CGI, which is overridden by the
ebuild. The newer version of CGI does not appear to be available via CPAN as a
seperate download, only as a part of perl 5.8.0. Users upgrading to perl 5.8.0
or using perl 5.8.0 who emerge CGI will override the newer version which can
lead to complications (the newer version resolves bugs in operation). In
addition, any ebuild that depends on dev-perl/CGI will need to be made an
optional dep depending on perl version. I can provide code/corrected ebuilds if
needed. I'm sure there are others, but this is the one I hit last night.

------- Comment #1 From Robert Coie (RETIRED) 2003-03-26 15:17:26 0000 -------
Fixed in CVS.  Thanks, and I'll be on the lookout for others.

------- Comment #2 From Robert Coie (RETIRED) 2003-03-26 16:44:58 0000 -------
This is rather stickier than I thought it would be.  Perl 5.8.0 is in stable,
and changing this dependency forces people that already have it installed to
downgrade, which is probably a worse evil.  The dependency has effectively
been reverted to "any version of perl", and dev-perl/CGI has been masked
in package.mask.

------- Comment #3 From Robert Coie (RETIRED) 2003-03-26 19:17:24 0000 -------
Closing again.  Decided to add 2.81 (the version in the 5.8.0 core) as stable, 
since 5.8.0 itself is marked as stable.  This will do no harm.  2.91 is now
~arch masked for testing, but can probably be moved to stable soon if no problems
are reported.

------- Comment #4 From Martin Holzer (RETIRED) 2003-03-29 09:19:08 0000 -------
this can't be a solution
1) since default-1.0 has perl-5.6.1 you can't mask it global

2) you breaked mysqltool with this

 # emerge mysqltool
Calculating dependencies |
!!! all ebuilds that could satisfy "dev-perl/CGI" have been masked.
!!!    (dependency required by "dev-db/mysqltool-0.95-r1" [ebuild])

!!! Error calculating dependancies. Please correct.


------- Comment #5 From Robert Coie (RETIRED) 2003-03-29 12:26:24 0000 -------
Apparently dev-perl/CGI was still left in package.mask.  Thank you for catching
this.