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

Bug 235904

Summary: perl-core/Encode-2.26 new ebuild
Product: Gentoo Linux Reporter: Nick Prater <nick>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: enhancement CC: andreamtp+bz, axiator, crook, patrick
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://search.cpan.org/~dankogai/Encode-2.26/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: perl-Encode-2.12.ebuild
perl-Encode-2.26.ebuild
Encode-2.26.ebuild

Description Nick Prater 2008-08-27 11:41:45 UTC
Encode >= 2.13 is a dependency for www-apps/rt-3.8.1

Encode-2.12 is part of dev-lang/perl-5.8.8-r5, but ther isn't a more recent version in portage.

I've created ebuilds as follows:
virtual/perl-Encode-2.12 (the version that's part of dev-lang/perl-5.8.8-r5)
virtual/perl-Encode-2.26 (rdepend on perl-core/Encode-2.26)
perl-core/Encode-2.26

I'm requesting that these are added to the tree (or is there a better way?)

Many thanks.
Comment 1 Nick Prater 2008-08-27 11:42:18 UTC
Created attachment 163887 [details]
perl-Encode-2.12.ebuild
Comment 2 Nick Prater 2008-08-27 11:42:40 UTC
Created attachment 163889 [details]
perl-Encode-2.26.ebuild
Comment 3 Nick Prater 2008-08-27 11:45:08 UTC
Created attachment 163890 [details]
Encode-2.26.ebuild
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2008-09-12 07:31:28 UTC
It's not done by adding these ebuilds to the tree because of collisions:

 * Detected file collision(s):
 * 
 *      /usr/bin/piconv
 *      /usr/bin/enc2xs

I am tired and have no solution atm.
Comment 5 Nick Prater 2008-10-10 09:08:40 UTC
> It's not done by adding these ebuilds to the tree because of collisions:
> 
>  * Detected file collision(s):
>  * 
>  *      /usr/bin/piconv
>  *      /usr/bin/enc2xs
> 
> I am tired and have no solution atm.

Thanks for looking at this Torsten.

I see this is ugly, but we actually want to overwrite piconv and enc2xs, just as we want to overwrite Encode.pm. So those file collisions aren't a problem in practice.

/usr/bin/piconv and /usr/bin/enc2xs are provided by an earlier version of Encode.pm which is bundled with dev-lang/perl:

# equery belongs /usr/bin/piconv
[ Searching for file(s) /usr/bin/piconv in *... ]
dev-lang/perl-5.8.8-r4 (/usr/bin/piconv)

# equery belongs /usr/bin/enc2xs
[ Searching for file(s) /usr/bin/enc2xs in *... ]
dev-lang/perl-5.8.8-r4 (/usr/bin/enc2xs)

# equery belongs /usr/lib/perl5/5.8.8/i686-linux/Encode.pm
[ Searching for file(s) /usr/lib/perl5/5.8.8/i686-linux/Encode.pm in *... ]
dev-lang/perl-5.8.8-r4 (/usr/lib/perl5/5.8.8/i686-linux/Encode.pm)

Why is it we don't see a file conflict for Encode.pm? Surely that has the same problem with this upgrade?

I'm sorry I don't have the answer - this is beyond my knowledge and experience. But I'd be grateful for any advice, suggestions or help in how to move this forward. Let me know what I can do :)
Comment 6 Nathan March 2009-08-25 19:59:50 UTC
Any hope of a fix for this?
Comment 7 Andy Crook 2009-09-18 14:43:40 UTC
Maybe upgrading to perl 2.8.9 would be enough (see bug #252824)?
It contains Encode-2.26
Comment 8 Torsten Veller (RETIRED) gentoo-dev 2009-11-15 15:23:45 UTC
perl-core/Encode-2.37 is finally in the tree. It needs >=dev-lang/perl-5.8.8-r8