Skip Menu |

This queue is for tickets about the MQSeries CPAN distribution.

Report information
The Basics
Id: 79135
Status: resolved
Priority: 0/
Queue: MQSeries

People
Owner: w.phillip.moore [...] gmail.com
Requestors: Joern.Rink [...] gad.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: Peter.Bartsch [...] GAD.de, Martin.Luetkehermoelle [...] gad.de
Subject: bug in make test
Date: Wed, 22 Aug 2012 15:00:40 +0200
To: bug-MQSeries [...] rt.cpan.org
From: Joern.Rink [...] gad.de
Hi, we are running on SLES 11 64bit on linuxzvm. There we have installed the 7.0.1 MQclient: LXEDEV01:/tmp/MQSeries-1.33 # rpm -qa | grep MQ MQSeriesRuntime-7.0.1-7 MQSeriesSamples-7.0.1-7 MQSeriesSDK-7.0.1-7 MQSeriesMsg_de-7.0.1-7 MQSeriesClient-7.0.1-7 and we have perl: ################################################################# LXEDEV01:/tmp/MQSeries-1.33 # perl -v This is perl, v5.10.0 built for s390x-linux-thread-multi Copyright 1987-2007, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. ################################################################## uname -a: LXEDEV01:/tmp/MQSeries-1.33 # uname -a Linux LXEDEV01 3.0.34-0.7-default #1 SMP Tue Jun 19 09:56:30 UTC 2012 (fbfc70c) s390x s390x s390x GNU/Linux we get the following error in make test of the MQSeries-1.33 source: LXEDEV01:/tmp/MQSeries-1.33 # make test make[1]: Entering directory `/tmp/MQSeries-1.33/MQClient' make[1]: Leaving directory `/tmp/MQSeries-1.33/MQClient' make[1]: Entering directory `/tmp/MQSeries-1.33/MQSeries-Message-DeadLetter' make[1]: Leaving directory `/tmp/MQSeries-1.33/MQSeries-Message-DeadLetter' make[1]: Entering directory `/tmp/MQSeries-1.33/MQSeries-Message-PCF' make[1]: Leaving directory `/tmp/MQSeries-1.33/MQSeries-Message-PCF' make[1]: Entering directory `/tmp/MQSeries-1.33/MQServer' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/tmp/MQSeries-1.33/MQServer' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/99-pod....skipped all skipped: Test::Pod required for testing POD All tests successful, 1 test skipped. Files=1, Tests=0, 0 wallclock secs ( 0.01 cusr + 0.00 csys = 0.01 CPU) make[1]: Entering directory `/tmp/MQSeries-1.33/MQClient' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t t/10constants.............FAILED tests 378, 595, 715, 767, 815, 1373, 1574, 1750, 1882 Failed 9/2183 tests, 99.59% okay t/20convert...............FAILED tests 2-6 Failed 5/6 tests, 16.67% okay t/30basic.................ok 17/18 skipped: various reasons t/31properties............ok 21/22 skipped: various reasons t/32async_put.............ok 24/25 skipped: various reasons t/40oo-qmgr...............ok 1/14 # Failed test 'use MQSeries::QueueManager;' # at t/40oo-qmgr.t line 22. # Tried to use 'MQSeries::QueueManager'. # Error: Bareword "MQSeries::MQCFT_INTEGER64_LIST" not allowed while "strict subs" in use at /tmp/MQSeries-1.33/MQClient/../blib/lib/MQSeries/Command/Base.pm line 511. # Compilation failed in require at /tmp/MQSeries-1.33/MQClient/../blib/lib/MQSeries/QueueManager.pm line 32. # BEGIN failed--compilation aborted at t/40oo-qmgr.t line 22. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. t/40oo-qmgr...............NOK 2/14Can't locate object method "new" via package "MQSeries::QueueManager" at t/40oo-qmgr.t line 38. # Looks like you planned 14 tests but only ran 2. # Looks like you failed 1 test of 2 run. # Looks like your test died just after 2. t/40oo-qmgr...............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-14 Failed 13/14 tests, 7.14% okay t/50oo-command............ok 1/32 # Failed test 'use MQSeries::QueueManager;' # at t/50oo-command.t line 22. # Tried to use 'MQSeries::QueueManager'. # Error: Bareword "MQSeries::MQCFT_INTEGER64_LIST" not allowed while "strict subs" in use at /tmp/MQSeries-1.33/MQClient/../blib/lib/MQSeries/Command/Base.pm line 511. # Compilation failed in require at /tmp/MQSeries-1.33/MQClient/../blib/lib/MQSeries/QueueManager.pm line 32. # BEGIN failed--compilation aborted at t/50oo-command.t line 22. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. t/50oo-command............NOK 2/32# Looks like you failed 1 test of 32. t/50oo-command............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 2 Failed 1/32 tests, 96.88% okay (less 29 skipped tests: 2 okay, 6.25%) t/51oo-command-changes....ok 1/102 # Failed test 'use MQSeries::QueueManager;' # at t/51oo-command-changes.t line 25. # Tried to use 'MQSeries::QueueManager'. # Error: Bareword "MQSeries::MQCFT_INTEGER64_LIST" not allowed while "strict subs" in use at /tmp/MQSeries-1.33/MQClient/../blib/lib/MQSeries/Command/Base.pm line 511. # Compilation failed in require at /tmp/MQSeries-1.33/MQClient/../blib/lib/MQSeries/QueueManager.pm line 32. # BEGIN failed--compilation aborted at t/51oo-command-changes.t line 25. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. t/51oo-command-changes....NOK 2/102# Looks like you failed 1 test of 102. t/51oo-command-changes....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 2 Failed 1/102 tests, 99.02% okay (less 99 skipped tests: 2 okay, 1.96%) t/52oo-command-filter.....ok 1/86 # Failed test 'use MQSeries::QueueManager;' # at t/52oo-command-filter.t line 25. # Tried to use 'MQSeries::QueueManager'. # Error: Bareword "MQSeries::MQCFT_INTEGER64_LIST" not allowed while "strict subs" in use at /tmp/MQSeries-1.33/MQClient/../blib/lib/MQSeries/Command/Base.pm line 511. # Compilation failed in require at /tmp/MQSeries-1.33/MQClient/../blib/lib/MQSeries/QueueManager.pm line 32. # BEGIN failed--compilation aborted at t/52oo-command-filter.t line 25. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. t/52oo-command-filter.....NOK 2/86# Looks like you failed 1 test of 86. t/52oo-command-filter.....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 2 Failed 1/86 tests, 98.84% okay (less 83 skipped tests: 2 okay, 2.33%) t/60-logs.................ok t/70-config...............ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/10constants.t 2183 9 378 595 715 767 815 1373 1574 1750 1882 t/20convert.t 6 5 2-6 t/40oo-qmgr.t 255 65280 14 25 2-14 t/50oo-command.t 1 256 32 1 2 t/51oo-command-changes.t 1 256 102 1 2 t/52oo-command-filter.t 1 256 86 1 2 273 subtests skipped. Failed 6/11 test scripts. 30/2490 subtests failed. Files=11, Tests=2490, 2 wallclock secs ( 1.31 cusr + 0.10 csys = 1.41 CPU) Failed 6/11 test programs. 30/2490 subtests failed. make[1]: *** [test_dynamic] Error 255 make[1]: Leaving directory `/tmp/MQSeries-1.33/MQClient' make: *** [subdirs-test] Error 2 I analysed the code and i have no idea, wh this variable is unset. Can you give me a hint about this error? Is it our fault? Mit freundlichen Grüßen Jörn Rink IT-Produktion / Basis und Infrastruktur Tel.: 0251 7133 - 1410 ; Fax.: 0251 7133 - 91410 GAD eG GAD-Straße 2-6 - 48163 Münster http://www.gad.de Vorstand : Anno Lederer (Vors.), Jörg Dreinhöfer, Friedhelm Wagner Aufsichtsratsvorsitzender: Wilfried Guttmann Sitz: Münster/Westf., Amtsgericht Münster, Genossenschafts-Register 337

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #79135] bug in make test
Date: Wed, 22 Aug 2012 11:33:48 -0400
To: "Joern.Rink via RT" <bug-MQSeries [...] rt.cpan.org>
From: perl-mqseries [...] morganstanley.com
On Wed, Aug 22, 2012 at 09:01:15AM -0400, Joern.Rink via RT wrote: Show quoted text
> Wed Aug 22 09:01:14 2012: Request 79135 was acted upon. > Transaction: Ticket created by Joern.Rink@gad.de > Queue: MQSeries > Subject: bug in make test > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: Joern.Rink@gad.de > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79135 > > > > > > Hi, > > we are running on SLES 11 64bit on linuxzvm. > > There we have installed the 7.0.1 MQclient: > > > LXEDEV01:/tmp/MQSeries-1.33 # rpm -qa | grep MQ > MQSeriesRuntime-7.0.1-7 > MQSeriesSamples-7.0.1-7 > MQSeriesSDK-7.0.1-7 > MQSeriesMsg_de-7.0.1-7 > MQSeriesClient-7.0.1-7 >
[snip] Show quoted text
> # Error: Bareword "MQSeries::MQCFT_INTEGER64_LIST" not allowed while
[snip] so...you have mqv7 and perl 5.10, but it looks like MQCFT_INTEGER64_LIST isn't defined by your cmqcfc.h. can you tell is what you get for this command: grep MQCFT_INTEGER64 /opt/mqm/inc/cmqcfc.h -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
Subject: Antwort: Re: [rt.cpan.org #79135] bug in make test
Date: Wed, 22 Aug 2012 18:03:29 +0200
To: bug-MQSeries [...] rt.cpan.org
From: Joern.Rink [...] gad.de
Hi, first of all, are you able to remove my footer of the first mail, which is the description of the bug? I do not want that everyone see my phone number. ok, so, we ask our mq guys, and they told us, that there is a new client and a new sdk. So, now we install the new MQSeries, it is: MQSeriesMsg_de-7.1.0-1 MQSeriesRuntime-7.1.0-1 MQSeriesSDK-7.1.0-1 MQSeriesSamples-7.1.0-1 MQSeriesClient-7.1.0-1 and, now the bareword error is away. But i have a new "error" in the make test. Should i open a new ticket? I am not sure, if this is really an error, here is the output: LXEDEV01:/tmp/MQSeries-1.33 # make test make[1]: Entering directory `/tmp/MQSeries-1.33/MQClient' make[1]: Leaving directory `/tmp/MQSeries-1.33/MQClient' make[1]: Entering directory `/tmp/MQSeries-1.33/MQSeries-Message-DeadLetter' make[1]: Leaving directory `/tmp/MQSeries-1.33/MQSeries-Message-DeadLetter' make[1]: Entering directory `/tmp/MQSeries-1.33/MQSeries-Message-PCF' make[1]: Leaving directory `/tmp/MQSeries-1.33/MQSeries-Message-PCF' make[1]: Entering directory `/tmp/MQSeries-1.33/MQServer' make[1]: Leaving directory `/tmp/MQSeries-1.33/MQServer' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/99-pod....ok All tests successful. Files=1, Tests=63, 1 wallclock secs ( 0.32 cusr + 0.00 csys = 0.32 CPU) make[1]: Entering directory `/tmp/MQSeries-1.33/MQClient' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/10constants.............Cannot add determine value for 'MQENC_TNS', unknown constant 'MQENC_INTEGER_NORMAL ' Cannot add determine value for 'MQGMO_BROWSE_HANDLE', unknown constant 'MQGMO_MARK_BROWSE_HANDLE ' Cannot add determine value for 'MQENC_NORMAL', unknown constant 'MQENC_INTEGER_NORMAL ' Cannot add determine value for 'MQENC_S390', unknown constant 'MQENC_INTEGER_NORMAL ' Cannot add determine value for 'MQENC_REVERSED', unknown constant 'MQENC_INTEGER_REVERSED ' Cannot add determine value for 'MQGMO_BROWSE_CO_OP', unknown constant 'MQGMO_MARK_BROWSE_CO_OP ' t/10constants.............ok t/20convert...............FAILED tests 2-6 Failed 5/6 tests, 16.67% okay t/30basic.................ok 17/18 skipped: various reasons t/31properties............ok 21/22 skipped: various reasons t/32async_put.............ok 24/25 skipped: various reasons t/40oo-qmgr...............ok 1/14MQCONN failed (Reason = 2058) (Queue manager name not valid or not known.) at t/40oo-qmgr.t line 38 # Failed test 'MQSeries::QueueManager - constructor' # at t/40oo-qmgr.t line 39. t/40oo-qmgr...............NOK 3/14MQCONN failed (Reason = 2058) (Queue manager name not valid or not known.) at t/40oo-qmgr.t line 52 # Failed test 'MQSeries::QueueManager - Connect' # at t/40oo-qmgr.t line 58. t/40oo-qmgr...............NOK 5/14MQCONN failed (Reason = 2058) (Queue manager name not valid or not known.) at t/40oo-qmgr.t line 73 # Failed test 'MQSeries::QueueManager - constructor' # at t/40oo-qmgr.t line 74. Can't call method "Open" on an undefined value at t/40oo-qmgr.t line 77. # Looks like you planned 14 tests but only ran 7. # Looks like you failed 3 tests of 7 run. # Looks like your test died just after 7. t/40oo-qmgr...............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3, 5, 7-14 Failed 10/14 tests, 28.57% okay t/50oo-command............ok 29/32 skipped: various reasons t/51oo-command-changes....ok 99/102 skipped: various reasons t/52oo-command-filter.....ok 83/86 skipped: various reasons t/60-logs.................ok t/70-config...............ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/20convert.t 6 5 2-6 t/40oo-qmgr.t 255 65280 14 17 3 5 7-14 273 subtests skipped. Failed 2/11 test scripts. 15/5319 subtests failed. Files=11, Tests=5319, 2 wallclock secs ( 2.11 cusr + 0.16 csys = 2.27 CPU) Failed 2/11 test programs. 15/5319 subtests failed. make[1]: *** [test_dynamic] Error 255 make[1]: Leaving directory `/tmp/MQSeries-1.33/MQClient' make: *** [subdirs-test] Error 2 the strange thing is: ########################################## Cannot add determine value for 'MQENC_TNS', unknown constant 'MQENC_INTEGER_NORMAL ' Cannot add determine value for 'MQGMO_BROWSE_HANDLE', unknown constant 'MQGMO_MARK_BROWSE_HANDLE ' Cannot add determine value for 'MQENC_NORMAL', unknown constant 'MQENC_INTEGER_NORMAL ' Cannot add determine value for 'MQENC_S390', unknown constant 'MQENC_INTEGER_NORMAL ' Cannot add determine value for 'MQENC_REVERSED', unknown constant 'MQENC_INTEGER_REVERSED ' Cannot add determine value for 'MQGMO_BROWSE_CO_OP', unknown constant 'MQGMO_MARK_BROWSE_CO_OP ' ########################################## because in the cmqc.h these defines are there: ########################################## #define MQENC_NATIVE 0x00000111 /* Encoding Masks */ #define MQENC_INTEGER_MASK 0x0000000F #define MQENC_DECIMAL_MASK 0x000000F0 #define MQENC_FLOAT_MASK 0x00000F00 #define MQENC_RESERVED_MASK 0xFFFFF000 /* Encodings for Binary Integers */ #define MQENC_INTEGER_UNDEFINED 0x00000000 #define MQENC_INTEGER_NORMAL 0x00000001 #define MQENC_INTEGER_REVERSED 0x00000002 /* Encodings for Packed Decimal Integers */ #define MQENC_DECIMAL_UNDEFINED 0x00000000 #define MQENC_DECIMAL_NORMAL 0x00000010 #define MQENC_DECIMAL_REVERSED 0x00000020 /* Encodings for Floating Point Numbers */ #define MQENC_FLOAT_UNDEFINED 0x00000000 #define MQENC_FLOAT_IEEE_NORMAL 0x00000100 #define MQENC_FLOAT_IEEE_REVERSED 0x00000200 #define MQENC_FLOAT_S390 0x00000300 #define MQENC_FLOAT_TNS 0x00000400 /* Encodings for Multicast */ #define MQENC_NORMAL ( MQENC_FLOAT_IEEE_NORMAL \ | MQENC_DECIMAL_NORMAL \ | MQENC_INTEGER_NORMAL ) #define MQENC_REVERSED ( MQENC_FLOAT_IEEE_REVERSED \ | MQENC_DECIMAL_REVERSED \ | MQENC_INTEGER_REVERSED ) #define MQENC_S390 ( MQENC_FLOAT_S390 \ | MQENC_DECIMAL_NORMAL \ | MQENC_INTEGER_NORMAL ) #define MQENC_TNS ( MQENC_FLOAT_TNS \ | MQENC_DECIMAL_NORMAL \ | MQENC_INTEGER_NORMAL ) ################################################ So, is the cannot determine stuff an error? regards, Jörn Rink Von: "Perl MQSeries Maintainers via RT" <bug-MQSeries@rt.cpan.org> An: Joern.Rink@gad.de, Datum: 22.08.2012 17:34 Betreff: Re: [rt.cpan.org #79135] bug in make test <URL: https://rt.cpan.org/Ticket/Display.html?id=79135 > On Wed, Aug 22, 2012 at 09:01:15AM -0400, Joern.Rink via RT wrote: Show quoted text
> Wed Aug 22 09:01:14 2012: Request 79135 was acted upon. > Transaction: Ticket created by Joern.Rink@gad.de > Queue: MQSeries > Subject: bug in make test > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: Joern.Rink@gad.de > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79135 > > > > > > Hi, > > we are running on SLES 11 64bit on linuxzvm. > > There we have installed the 7.0.1 MQclient: > > > LXEDEV01:/tmp/MQSeries-1.33 # rpm -qa | grep MQ > MQSeriesRuntime-7.0.1-7 > MQSeriesSamples-7.0.1-7 > MQSeriesSDK-7.0.1-7 > MQSeriesMsg_de-7.0.1-7 > MQSeriesClient-7.0.1-7 >
[snip] Show quoted text
> # Error: Bareword "MQSeries::MQCFT_INTEGER64_LIST" not allowed while
[snip] so...you have mqv7 and perl 5.10, but it looks like MQCFT_INTEGER64_LIST isn't defined by your cmqcfc.h. can you tell is what you get for this command: grep MQCFT_INTEGER64 /opt/mqm/inc/cmqcfc.h -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.

Message body is not shown because it is too large.

Download graycol.gif
image/gif 105b
graycol.gif
Subject: Re: Antwort: Re: [rt.cpan.org #79135] bug in make test
Date: Wed, 22 Aug 2012 12:16:32 -0400
To: "Joern.Rink via RT" <bug-MQSeries [...] rt.cpan.org>
From: perl-mqseries [...] morganstanley.com
On Wed, Aug 22, 2012 at 12:04:21PM -0400, Joern.Rink via RT wrote: Show quoted text
> Queue: MQSeries > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79135 > > > Hi, > > first of all, are you able to remove my footer of the first mail, which is > the description of the bug? I do not want > that everyone see my phone number.
that's understandable, but i don't think i can do that. you could try asking the site maintainers about it. Show quoted text
> ok, so, we ask our mq guys, and they told us, that there is a new client > and a new sdk. > > So, now we install the new MQSeries, it is: > > MQSeriesMsg_de-7.1.0-1 > MQSeriesRuntime-7.1.0-1 > MQSeriesSDK-7.1.0-1 > MQSeriesSamples-7.1.0-1 > MQSeriesClient-7.1.0-1 > > > and, now the bareword error is away.
ok, good. it may be that you were simply missing some header files beforehand. Show quoted text
> But i have a new "error" in the make test. > > Should i open a new ticket? > > > I am not sure, if this is really an error, here is the output:
[snip] Show quoted text
> t/10constants.............Cannot add determine value for 'MQENC_TNS', > unknown constant 'MQENC_INTEGER_NORMAL ' > Cannot add determine value for 'MQGMO_BROWSE_HANDLE', unknown constant > 'MQGMO_MARK_BROWSE_HANDLE '
[snip] no new ticket is needed. this one is also simple. starting in 7.1.0.0, some of the defines in the header files changed slightly. while it's purely cosmetic, the changes fell afoul of the crude cpp parser in util/parse_headers and made it miss things. the fix for it is in 1.34 (not yet released), but all you need to do is find these lines in that script: $value =~ s/^\(//; $value =~ s/\)$//; and replace them with these lines: $value =~ s/^\(\s*//; $value =~ s/\s*\)$//; after that's done, restart the built from the "perl Makefile.PL" step. -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
Subject: Antwort: Re: Antwort: Re: [rt.cpan.org #79135] bug in make test
Date: Wed, 22 Aug 2012 18:33:27 +0200
To: bug-MQSeries [...] rt.cpan.org
From: Joern.Rink [...] gad.de
Hi, okay, the message is away, but still convert errors: LXEDEV01:/tmp/MQSeries-1.33 # make test make[1]: Entering directory `/tmp/MQSeries-1.33/MQClient' make[1]: Leaving directory `/tmp/MQSeries-1.33/MQClient' make[1]: Entering directory `/tmp/MQSeries-1.33/MQSeries-Message-DeadLetter' make[1]: Leaving directory `/tmp/MQSeries-1.33/MQSeries-Message-DeadLetter' make[1]: Entering directory `/tmp/MQSeries-1.33/MQSeries-Message-PCF' make[1]: Leaving directory `/tmp/MQSeries-1.33/MQSeries-Message-PCF' make[1]: Entering directory `/tmp/MQSeries-1.33/MQServer' make[1]: Leaving directory `/tmp/MQSeries-1.33/MQServer' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/99-pod....ok All tests successful. Files=1, Tests=63, 0 wallclock secs ( 0.32 cusr + 0.00 csys = 0.32 CPU) make[1]: Entering directory `/tmp/MQSeries-1.33/MQClient' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t t/10constants.............ok 1/5018Argument "MQENC_FLOAT_IEEE_NORMAL | MQENC_DECIMAL_NORMAL | MQENC_I..." isn't numeric in numeric eq (==) at t/10constants.t line 68. Argument "MQENC_FLOAT_TNS | MQENC_DECIMAL_NORMAL | MQENC_INTEGER_N..." isn't numeric in numeric eq (==) at t/10constants.t line 68. t/10constants.............NOK 2423/5018Argument "MQENC_FLOAT_S390 | MQENC_DECIMAL_NORMAL | MQENC_INTEGER_..." isn't numeric in numeric eq (==) at t/10constants.t line 68. t/10constants.............FAILED tests 2423, 3282, 3549 Failed 3/5018 tests, 99.94% okay t/20convert...............FAILED tests 2-6 Failed 5/6 tests, 16.67% okay t/30basic.................ok 17/18 skipped: various reasons t/31properties............ok 21/22 skipped: various reasons t/32async_put.............ok 24/25 skipped: various reasons t/40oo-qmgr...............ok 1/14MQCONN failed (Reason = 2058) (Queue manager name not valid or not known.) at t/40oo-qmgr.t line 38 # Failed test 'MQSeries::QueueManager - constructor' # at t/40oo-qmgr.t line 39. MQCONN failed (Reason = 2058) (Queue manager name not valid or not known.) at t/40oo-qmgr.t line 52 # Failed test 'MQSeries::QueueManager - Connect' # at t/40oo-qmgr.t line 58. MQCONN failed (Reason = 2058) (Queue manager name not valid or not known.) at t/40oo-qmgr.t line 73 # at t/40oo-qmgr.t line 74. Can't call method "Open" on an undefined value at t/40oo-qmgr.t line 77. # Looks like you planned 14 tests but only ran 7. # Looks like you failed 3 tests of 7 run. # Looks like your test died just after 7. t/40oo-qmgr...............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3, 5, 7-14 Failed 10/14 tests, 28.57% okay t/50oo-command............ok 29/32 skipped: various reasons t/51oo-command-changes....ok 99/102 skipped: various reasons t/52oo-command-filter.....ok 83/86 skipped: various reasons t/60-logs.................ok t/70-config...............ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/10constants.t 5018 3 2423 3282 3549 t/20convert.t 6 5 2-6 t/40oo-qmgr.t 255 65280 14 17 3 5 7-14 273 subtests skipped. Failed 3/11 test scripts. 18/5325 subtests failed. Files=11, Tests=5325, 2 wallclock secs ( 2.09 cusr + 0.15 csys = 2.24 CPU) Failed 3/11 test programs. 18/5325 subtests failed. make[1]: *** [test_dynamic] Error 255 make[1]: Leaving directory `/tmp/MQSeries-1.33/MQClient' make: *** [subdirs-test] Error 2 Von: "Perl MQSeries Maintainers via RT" <bug-MQSeries@rt.cpan.org> An: Joern.Rink@gad.de, Datum: 22.08.2012 18:16 Betreff: Re: Antwort: Re: [rt.cpan.org #79135] bug in make test <URL: https://rt.cpan.org/Ticket/Display.html?id=79135 > On Wed, Aug 22, 2012 at 12:04:21PM -0400, Joern.Rink via RT wrote: Show quoted text
> Queue: MQSeries > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79135 > > > Hi, > > first of all, are you able to remove my footer of the first mail, which
is Show quoted text
> the description of the bug? I do not want > that everyone see my phone number.
that's understandable, but i don't think i can do that. you could try asking the site maintainers about it. Show quoted text
> ok, so, we ask our mq guys, and they told us, that there is a new client > and a new sdk. > > So, now we install the new MQSeries, it is: > > MQSeriesMsg_de-7.1.0-1 > MQSeriesRuntime-7.1.0-1 > MQSeriesSDK-7.1.0-1 > MQSeriesSamples-7.1.0-1 > MQSeriesClient-7.1.0-1 > > > and, now the bareword error is away.
ok, good. it may be that you were simply missing some header files beforehand. Show quoted text
> But i have a new "error" in the make test. > > Should i open a new ticket? > > > I am not sure, if this is really an error, here is the output:
[snip] Show quoted text
> t/10constants.............Cannot add determine value for 'MQENC_TNS', > unknown constant 'MQENC_INTEGER_NORMAL ' > Cannot add determine value for 'MQGMO_BROWSE_HANDLE', unknown constant > 'MQGMO_MARK_BROWSE_HANDLE '
[snip] no new ticket is needed. this one is also simple. starting in 7.1.0.0, some of the defines in the header files changed slightly. while it's purely cosmetic, the changes fell afoul of the crude cpp parser in util/parse_headers and made it miss things. the fix for it is in 1.34 (not yet released), but all you need to do is find these lines in that script: $value =~ s/^\(//; $value =~ s/\)$//; and replace them with these lines: $value =~ s/^\(\s*//; $value =~ s/\s*\)$//; after that's done, restart the built from the "perl Makefile.PL" step. -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.

Message body is not shown because it is too large.

Download graycol.gif
image/gif 105b
graycol.gif
Subject: Re: Antwort: Re: Antwort: Re: [rt.cpan.org #79135] bug in make test
Date: Wed, 22 Aug 2012 12:55:16 -0400
To: "Joern.Rink via RT" <bug-MQSeries [...] rt.cpan.org>
From: perl-mqseries [...] morganstanley.com
On Wed, Aug 22, 2012 at 12:33:47PM -0400, Joern.Rink via RT wrote: Show quoted text
> Queue: MQSeries > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79135 > > > > > > Hi, > okay, the message is away, but still convert errors: > > > > > LXEDEV01:/tmp/MQSeries-1.33 # make test > make[1]: Entering directory `/tmp/MQSeries-1.33/MQClient' > make[1]: Leaving directory `/tmp/MQSeries-1.33/MQClient' > make[1]: Entering directory > `/tmp/MQSeries-1.33/MQSeries-Message-DeadLetter' > make[1]: Leaving directory `/tmp/MQSeries-1.33/MQSeries-Message-DeadLetter' > make[1]: Entering directory `/tmp/MQSeries-1.33/MQSeries-Message-PCF' > make[1]: Leaving directory `/tmp/MQSeries-1.33/MQSeries-Message-PCF' > make[1]: Entering directory `/tmp/MQSeries-1.33/MQServer' > make[1]: Leaving directory `/tmp/MQSeries-1.33/MQServer' > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/99-pod....ok > All tests successful. > Files=1, Tests=63, 0 wallclock secs ( 0.32 cusr + 0.00 csys = 0.32 CPU) > make[1]: Entering directory `/tmp/MQSeries-1.33/MQClient' > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t > t/10constants.............ok 1/5018Argument "MQENC_FLOAT_IEEE_NORMAL | > MQENC_DECIMAL_NORMAL | MQENC_I..." isn't numeric in numeric eq (==) at > t/10constants.t line 68.
[snip] ok, one more change is apparently needed. you must now move the elsif block preceded by the comment: # Some #defines are expressed in terms of others (binary OR). and move it to just after the first if in that cascade. -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
Subject: Antwort: Re: Antwort: Re: Antwort: Re: [rt.cpan.org #79135] bug in make test
Date: Wed, 22 Aug 2012 19:11:28 +0200
To: bug-MQSeries [...] rt.cpan.org
From: Joern.Rink [...] gad.de
Hi, ok, made the changes, here is the result: ################################################################ LXEDEV01:/tmp/MQSeries-1.33 # make test make[1]: Entering directory `/tmp/MQSeries-1.33/MQClient' make[1]: Leaving directory `/tmp/MQSeries-1.33/MQClient' make[1]: Entering directory `/tmp/MQSeries-1.33/MQSeries-Message-DeadLetter' make[1]: Leaving directory `/tmp/MQSeries-1.33/MQSeries-Message-DeadLetter' make[1]: Entering directory `/tmp/MQSeries-1.33/MQSeries-Message-PCF' make[1]: Leaving directory `/tmp/MQSeries-1.33/MQSeries-Message-PCF' make[1]: Entering directory `/tmp/MQSeries-1.33/MQServer' make[1]: Leaving directory `/tmp/MQSeries-1.33/MQServer' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/99-pod....ok All tests successful. Files=1, Tests=63, 0 wallclock secs ( 0.32 cusr + 0.00 csys = 0.32 CPU) make[1]: Entering directory `/tmp/MQSeries-1.33/MQClient' PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t t/10constants.............ok t/20convert...............FAILED tests 2-6 Failed 5/6 tests, 16.67% okay t/30basic.................ok 17/18 skipped: various reasons t/31properties............ok 21/22 skipped: various reasons t/32async_put.............ok 24/25 skipped: various reasons t/40oo-qmgr...............ok 1/14MQCONN failed (Reason = 2058) (Queue manager name not valid or not known.) at t/40oo-qmgr.t line 38 # Failed test 'MQSeries::QueueManager - constructor' # at t/40oo-qmgr.t line 39. t/40oo-qmgr...............NOK 3/14MQCONN failed (Reason = 2058) (Queue manager name not valid or not known.) at t/40oo-qmgr.t line 52 # Failed test 'MQSeries::QueueManager - Connect' # at t/40oo-qmgr.t line 58. t/40oo-qmgr...............NOK 5/14MQCONN failed (Reason = 2058) (Queue manager name not valid or not known.) at t/40oo-qmgr.t line 73 # Failed test 'MQSeries::QueueManager - constructor' # at t/40oo-qmgr.t line 74. Can't call method "Open" on an undefined value at t/40oo-qmgr.t line 77. # Looks like you planned 14 tests but only ran 7. t/40oo-qmgr...............NOK 7/14# Looks like you failed 3 tests of 7 run. # Looks like your test died just after 7. t/40oo-qmgr...............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3, 5, 7-14 Failed 10/14 tests, 28.57% okay t/50oo-command............ok 29/32 skipped: various reasons t/51oo-command-changes....ok 99/102 skipped: various reasons t/52oo-command-filter.....ok 83/86 skipped: various reasons t/60-logs.................ok t/70-config...............ok Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/20convert.t 6 5 2-6 t/40oo-qmgr.t 255 65280 14 17 3 5 7-14 273 subtests skipped. Failed 2/11 test scripts. 15/5325 subtests failed. Files=11, Tests=5325, 3 wallclock secs ( 2.10 cusr + 0.15 csys = 2.25 CPU) Failed 2/11 test programs. 15/5325 subtests failed. make[1]: *** [test_dynamic] Error 255 make[1]: Leaving directory `/tmp/MQSeries-1.33/MQClient' make: *** [subdirs-test] Error 2 ############################################################################ we made the first test against a mq queue and it seems to work, can we ignore all the other errors in the test? regards and many many thx for your help, whenever you need a test on a 64bit s390 sles 11 on a linuxzvm, let me know ;-) Mit freundlichen Grüßen Jörn Rink IT-Produktion / Basis und Infrastruktur Tel.: 0251 7133 - 1410 ; Fax.: 0251 7133 - 91410 GAD eG GAD-Straße 2-6 - 48163 Münster http://www.gad.de Vorstand : Anno Lederer (Vors.), Jörg Dreinhöfer, Friedhelm Wagner Aufsichtsratsvorsitzender: Wilfried Guttmann Sitz: Münster/Westf., Amtsgericht Münster, Genossenschafts-Register 337 Von: "Perl MQSeries Maintainers via RT" <bug-MQSeries@rt.cpan.org> An: Joern.Rink@gad.de, Datum: 22.08.2012 18:56 Betreff: Re: Antwort: Re: Antwort: Re: [rt.cpan.org #79135] bug in make test <URL: https://rt.cpan.org/Ticket/Display.html?id=79135 > On Wed, Aug 22, 2012 at 12:33:47PM -0400, Joern.Rink via RT wrote: Show quoted text
> Queue: MQSeries > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79135 > > > > > > Hi, > okay, the message is away, but still convert errors: > > > > > LXEDEV01:/tmp/MQSeries-1.33 # make test > make[1]: Entering directory `/tmp/MQSeries-1.33/MQClient' > make[1]: Leaving directory `/tmp/MQSeries-1.33/MQClient' > make[1]: Entering directory > `/tmp/MQSeries-1.33/MQSeries-Message-DeadLetter' > make[1]: Leaving directory
`/tmp/MQSeries-1.33/MQSeries-Message-DeadLetter' Show quoted text
> make[1]: Entering directory `/tmp/MQSeries-1.33/MQSeries-Message-PCF' > make[1]: Leaving directory `/tmp/MQSeries-1.33/MQSeries-Message-PCF' > make[1]: Entering directory `/tmp/MQSeries-1.33/MQServer' > make[1]: Leaving directory `/tmp/MQSeries-1.33/MQServer' > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/99-pod....ok > All tests successful. > Files=1, Tests=63, 0 wallclock secs ( 0.32 cusr + 0.00 csys = 0.32
CPU) Show quoted text
> make[1]: Entering directory `/tmp/MQSeries-1.33/MQClient' > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t > t/10constants.............ok 1/5018Argument "MQENC_FLOAT_IEEE_NORMAL | > MQENC_DECIMAL_NORMAL | MQENC_I..." isn't numeric in numeric eq (==) at > t/10constants.t line 68.
[snip] ok, one more change is apparently needed. you must now move the elsif block preceded by the comment: # Some #defines are expressed in terms of others (binary OR). and move it to just after the first if in that cascade. -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.

Message body is not shown because it is too large.

Download graycol.gif
image/gif 105b
graycol.gif
Subject: Re: Antwort: Re: Antwort: Re: Antwort: Re: [rt.cpan.org #79135] bug in make test
Date: Wed, 22 Aug 2012 14:04:30 -0400
To: "Joern.Rink via RT" <bug-MQSeries [...] rt.cpan.org>
From: perl-mqseries [...] morganstanley.com
On Wed, Aug 22, 2012 at 01:11:54PM -0400, Joern.Rink via RT wrote: Show quoted text
> Queue: MQSeries > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79135 > > > > > > Hi, > > ok, made the changes, here is the result: > > > ################################################################ > LXEDEV01:/tmp/MQSeries-1.33 # make test > make[1]: Entering directory `/tmp/MQSeries-1.33/MQClient' > make[1]: Leaving directory `/tmp/MQSeries-1.33/MQClient' > make[1]: Entering directory > `/tmp/MQSeries-1.33/MQSeries-Message-DeadLetter' > make[1]: Leaving directory `/tmp/MQSeries-1.33/MQSeries-Message-DeadLetter' > make[1]: Entering directory `/tmp/MQSeries-1.33/MQSeries-Message-PCF' > make[1]: Leaving directory `/tmp/MQSeries-1.33/MQSeries-Message-PCF' > make[1]: Entering directory `/tmp/MQSeries-1.33/MQServer' > make[1]: Leaving directory `/tmp/MQSeries-1.33/MQServer' > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/99-pod....ok > All tests successful. > Files=1, Tests=63, 0 wallclock secs ( 0.32 cusr + 0.00 csys = 0.32 CPU) > make[1]: Entering directory `/tmp/MQSeries-1.33/MQClient' > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, '../blib/lib', '../blib/arch')" t/*.t > t/10constants.............ok > t/20convert...............FAILED tests 2-6 > Failed 5/6 tests, 16.67% okay > t/30basic.................ok > 17/18 skipped: various reasons > t/31properties............ok > 21/22 skipped: various reasons > t/32async_put.............ok > 24/25 skipped: various reasons > t/40oo-qmgr...............ok 1/14MQCONN failed (Reason = 2058) (Queue > manager name not valid or not known.) at t/40oo-qmgr.t line 38
[snip] Show quoted text
> > we made the first test against a mq queue and it seems to work, can we > ignore all the other errors in the test?
the 40oo-qmgr failures have to do with giving it a proper qmgr against which to test. that should be simple enough to fix. you should look into the 20convert fails and see what went awry there. Show quoted text
> regards and many many thx for your help,
sure. Show quoted text
> whenever you need a test on a 64bit s390 sles 11 on a linuxzvm, let me > know ;-)
will do, thanks. -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
After reviewing this issue, it looks like this is most likely fixed in the latest CPAN release. If not, then I'll try to work with you to resolve it for an upcoming release, since I've (re)taken over ownership of the distribution, and will be releasing a new version in the next few weeks.