PaulHowarth/Blog/2013-07-31

Wednesday 31st July 2013

Fedora Project

  • Updated perl-CPAN-Meta-Check to 0.007 in Rawhide (f20-perl):

    • Fixed bad dereference during conflicts checking
    • Swap conflicts test, as underscore versions broke it (CPAN RT#87438)

  • Updated perl-RRD-Simple and perl-Sub-Exporter in Rawhide (f20-perl) to handle filtering of provides from unversioned doc-dirs from Fedora 20 onwards

Local Packages

  • New package perl-Devel-Caller (2.06)

  • New package perl-Devel-LexAlias (0.05)

  • Updated perl-common-sense to 3.71:

    • Move pod to separate file, to further improve loading times
    • Make it arch-specific, adding a test that warns when an old version is still installed
    • Due to a logic glitch, warnings were not enabled at all on 5.16
    • CPAN failed to parse the version number in 3.7, try to work around
  • The restructuring of this module didn't seem to have gone well:
  • $ perl Makefile.PL INSTALLDIRS=vendor
    Checking if your kit is complete...
    Looks good
    Writing Makefile for common::sense
    $ make
    /usr/bin/perl sense.pm.PL sense.pm
    cp sense.pm blib/arch/common/common/sense.pm
    cp sense.pod blib/lib/common/common/sense.pod
    $ make test
    PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    Can't locate common/sense.pm in @INC (@INC contains: /builddir/build/BUILD/common-sense-3.71/blib/lib /builddir/build/BUILD/common-sense-3.71/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at t/00_load.t line 3.
    BEGIN failed--compilation aborted at t/00_load.t line 3.
    t/00_load.t ..
    Dubious, test returned 2 (wstat 512, 0x200)
    Failed 1/1 subtests
    Can't locate common/sense.pm in @INC (@INC contains: /builddir/build/BUILD/common-sense-3.71/blib/lib /builddir/build/BUILD/common-sense-3.71/blib/arch /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at t/01_arch.t line 3.
    BEGIN failed--compilation aborted at t/01_arch.t line 3.
    t/01_arch.t ..
    Dubious, test returned 2 (wstat 512, 0x200)
    Failed 1/1 subtests
    Test Summary Report
    -------------------
    t/00_load.t (Wstat: 512 Tests: 1 Failed: 1)
      Failed test:  1
      Non-zero exit status: 2
    t/01_arch.t (Wstat: 512 Tests: 0 Failed: 0)
      Non-zero exit status: 2
      Parse errors: Bad plan.  You planned 1 tests but ran 0.
    Files=2, Tests=1,  0 wallclock secs ( 0.02 usr +  0.00 sys =  0.02 CPU)
    Result: FAIL
    Failed 2/2 test programs. 1/1 subtests failed.
  • This patch to Makefile.PL resolved that:

  • @@ -9,8 +9,8 @@
         NAME        => "common::sense",
         VERSION_FROM => "sense.pm.PL",
         PM          => {
    -       "sense.pm"  => '$(INST_ARCHLIBDIR)/common/sense.pm',
    -       "sense.pod" => '$(INST_LIBDIR)/common/sense.pod',
    +       "sense.pm"  => '$(INST_ARCHLIBDIR)/sense.pm',
    +       "sense.pod" => '$(INST_LIBDIR)/sense.pod',
         },
         clean       => { FILES => "sense.pm" },
     );
  • There were also issues with the POD and README, which I sent upstream along with that patch; there was a subsequent 3.72 release (which I updated to) but that only addressed the main install path issue
  • Updated perl-CPAN-Meta-Check to 0.007 as per the Fedora version

  • Updated perl-Eval-Closure to 0.11:

    • Add "alias => 1" option for making closure variables actually alias the closed over variables (so the variable referenced in the environment hashref will actually be updated by changes made in the closure)

  • Updated perl-Sub-Exporter as per the Fedora version


Recent