develooper Front page | perl.perl5.porters | Postings from March 2018

HP-UX 11.11

Thread Next
From:
H.Merijn Brand
Date:
March 8, 2018 15:11
Subject:
HP-UX 11.11
Message ID:
20180308161110.36e308c4@pc09.procura.nl
I started digging into HP-UX 11.11 PA2 build process, as my smoke logs
got over 95 Mb and smokes were all red

First thing I did was to alter a system header file to prevent loads
and loads of redefine warnings.

Then when all started to look much cleaner, I saw these:

cc: "locale.c", line 2430: warning 562: Redeclaration of "S_my_nl_langinfo" with a different storage class specifier: "S_my_nl_langinfo" will have internal linkage.

$ ack -w S_my_nl_langinfo
locale.c
2430:S_my_nl_langinfo(const nl_item item, bool toggle)
2432:S_my_nl_langinfo(const int item, bool toggle)

embed.h
1443:#define my_nl_langinfo             S_my_nl_langinfo
1539:#define my_nl_langinfo             S_my_nl_langinfo

proto.h
3848:STATIC const char* S_my_nl_langinfo(const int item, bool toggle);
4294:STATIC const char* S_my_nl_langinfo(const nl_item item, bool toggle);

When building I still get hundreds of lines like

Character in 'C' format wrapped in pack at ./mkheader line 83, <$fh> line XXXX.

is that really needed?


Next thing is that sorting order might not be the same on (older) HP-UX
or with a different $LANG or $LC_ALL:

porting/readme.t ................................................... 1/? # Failed test 74 - Files are referenced in order at porting/readme.t line 57
porting/readme.t ................................................... Failed 1/74 subtests

I personally don't think that every system should test that

Where tests start to really fail is

perf/taint.t ....................................................... ok
../cpan/Archive-Tar/t/01_use.t ..................................... ok
../cpan/Archive-Tar/t/02_methods.t ................................. 1/? Error opening 'src/long/out.tgz' with IO::Zlib at t/02_methods.t line 799.

#   Failed test '   File read and uncompressed'
#   at t/02_methods.t line 674.
Use of uninitialized value within @_ in list assignment at /pro/3gl/CPAN/perl-current/cpan/Archive-Tar/../../lib/Test/Builder.pm line 764.

#   Failed test '   Ends with 1024 null bytes'
#   at t/02_methods.t line 680.
#          got: ''
#     expected: ''
Use of uninitialized value $expect in numeric lt (<) at (eval in cmp_ok) t/02_methods.t line 683.

#   Failed test '   Compressed size < uncompressed size'
#   at t/02_methods.t line 683.
Use of uninitialized value $val in addition (+) at /pro/3gl/CPAN/perl-current/cpan/Archive-Tar/../../lib/Test/Builder.pm line 758.
#     '412'
#         <
#     undef
Could not create filehandle for 'src/long/out.tgz':  at t/02_methods.t line 478.

#   Failed test '       Read 'src/long/out.tgz' in again'
#   at t/02_methods.t line 478.

I'll report more on that later

-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.27   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/

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About