Bug#602668: libdevel-bt-perl: FTBFS on armel
gregor herrmann
gregoa at debian.org
Thu Aug 16 16:32:36 UTC 2012
On Thu, 05 Jul 2012 10:31:56 +0300, Niko Tyni wrote:
> However, given the past history and the tight coupling with gdb, I
> suspect 0.05-1 in wheezy is also affected. Tagging 'sid' for now (and
> I hope that's the right thing to do), but it would be good to verify if
> it currently builds in wheezy on armel.
Bad news: It doesn't.
Good news: Or maybe it does?
I just tried 0.05-1 in the wheezy chroot on abel.d.o
(with File::Which and Capture::Tiny in ~/perl/lib):
(wheezy)gregoa at abel:~/src/libdevel-bt-perl-0.05$ PERL5LIB=~/perl/lib perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Devel::bt
Writing MYMETA.yml
(wheezy)gregoa at abel:~/src/libdevel-bt-perl-0.05$ PERL5LIB=~/perl/lib make
cp lib/Devel/bt.pm blib/lib/Devel/bt.pm
/usr/bin/perl /usr/share/perl/5.14/ExtUtils/xsubpp -typemap /usr/share/perl/5.14/ExtUtils/typemap bt.xs > bt.xsc && mv bt.xsc bt.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" -fPIC "-I/usr/lib/perl/5.14/CORE" bt.c
Running Mkbootstrap for Devel::bt ()
chmod 644 bt.bs
rm -f blib/arch/auto/Devel/bt/bt.so
cc -shared -L/usr/local/lib -fstack-protector bt.o -o blib/arch/auto/Devel/bt/bt.so \
\
chmod 755 blib/arch/auto/Devel/bt/bt.so
cp bt.bs blib/arch/auto/Devel/bt/bt.bs
chmod 644 blib/arch/auto/Devel/bt/bt.bs
Manifying blib/man3/Devel::bt.3pm
(wheezy)gregoa at abel:~/src/libdevel-bt-perl-0.05$ PERL5LIB=~/perl/lib make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/basic.t ............... 1/?
# Failed test 'perl backtrace for SIGABRT'
# at t/basic.t line 26.
# ''
# doesn't match '(?^:\bperl_run\b)'
t/basic.t ............... 7/? # Looks like you failed 1 test of 7.
t/basic.t ............... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/7 subtests
t/release-eol.t ......... skipped: these tests are for release candidate testing
t/release-no-tabs.t ..... skipped: these tests are for release candidate testing
t/release-pod-syntax.t .. skipped: these tests are for release candidate testing
Test Summary Report
-------------------
t/basic.t (Wstat: 256 Tests: 7 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=4, Tests=7, 15 wallclock secs ( 0.27 usr 0.02 sys + 2.20 cusr 0.46 csys = 2.95 CPU)
Result: FAIL
Failed 1/4 test programs. 1/7 subtests failed.
make: *** [test_dynamic] Error 255
Or does it? Without any changes:
(wheezy)gregoa at abel:~/src/libdevel-bt-perl-0.05$ PERL5LIB=~/perl/lib prove --blib --verbose t/basic.t
t/basic.t ..
ok 1 - perl backtrace for SIGABRT
ok 2 - perl backtrace for SIGFPE
ok 3 - perl backtrace for SIGILL
ok 4 - perl backtrace for SIGQUIT
ok 5 - perl backtrace for SIGSEGV
ok 6 - perl backtrace for SIGBUS
ok 7 - perl backtrace for SIGTRAP
1..7
ok
All tests successful.
Files=1, Tests=7, 13 wallclock secs ( 0.27 usr 0.00 sys + 1.68 cusr 0.44 csys = 2.39 CPU)
Result: PASS
Let's try some more times:
Running the "prove ..." 10 times in a loop: --> 10 times PASS
Running "make test" 10 times in a loop: --> 10 times PASS
A last loop with 100 iterations of prove --blib t/basic.t:
failures at run 14 (SIGILL), 34 (SIGBUS), otherwise PASS.
So we have something like 121 PASSs and 3 FAILs (with 1 failure each
and in different (!) subtests). Great.
> source_version gdb_version perl_version result notes
> 0.05-1 7.2-1 5.10.1-14 FAIL 5 failures
> 0.05-1 7.2-1 5.10.1-18 FAIL 5 failures
> 0.05-1 7.3-1 5.12.4-4 OK
> 0.05-1 7.3-1+b1 5.14.2-3 OK
> 0.06-1 7.4really-1 5.14.2-7 FAIL 1 failure
> 0.06-1 7.4.1-1.1 5.14.2-9 FAIL 4 failures
0.05-1 7.4.1-1.1 5.14.2-12 121:3 0/1 failures
/*
Just for fun I ran t/basic.t from 0.06-1 in a sid chroot on my adm64
machine 100 times: 100x PASS.
*/
> BTW, gdb_7.4.1-1.1 fixes "LinuxThreads signal handling on GNU/kFreeBSD",
> so it might be worth a try to reschedule this on kfreebsd-amd64 which
> has been failing consistently up to and including 7.4really-1 with
> related symptoms.
armel was enough for me for now :)
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: Cat Stevens: Cats In The Cradle
-------------- 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/20120816/adcd9791/attachment.pgp>
More information about the pkg-perl-maintainers
mailing list