Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CryptX CPAN distribution.


Subject: GCM tests fail on HP-UX (ia64)
HP-UX 11.23/64 U rx1620/64 Itanium 2/1600(2) ia64 This is perl 5, version 14, subversion 2 (v5.14.2) built for IA64.ARCHREV_0-LP64-ld and/or This is perl 5, version 22, subversion 1 (v5.22.1) built for IA64.ARCHREV_0-thread-multi-LP64-ld 5.14.2 was built with HP C-ANSI-C, 5.22.1 was built with GNU gcc-4.6.1 As you can see, both with -Duselongdouble -Suse64bitall Test Summary Report ------------------- t/auth_enc_gcm.t (Wstat: 1280 Tests: 12 Failed: 5) Failed tests: 2, 4, 6, 8, 11 Non-zero exit status: 5 t/auth_enc_gcm_test_vector_ltc.t (Wstat: 8448 Tests: 42 Failed: 33) Failed tests: 2, 4, 6-7, 9, 11, 13-14, 16, 18, 20-42 Non-zero exit status: 33 Files=90, Tests=12725, 32 wallclock secs ( 3.42 usr 0.56 sys + 26.23 cusr 1.87 csys = 32.08 CPU) Result: FAIL Failed 2/90 test programs. 38/12725 subtests failed. MIK/CryptX-0.026.tar.gz ./Build test -- NOT OK .cpan/build/CryptX-0.026-x_xPQW 116 > prove -wvb t/auth_enc_gcm .t t/auth_enc_gcm.t .. 1..12 ok 1 - enc: ciphertext not ok 2 - enc: tag # Failed test 'enc: tag' # at t/auth_enc_gcm.t line 22. # got: '7efa75971afa9f07c833927327cd4a82' # expected: 'd225e849d4d076cf9e85d5303450e793' ok 3 - dec1: plaintext not ok 4 - dec1: tag # Failed test 'dec1: tag' # at t/auth_enc_gcm.t line 31. # got: '7efa75971afa9f07c833927327cd4a82' # expected: 'd225e849d4d076cf9e85d5303450e793' ok 5 - dec2: plaintext not ok 6 - dec2: tag # Failed test 'dec2: tag' # at t/auth_enc_gcm.t line 41. # got: '7efa75971afa9f07c833927327cd4a82' # expected: 'd225e849d4d076cf9e85d5303450e793' ok 7 - gcm_encrypt_authenticate: ciphertext (no header) not ok 8 - gcm_encrypt_authenticate: tag (no header) # Failed test 'gcm_encrypt_authenticate: tag (no header)' # at t/auth_enc_gcm.t line 47. # got: 'd0f3516b91cdd95edb2dc5cdb87fa02b' # expected: '1685ba0eda059ace4aab6539980c30c0' ok 9 - gcm_decrypt_verify: plaintext (no header) ok 10 - gcm_encrypt_authenticate: ciphertext (no header) not ok 11 - gcm_encrypt_authenticate: tag (no header) # Failed test 'gcm_encrypt_authenticate: tag (no header)' # at t/auth_enc_gcm.t line 55. # got: '7efa75971afa9f07c833927327cd4a82' # expected: 'd225e849d4d076cf9e85d5303450e793' ok 12 - gcm_decrypt_verify: plaintext (no header) # Looks like you failed 5 tests of 12. Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/12 subtests Test Summary Report ------------------- t/auth_enc_gcm.t (Wstat: 1280 Tests: 12 Failed: 5) Failed tests: 2, 4, 6, 8, 11 Non-zero exit status: 5 Files=1, Tests=12, 1 wallclock secs ( 0.07 usr 0.01 sys + 0.09 cusr 0.02 csys = 0.19 CPU) Result: FAIL
Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Tue, 29 Dec 2015 16:45:58 +0100
To: bug-CryptX [...] rt.cpan.org
From: Karel Miko <miko [...] dcit.cz>
Hi, the test t/auth_enc_gcm_test_vector_ltc.t PASSes, right? -- Karel
CC: HMBRAND [...] cpan.org
Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Tue, 29 Dec 2015 16:53:29 +0100
To: "Karel Miko via RT" <bug-CryptX [...] rt.cpan.org>
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Tue, 29 Dec 2015 10:46:23 -0500, "Karel Miko via RT" <bug-CryptX@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=110747 > > > Hi, > > the test t/auth_enc_gcm_test_vector_ltc.t PASSes, right?
No: CryptX-0.026-x_xPQW 103 > prove -vwb t/auth_enc_gcm_test_vector_ltc.t t/auth_enc_gcm_test_vector_ltc.t .. ok 1 - enc: ciphertext not ok 2 - enc: tag # Failed test 'enc: tag' # at t/auth_enc_gcm_test_vector_ltc.t line 26. # got: '9cde321b8060607fc981e1151da9c1b5' # expected: 'ab6e47d42cec13bdf53a67b21257bddf' ok 3 - dec: plaintext not ok 4 - dec: tag # Failed test 'dec: tag' # at t/auth_enc_gcm_test_vector_ltc.t line 36. # got: '9cde321b8060607fc981e1151da9c1b5' # expected: 'ab6e47d42cec13bdf53a67b21257bddf' ok 5 - enc: ciphertext not ok 6 - enc: tag # Failed test 'enc: tag' # at t/auth_enc_gcm_test_vector_ltc.t line 41. # got: '9cde321b8060607fc981e1151da9c1b5' # expected: 'ab6e47d42cec13bdf53a67b21257bddf' Use of uninitialized value $pt3 in unpack at t/auth_enc_gcm_test_vector_ltc.t line 43. not ok 7 - dec: plaintext # Failed test 'dec: plaintext' # at t/auth_enc_gcm_test_vector_ltc.t line 43. # got: '' # expected: '00000000000000000000000000000000' ok 8 - enc: ciphertext not ok 9 - enc: tag # Failed test 'enc: tag' # at t/auth_enc_gcm_test_vector_ltc.t line 26. # got: '7f723d0600239429f2a9da81e2e3dfeb' # expected: '4d5c2af327cd64a62cf35abd2ba6fab4' ok 10 - dec: plaintext not ok 11 - dec: tag # Failed test 'dec: tag' # at t/auth_enc_gcm_test_vector_ltc.t line 36. : : : # got: '9ed0684dd77df1da4622de1d8f42bd36' # expected: '8d2d2a9372626f6bee8580276a6366bf' Use of uninitialized value $pt3 in unpack at t/auth_enc_gcm_test_vector_ltc.t line 43. # Failed test 'dec: plaintext' # at t/auth_enc_gcm_test_vector_ltc.t line 43. # got: '' # expected: 'a2aab3ad8b17acdda288426cd7c429b7ca86b7aca05809c70ce82db25711cb5302eb2743b036f3d750d6cf0dc0acb92950d546db308f93b4ff244afa9dc72bcd758d2c' # Looks like you failed 33 tests of 42. Dubious, test returned 33 (wstat 8448, 0x2100) Failed 33/42 subtests Test Summary Report ------------------- t/auth_enc_gcm_test_vector_ltc.t (Wstat: 8448 Tests: 42 Failed: 33) Failed tests: 2, 4, 6-7, 9, 11, 13-14, 16, 18, 20-42 Non-zero exit status: 33 Files=1, Tests=42, 1 wallclock secs ( 0.09 usr 0.02 sys + 0.15 cusr 0.02 csys = 0.28 CPU) Result: FAIL Show quoted text
> -- > Karel
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Tue, 29 Dec 2015 22:51:26 +0100
To: bug-CryptX [...] rt.cpan.org
From: Karel Miko <miko [...] dcit.cz>
I have prepared couple of dev releases: CryptX-0.026_01.tar.gz = latest limtomcrypt sources CryptX-0.026_02.tar.gz = latest limtomcrypt sources + extra compiler option -Wall CryptX-0.026_03.tar.gz = latest limtomcrypt sources + extra compiler option -DLTC_NO_FAST (disabled optimalization) Please check whether some of them pass GMC tests. Any compiler warnings related to src/ltc/encauth/gcm/*.c files might be interesting. I do not know much details about IA64 platform but I expect troubles somewhere around https://github.com/DCIT/perl-CryptX/blob/master/src/ltc/headers/tomcrypt_cfg.h#L58 -- Karel
Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Wed, 30 Dec 2015 10:31:57 +0100
To: bug-CryptX [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Tue, 29 Dec 2015 16:51:45 -0500, "Karel Miko via RT" <bug-CryptX@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=110747 > > > I have prepared couple of dev releases: > > CryptX-0.026_01.tar.gz = latest limtomcrypt sources > CryptX-0.026_02.tar.gz = latest limtomcrypt sources + extra compiler > option -Wall
-Wall is only valid for GNU gcc, not for HP C-ANSI-C, where I changed that line to $flags .= ' +M2 +w +wendian'; Grrr, I so dislike Module::Build - I want Makefile's! t/auth_enc_gcm.t (Wstat: 1280 Tests: 12 Failed: 5) Failed tests: 2, 4, 6, 8, 11 Non-zero exit status: 5 t/auth_enc_gcm_test_vector_ltc.t (Wstat: 8448 Tests: 42 Failed: 33) Failed tests: 2, 4, 6-7, 9, 11, 13-14, 16, 18, 20-42 Non-zero exit status: 33 Files=90, Tests=12729, 32 wallclock secs ( 3.66 usr 0.58 sys + 26.63 cusr 1.89 csys = 32.76 CPU) Result: FAIL Failed 2/90 test programs. 38/12729 subtests failed. both Build.log and Test.log attached Show quoted text
> CryptX-0.026_03.tar.gz = latest limtomcrypt sources + extra compiler > option -DLTC_NO_FAST (disabled optimalization) > > Please check whether some of them pass GMC tests. > > Any compiler warnings related to src/ltc/encauth/gcm/*.c files might be > interesting. > > I do not know much details about IA64 platform but I expect troubles > somewhere around > https://github.com/DCIT/perl-CryptX/blob/master/src/ltc/headers/tomcrypt_cfg.h#L58 > > -- > Karel
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download CryptX-log.tgz
application/x-compressed-tar 54.5k

Message body not shown because it is not plain text.

Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Wed, 30 Dec 2015 11:25:35 +0100
To: bug-CryptX [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Tue, 29 Dec 2015 16:51:45 -0500, "Karel Miko via RT" <bug-CryptX@rt.cpan.org> wrote: Show quoted text
> CryptX-0.026_02.tar.gz = latest limtomcrypt sources + extra compiler > option -Wall
With HP C-ANSI-C on PA-RISC2 I need $flags .= ' +M2 +w1'; error building src/ltc/pk/dh/dh.o from 'src/ltc/pk/dh/dh.c' at /pro/lib/perl5/site_perl/5.14.2/ExtUtils/CBuilder/Base.pm line 175. Building CryptX cc -Isrc -I/pro/lib/perl5/5.14.2/PA-RISC2.0-LP64/CORE +Z -Isrc/ltc/headers -Isrc/ltm -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC +M2 +w1 -c -Ae -DDEBUGGING +Z -z -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -o src/ltc/pk/dh/dh.o src/ltc/pk/dh/dh.c cc: warning 474: By default 'const' qualified objects are now stored in literal space using +ESconstlit. This may lead to run-time errors if the semantics of 'const' are violated. cc: "/usr/include/sys/_fd_macros.h", line 97: LP64 migration warning 753: * converts 32 bit integer to long cc: "/usr/include/sys/_fd_macros.h", line 97: LP64 migration warning 753: - converts 32 bit integer to long cc: "/usr/include/sys/_fd_macros.h", line 97: LP64 migration warning 753: + converts 32 bit integer to long cc: "/usr/include/sys/_fd_macros.h", line 97: LP64 migration warning 753: * converts 32 bit integer to long cc: "src/ltc/pk/dh/dh_static.h", line 72: error 1000: Unexpected symbol: "void". cc: "src/ltc/pk/dh/dh_static.h", line 72: warning 517: Function returns no value. cc: "src/ltc/pk/dh/dh_static.h", line 86: error 1000: Unexpected symbol: "int". cc: "src/ltc/pk/dh/dh_static.h", line 86: error 1586: Redefinition of function "inline". cc: "src/ltc/pk/dh/dh_static.h", line 93: LP64 migration warning 753: << converts 32 bit integer to long cc: "src/ltc/pk/dh/dh_static.h", line 93: LP64 migration warning 721: Assignment can no longer overflow "ver". cc: "src/ltc/pk/dh/dh_static.h", line 94: LP64 migration warning 753: < converts 32 bit integer to long cc: "src/ltc/pk/dh/dh_static.h", line 94: LP64 migration warning 732: Different types treated as unsigned for <. Not happy with inline, adding -AC99 to see if that helps … $flags .= ' +M2 +w1 -AC99'; All tests successful. Files=90, Tests=12729, 100 wallclock secs ( 7.11 usr 1.00 sys + 77.97 cusr 3.89 csys = 89.97 CPU) Result: PASS I've added the build log for the warnings -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download Build.log.gz
application/gzip 47k

Message body not shown because it is not plain text.

Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

Hi, I have uploaded CryptX-0.026_04.tar.gz to CPAN It seems to work with HPUX@PARISC. Could you please test it on HPUX@ITANIUM? -- Karel
Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Thu, 31 Dec 2015 17:08:47 +0100
To: bug-CryptX [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Thu, 31 Dec 2015 09:08:33 -0500, "Karel Miko via RT" <bug-CryptX@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=110747 > > > Hi, > > I have uploaded CryptX-0.026_04.tar.gz to CPAN > > It seems to work with HPUX@PARISC. > > Could you please test it on HPUX@ITANIUM?
Build.log and Test.log attached (and sorry, I do not have a public Itanium account available) -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download CryptX-04.tgz
application/x-compressed-tar 10.6k

Message body not shown because it is not plain text.

Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Sun, 3 Jan 2016 15:39:22 +0100
To: bug-CryptX [...] rt.cpan.org
From: Karel Miko <miko [...] dcit.cz>
Another try: http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_08.tar.gz http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_09.tar.gz If CryptX-0.026_08.tar.gz fails no need to test CryptX-0.026_09.tar.gz. -- Karel
Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Sun, 3 Jan 2016 18:01:40 +0100
To: bug-CryptX [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Sun, 3 Jan 2016 09:39:54 -0500, "Karel Miko via RT" <bug-CryptX@rt.cpan.org> wrote: Show quoted text
log attached. Do you want a log with +w? Show quoted text
> http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_09.tar.gz > > If CryptX-0.026_08.tar.gz fails no need to test CryptX-0.026_09.tar.gz. > > -- > Karel
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download cx08.log.gz
application/gzip 11.9k

Message body not shown because it is not plain text.

Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Sun, 3 Jan 2016 20:50:50 +0100
To: bug-CryptX [...] rt.cpan.org
From: Karel Miko <miko [...] dcit.cz>
Next one is http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_10.tar.gz Please 1/ add +w as you have proposed 2/ run only: perl Buil.PL && ./Build && prove -bv t/auth_enc_gcm.t It should output a bunch of debug messages like this: t/auth_enc_gcm.t .. 1..12 ok 1 - enc: ciphertext ok 2 - enc: tag ok 3 - dec1: plaintext ok 4 - dec1: tag ok 5 - dec2: plaintext ok 6 - dec2: tag ok 7 - gcm_encrypt_authenticate: ciphertext (no header) ok 8 - gcm_encrypt_authenticate: tag (no header) ok 9 - gcm_decrypt_verify: plaintext (no header) ok 10 - gcm_encrypt_authenticate: ciphertext (no header) ok 11 - gcm_encrypt_authenticate: tag (no header) ok 12 - gcm_decrypt_verify: plaintext (no header) DEBUG from gcm_done.c (LTC_GCM_TABLES defined): XXX:X_0=d1f5d2d21c68bb318567a70c092599c8 XXX:H_0=7d8e9570d3020b63178fa765ccf6e1de XXX:H_1=7d8e9570d3020b63178fa765ccf6e1de XXX:X_1=cbb1362c85bc8e8fc6f69838ed652778 XXX:BUF=000000000000009000000000000000a0 XXX:X_2=cbb1362c85bc8e1fc6f69838ed6527d8 XXX:H_3=7d8e9570d3020b63178fa765ccf6e1de XXX:H_4=7d8e9570d3020b63178fa765ccf6e1de XXX:X_3=13b3fc8f10727bdd5a0d2ea9ea635dfc XXX:Y_0=31323334353637383930313200000001 XXX:X_4=13b3fc8f10727bdd5a0d2ea9ea635dfc XXX:BUF=c19614c6c4a20d12c488fb99de33ba6f XXX:TAG=d225e849d4d076cf9e85d5303450e793 DEBUG from gcm_done.c (LTC_GCM_TABLES defined): XXX:X_0=d1f5d2d21c68bb318567a70c092599c8 XXX:H_0=7d8e9570d3020b63178fa765ccf6e1de XXX:H_1=7d8e9570d3020b63178fa765ccf6e1de XXX:X_1=cbb1362c85bc8e8fc6f69838ed652778 XXX:BUF=000000000000009000000000000000a0 XXX:X_2=cbb1362c85bc8e1fc6f69838ed6527d8 XXX:H_3=7d8e9570d3020b63178fa765ccf6e1de XXX:H_4=7d8e9570d3020b63178fa765ccf6e1de XXX:X_3=13b3fc8f10727bdd5a0d2ea9ea635dfc XXX:Y_0=31323334353637383930313200000001 XXX:X_4=13b3fc8f10727bdd5a0d2ea9ea635dfc XXX:BUF=c19614c6c4a20d12c488fb99de33ba6f XXX:TAG=d225e849d4d076cf9e85d5303450e793 DEBUG from gcm_done.c (LTC_GCM_TABLES defined): XXX:X_0=d1f5d2d21c68bb318567a70c092599c8 XXX:H_0=7d8e9570d3020b63178fa765ccf6e1de XXX:H_1=7d8e9570d3020b63178fa765ccf6e1de XXX:X_1=cbb1362c85bc8e8fc6f69838ed652778 XXX:BUF=000000000000009000000000000000a0 XXX:X_2=cbb1362c85bc8e1fc6f69838ed6527d8 XXX:H_3=7d8e9570d3020b63178fa765ccf6e1de XXX:H_4=7d8e9570d3020b63178fa765ccf6e1de XXX:X_3=13b3fc8f10727bdd5a0d2ea9ea635dfc XXX:Y_0=31323334353637383930313200000001 XXX:X_4=13b3fc8f10727bdd5a0d2ea9ea635dfc XXX:BUF=c19614c6c4a20d12c488fb99de33ba6f XXX:TAG=d225e849d4d076cf9e85d5303450e793 DEBUG from gcm_done.c (LTC_GCM_TABLES defined): XXX:X_0=1b444e8f86107340adeca2dc47cfc8dc XXX:H_0=7d8e9570d3020b63178fa765ccf6e1de XXX:H_1=7d8e9570d3020b63178fa765ccf6e1de XXX:X_1=b6828952f23e67b7f196a6df93c90589 XXX:BUF=000000000000000000000000000000a0 XXX:X_2=b6828952f23e67b7f196a6df93c90529 XXX:H_3=7d8e9570d3020b63178fa765ccf6e1de XXX:H_4=7d8e9570d3020b63178fa765ccf6e1de XXX:X_3=d713aec81ea797dc8e239ea0463f8aaf XXX:Y_0=31323334353637383930313200000001 XXX:X_4=d713aec81ea797dc8e239ea0463f8aaf XXX:BUF=c19614c6c4a20d12c488fb99de33ba6f XXX:TAG=1685ba0eda059ace4aab6539980c30c0 DEBUG from gcm_done.c (LTC_GCM_TABLES defined): XXX:X_0=1b444e8f86107340adeca2dc47cfc8dc XXX:H_0=7d8e9570d3020b63178fa765ccf6e1de XXX:H_1=7d8e9570d3020b63178fa765ccf6e1de XXX:X_1=b6828952f23e67b7f196a6df93c90589 XXX:BUF=000000000000000000000000000000a0 XXX:X_2=b6828952f23e67b7f196a6df93c90529 XXX:H_3=7d8e9570d3020b63178fa765ccf6e1de XXX:H_4=7d8e9570d3020b63178fa765ccf6e1de XXX:X_3=d713aec81ea797dc8e239ea0463f8aaf XXX:Y_0=31323334353637383930313200000001 XXX:X_4=d713aec81ea797dc8e239ea0463f8aaf XXX:BUF=c19614c6c4a20d12c488fb99de33ba6f XXX:TAG=1685ba0eda059ace4aab6539980c30c0 DEBUG from gcm_done.c (LTC_GCM_TABLES defined): XXX:X_0=d1f5d2d21c68bb318567a70c092599c8 XXX:H_0=7d8e9570d3020b63178fa765ccf6e1de XXX:H_1=7d8e9570d3020b63178fa765ccf6e1de XXX:X_1=cbb1362c85bc8e8fc6f69838ed652778 XXX:BUF=000000000000009000000000000000a0 XXX:X_2=cbb1362c85bc8e1fc6f69838ed6527d8 XXX:H_3=7d8e9570d3020b63178fa765ccf6e1de XXX:H_4=7d8e9570d3020b63178fa765ccf6e1de XXX:X_3=13b3fc8f10727bdd5a0d2ea9ea635dfc XXX:Y_0=31323334353637383930313200000001 XXX:X_4=13b3fc8f10727bdd5a0d2ea9ea635dfc XXX:BUF=c19614c6c4a20d12c488fb99de33ba6f XXX:TAG=d225e849d4d076cf9e85d5303450e793 DEBUG from gcm_done.c (LTC_GCM_TABLES defined): XXX:X_0=d1f5d2d21c68bb318567a70c092599c8 XXX:H_0=7d8e9570d3020b63178fa765ccf6e1de XXX:H_1=7d8e9570d3020b63178fa765ccf6e1de XXX:X_1=cbb1362c85bc8e8fc6f69838ed652778 XXX:BUF=000000000000009000000000000000a0 XXX:X_2=cbb1362c85bc8e1fc6f69838ed6527d8 XXX:H_3=7d8e9570d3020b63178fa765ccf6e1de XXX:H_4=7d8e9570d3020b63178fa765ccf6e1de XXX:X_3=13b3fc8f10727bdd5a0d2ea9ea635dfc XXX:Y_0=31323334353637383930313200000001 XXX:X_4=13b3fc8f10727bdd5a0d2ea9ea635dfc XXX:BUF=c19614c6c4a20d12c488fb99de33ba6f XXX:TAG=d225e849d4d076cf9e85d5303450e793 ok All tests successful. Files=1, Tests=12, 0 wallclock secs ( 0.06 usr 0.00 sys + 0.03 cusr 0.03 csys = 0.12 CPU) Result: PASS
Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Sun, 3 Jan 2016 21:29:12 +0100
To: bug-CryptX [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Sun, 3 Jan 2016 14:51:06 -0500, "Karel Miko via RT" <bug-CryptX@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=110747 > > > Next one is > http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_10.tar.gz > > Please > 1/ add +w as you have proposed > 2/ run only: perl Buil.PL && ./Build && prove -bv t/auth_enc_gcm.t > > It should output a bunch of debug messages like this:
$ prove -bv t/auth_enc_gcm.t t/auth_enc_gcm.t .. 1..12 DEBUG from gcm_done.c (LTC_GCM_TABLES defined): XXX:X_0=ed87e74c13660cf921bdef13bc0e06cc XXX:H_0=7d8e9570d3020b63178fa765ccf6e1de XXX:H_1=7d8e9570d3020b63178fa765ccf6e1de XXX:X_1=ab303879bf4222c43a0e00b83e01fb06 XXX:BUF=000000000000009000000000000000a0 XXX:X_2=ab303879bf4222543a0e00b83e01fba6 XXX:H_3=7d8e9570d3020b63178fa765ccf6e1de XXX:H_4=7d8e9570d3020b63178fa765ccf6e1de XXX:X_3=bf6c6151de5892150cbb69eaf9fef0ed XXX:Y_0=31323334353637383930313200000001 XXX:X_4=bf6c6151de5892150cbb69eaf9fef0ed XXX:BUF=c19614c6c4a20d12c488fb99de33ba6f XXX:TAG=7efa75971afa9f07c833927327cd4a82 ok 1 - enc: ciphertext not ok 2 - enc: tag # Failed test 'enc: tag' # at t/auth_enc_gcm.t line 22. # got: '7efa75971afa9f07c833927327cd4a82' # expected: 'd225e849d4d076cf9e85d5303450e793' DEBUG from gcm_done.c (LTC_GCM_TABLES defined): XXX:X_0=ed87e74c13660cf921bdef13bc0e06cc XXX:H_0=7d8e9570d3020b63178fa765ccf6e1de XXX:H_1=7d8e9570d3020b63178fa765ccf6e1de XXX:X_1=ab303879bf4222c43a0e00b83e01fb06 XXX:BUF=000000000000009000000000000000a0 XXX:X_2=ab303879bf4222543a0e00b83e01fba6 XXX:H_3=7d8e9570d3020b63178fa765ccf6e1de XXX:H_4=7d8e9570d3020b63178fa765ccf6e1de XXX:X_3=bf6c6151de5892150cbb69eaf9fef0ed XXX:Y_0=31323334353637383930313200000001 XXX:X_4=bf6c6151de5892150cbb69eaf9fef0ed XXX:BUF=c19614c6c4a20d12c488fb99de33ba6f XXX:TAG=7efa75971afa9f07c833927327cd4a82 ok 3 - dec1: plaintext not ok 4 - dec1: tag # Failed test 'dec1: tag' # at t/auth_enc_gcm.t line 31. # got: '7efa75971afa9f07c833927327cd4a82' # expected: 'd225e849d4d076cf9e85d5303450e793' DEBUG from gcm_done.c (LTC_GCM_TABLES defined): XXX:X_0=ed87e74c13660cf921bdef13bc0e06cc XXX:H_0=7d8e9570d3020b63178fa765ccf6e1de XXX:H_1=7d8e9570d3020b63178fa765ccf6e1de XXX:X_1=ab303879bf4222c43a0e00b83e01fb06 XXX:BUF=000000000000009000000000000000a0 XXX:X_2=ab303879bf4222543a0e00b83e01fba6 XXX:H_3=7d8e9570d3020b63178fa765ccf6e1de XXX:H_4=7d8e9570d3020b63178fa765ccf6e1de XXX:X_3=bf6c6151de5892150cbb69eaf9fef0ed XXX:Y_0=31323334353637383930313200000001 XXX:X_4=bf6c6151de5892150cbb69eaf9fef0ed XXX:BUF=c19614c6c4a20d12c488fb99de33ba6f XXX:TAG=7efa75971afa9f07c833927327cd4a82 ok 5 - dec2: plaintext not ok 6 - dec2: tag # Failed test 'dec2: tag' # at t/auth_enc_gcm.t line 41. # got: '7efa75971afa9f07c833927327cd4a82' # expected: 'd225e849d4d076cf9e85d5303450e793' DEBUG from gcm_done.c (LTC_GCM_TABLES defined): XXX:X_0=bc4cdecf3ee81be02d14bab4073f6014 XXX:H_0=7d8e9570d3020b63178fa765ccf6e1de XXX:H_1=7d8e9570d3020b63178fa765ccf6e1de XXX:X_1=7ef22d96bef01414b84e45ec31f47c6f XXX:BUF=000000000000000000000000000000a0 XXX:X_2=7ef22d96bef01414b84e45ec31f47ccf XXX:H_3=7d8e9570d3020b63178fa765ccf6e1de XXX:H_4=7d8e9570d3020b63178fa765ccf6e1de XXX:X_3=116545ad556fd44c1fa53e54664c1a44 XXX:Y_0=31323334353637383930313200000001 XXX:X_4=116545ad556fd44c1fa53e54664c1a44 XXX:BUF=c19614c6c4a20d12c488fb99de33ba6f XXX:TAG=d0f3516b91cdd95edb2dc5cdb87fa02b ok 7 - gcm_encrypt_authenticate: ciphertext (no header) not ok 8 - gcm_encrypt_authenticate: tag (no header) # Failed test 'gcm_encrypt_authenticate: tag (no header)' # at t/auth_enc_gcm.t line 47. # got: 'd0f3516b91cdd95edb2dc5cdb87fa02b' # expected: '1685ba0eda059ace4aab6539980c30c0' DEBUG from gcm_done.c (LTC_GCM_TABLES defined): XXX:X_0=bc4cdecf3ee81be02d14bab4073f6014 XXX:H_0=7d8e9570d3020b63178fa765ccf6e1de XXX:H_1=7d8e9570d3020b63178fa765ccf6e1de XXX:X_1=7ef22d96bef01414b84e45ec31f47c6f XXX:BUF=000000000000000000000000000000a0 XXX:X_2=7ef22d96bef01414b84e45ec31f47ccf XXX:H_3=7d8e9570d3020b63178fa765ccf6e1de XXX:H_4=7d8e9570d3020b63178fa765ccf6e1de XXX:X_3=116545ad556fd44c1fa53e54664c1a44 XXX:Y_0=31323334353637383930313200000001 XXX:X_4=116545ad556fd44c1fa53e54664c1a44 XXX:BUF=c19614c6c4a20d12c488fb99de33ba6f XXX:TAG=d0f3516b91cdd95edb2dc5cdb87fa02b ok 9 - gcm_decrypt_verify: plaintext (no header) DEBUG from gcm_done.c (LTC_GCM_TABLES defined): XXX:X_0=ed87e74c13660cf921bdef13bc0e06cc XXX:H_0=7d8e9570d3020b63178fa765ccf6e1de XXX:H_1=7d8e9570d3020b63178fa765ccf6e1de XXX:X_1=ab303879bf4222c43a0e00b83e01fb06 XXX:BUF=000000000000009000000000000000a0 XXX:X_2=ab303879bf4222543a0e00b83e01fba6 XXX:H_3=7d8e9570d3020b63178fa765ccf6e1de XXX:H_4=7d8e9570d3020b63178fa765ccf6e1de XXX:X_3=bf6c6151de5892150cbb69eaf9fef0ed XXX:Y_0=31323334353637383930313200000001 XXX:X_4=bf6c6151de5892150cbb69eaf9fef0ed XXX:BUF=c19614c6c4a20d12c488fb99de33ba6f XXX:TAG=7efa75971afa9f07c833927327cd4a82 ok 10 - gcm_encrypt_authenticate: ciphertext (no header) not ok 11 - gcm_encrypt_authenticate: tag (no header) # Failed test 'gcm_encrypt_authenticate: tag (no header)' # at t/auth_enc_gcm.t line 55. # got: '7efa75971afa9f07c833927327cd4a82' # expected: 'd225e849d4d076cf9e85d5303450e793' DEBUG from gcm_done.c (LTC_GCM_TABLES defined): XXX:X_0=ed87e74c13660cf921bdef13bc0e06cc XXX:H_0=7d8e9570d3020b63178fa765ccf6e1de XXX:H_1=7d8e9570d3020b63178fa765ccf6e1de XXX:X_1=ab303879bf4222c43a0e00b83e01fb06 XXX:BUF=000000000000009000000000000000a0 XXX:X_2=ab303879bf4222543a0e00b83e01fba6 XXX:H_3=7d8e9570d3020b63178fa765ccf6e1de XXX:H_4=7d8e9570d3020b63178fa765ccf6e1de XXX:X_3=bf6c6151de5892150cbb69eaf9fef0ed XXX:Y_0=31323334353637383930313200000001 XXX:X_4=bf6c6151de5892150cbb69eaf9fef0ed XXX:BUF=c19614c6c4a20d12c488fb99de33ba6f XXX:TAG=7efa75971afa9f07c833927327cd4a82 ok 12 - gcm_decrypt_verify: plaintext (no header) # Looks like you failed 5 tests of 12. Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/12 subtests Test Summary Report ------------------- t/auth_enc_gcm.t (Wstat: 1280 Tests: 12 Failed: 5) Failed tests: 2, 4, 6, 8, 11 Non-zero exit status: 5 Files=1, Tests=12, 1 wallclock secs ( 0.08 usr 0.02 sys + 0.10 cusr 0.02 csys = 0.22 CPU) Result: FAIL -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download build.log.gz
application/gzip 81.5k

Message body not shown because it is not plain text.

Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Sun, 3 Jan 2016 22:41:50 +0100
To: bug-CryptX [...] rt.cpan.org
From: Karel Miko <miko [...] dcit.cz>
Next one http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_11.tar.gz I need only the output of: prove -bv t/auth_enc_gcm.t Thanks. -- Karel
Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Mon, 4 Jan 2016 07:59:26 +0100
To: bug-CryptX [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Sun, 3 Jan 2016 16:42:04 -0500, "Karel Miko via RT" <bug-CryptX@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=110747 > > > Next one > http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_11.tar.gz > > I need only the output of: prove -bv t/auth_enc_gcm.t
Attached. ++ to your perseverance Show quoted text
> Thanks. > > -- > Karel
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download prove.out.gz
application/gzip 1.5k

Message body not shown because it is not plain text.

Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Mon, 4 Jan 2016 09:40:34 +0100
To: bug-CryptX [...] rt.cpan.org
From: Karel Miko <miko [...] dcit.cz>
We are getting closer :) http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_12.tar.gz Again please: prove -bv t/auth_enc_gcm.t At $work we are HP Alliance One program member however it seems that their TesDrive is no more providing an access to any HP-UX virtual servers :( -- Karel
Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Mon, 4 Jan 2016 10:31:44 +0100
To: bug-CryptX [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Mon, 4 Jan 2016 03:40:53 -0500, "Karel Miko via RT" <bug-CryptX@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=110747 > > > We are getting closer :) > > http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_12.tar.gz > > Again please: prove -bv t/auth_enc_gcm.t
All tests successful. Files=1, Tests=12, 0 wallclock secs ( 0.09 usr 0.02 sys + 0.10 cusr 0.04 csys = 0.25 CPU) Result: PASS Show quoted text
> At $work we are HP Alliance One program member however it seems that their > TesDrive is no more providing an access to any HP-UX virtual servers :(
So do we, and that program stopped a long time ago :9 This is one of the reasons I started providing public access to the servers that we took out of business. Our Itanium servers however are still production boxes, so no public access possible. -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download prove.log.gz
application/gzip 1.6k

Message body not shown because it is not plain text.

Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Mon, 4 Jan 2016 10:46:37 +0100
To: bug-CryptX [...] rt.cpan.org
From: Karel Miko <miko [...] dcit.cz>
Show quoted text
> All tests successful. > Files=1, Tests=12, 0 wallclock secs ( 0.09 usr 0.02 sys + 0.10 > cusr 0.04 csys = 0.25 CPU) > Result: PASS
Nice ... but ... well ... this is not what I've expected. If you look at changes between CryptX-0.026_11 vs. CryptX-0.026_12 (see diff_11_to_12.txt) there are only more debug messages :( -- Karel

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Sun, 10 Jan 2016 12:27:16 +0100
To: bug-CryptX [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Sun, 10 Jan 2016 06:00:31 -0500, "Karel Miko via RT" <bug-CryptX@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=110747 > > > Next part of debugging saga: > > 1/ could you please confirm once again that 0.026_12 FAILS and 0.026_13 PASS > > http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_12.tar.gz > http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_13.tar.gz
Non-existent Show quoted text
PASS Show quoted text
PASS Show quoted text
PASS Warnings during compilation in _16: cc -Isrc -I/pro/lib/perl5/5.14.2/IA64.ARCHREV_0-LP64-ld/CORE +Z -Isrc/ltc/headers -Isrc/ltm -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC -DLTC_NO_FAST -c -Ae -DPERL_DONT_CREATE_GVSV +Z -z -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -o src/ltc/ciphers/camellia.o src/ltc/ciphers/camellia.c "src/ltc/ciphers/camellia.c", line 193: warning #2191-D: type qualifier is meaningless on cast type U = D ^ ROR(U, (const int)8); ^ "src/ltc/ciphers/camellia.c", line 193: warning #2191-D: type qualifier is meaningless on cast type U = D ^ ROR(U, (const int)8); ^ cc -Isrc -I/pro/lib/perl5/5.14.2/IA64.ARCHREV_0-LP64-ld/CORE +Z -Isrc/ltc/headers -Isrc/ltm -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC -DLTC_NO_FAST -c -Ae -DPERL_DONT_CREATE_GVSV +Z -z -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -o src/ltc/pk/asn1/der/bit/der_decode_raw_bit_string.o src/ltc/pk/asn1/der/bit/der_decode_raw_bit_string.c "src/ltc/pk/asn1/der/bit/der_decode_raw_bit_string.c", line 21: warning #2047-D: incompatible redefinition of macro "setbit" (declared at line 426 of "/usr/include/sys/param.h") #define setbit(v, n) (v=((unsigned char)(v) | (1U << (unsigned char)(n)))) ^ cc -Isrc -I/pro/lib/perl5/5.14.2/IA64.ARCHREV_0-LP64-ld/CORE +Z -Isrc/ltc/headers -Isrc/ltm -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC -DLTC_NO_FAST -c -Ae -DPERL_DONT_CREATE_GVSV +Z -z -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -o src/ltc/pk/asn1/der/utf8/der_encode_utf8_string.o src/ltc/pk/asn1/der/utf8/der_encode_utf8_string.c "src/ltc/pk/asn1/der/utf8/der_encode_utf8_string.c", line 40: warning #2186-D: pointless comparison of unsigned integer with zero if (in[x] < 0 || in[x] > 0x1FFFF) { ^ cc -Isrc -I/pro/lib/perl5/5.14.2/IA64.ARCHREV_0-LP64-ld/CORE +Z -Isrc/ltc/headers -Isrc/ltm -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC -DLTC_NO_FAST -c -Ae -DPERL_DONT_CREATE_GVSV +Z -z -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -o src/ltc/pk/asn1/der/utf8/der_length_utf8_string.o src/ltc/pk/asn1/der/utf8/der_length_utf8_string.c "src/ltc/pk/asn1/der/utf8/der_length_utf8_string.c", line 53: warning #2186-D: pointless comparison of unsigned integer with zero if (in[x] < 0 || in[x] > 0x10FFFF) { ^ cc -Isrc -I/pro/lib/perl5/5.14.2/IA64.ARCHREV_0-LP64-ld/CORE +Z -Isrc/ltc/headers -Isrc/ltm -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC -DLTC_NO_FAST -c -Ae -DPERL_DONT_CREATE_GVSV +Z -z -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -o src/ltc/pk/ecc/ltc_ecc_mul2add.o src/ltc/pk/ecc/ltc_ecc_mul2add.c "src/ltc/pk/ecc/ltc_ecc_mul2add.c", line 136: warning #2068-D: integer conversion resulted in a change of sign for (x = -1;; ) { ^ cc -Isrc -I/pro/lib/perl5/5.14.2/IA64.ARCHREV_0-LP64-ld/CORE +Z -Isrc/ltc/headers -Isrc/ltm -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC -DLTC_NO_FAST -c -Ae -DPERL_DONT_CREATE_GVSV +Z -z -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -o src/ltc/prngs/rng_get_bytes.o src/ltc/prngs/rng_get_bytes.c "src/ltc/prngs/rng_get_bytes.c", line 71: warning #2111-D: statement is unreachable l = len; ^ cc -Isrc -I/pro/lib/perl5/5.14.2/IA64.ARCHREV_0-LP64-ld/CORE -DVERSION="0.026_16" -DXS_VERSION="0.026_16" +Z -Isrc/ltc/headers -Isrc/ltm -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC -DLTC_NO_FAST -c -Ae -DPERL_DONT_CREATE_GVSV +Z -z -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -o lib/CryptX.o lib/CryptX.c "/pro/lib/perl5/5.14.2/IA64.ARCHREV_0-LP64-ld/CORE/regexp.h", line 329: warning #2111-D: statement is unreachable return "?"; /* Unknown */ ^ "lib/CryptX_PK_ECC.xs.inc", line 61: warning #2223-D: function "ecc_import_pkcs8" declared implicitly rv = ecc_import_pkcs8(data, (unsigned long)data_len, &self->key, &self->dp); ^ "lib/CryptX_PK_ECC.xs.inc", line 288: warning #2223-D: function "ecc_sign_hash_rfc7518" declared implicitly rv = ecc_sign_hash_rfc7518(data_ptr, (unsigned long)data_len, buffer, &buffer_len, ^ "lib/CryptX_PK_ECC.xs.inc", line 320: warning #2223-D: function "ecc_verify_hash_rfc7518" declared implicitly rv = ecc_verify_hash_rfc7518(sig_ptr, (unsigned long)sig_len, data_ptr, (unsigned long)data_len, &stat, &self->key); ^ "lib/CryptX_PK_DSA.xs.inc", line 54: warning #2223-D: function "dsa_import_hex" declared implicitly rv = dsa_import_hex(p, q, g, x, y, &self->key); ^ "lib/CryptX_PK_RSA.xs.inc", line 59: warning #2223-D: function "rsa_import_pkcs8" declared implicitly rv = rsa_import_pkcs8(data, (unsigned long)data_len, &self->key); ^ "lib/CryptX_PK_RSA.xs.inc", line 70: warning #2223-D: function "rsa_import_hex" declared implicitly rv = rsa_import_hex(N, e, d, p, q, dP, dQ, qP, &self->key); ^ Show quoted text
> I basically only need to know PASS or FAIL. > > Thanks.
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Sun, 10 Jan 2016 12:58:11 +0100
To: bug-CryptX [...] rt.cpan.org
From: Karel Miko <miko [...] dcit.cz>
Next: http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_17.tar.gz http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_18.tar.gz http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_19.tar.gz http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_20.tar.gz Apart from PASS/FAIL results please also check that following 2 warnings have disappeared: "src/ltc/ciphers/camellia.c", line 193: warning #2191-D: type qualifier is meaningless on cast type U = D ^ ROR(U, (const int)8); "src/ltc/pk/asn1/der/bit/der_decode_raw_bit_string.c", line 21: warning #2047-D: incompatible redefinition of macro "setbit" (declared at line 426 of "/usr/include/sys/param.h") #define setbit(v, n) (v=((unsigned char)(v) | (1U << (unsigned char)(n)))) -- Karel
Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Sun, 10 Jan 2016 16:23:09 +0100
To: bug-CryptX [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Sun, 10 Jan 2016 06:58:34 -0500, "Karel Miko via RT" <bug-CryptX@rt.cpan.org> wrote: Show quoted text
PASS Show quoted text
Test Summary Report ------------------- t/auth_enc_gcm.t (Wstat: 1280 Tests: 12 Failed: 5) Failed tests: 2, 4, 6, 8, 11 Non-zero exit status: 5 t/auth_enc_gcm_test_vector_ltc.t (Wstat: 8448 Tests: 42 Failed: 33) Failed tests: 2, 4, 6-7, 9, 11, 13-14, 16, 18, 20-42 Non-zero exit status: 33 Files=90, Tests=12729, 31 wallclock secs ( 3.48 usr 0.57 sys + 25.41 cusr 2.01 csys = 31.47 CPU) Result: FAIL Failed 2/90 test programs. 38/12729 subtests failed. Show quoted text
Test Summary Report ------------------- t/auth_enc_gcm.t (Wstat: 1280 Tests: 12 Failed: 5) Failed tests: 2, 4, 6, 8, 11 Non-zero exit status: 5 t/auth_enc_gcm_test_vector_ltc.t (Wstat: 8448 Tests: 42 Failed: 33) Failed tests: 2, 4, 6-7, 9, 11, 13-14, 16, 18, 20-42 Non-zero exit status: 33 Files=90, Tests=12729, 32 wallclock secs ( 3.50 usr 0.58 sys + 27.56 cusr 1.99 csys = 33.63 CPU) Result: FAIL Failed 2/90 test programs. 38/12729 subtests failed. Show quoted text
Test Summary Report ------------------- t/auth_enc_gcm.t (Wstat: 1280 Tests: 12 Failed: 5) Failed tests: 2, 4, 6, 8, 11 Non-zero exit status: 5 t/auth_enc_gcm_test_vector_ltc.t (Wstat: 8448 Tests: 42 Failed: 33) Failed tests: 2, 4, 6-7, 9, 11, 13-14, 16, 18, 20-42 Non-zero exit status: 33 Files=90, Tests=12729, 33 wallclock secs ( 3.44 usr 0.55 sys + 27.91 cusr 2.01 csys = 33.91 CPU) Result: FAIL Failed 2/90 test programs. 38/12729 subtests failed. Adding +M2 +w1, removing -DLTC_NO_FAST Attached $ prove -vwb t/auth_enc_gcm.t t/auth_enc_gcm.t .. 1..12 ok 1 - enc: ciphertext not ok 2 - enc: tag # Failed test 'enc: tag' # at t/auth_enc_gcm.t line 22. # got: '623e0cd54be09fdc06945fc1da72dc27' # expected: 'd225e849d4d076cf9e85d5303450e793' ok 3 - dec1: plaintext not ok 4 - dec1: tag # Failed test 'dec1: tag' # at t/auth_enc_gcm.t line 31. # got: '623e0cd54be09fdc06945fc1da72dc27' # expected: 'd225e849d4d076cf9e85d5303450e793' ok 5 - dec2: plaintext not ok 6 - dec2: tag # Failed test 'dec2: tag' # at t/auth_enc_gcm.t line 41. # got: '623e0cd54be09fdc06945fc1da72dc27' # expected: 'd225e849d4d076cf9e85d5303450e793' ok 7 - gcm_encrypt_authenticate: ciphertext (no header) not ok 8 - gcm_encrypt_authenticate: tag (no header) # Failed test 'gcm_encrypt_authenticate: tag (no header)' # at t/auth_enc_gcm.t line 47. # got: '240009b432da098dd45993bb700db390' # expected: '1685ba0eda059ace4aab6539980c30c0' ok 9 - gcm_decrypt_verify: plaintext (no header) ok 10 - gcm_encrypt_authenticate: ciphertext (no header) not ok 11 - gcm_encrypt_authenticate: tag (no header) # Failed test 'gcm_encrypt_authenticate: tag (no header)' # at t/auth_enc_gcm.t line 55. # got: '623e0cd54be09fdc06945fc1da72dc27' # expected: 'd225e849d4d076cf9e85d5303450e793' ok 12 - gcm_decrypt_verify: plaintext (no header) # Looks like you failed 5 tests of 12. Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/12 subtests Test Summary Report ------------------- t/auth_enc_gcm.t (Wstat: 1280 Tests: 12 Failed: 5) Failed tests: 2, 4, 6, 8, 11 Non-zero exit status: 5 Files=1, Tests=12, 0 wallclock secs ( 0.08 usr 0.02 sys + 0.09 cusr 0.02 csys = 0.21 CPU) Result: FAIL Show quoted text
> Apart from PASS/FAIL results please also check that following 2 warnings > have disappeared: > > > "src/ltc/ciphers/camellia.c", line 193: warning #2191-D: type qualifier is > meaningless on cast type > U = D ^ ROR(U, (const int)8); > > > "src/ltc/pk/asn1/der/bit/der_decode_raw_bit_string.c", line 21: warning > #2047-D: > incompatible redefinition of macro "setbit" (declared at line 426 of > "/usr/include/sys/param.h") > #define setbit(v, n) (v=((unsigned char)(v) | (1U << (unsigned > char)(n)))) > > -- > Karel
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download Build.log.gz
application/gzip 78.6k

Message body not shown because it is not plain text.

Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Sun, 10 Jan 2016 18:15:16 +0100
To: bug-CryptX [...] rt.cpan.org
From: Karel Miko <miko [...] dcit.cz>
Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Sun, 10 Jan 2016 19:06:24 +0100
To: bug-CryptX [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Sun, 10 Jan 2016 20:04:45 +0100
To: bug-CryptX [...] rt.cpan.org
From: Karel Miko <miko [...] dcit.cz>
Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Sun, 10 Jan 2016 21:03:55 +0100
To: bug-CryptX [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Sun, 10 Jan 2016 14:04:59 -0500, "Karel Miko via RT" <bug-CryptX@rt.cpan.org> wrote: Show quoted text
All PASS -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Sun, 10 Jan 2016 21:53:00 +0100
To: bug-CryptX [...] rt.cpan.org
From: Karel Miko <miko [...] dcit.cz>
The final one is: http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_29.tar.gz It should PASS and I plan to give cpantesters some time to see other platfroms as well. I'll report the issue to libtomcrypt project, - could you please provide me with exact versions of OS and compiler? Thanks. -- Karel
Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Mon, 11 Jan 2016 09:30:02 +0100
To: bug-CryptX [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Sun, 10 Jan 2016 15:53:19 -0500, "Karel Miko via RT" <bug-CryptX@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=110747 > > > The final one is: > http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_29.tar.gz > > It should PASS and I plan to give cpantesters some time to see other > platfroms as well. > > I'll report the issue to libtomcrypt project, - could you please provide > me with exact versions of OS and compiler?
----------------------------------------------------------------------- HP-UX 11.31/64 U rx2660/64 Itanium 2 9100/1710(2) ia64 4075 Mb $ cc --version cc: HP C/aC++ B3910B A.06.26 [Apr 12 2011] This is perl 5, version 14, subversion 2 (v5.14.2) built for IA64.ARCHREV_0-LP64-ld All tests successful. Files=90, Tests=12729, 32 wallclock secs ( 2.33 usr 0.49 sys + 23.92 cusr 1.98 csys = 28.72 CPU) Result: PASS ----------------------------------------------------------------------- HP-UX 11.23/64 U rx1620/64 Itanium 2/1600(2) ia64 2037 Mb $ cc --version cc: HP C/aC++ B3910B A.06.25.02 [Nov 25 2010] This is perl 5, version 14, subversion 2 (v5.14.2) built for IA64.ARCHREV_0-LP64-ld All tests successful. Files=90, Tests=12729, 34 wallclock secs ( 3.60 usr 0.61 sys + 28.02 cusr 2.03 csys = 34.26 CPU) Result: PASS ----------------------------------------------------------------------- HP-UX 11.23/64 U L1500-7x/64 PA8700/750 pa-2.0 6144 Mb $ what `path cc` /usr/bin/cc: $Revision: 92453-07 linker linker crt0.o B.11.64 080728 $ LINT B.11.11.22 CXREF B.11.11.22 HP92453-01 B.11.11.22 HP C Compiler $ PATCH/11.00:PHCO_27774 Oct 3 2002 09:45:59 $ This is perl 5, version 14, subversion 2 (v5.14.2) built for PA-RISC2.0-LP64 All tests successful. Files=90, Tests=12729, 102 wallclock secs ( 7.34 usr 1.13 sys + 73.87 cusr 4.15 csys = 86.49 CPU) Result: PASS ----------------------------------------------------------------------- HP-UX 11.11/64 U rp3410/64 PA8800/800(2) pa-2.0 4094 Mb $ what `path cc` /usr/bin/cc: $Revision: 92453-07 linker linker crt0.o B.11.53 060807 $ LINT B.11.11.18 CXREF B.11.11.18 HP92453-01 B.11.11.18 HP C Compiler $ PATCH/11.00:PHCO_27774 Oct 3 2002 09:45:59 $ This is perl 5, version 14, subversion 2 (v5.14.2) built for PA-RISC2.0-LP64 All tests successful. Files=90, Tests=12729, 97 wallclock secs ( 5.62 usr 0.57 sys + 71.19 cusr 2.73 csys = 80.11 CPU) Result: PASS ----------------------------------------------------------------------- HP-UX 11.00/64 U rp2470/64 PA8700/750(2) pa-2.0 2048 Mb My 11.00 box is dead, and I had no time yet to investigate the cause ----------------------------------------------------------------------- HP-UX 10.20/32 U 9000/800/D390 PA8000/240 pa-2.0 512 Mb NOTE that HP-UX 10.20 should be considered DEAD/DECEASED (also note that I can give you access to this box) $ what `path cc` /usr/bin/cc: LINT A.10.32.30 CXREF A.10.32.30 HP92453-01 A.10.32.30 HP C Compiler /usr/lib/libc: $Revision: 76.3 $ This is perl, v5.8.8 built for PA-RISC2.0 Checking prerequisites... ld test - ERROR: Exporter (5.58) is installed, but we need version >= 5.59 - ERROR: Exporter (5.58) is installed, but we need version >= 5.59 That doesn't look to be true. 5.58 works OK, as proven below cc -Isrc -I/pro/lib/perl5/5.8.8/PA-RISC2.0/CORE +Z -Isrc/ltc/headers -Isrc/ltm -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC -c -Ae +DAportable +Z -z -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -o src/ltc/pk/dh/dh.o src/ltc/pk/dh/dh.c cpp: "tomcrypt_custom.h", line 525: warning 2013: Unknown preprocessing directive. cc: "src/ltc/pk/dh/dh_static.h", line 75: error 1000: Unexpected symbol: "void". cc: "src/ltc/pk/dh/dh_static.h", line 93: error 1000: Unexpected symbol: "int". cc: "src/ltc/pk/dh/dh_static.h", line 93: error 1586: Redefinition of function "inline". error building src/ltc/pk/dh/dh.o from 'src/ltc/pk/dh/dh.c' at /pro/lib/perl5/site_perl/5.8.8/ExtUtils/CBuilder/Base.pm line 110. that is caused by the fact that this ancient compiler does not (yet) define __HP_cc. If I add «$flags .= " -D__HP_cc";» to Build.PL. I do not expect you to fix that, but you could add a note in the README or somesuch: cc -Isrc -I/pro/lib/perl5/5.8.8/PA-RISC2.0/CORE +Z -Isrc/ltc/headers -Isrc/ltm -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC -D__HP_cc -c -Ae +DAportable +Z -z -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -o src/ltc/prngs/rng_get_bytes.o src/ltc/prngs/rng_get_bytes.c cpp: "tomcrypt_custom.h", line 525: warning 2013: Unknown preprocessing directive. cc: "src/ltc/prngs/rng_get_bytes.c", line 30: error 1000: Unexpected symbol: "FILE". error building src/ltc/prngs/rng_get_bytes.o from 'src/ltc/prngs/rng_get_bytes.c' at /pro/lib/perl5/site_perl/5.8.8/ExtUtils/CBuilder/Base.pm line 110. looks like the preprocessor doesn't know #warning ANSI C89 does not allow declaration after statements, so it would be more to the standards to use this conformant code instead: --8<--- #ifdef LTC_NO_FILE LTC_UNUSED_PARAM(callback); LTC_UNUSED_PARAM(buf); LTC_UNUSED_PARAM(len); return 0; #else FILE *f; unsigned long x; LTC_UNUSED_PARAM(callback); -->8--- $ openssl version OpenSSL 1.0.1q 3 Dec 2015 note that HP-UX 10.20 does not have /dev/random $ perl Build test : t/jwk.t ............................. FATAL: rng_make_prng failed: Error reading the PRNG. at /u/usr/merijn/CryptX-0.026_29/blib/lib/Crypt/PK/RSA.pm line 18. # Looks like your test exited with 2 before it could output anything. t/jwk.t ............................. Dubious, test returned 2 (wstat 512, 0x200) Failed 86/86 subtests Test Summary Report ------------------- t/jwk.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 86 tests but ran 0. t/pk_dh.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 28 tests but ran 0. t/pk_dsa.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 44 tests but ran 0. t/pk_dsa_test_vectors_openssl.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 90 tests but ran 0. t/pk_ecc.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 91 tests but ran 0. t/pk_ecc_test_vectors_openssl.t (Wstat: 512 Tests: 120 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 660 tests but ran 120. t/pk_enc_pem.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 27 tests but ran 0. t/pk_rsa.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 45 tests but ran 0. t/pk_rsa_test_vectors_openssl.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 246 tests but ran 0. t/pkcs8.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 8 tests but ran 0. t/prng.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/prng_fortuna.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/prng_rc4.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/prng_sober128.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/prng_yarrow.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/sshkey.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 57 tests but ran 0. Files=90, Tests=11372, 319 wallclock secs (24.95 usr 1.35 sys + 107.90 cusr 5.68 csys = 139.88 CPU) Result: FAIL Failed 16/90 test programs. 0/11372 subtests failed. Show quoted text
> Thanks. > > -- > Karel
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Tue, 12 Jan 2016 23:35:53 +0100
To: bug-CryptX [...] rt.cpan.org
From: Karel Miko <miko [...] dcit.cz>
Ad HP-UX 10.20. I have fixed this one: Show quoted text
> ... > ANSI C89 does not allow declaration after statements, so it would be > more to the standards to use this conformant code instead: > --8<--- > #ifdef LTC_NO_FILE > LTC_UNUSED_PARAM(callback); > LTC_UNUSED_PARAM(buf); > LTC_UNUSED_PARAM(len); > return 0; > #else > FILE *f; > unsigned long x; > > LTC_UNUSED_PARAM(callback); > -->8---
I suggest moving the rest of 10.20 troubles to a separate ticket. On top of that I have also updated libtommath library which might be platform "sensitive". Could you please check: http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_30.tar.gz -- Karel
Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Tue, 12 Jan 2016 23:38:32 +0100
To: bug-CryptX [...] rt.cpan.org
From: Karel Miko <miko [...] dcit.cz>
Ups, ..._30 is missing one file Please use: http://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_31.tar.gz
Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Wed, 13 Jan 2016 09:26:45 +0100
To: bug-CryptX [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Tue, 12 Jan 2016 17:38:51 -0500, "Karel Miko via RT" <bug-CryptX@rt.cpan.org> wrote: Show quoted text
11.31-ia64 All tests successful. Files=90, Tests=12729, 32 wallclock secs ( 2.38 usr 0.51 sys + 23.39 cusr 1.97 csys = 28.25 CPU) Result: PASS 11.23-ia64 All tests successful. Files=90, Tests=12729, 31 wallclock secs ( 3.46 usr 0.59 sys + 26.14 cusr 1.97 csys = 32.16 CPU) Result: PASS 11.23-pa2 All tests successful. Files=90, Tests=12729, 113 wallclock secs ( 7.25 usr 1.11 sys + 95.70 cusr 4.18 csys = 108.24 CPU) Result: PASS 11.11-pa2 cc -Isrc -I/pro/lib/perl5/5.14.2/PA-RISC2.0-LP64/CORE +Z -Isrc/ltc/headers -Isrc/ltm -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC -c -Ae -DDEBUGGING +Z -z -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DD64 -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -o src/ltc/math/ltm_desc.o src/ltc/math/ltm_desc.c cpp: "src/ltm/tommath.h", line 20: error 4036: Can't open include file 'stdint.h'. error building src/ltc/math/ltm_desc.o from 'src/ltc/math/ltm_desc.c' at /pro/lib/perl5/site_perl/5.14.2/ExtUtils/CBuilder/Base.pm line 173. -- removed #include <stdint.h> from src/ltm/tommath.h All tests successful. Files=90, Tests=12729, 88 wallclock secs ( 6.07 usr 0.68 sys + 75.19 cusr 2.86 csys = 84.80 CPU) Result: PASS 10.20-pa2 cc -Isrc -I/pro/lib/perl5/5.8.8/PA-RISC2.0/CORE +Z -Isrc/ltc/headers -Isrc/ltm -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC -D__HP_cc -c -Ae +DAportable +Z -z -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +O2 +Onolimit -o src/ltc/math/ltm_desc.o src/ltc/math/ltm_desc.c cpp: "tomcrypt_custom.h", line 525: warning 2013: Unknown preprocessing directive. cpp: "tommath.h", line 20: error 4036: Can't open include file 'stdint.h'. error building src/ltc/math/ltm_desc.o from 'src/ltc/math/ltm_desc.c' at /pro/lib/perl5/site_perl/5.8.8/ExtUtils/CBuilder/Base.pm line 110. -- remove #warning from src/ltc/headers/tomcrypt_custom.h -- removed #include <stdint.h> from src/ltm/tommath.h t/jwk.t ............................. FATAL: rng_make_prng failed: Error reading the PRNG. at /u/usr/merijn/.cpan/build/CryptX-0.026_31/blib/lib/Crypt/PK/RSA.pm line 18. # Looks like your test exited with 2 before it could output anything. t/jwk.t ............................. Dubious, test returned 2 (wstat 512, 0x200) Failed 86/86 subtests Test Summary Report ------------------- t/jwk.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 86 tests but ran 0. t/pk_dh.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 28 tests but ran 0. t/pk_dsa.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 44 tests but ran 0. t/pk_dsa_test_vectors_openssl.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 90 tests but ran 0. t/pk_ecc.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 91 tests but ran 0. t/pk_ecc_test_vectors_openssl.t (Wstat: 512 Tests: 120 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 660 tests but ran 120. t/pk_enc_pem.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 27 tests but ran 0. t/pk_rsa.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 45 tests but ran 0. t/pk_rsa_test_vectors_openssl.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 246 tests but ran 0. t/pkcs8.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 8 tests but ran 0. t/prng.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/prng_fortuna.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/prng_rc4.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/prng_sober128.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/prng_yarrow.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/sshkey.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 57 tests but ran 0. Files=90, Tests=11372, 152 wallclock secs (24.87 usr 1.38 sys + 107.44 cusr 6.36 csys = 140.05 CPU) Result: FAIL Failed 16/90 test programs. 0/11372 subtests failed. -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Thu, 14 Jan 2016 22:19:54 +0100
To: bug-CryptX [...] rt.cpan.org
From: Karel Miko <miko [...] auditsquare.com>
Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Fri, 22 Jan 2016 17:10:33 +0100
To: bug-CryptX [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Thu, 21 Jan 2016 16:51:16 -0500, "Karel Miko via RT" <bug-CryptX@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=110747 > > > Ping. > > Testing these at HP-UX/IA64 + HP-UX/10.20 would be nice:
I: For Itanium I used: HP-UX 11.31/64 U rx2660/64 Itanium 2 9100/1710(2) ia64 4075 Mb This is perl 5, version 14, subversion 2 (v5.14.2) built for IA64.ARCHREV_0-LP64-ld P: For 10.20, I used: HP-UX 10.20/32 U 9000/800/D390 PA8000/240 pa-2.0 512 Mb This is perl, v5.8.8 built for PA-RISC2.0 Scroll to the end :) Checking prerequisites... - ERROR: Exporter (5.58) is installed, but we need version >= 5.59 - ERROR: Exporter (5.58) is installed, but we need version >= 5.59 Which is still not true: 5.58 suffices Show quoted text
I: All tests successful. Files=90, Tests=12729, 29 wallclock secs ( 2.30 usr 0.44 sys + 24.09 cusr 1.90 csys = 28.73 CPU) Result: PASS P: t/jwk.t ............................. FATAL: rng_make_prng failed: Error reading the PRNG. at /data/opt-perl/.cpan/build/CryptX-0.026_35/blib/lib/Crypt/PK/RSA.pm line 18. # Looks like your test exited with 2 before it could output anything. t/jwk.t ............................. Dubious, test returned 2 (wstat 512, 0x200) Failed 86/86 subtests Failed 57/57 subtests Test Summary Report ------------------- t/jwk.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 86 tests but ran 0. t/pk_dh.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 28 tests but ran 0. t/pk_dsa.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 44 tests but ran 0. t/pk_dsa_test_vectors_openssl.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 90 tests but ran 0. t/pk_ecc.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 91 tests but ran 0. t/pk_ecc_test_vectors_openssl.t (Wstat: 512 Tests: 120 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 660 tests but ran 120. t/pk_enc_pem.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 27 tests but ran 0. t/pk_rsa.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 45 tests but ran 0. t/pk_rsa_test_vectors_openssl.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 246 tests but ran 0. t/pkcs8.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 8 tests but ran 0. t/prng.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/prng_fortuna.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/prng_rc4.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/prng_sober128.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/prng_yarrow.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/sshkey.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 57 tests but ran 0. Files=90, Tests=11372, 262 wallclock secs (25.07 usr 1.38 sys + 108.43 cusr 5.51 csys = 140.39 CPU) Result: FAIL Failed 16/90 test programs. 0/11372 subtests failed. Show quoted text
I: Test Summary Report ------------------- t/auth_enc_gcm.t (Wstat: 1280 Tests: 12 Failed: 5) Failed tests: 2, 4, 6, 8, 11 Non-zero exit status: 5 t/auth_enc_gcm_test_vector_ltc.t (Wstat: 8448 Tests: 42 Failed: 33) Failed tests: 2, 4, 6-7, 9, 11, 13-14, 16, 18, 20-42 Non-zero exit status: 33 Files=90, Tests=12729, 38 wallclock secs ( 2.29 usr 0.46 sys + 23.67 cusr 1.92 csys = 28.34 CPU) Result: FAIL Failed 2/90 test programs. 38/12729 subtests failed. P: Test Summary Report ------------------- t/jwk.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 86 tests but ran 0. t/pk_dh.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 28 tests but ran 0. t/pk_dsa.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 44 tests but ran 0. t/pk_dsa_test_vectors_openssl.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 90 tests but ran 0. t/pk_ecc.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 91 tests but ran 0. t/pk_ecc_test_vectors_openssl.t (Wstat: 512 Tests: 120 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 660 tests but ran 120. t/pk_enc_pem.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 27 tests but ran 0. t/pk_rsa.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 45 tests but ran 0. t/pk_rsa_test_vectors_openssl.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 246 tests but ran 0. t/pkcs8.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 8 tests but ran 0. t/prng.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/prng_fortuna.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/prng_rc4.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/prng_sober128.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/prng_yarrow.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 19 tests but ran 0. t/sshkey.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 57 tests but ran 0. Files=90, Tests=11372, 357 wallclock secs (25.82 usr 1.55 sys + 108.80 cusr 5.53 csys = 141.70 CPU) Result: FAIL Failed 16/90 test programs. 0/11372 subtests failed. Show quoted text
I: Test Summary Report ------------------- t/auth_enc_gcm.t (Wstat: 1280 Tests: 12 Failed: 5) Failed tests: 2, 4, 6, 8, 11 Non-zero exit status: 5 t/auth_enc_gcm_test_vector_ltc.t (Wstat: 8448 Tests: 42 Failed: 33) Failed tests: 2, 4, 6-7, 9, 11, 13-14, 16, 18, 20-42 Non-zero exit status: 33 Files=90, Tests=12729, 32 wallclock secs ( 2.34 usr 0.51 sys + 25.01 cusr 1.97 csys = 29.83 CPU) Result: FAIL Failed 2/90 test programs. 38/12729 subtests failed. P: This test run took over 4½ hours!!! All tests successful. Files=90, Tests=12729, 15996 wallclock secs (27.57 usr 1.56 sys + 3190.03 cusr 6413.33 csys = 9632.49 CPU) Result: PASS Show quoted text
> Thanks.
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Fri, 22 Jan 2016 19:54:44 +0100
To: bug-CryptX [...] rt.cpan.org
From: Karel Miko <miko [...] auditsquare.com>
Ad: Show quoted text
> Checking prerequisites... > - ERROR: Exporter (5.58) is installed, but we need version >= 5.59 > - ERROR: Exporter (5.58) is installed, but we need version >= 5.59 > Which is still not true: 5.58 suffices
I have changed 5.59 >> 5.58 Ad: Show quoted text
> P: This test run took over 4½ hours!!!
Sorry for that but it is due to missing /dev/random as in such case there is a fallback to some kind of random entropy collection which is time demanding (and probably happens many times during test suite). The following should pass on both: https://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_38.tar.gz Please test at 11.x/IA64 (10.20 is not necessary, just if you have some spare CPU-time :) -- Karel
Subject: Re: [rt.cpan.org #110747] GCM tests fail on HP-UX (ia64)
Date: Fri, 22 Jan 2016 22:31:25 +0100
To: bug-CryptX [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Fri, 22 Jan 2016 13:55:09 -0500, "Karel Miko via RT" <bug-CryptX@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=110747 > > > Ad:
> > Checking prerequisites... > > - ERROR: Exporter (5.58) is installed, but we need version >= 5.59 > > - ERROR: Exporter (5.58) is installed, but we need version >= 5.59 > > Which is still not true: 5.58 suffices
> > I have changed 5.59 >> 5.58 > > Ad:
> > P: This test run took over 4½ hours!!!
> Sorry for that but it is due to missing /dev/random as in such case there > is a fallback to some kind of random entropy collection which is time > demanding (and probably happens many times during test suite). > > The following should pass on both: > https://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.026_38.tar.gz > > Please test at 11.x/IA64 (10.20 is not necessary, just if you have some > spare CPU-time :)
11.31 All tests successful. Files=90, Tests=12729, 26 wallclock secs ( 2.51 usr 0.56 sys + 22.90 cusr 1.92 csys = 27.89 CPU) Result: PASS 11.23 All tests successful. Files=90, Tests=12729, 30 wallclock secs ( 3.35 usr 0.58 sys + 26.96 cusr 2.06 csys = 32.95 CPU) Result: PASS Show quoted text
> -- > Karel
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.23 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download (untitled)
application/pgp-signature 490b

Message body not shown because it is not plain text.

This issue is fixed in CryptX-0.027 BTW I have also released dev version CryptX-0.027_05.tar.gz where I changed Module::Build for EU::MM. It has no dependencies and is happy with EU::MM as old as perl-5.6.2. I have tested CryptX-0.027_05.tar.gz on all platforms/compilers I have access to - linux (misc. versions, x86/x64), aix 7, hpux (yours), cygwin (x86+gcc3, x64+gcc4), mswin (mingw/msvc, x86/x64). If you find any platform where it does not build please file a RT. Many thanks for your time on this ticket.