develooper Front page | perl.perl5.porters | Postings from April 2010

Re: strategy advice needed (5.10 or 5.12?)

Thread Previous | Thread Next
George Greer
April 29, 2010 17:13
Re: strategy advice needed (5.10 or 5.12?)
Message ID:
On Thu, 29 Apr 2010, Greg Lindahl wrote:

> In the past there have been various discussions about getting a modern
> perl onto CentOS 5.
> We have made 5.10 rpms based on the Fedora 12 rpms, and planned on
> making them public, so that a bunch of us don't have to re-do this
> work. Safety in numbers, I always say.

I just started this at $WORK, although I'm changing the %_prefix of the 
packages so mine wouldn't help you much.

Biggest problems I've had:

1) Circular dependencies in the RPMs.
    (Test::MinimumVersion vs. Perl::MinimumVersion, for example.)

2) CentOS 5 'rpm' can't handle Fedora 13 SHA hashes.
    (Solution: Rebuilt Fedora 10 SRPM for 'rpm'.)

3) Fedora 13 .spec files assuming man pages are compressed.
    (Solution: Edit .spec ".3pm.gz -> .3pm*" and 'rpmbuild -ba .spec')

4) Some CPAN modules need newer versions to pass tests.
    (Downloading the new .tar and upping the .spec version is easy though.)

5) XML::Parser will fail its tests due to Fedora patches.

I also plan to add a patch of my own from 

> And, alas, RHEL 6 is going to ship perl 5.10. Presumably this means
> Red Hat plans on backporting fixes. Or something. They don't exactly
> have a great track record fixing bugs in what they ship. But, it will
> be fairly easy to track whatever bugfixes they do backport.

Ones I've filed bugs for they've been responsive to.  Of course you could 
volunteer to help too.

> My quandry is whether I should retarget to 5.12. The only reason not
> to is that 5.12 hasn't been packaged by a mainstream distro, yet, and
> thus might have not had enough testing.
> What do you guys think?

We switched from 5.8.4 to 5.10.0 without issues (other than #60508 which 
was infrequent) and given the extra attention on 5.12 I'm confident it 
won't be more surprising.

George Greer

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About