develooper Front page | perl.perl5.porters | Postings from June 2001

not OK: perl@11006 on HP-UX B.11.00

Thread Next
From:
Peter Prymmer
Date:
June 28, 2001 17:35
Subject:
not OK: perl@11006 on HP-UX B.11.00
Message ID:
Pine.OSF.4.10.10106281709350.508935-100000@aspara.forte.com

platform:

 % uname -a
 HP-UX vince B.11.00 A 9000/800 269065391 two-user license

During `make test` I saw a single "failure":

 lib/ExtUtils.......................FAILED at test 28

 Failed 1 test script out of 410, 99.76% okay.

But running that by hand I note the lib/ExtUtils.t only runs
27 tests like so:

 % ./perl lib/ExtUtils.t
 1..27
 # perl=/tmp/ttt/perl/t/perl
 # ext-457 being created...
 ok 1
 ok 2
 # make = 'make'
 ok 3
 ok 4
 # make = 'make test'
        rm -f blib/arch/auto/ExtTest/ExtTest.sl
        LD_RUN_PATH="" /usr/bin/ld  -b +vnocompatwarnings -L/usr/local/libExtT
        chmod 755 blib/arch/auto/ExtTest/ExtTest.sl
        cp ExtTest.bs blib/arch/auto/ExtTest/ExtTest.bs
        chmod 644 blib/arch/auto/ExtTest/ExtTest.bs
 ok 5
 ok 6
 ok 7
 ok 8
 ok 9
 ok 10
 ok 11
 ok 12
 ok 13
 ok 14
 ok 15
 ok 16
 ok 17
 ok 18
 ok 19
 ok 20
 ok 21
 ok 22
 ok 23
 ok 24
 ok 25
 # make = 'make clean'
 ok 26
 ok 27
 # ext-457 being removed...

Could it be the extra make test lines of

        rm -f blib/arch/auto/ExtTest/ExtTest.sl
        LD_RUN_PATH="" /usr/bin/ld  -b +vnocompatwarnings -L/usr/local/libExtT
        chmod 755 blib/arch/auto/ExtTest/ExtTest.sl
        cp ExtTest.bs blib/arch/auto/ExtTest/ExtTest.bs
        chmod 644 blib/arch/auto/ExtTest/ExtTest.bs

causing trouble?  I built with the system supplied make utility, as
determined via this test:

 % make --version
 Make: Unknown flag argument -.  Stop.
 Exit 1

I did find that with the following change to lib/ExtUtils.t I could get
`make test` to report:

All tests successful.
u=3.01  s=2.11  cu=185.62  cs=51.86  scripts=410  tests=23370

Unfortunately this change has at least two drwabacks: 1) perhaps the s///
could help platforms other than hpux(?) 2) perhaps the s/// might
inadvertantly hide real trouble on hpux(?).  Since I am getting tired and
blurry eyed with all these Perl builds I'll leave it in your hands to
decide if and/or how to apply such a change:

--- lib/ExtUtils.t.orig	Thu Jun 28 17:13:27 2001
+++ lib/ExtUtils.t	Thu Jun 28 17:18:35 2001
@@ -425,6 +425,9 @@
 $makeout =~ s/^\w*?make.+\sperl[^A-Za-z0-9]*\n//mig;
 # make[1]: `perl' is up to date.
 $makeout =~ s/^\w*?make.+perl.+?is up to date.*?\n//mig;
+if ($^O eq 'hpux') {
+    $makeout =~ s/^(\s+)/#$1/mg;
+}
 
 print $makeout;
 
End of "test hack"

Peter Prymmer



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