Skip Menu |

This queue is for tickets about the POSIX-1003 CPAN distribution.

Report information
The Basics
Id: 82198
Status: resolved
Priority: 0/
Queue: POSIX-1003

People
Owner: Nobody in particular
Requestors: HMBRAND [...] cpan.org
Cc:
AdminCc:

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



Subject: HP-UX 11.31/IA64 fail
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 $ cpan POSIX::Overview CPAN: Term::ANSIColor loaded ok (v3.02) CPAN: CPAN::SQLite loaded ok (v0.202) CPAN: LWP::UserAgent loaded ok (v5.835) CPAN: Time::HiRes loaded ok (v1.9725) Fetching with LWP: http://cpan.procura.nl/authors/01mailrc.txt.gz CPAN: YAML::Syck loaded ok (v1.20) Fetching with LWP: http://cpan.procura.nl/modules/02packages.details.txt.gz Fetching with LWP: http://cpan.procura.nl/modules/03modlist.data.gz Build_dir empty, nothing to restore Database was generated on Fri, 21 Dec 2012 11:25:52 GMT Updating database file ... Done!Warning: Cannot install POSIX::Overview, don't know what it is. Try the command i /POSIX::Overview/ to find objects with matching identifiers. $ cpan POSIX::1003 ⋮ cc -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 -DVERSION=\"0.13\" -DXS_VERSION= \"0.13\" +Z "-I/pro/lib/perl5/5.14.2/IA64.ARCHREV_0-LP64-ld/CORE" 1003.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 */ ^ "1003.c", line 894: warning #2111-D: statement is unreachable PUTBACK; ^ ⋮ module confstr has 30 constants, 0 are undefined module poll has 11 constants, 0 are undefined module fsys has 30 constants, 0 are undefined module fdio has 28 constants, 0 are undefined module ulimit has 3 constants, 0 are undefined module rlimit has 12 constants, 0 are undefined module math has 46 constants, 0 are undefined module pathconf has 20 constants, 7 are undefined module property has 100 constants, 0 are undefined module signals has 52 constants, 0 are undefined module sysconf has 138 constants, 42 are undefined module termios has 60 constants, 0 are undefined ⋮ t/61confstr.t ..... ok t/62pathconf.t .... 1/8 Use of uninitialized value $max in concatenation (.) or string at t/62pathconf.t line 16. # Failed test '_PC_PATH_MAX via function = ' # at t/62pathconf.t line 16. Use of uninitialized value $max3 in concatenation (.) or string at t/62pathconf.t line 19. # Failed test '_PC_PATH_MAX directly = ' # at t/62pathconf.t line 19. Use of uninitialized value $expect in numeric eq (==) at (eval in cmp_ok) t/62pathconf.t line 20. Use of uninitialized value $got in numeric eq (==) at (eval in cmp_ok) t/62pathconf.t line 20. Use of uninitialized value $max4 in concatenation (.) or string at t/62pathconf.t line 27. # Failed test '_PC_PATH_MAX via function = ' # at t/62pathconf.t line 27. Use of uninitialized value $max6 in concatenation (.) or string at t/62pathconf.t line 30. # Failed test '_PC_PATH_MAX directly = ' # at t/62pathconf.t line 30. Use of uninitialized value $expect in numeric eq (==) at (eval in cmp_ok) t/62pathconf.t line 31. Use of uninitialized value $got in numeric eq (==) at (eval in cmp_ok) t/62pathconf.t line 31. # Looks like you failed 4 tests of 8. t/62pathconf.t .... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/8 subtests t/63properties.t .. 1/7 Use of uninitialized value $nt in concatenation (.) or string at t/63properties.t line 11. # Failed test '_POSIX_NO_TRUNC via function = ' # at t/63properties.t line 11. Use of uninitialized value $nt2 in concatenation (.) or string at t/63properties.t line 14. # Failed test '_POSIX_NO_TRUNC via HASH = ' # at t/63properties.t line 14. Use of uninitialized value $expect in numeric eq (==) at (eval in cmp_ok) t/63properties.t line 15. Use of uninitialized value $got in numeric eq (==) at (eval in cmp_ok) t/63properties.t line 15. Use of uninitialized value $nt3 in concatenation (.) or string at t/63properties.t line 18. # Failed test '_POSIX_NO_TRUNC directly = ' # at t/63properties.t line 18. Use of uninitialized value $expect in numeric eq (==) at (eval in cmp_ok) t/63properties.t line 19. Use of uninitialized value $got in numeric eq (==) at (eval in cmp_ok) t/63properties.t line 19. # Looks like you failed 3 tests of 7. t/63properties.t .. Dubious, test returned 3 (wstat 768, 0x300) Failed 3/7 subtests t/64ulimit.t ...... ok t/65rlimit.t ...... ok t/70lazy.t ........ ok Test Summary Report ------------------- t/62pathconf.t (Wstat: 1024 Tests: 8 Failed: 4) Failed tests: 1-2, 4-5 Non-zero exit status: 4 t/63properties.t (Wstat: 768 Tests: 7 Failed: 3) Failed tests: 1-2, 4 Non-zero exit status: 3 Files=17, Tests=192, 2 wallclock secs ( 0.17 usr 0.06 sys + 1.15 cusr 0.26 csys = 1.64 CPU) Result: FAIL Failed 2/17 test programs. 7/192 subtests failed. make: *** [test_dynamic] Error 255 MARKOV/POSIX-1003-0.13.tar.gz /pro/local/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports MARKOV/POSIX-1003-0.13.tar.gz Running make install make test had returned bad status, won't install without force Exit 1
On Mon Dec 24 03:39:03 2012, HMBRAND wrote: Show quoted text
> 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 > # Failed test '_PC_PATH_MAX directly = ' > # Failed test '_POSIX_NO_TRUNC via HASH = '
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02261677/c02261677.pdf tells me that both constants do exist on HP. Why are they not detected?
Subject: Re: [rt.cpan.org #82198] HP-UX 11.31/IA64 fail
Date: Tue, 25 Jun 2013 13:30:33 +0200
To: bug-POSIX-1003 [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Tue, 25 Jun 2013 03:42:47 -0400, "Mark Overmeer via RT" <bug-POSIX-1003@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=82198 > > > On Mon Dec 24 03:39:03 2012, HMBRAND wrote:
> > 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 > > # Failed test '_PC_PATH_MAX directly = ' > > # Failed test '_POSIX_NO_TRUNC via HASH = '
> > http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02261677/c02261677.pdf tells me that both constants do exist on HP. Why are they not detected?
/usr/include 103 > ack -w _PC_PATH_MAX sys/unistd.h 982:# define _PC_PATH_MAX 4 /* PATH_MAX: Max # of bytes in a pathname */ the whole block is inside #if defined(_INCLUDE_POSIX_SOURCE) || defined(_INCLUDE_POSIX2_SOURCE) I added to 1003.xs #include <sys/unistd.h> #include <sys/resource.h> Strange enough, I had to add -D_LARGEFILE64_SOURCE to get the rlimit64 stuff to work as you want I had to #undef HAS_STRSIGNAL PERL_DL_NONLAZY=1 /pro/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01use.t ......... POSIX version 1.24 Test::More version 0.98 XSLoader version 0.16 t/01use.t ......... ok t/20math.t ........ ok t/21fdio.t ........ ok t/22fs.t .......... ok t/23locale.t ...... ok t/24os.t .......... ok t/25proc.t ........ ok t/26time.t ........ ok t/30sigaction.t ... ok t/31termios.t ..... ok t/60sysconf.t ..... ok t/61confstr.t ..... ok t/62pathconf.t .... ok t/63properties.t .. ok t/64ulimit.t ...... ok t/65rlimit.t ...... 1/17 Use of uninitialized value in sprintf at t/65rlimit.t line 32. # Failed test 'RLIM_SAVED_MAX=0x0' # at t/65rlimit.t line 32. Use of uninitialized value in sprintf at t/65rlimit.t line 33. # Failed test 'RLIM_SAVED_CUR=0x0' # at t/65rlimit.t line 33. # Looks like you failed 2 tests of 17. t/65rlimit.t ...... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/17 subtests t/70lazy.t ........ ok Test Summary Report ------------------- t/65rlimit.t (Wstat: 512 Tests: 17 Failed: 2) Failed tests: 11-12 Non-zero exit status: 2 Files=17, Tests=192, 2 wallclock secs ( 0.21 usr 0.07 sys + 1.53 cusr 0.29 csys = 2.10 CPU) Result: FAIL -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.19 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/
Probably resolved... probably introduced new problems meanwhile ;-)