Bug#722332: libcommon-sense-perl: common::sense runs into trouble with Perl 5.18, eg. no say().

Hagen Fuchs code at hfuchs.net
Wed Sep 11 14:23:52 UTC 2013


> [package tracking system and git repository]

I see, thanks!

> Wondering if we should clone it with lowered severity for a more
> elegant fix. Comments?

Executive Sum.: Upstream is cleared of any wrongdoing, common::sense
needs to be built for every Perl version anew.

Longer:
I've been delving into common::sense's source and realized that the
magic number (0x820f00 in the old version's case) is actually set
correctly according to Perl version in the build script, sense.pm.PL .
So, if common::sense is being built with Perl 5.18 it will work with
5.18 but not with 5.14 and perhaps not even with 5.20 (due to the
fast-changing Perl 'feature' facility evinced by the ephemeral nature of
$^H).

So the line

> >     sed -i 's|0x820f00|0x1c000000|' /usr/lib/perl5/common/sense.pm

simply worked, because it reset the 5.14 $^H to a version that's at
least length-wise compatible with 5.18's.

Does that make any ... No, no cheap pun today.

That's a bit of a bummer for the package's progression through
unstable-testing-stable, though, isn't it?  Or is that only a problem in
my mind?

Regards,
  Hagen



More information about the pkg-perl-maintainers mailing list