Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18150 - dev-perl/CGI needs <=perl-5.6.1
Summary: dev-perl/CGI needs <=perl-5.6.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robert Coie (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-25 08:12 UTC by Michael Cummings (RETIRED)
Modified: 2003-03-29 12:26 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 Cummings (RETIRED) gentoo-dev 2003-03-25 08:12:17 UTC
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 Robert Coie (RETIRED) gentoo-dev 2003-03-26 15:17:26 UTC
Fixed in CVS.  Thanks, and I'll be on the lookout for others.
Comment 2 Robert Coie (RETIRED) gentoo-dev 2003-03-26 16:44:58 UTC
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 Robert Coie (RETIRED) gentoo-dev 2003-03-26 19:17:24 UTC
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 Martin Holzer (RETIRED) gentoo-dev 2003-03-29 09:19:08 UTC
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 Robert Coie (RETIRED) gentoo-dev 2003-03-29 12:26:24 UTC
Apparently dev-perl/CGI was still left in package.mask.  Thank you for catching
this.