William J. Horka wrote on 7/13/09 11:49 AM:
Hi all,

Just a heads-up regarding the recent (07-Jul-2009) update of
perl-Devel-StackTrace to 1.21:

We're running a Request Tracker installation, and after the update from
perl-Exception-Class-1.24 to perl-Exception-Class-1.29 and a httpd
restart, it started logging the following error:

[Sun Jul 12 19:16:50 2009] [error] Devel::StackTrace version 1.2
required--this is only version 1.1902 at
/usr/lib/perl5/vendor_perl/5.8.8/Exception/Class/Base.pm line 9.\nBEGIN
failed--compilation aborted at
[snip]

This appears to be because yum and rpm read the version number "1.1902"
in perl-Devel-StackTrace-1.1902 as "one point one thousand nine hundred
two" (instead of reading it as the perlish way of writing "one point
nineteen oh-two"), and thus don't see perl-Devel-StackTrace-1.21 as an
update.

The fault of the CPAN package maintainer, usually. They left out a decimal point in the 1.1902 version number, which really should have been 1.19.02. The numbers in version numbers aren't decimals, the decimal point is just a placeholder between them. So 1902 is indeed higher than 21, so the maintainer technically went backwards on their version number.

We've had to work around a few of these in our version checks in Bugzilla, too, as there's a few CPAN maintainers who do that occasionally, and it confuses the hell out of all of the version compare utilities (the Perl library ones, too, not just yum)

--
Dave Miller                                   http://www.justdave.net/
System Administrator, Mozilla Corporation      http://www.mozilla.com/
Project Leader, Bugzilla Bug Tracking System  http://www.bugzilla.org/
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to