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

Test failures for perl 5.10 on Solaris 10 - 'make' & $PATH related

Thread Next
From:
Ken Williams
Date:
March 14, 2008 08:31
Subject:
Test failures for perl 5.10 on Solaris 10 - 'make' & $PATH related
Message ID:
6a7ee8cc0803140831j2dea5253pe1652b56bda21192@mail.gmail.com
Hi,

I downloaded perl-5.10.0 and gave it a whirl on Solaris using gcc and
Sun's make:

% gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6

I don't know how to query the version of make, but it's
/usr/ccs/bin/make, and *NOT* in my $PATH.

The following tests failed:

        ../lib/CPANPLUS/t/20_CPANPLUS-Dist-MM.t
        ../lib/ExtUtils/t/Constant.t
        ../lib/ExtUtils/t/INSTALL_BASE.t
        ../lib/ExtUtils/t/PL_FILES.t
        ../lib/ExtUtils/t/basic.t
        ../lib/ExtUtils/t/recurs.t
        ../lib/ExtUtils/t/xs.t

The relevant test output is:

% /usr/ccs/bin/make test
TEST_FILES='../lib/CPANPLUS/t/20_CPANPLUS-Dist-MM.t
../lib/ExtUtils/t/Constant.t ../lib/ExtUtils/t/INSTALL_BASE.t
../lib/ExtUtils/t/PL_FILES.t ../lib/ExtUtils/t/basic.t
../lib/ExtUtils/t/recurs.t ../lib/ExtUtils/t/xs.t'

...

t/../lib/CPANPLUS/t/20_CPANPLUS-Dist-MM....#   Failed test 'Format is available'
#   at ../lib/CPANPLUS/t/20_CPANPLUS-Dist-MM.t line 81.
FAILED at test 4
t/../lib/ExtUtils/t/Constant...............Can't exec "make": No such
file or directory at ../lib/ExtUtils/t/Constant.t line 186.
FAILED at test 3
t/../lib/ExtUtils/t/INSTALL_BASE...........#   Failed test '  make
install exited normally'
#   at ../lib/ExtUtils/t/INSTALL_BASE.t line 52.
#          got: '-1'
#     expected: '0'
# undef
Use of uninitialized value $this in pattern match (m//) at
../lib/ExtUtils/t/INSTALL_BASE.t line 53.
FAILED at test 5
t/../lib/ExtUtils/t/PL_FILES...............#   Failed test at
../lib/ExtUtils/t/PL_FILES.t line 38.
#          got: '-1'
#     expected: '0'
# undef
FAILED at test 3
t/../lib/ExtUtils/t/basic..................#   Failed test 'make
manifest created a MANIFEST'
#   at ../lib/ExtUtils/t/basic.t line 83.
FAILED at test 8
t/../lib/ExtUtils/t/recurs.................#   Failed test 'recursive
make exited normally'
#   at ../lib/ExtUtils/t/recurs.t line 61.
#          got: '-1'
#     expected: '0'
# undef
FAILED at test 6
t/../lib/ExtUtils/t/xs.....................#   Failed test '  make
exited normally'
#   at ../lib/ExtUtils/t/xs.t line 56.
#          got: '-1'
#     expected: '0'
# undef
FAILED at test 4


If I put /usr/ccs/bin into my $PATH, those 7 tests succeed.  This
indicates those tests are searching the $PATH for make, rather than
using the make that's actually getting run at the top level.  I think
that's probably bad.

 -Ken

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