[Kde-perl] Qt4-0.60_b1 build report

Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 daxim at cpan.org
Fri Dec 18 20:01:06 CET 2009


The patch had two syntax errors, but I could fix them. The ./Build step worked 
fine, then.


Output from './Build test':
t/a_loading.t .......... ok
t/c_qapp.t ............. ok
t/d_sigslot.t .......... ok
t/e_sigslot_inherit.t .. ok
t/f_handlers.t ......... 1/23
#   Failed test 'double'
#   at t/f_handlers.t line 47.
#          got: '0,428571428571428548'
#     expected: '0,428571428571428571'

#   Failed test 'double'
#   at t/f_handlers.t line 48.
#          got: '0,857142857142857095'
#     expected: '0,857142857142857143'
t/f_handlers.t ......... 21/23 Can't use string ("0") as an ARRAY ref while 
"strict refs" in use at /home/daxim/.cpan/build/Qt4-0.60_b1-
SwlJVB/blib/lib/Qt4.pm line 971.
# Looks like you planned 23 tests but ran 21.
# Looks like you failed 2 tests of 21 run.
# Looks like your test exited with 2 just after 21.
t/f_handlers.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/23 subtests

Test Summary Report
-------------------
t/f_handlers.t       (Wstat: 512 Tests: 21 Failed: 2)
  Failed tests:  6-7
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 23 tests but ran 21.
Files=5, Tests=36,  4 wallclock secs ( 0.07 usr  0.02 sys +  1.28 cusr  0.21 
csys =  1.58 CPU)
Result: FAIL
Failed 1/5 test programs. 2/36 subtests failed.


I am on a 64 bit machine and my perl is compiled with -Dusemorebits. Also note 
that the marshalling of double numbers undergoes transformation according to 
locale (de_DE.UTF-8 here); this is problematic when comparing with the numeric 
operators.


Output from './Build testcover':
t/a_loading.t .......... ok
t/c_qapp.t ............. 1/3 Argument "5,008006" isn't numeric in numeric ne 
(!=) at /home/daxim/local/lib/perl5/5.10.1/x86_64-linux-thread-multi-
ld/B/Deparse.pm line 3687.
Argument "5,0080060000000000000955346912689947203" isn't numeric in numeric ne 
(!=) at /home/daxim/local/lib/perl5/5.10.1/x86_64-linux-thread-multi-
ld/B/Deparse.pm line 3691.
t/c_qapp.t ............. ok
t/d_sigslot.t .......... 4/4 Argument "5,008006" isn't numeric in numeric ne 
(!=) at /home/daxim/local/lib/perl5/5.10.1/x86_64-linux-thread-multi-
ld/B/Deparse.pm line 3687.
Argument "5,0080060000000000000955346912689947203" isn't numeric in numeric ne 
(!=) at /home/daxim/local/lib/perl5/5.10.1/x86_64-linux-thread-multi-
ld/B/Deparse.pm line 3691.
t/d_sigslot.t .......... ok
t/e_sigslot_inherit.t .. 1/7 Argument "5,008006" isn't numeric in numeric ne 
(!=) at /home/daxim/local/lib/perl5/5.10.1/x86_64-linux-thread-multi-
ld/B/Deparse.pm line 3687.
Argument "5,0080060000000000000955346912689947203" isn't numeric in numeric ne 
(!=) at /home/daxim/local/lib/perl5/5.10.1/x86_64-linux-thread-multi-
ld/B/Deparse.pm line 3691.
t/e_sigslot_inherit.t .. ok
t/f_handlers.t ......... 1/23
#   Failed test 'double'
#   at t/f_handlers.t line 47.
#          got: '0,428571428571428548'
#     expected: '0,428571428571428571'

#   Failed test 'double'
#   at t/f_handlers.t line 48.
#          got: '0,857142857142857095'
#     expected: '0,857142857142857143'
Can't use string ("0") as an ARRAY ref while "strict refs" in use at 
/home/daxim/.cpan/build/Qt4-0.60_b1-SwlJVB/blib/lib/Qt4.pm line 971.
# Looks like you planned 23 tests but ran 21.
# Looks like you failed 2 tests of 21 run.
# Looks like your test exited with 2 just after 21.
Argument "0,428571428571428571" isn't numeric in numeric ne (!=) at 
/home/daxim/local/lib/perl5/5.10.1/x86_64-linux-thread-multi-ld/B/Deparse.pm 
line 3687.
Argument "0,428571428571428571436315729803467888814" isn't numeric in numeric 
ne (!=) at /home/daxim/local/lib/perl5/5.10.1/x86_64-linux-thread-multi-
ld/B/Deparse.pm line 3691.
Argument "5,008006" isn't numeric in numeric ne (!=) at 
/home/daxim/local/lib/perl5/5.10.1/x86_64-linux-thread-multi-ld/B/Deparse.pm 
line 3687.
Argument "5,0080060000000000000955346912689947203" isn't numeric in numeric ne 
(!=) at /home/daxim/local/lib/perl5/5.10.1/x86_64-linux-thread-multi-
ld/B/Deparse.pm line 3691.
t/f_handlers.t ......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 4/23 subtests

Test Summary Report
-------------------
t/f_handlers.t       (Wstat: 512 Tests: 21 Failed: 2)
  Failed tests:  6-7
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 23 tests but ran 21.
Files=5, Tests=36, 74 wallclock secs ( 0.08 usr  0.02 sys + 69.33 cusr  3.03 
csys = 72.46 CPU)
Result: FAIL
Failed 1/5 test programs. 2/36 subtests failed.


No coverage information is collected for the XS part.


Output from 'cover':
---------------------------- ------ ------ ------ ------ ------ ------ ------
File                           stmt   bran   cond    sub    pod   time  total
---------------------------- ------ ------ ------ ------ ------ ------ ------
blib/lib/Qt4.pm                35.2   19.1   33.3   45.8    n/a   99.8   31.2
blib/lib/Qt4/isa.pm            98.1   60.0    n/a   90.9    n/a    0.1   91.9
blib/lib/Qt4/signals.pm        94.4   50.0    n/a   85.7    n/a    0.0   84.9
blib/lib/Qt4/slots.pm         100.0   50.0    n/a  100.0    n/a    0.1   90.7
Total                          41.9   21.0   33.3   53.8    n/a  100.0   36.8
---------------------------- ------ ------ ------ ------ ------ ------ ------


The preferred way of getting complete coverage information plain doesn't work.


Output from 'cover -test':
Deleting database /home/daxim/.cpan/build/Qt4-0.60_b1-SwlJVB/cover_db
cover: running ./Build test --extra_compiler_flags=-O0\ -fprofile-arcs\ -
ftest-coverage --extra_linker_flags=-fprofile-arcs\ -ftest-coverage
cc -Isrc -I/home/daxim/local/lib/perl5/5.10.1/x86_64-linux-thread-multi-
ld/CORE -DXS_VERSION="0.60" -DVERSION="0.60" -fPIC -O0 -fprofile-arcs -ftest-
coverage -c -D_REENTRANT -D_GNU_SOURCE -fPIC -DDEBUGGING -fno-strict-aliasing 
-pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -O2 -g -o lib/Qt4.o lib/Qt4.c
In file included from /usr/include/QtCore/qatomic.h:46,
                 from /usr/include/QtCore/qhash.h:45,
                 from /usr/include/QtCore/QHash:1,
                 from src/util.h:4,
                 from lib/Qt4.xs:3:
/usr/include/QtCore/qbasicatomic.h: In function ‘QT_MODULE’:
/usr/include/QtCore/qbasicatomic.h:53: error: expected declaration specifiers 
before ‘class’
/usr/include/QtCore/qbasicatomic.h:122: error: expected declaration specifiers 
before ‘;’ token
/usr/include/QtCore/qbasicatomic.h:124: error: expected declaration specifiers 
before ‘template’
/usr/include/QtCore/qbasicatomic.h:193: error: expected declaration specifiers 
before ‘;’ token
In file included from /usr/include/QtCore/qatomic_arch.h:82,
                 from /usr/include/QtCore/qbasicatomic.h:207,
                 from /usr/include/QtCore/qatomic.h:46,
                 from /usr/include/QtCore/qhash.h:45,
                 from /usr/include/QtCore/QHash:1,
                 from src/util.h:4,
                 from lib/Qt4.xs:3:
/usr/include/QtCore/qatomic_x86_64.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘QBasicAtomicInt’
/usr/include/QtCore/qatomic_x86_64.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘QBasicAtomicInt’
/usr/include/QtCore/qatomic_x86_64.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
or ‘__attribute__’ before ‘QBasicAtomicInt’
[... etc. etc. ...]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-perl/attachments/20091218/a4e82a0b/attachment.sig 


More information about the Kde-perl mailing list