Re: Qt4-0.60_b1 build report

Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯 <[email protected]> Fri, 18 Dec 2009 20:01:06 +0100
Newsgroups gmane.comp.kde.devel.perl
Message-ID <[email protected]>
--===============1736329865==
Content-Type: multipart/signed;
  boundary="nextPart2165159.JpOrAE7uKB";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit

--nextPart2165159.JpOrAE7uKB
Content-Type: Text/Plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable

The patch had two syntax errors, but I could fix them. The ./Build step wor=
ked=20
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=
=20
"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)
=46ailed 4/23 subtests

Test Summary Report
=2D------------------
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.
=46iles=3D5, Tests=3D36,  4 wallclock secs ( 0.07 usr  0.02 sys +  1.28 cus=
r  0.21=20
csys =3D  1.58 CPU)
Result: FAIL
=46ailed 1/5 test programs. 2/36 subtests failed.


I am on a 64 bit machine and my perl is compiled with -Dusemorebits. Also n=
ote=20
that the marshalling of double numbers undergoes transformation according t=
o=20
locale (de_DE.UTF-8 here); this is problematic when comparing with the nume=
ric=20
operators.


Output from './Build testcover':
t/a_loading.t .......... ok
t/c_qapp.t ............. 1/3 Argument "5,008006" isn't numeric in numeric n=
e=20
(!=3D) 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=20
(!=3D) 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 n=
e=20
(!=3D) 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=20
(!=3D) 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 n=
e=20
(!=3D) 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=20
(!=3D) 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=20
/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 (!=3D) at=20
/home/daxim/local/lib/perl5/5.10.1/x86_64-linux-thread-multi-ld/B/Deparse.p=
m=20
line 3687.
Argument "0,428571428571428571436315729803467888814" isn't numeric in numer=
ic=20
ne (!=3D) 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 (!=3D) at=20
/home/daxim/local/lib/perl5/5.10.1/x86_64-linux-thread-multi-ld/B/Deparse.p=
m=20
line 3687.
Argument "5,0080060000000000000955346912689947203" isn't numeric in numeric=
 ne=20
(!=3D) 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)
=46ailed 4/23 subtests

Test Summary Report
=2D------------------
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.
=46iles=3D5, Tests=3D36, 74 wallclock secs ( 0.08 usr  0.02 sys + 69.33 cus=
r  3.03=20
csys =3D 72.46 CPU)
Result: FAIL
=46ailed 1/5 test programs. 2/36 subtests failed.


No coverage information is collected for the XS part.


Output from 'cover':
=2D--------------------------- ------ ------ ------ ------ ------ ------ --=
=2D---
=46ile                           stmt   bran   cond    sub    pod   time  t=
otal
=2D--------------------------- ------ ------ ------ ------ ------ ------ --=
=2D---
blib/lib/Qt4.pm                35.2   19.1   33.3   45.8    n/a   99.8   31=
=2E2
blib/lib/Qt4/isa.pm            98.1   60.0    n/a   90.9    n/a    0.1   91=
=2E9
blib/lib/Qt4/signals.pm        94.4   50.0    n/a   85.7    n/a    0.0   84=
=2E9
blib/lib/Qt4/slots.pm         100.0   50.0    n/a  100.0    n/a    0.1   90=
=2E7
Total                          41.9   21.0   33.3   53.8    n/a  100.0   36=
=2E8
=2D--------------------------- ------ ------ ------ ------ ------ ------ --=
=2D---


The preferred way of getting complete coverage information plain doesn't wo=
rk.


Output from 'cover -test':
Deleting database /home/daxim/.cpan/build/Qt4-0.60_b1-SwlJVB/cover_db
cover: running ./Build test --extra_compiler_flags=3D-O0\ -fprofile-arcs\ -
ftest-coverage --extra_linker_flags=3D-fprofile-arcs\ -ftest-coverage
cc -Isrc -I/home/daxim/local/lib/perl5/5.10.1/x86_64-linux-thread-multi-
ld/CORE -DXS_VERSION=3D"0.60" -DVERSION=3D"0.60" -fPIC -O0 -fprofile-arcs -=
ftest-
coverage -c -D_REENTRANT -D_GNU_SOURCE -fPIC -DDEBUGGING -fno-strict-aliasi=
ng=20
=2Dpipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=3D64 -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 =E2=80=98QT_MODULE=E2=80=99:
/usr/include/QtCore/qbasicatomic.h:53: error: expected declaration specifie=
rs=20
before =E2=80=98class=E2=80=99
/usr/include/QtCore/qbasicatomic.h:122: error: expected declaration specifi=
ers=20
before =E2=80=98;=E2=80=99 token
/usr/include/QtCore/qbasicatomic.h:124: error: expected declaration specifi=
ers=20
before =E2=80=98template=E2=80=99
/usr/include/QtCore/qbasicatomic.h:193: error: expected declaration specifi=
ers=20
before =E2=80=98;=E2=80=99 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 =E2=80=98=3D=E2=80=
=99, =E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99=20
or =E2=80=98__attribute__=E2=80=99 before =E2=80=98QBasicAtomicInt=E2=80=99
/usr/include/QtCore/qatomic_x86_64.h:54: error: expected =E2=80=98=3D=E2=80=
=99, =E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99=20
or =E2=80=98__attribute__=E2=80=99 before =E2=80=98QBasicAtomicInt=E2=80=99
/usr/include/QtCore/qatomic_x86_64.h:60: error: expected =E2=80=98=3D=E2=80=
=99, =E2=80=98,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99=20
or =E2=80=98__attribute__=E2=80=99 before =E2=80=98QBasicAtomicInt=E2=80=99
[... etc. etc. ...]

--nextPart2165159.JpOrAE7uKB
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)

iEYEABECAAYFAksr0awACgkQFtlTdOX00HrDAwCfRljr7J2u1XvO049KFukpW4UP
f3IAn0V7dEa7DI0Z79FHVoXIpdfUJbh8
=ctRA
-----END PGP SIGNATURE-----

--nextPart2165159.JpOrAE7uKB--

--===============1736329865==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Kde-perl mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-perl

--===============1736329865==--