Bug#708074: libfile-libmagic-perl: FTBFS with perl 5.18: Devel::CheckLib syntax errors

gregor herrmann gregoa at debian.org
Mon May 13 18:57:07 UTC 2013


On Sun, 12 May 2013 23:37:26 +0100, Dominic Hargreaves wrote:

> This package FTBFS with perl 5.18 from experimental (in a clean
> sbuild session):
> 
> syntax error at inc/Devel/CheckLib.pm line 163, near "$mm_attr_key qw(LIBS INC)"
> 
> ...
> 
> Devel::CheckLib needs to be upgraded.

Unfortunately this is not enough; after updating
inc/Devel/CheckLib.pm, one test fails (silently and somewhere in the
(XS?) code itself):

   dh_auto_test
make[1]: Entering directory `/tmp/buildd/libfile-libmagic-perl-0.96'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1.t .................. ok
t/2-easy.t ............. ok
t/3-complete-errors.t .. ok
t/3-complete.t ......... ok
t/4-all.t .............. ok
t/6-oo.t ............... 
Failed 9/20 subtests 

Test Summary Report
-------------------
t/2-easy.t           (Wstat: 0 Tests: 6 Failed: 0)
  TODO passed:   6
t/3-complete-errors.t (Wstat: 0 Tests: 7 Failed: 0)
  TODO passed:   6
t/6-oo.t             (Wstat: 139 Tests: 11 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 20 tests but ran 11.
Files=6, Tests=46,  0 wallclock secs ( 0.04 usr  0.02 sys +  0.16 cusr  0.04 csys =  0.26 CPU)
Result: FAIL
Failed 1/6 test programs. 0/46 subtests failed.


[..]

# prove --blib --verbose t/6-oo.t 
t/6-oo.t .. 
1..20
ok 1 - The object isa File::LibMagic
ok 2 - MIME t/samples/foo.c
ok 3 - Describe t/samples/foo.c
ok 4 - MIME data t/samples/foo.c
ok 5 - Describe data t/samples/foo.c
ok 6 - MIME t/samples/foo.foo
ok 7 - Describe t/samples/foo.foo
ok 8 - MIME data t/samples/foo.foo
ok 9 - Describe data t/samples/foo.foo
ok 10 - The object isa File::LibMagic
ok 11 - MIME t/samples/foo.c
Failed 9/20 subtests 

Test Summary Report
-------------------
t/6-oo.t (Wstat: 139 Tests: 11 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 20 tests but ran 11.
Files=1, Tests=11,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.01 cusr  0.02 csys =  0.05 CPU)
Result: FAIL



I tracked down the failure until
    my $m = magic_open( MAGIC_NONE() );
blib/lib/File/LibMagic.pm, sub _descr_handle, line 72,
but then none of magic was left.


Cheers,
gregor
 

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Dido: Honestly OK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130513/1f15f9ab/attachment-0001.pgp>


More information about the pkg-perl-maintainers mailing list