Bug#758127: libwx-perl: FTBFS on arm*

Damyan Ivanov dmn at debian.org
Thu Aug 14 14:21:03 UTC 2014


Control: tag -1 confirmed

-=| gregor herrmann, 14.08.2014 15:41:08 +0200 |=-
> Source: libwx-perl
> Version: 1:0.9923-2
> Severity: serious
> Justification: fails to build from source (but built successfully in the past)
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> libwx-perl has test failures on arm{el,hf}:
> 
> https://buildd.debian.org/status/logs.php?pkg=libwx-perl&ver=1%3A0.9923-2

Here's a backtrace on abel (armel):

("BEGIN finished at t/01_load.t line 7." was inserted by me in the test.)

(gdb) run -I blib/lib -I blib/arch t/01_load.t
Starting program: /usr/bin/debugperl -I blib/lib -I blib/arch t/01_load.t
Cannot access memory at address 0x0
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabi/libthread_db.so.1".
1..6
Xlib:  extension "RANDR" missing on display ":99".
ok 1 - use Wx;
BEGIN finished at t/01_load.t line 7.

Program received signal SIGSEGV, Segmentation fault.
XS_Wx__load_plugin (my_perl=0x26b008, cv=<optimized out>) at Wx.c:646
646         RETVAL = PTR2IV( lib->GetLibHandle() );
(gdb) bt
#0  XS_Wx__load_plugin (my_perl=0x26b008, cv=<optimized out>) at Wx.c:646
#1  0x000f61b4 in Perl_pp_entersub (my_perl=0x26b008) at pp_hot.c:2888
#2  0x000c2560 in Perl_runops_debug (my_perl=0x26b008) at dump.c:2213
#3  0x00043c1c in Perl_call_sv (my_perl=0x0, my_perl at entry=0x26b008, 
    sv=sv at entry=0x26b008, flags=flags at entry=13) at perl.c:2766
#4  0x00046a48 in Perl_call_list (my_perl=my_perl at entry=0x26b008, 
    oldscope=7220208, oldscope at entry=13, paramList=0x4) at perl.c:4921
#5  0x00023c4c in S_process_special_blocks (my_perl=my_perl at entry=0x26b008, 
    floor=floor at entry=10, fullname=fullname at entry=0x29027c "BEGIN", 
    gv=gv at entry=0x3a6d90, cv=cv at entry=0x6e2aa0) at op.c:7717
#6  0x0003b024 in Perl_newATTRSUB_flags (my_perl=my_perl at entry=0x26b008, 
    floor=floor at entry=175, o=o at entry=0x99b524, proto=proto at entry=0x0, 
    attrs=attrs at entry=0x0, block=0x3ecb8 <Perl_utilize+1008>, 
    flags=flags at entry=0) at op.c:7681
#7  0x0003ecb8 in Perl_newATTRSUB (block=<optimized out>, attrs=0x0, 
    proto=0x0, o=0x99b524, floor=175, my_perl=0x26b008) at op.c:7354
#8  Perl_utilize (my_perl=my_perl at entry=0x26b008, aver=<optimized out>, 
    floor=175, version=<optimized out>, idop=0x7bc4c4, arg=<optimized out>)
    at op.c:5139
#9  0x00083058 in Perl_yyparse (my_perl=my_perl at entry=0x26b008, 
    gramtype=gramtype at entry=258) at perly.y:397
#10 0x0014dd68 in S_doeval (my_perl=my_perl at entry=0x26b008, gimme=3831752, 
    gimme at entry=7220424, outside=outside at entry=0xbeffed94, 
    seq=<optimized out>, hh=hh at entry=0x0) at pp_ctl.c:3494
#11 0x001607e0 in Perl_pp_entereval (my_perl=0x26b008) at pp_ctl.c:4205
#12 0x000c2560 in Perl_runops_debug (my_perl=0x26b008) at dump.c:2213
#13 0x00043c1c in Perl_call_sv (my_perl=0x0, my_perl at entry=0x26b008, 
    sv=sv at entry=0x26b008, flags=flags at entry=13) at perl.c:2766
#14 0x00046a48 in Perl_call_list (my_perl=my_perl at entry=0x26b008, 
    oldscope=2652568, oldscope at entry=2, paramList=0x8) at perl.c:4921
#15 0x00023c4c in S_process_special_blocks (my_perl=my_perl at entry=0x26b008, 
    floor=floor at entry=12, fullname=fullname at entry=0x29027c "BEGIN", 
    gv=gv at entry=0x287a58, cv=cv at entry=0x295480) at op.c:7717
#16 0x0003b024 in Perl_newATTRSUB_flags (my_perl=my_perl at entry=0x26b008, 
    floor=floor at entry=52, o=o at entry=0x7baf44, proto=proto at entry=0x0, 
    attrs=attrs at entry=0x0, block=0x3ecb8 <Perl_utilize+1008>, 
    flags=flags at entry=0) at op.c:7681
#17 0x0003ecb8 in Perl_newATTRSUB (block=<optimized out>, attrs=0x0, 
    proto=0x0, o=0x7baf44, floor=52, my_perl=0x26b008) at op.c:7354
#18 Perl_utilize (my_perl=my_perl at entry=0x26b008, aver=<optimized out>, 
    floor=52, version=<optimized out>, idop=0x7baa78, arg=<optimized out>)
    at op.c:5139
#19 0x00083058 in Perl_yyparse (my_perl=my_perl at entry=0x26b008, 
    gramtype=gramtype at entry=258) at perly.y:397
#20 0x0004b144 in S_parse_body (my_perl=my_perl at entry=0x26b008, 
    env=env at entry=0x0, xsinit=0x287590, xsinit at entry=0x26b008) at perl.c:2309
#21 0x0004c9c4 in perl_parse (my_perl=0xb6efba78, xsinit=0x26b008, 
    xsinit at entry=0x2347c <xs_init>, argc=<optimized out>, argv=0xbefff7b4, 
    env=env at entry=0x0) at perl.c:1626
#22 0x0002327c in main (argc=-1090521136, argv=0x7b1ea71, env=0x7)
    at perlmain.c:112

Oddly, a oneliner passes fine:

$ xvfb-run perl -Iblib/lib -Iblib/arch -we'use strict; use Test::More tests => 6; BEGIN { use_ok "Wx"; } use Wx "wxYES"; my $x = wxYES; ok(1, "export ok");'
1..6
Xlib:  extension "RANDR" missing on display ":99".
ok 1 - use Wx;
ok 2 - export ok
# Looks like you planned 6 tests but ran 2.



More information about the pkg-perl-maintainers mailing list