Dear Perl folks :
The config and compile on a FreeBSD 14.0 AMD64 machine seemed to go
really well. Except for a few tests? I am curious how to dig out some
more info about these four failures :
.
.
.
t/porting/utils .................................................. skipped
Failed 4 tests out of 2529, 99.84% okay.
../cpan/Archive-Tar/t/09_roundtrip.t
../cpan/autodie/t/chmod.t
../cpan/autodie/t/chown.t
../cpan/autodie/t/utime.t
### Since not all tests were successful, you may want to run some of
### them individually and examine any diagnostic messages they produce.
### See the INSTALL document's section on "make test".
### You have a good chance to get more information by running
### ./perl harness
### in the 't' directory since most (>=80%) of the tests succeeded.
### You may have to set your dynamic library search path,
### LD_LIBRARY_PATH, to point to the build directory:
### setenv LD_LIBRARY_PATH `pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness
### LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd
t; ./perl harness
### export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness
### for csh-style shells, like tcsh; or for traditional/modern
### Bourne-style shells, like bash, ksh, and zsh, respectively.
Elapsed: 3300 sec
u=34.88 s=8.80 cu=2840.75 cs=217.87 scripts=2529 tests=1183531
*** Error code 1
Stop.
make: stopped in /opt/bw/build/perl-5.38.0_FreeBSD14_amd64.001
So at this point I follow the instructions and do the "./perl harness"
goodness inside the "./t" directory. Then I see a pile of tests are
not run for a variety of reasons and excuses and some are just outright
mysterious to me. However I finally see :
# Failed test 'src/long/bar.tar roundtrip on file names'
# at t/09_roundtrip.t line 228.
# Structures begin differing at:
# $got->[2] = 'directory'
# $expected->[2] = 'directory/'
gnutar: Invalid blocksize 9729 bytes.
gnutar: No error: 0. Sync pipe read error pid 92477 ret 0
gnutar: No error: 0. Ib 0 Ob 1 e 0 p 0 g 10 chan 5.
gnutar: No error: 0. Sync pipe EOF error pid 92477 ret 0
# Failed test 'Failed running 'gnutar tvf
src/linktest/linktest_with_dir.tar''
# at t/09_roundtrip.t line 191.
# Failed test 'src/long/foo.tgz roundtrip on file names'
# at t/09_roundtrip.t line 228.
# Structures begin differing at:
# $got->[2] = 'directory'
# $expected->[2] = 'directory/'
# Failed test 'src/long/foo.tbz roundtrip on file names'
# at t/09_roundtrip.t line 228.
# Structures begin differing at:
# $got->[2] = 'directory'
# $expected->[2] = 'directory/'
# Looks like you failed 4 tests of 7.
../cpan/Archive-Tar/t/09_roundtrip.t .................................
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/7 subtests
# Failed test 'We can chmod ourselves just fine.'
# at t/chmod.t line 20.
# Failed test 'Confirm autodie on a 'true' chown failure.'
# at t/chmod.t line 24.
# got: '0'
# expected: '1'
# Looks like you failed 2 tests of 7.
../cpan/autodie/t/chmod.t ............................................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/7 subtests
# Failed test 'Can chown ourselves just fine.'
# at t/chown.t line 24.
# Failed test 'Confirm we're dying on a 'true' chown failure.'
# at t/chown.t line 28.
# got: '0'
# expected: '1'
# Looks like you failed 2 tests of 4.
../cpan/autodie/t/chown.t ............................................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests
The above makes no sense whatsoever.
Why can I not chown/chmod/touch a file that I own?
# Failed test 'We can utime a file just fine.'
# at t/utime.t line 16.
# Can't utime(undef, undef,
'/opt/bw/build/perl-5.38.0_FreeBSD14_amd64.001/cpan/autodie/t/touch_me'):
Permission denied at t/utime.t line 15
# Failed test 'utime fails correctly on a 'true' failure.'
# at t/utime.t line 20.
# got: '0'
# expected: '1'
Can't utime('1688931151', '1550483961',
'/opt/bw/build/perl-5.38.0_FreeBSD14_amd64.001/cpan/autodie/t/touch_me'):
Operation not permitted at t/utime.t line 24
# Looks like your test exited with 1 just after 4.
../cpan/autodie/t/utime.t ............................................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 2/4 subtests
Then some tests that just simply are not run for a variety of excuses
and reasons :
../cpan/autodie/t/version.t ..........................................
skipped: Release test. Set $ENV{RELEASE_TESTING} to true to run.
../cpan/bignum/t/backend-gmp-bigfloat.t ..............................
skipped: Math::BigInt::GMP not installed
../cpan/bignum/t/backend-gmp-bigint.t ................................
skipped: Math::BigInt::GMP not installed
../cpan/bignum/t/backend-gmp-bignum.t ................................
skipped: Math::BigInt::GMP not installed
../cpan/bignum/t/backend-gmp-bigrat.t ................................
skipped: Math::BigInt::GMP not installed
../cpan/bignum/t/backend-pari-bigfloat.t .............................
skipped: Math::BigInt::Pari not installed
../cpan/bignum/t/backend-pari-bigint.t ...............................
skipped: Math::BigInt::Pari not installed
../cpan/bignum/t/backend-pari-bignum.t ...............................
skipped: Math::BigInt::Pari not installed
../cpan/bignum/t/backend-pari-bigrat.t ...............................
skipped: Math::BigInt::Pari not installed
Why are "lengthy" tests not being run ?
../cpan/Compress-Raw-Zlib/t/07bufsize.t ..............................
skipped: Lengthy Tests Disabled
Threads are certainly supported on FreeBSD but perhaps this is a Perl
config issue?
../cpan/DB_File/t/db-threads.t .......................................
skipped: Threads are disabled
This one is just charming :
../cpan/Test-Simple/t/Test2/regression/gh_16.t .......................
skipped: Crazy test, only run on 5.20+, or when AUTHOR_TESTING is set
OKay. Crazy. I can get into that.
How do I enable this sort of testing ?
../cpan/Time-Piece/t/06large.t .......................................
skipped: Large time tests not required for installation
Why do these even exist in 5.38.0 ??
../dist/base/t/fields-5_6_0.t ........................................
skipped: pseudo-hashes removed in 5.9.0
../dist/base/t/fields-5_8_0.t ........................................
skipped: pseudo-hashes removed in 5.9.0
../dist/Data-Dumper/t/huge.t .........................................
skipped: Need ~10 GiB of core for this test
../dist/Storable/t/huge.t ............................................
skipped: Need ~4 GiB memory for this test, set PERL_TEST_MEMORY > 4
../dist/Storable/t/hugeids.t .........................................
skipped: Need ~8 GiB memory for this test, set PERL_TEST_MEMORY >= 8
../lib/Unicode/testnorm.t ............................................
skipped: Lengthy Tests Disabled; to enable set environmentvariable
$ENV{PERL_DEBUG_FULL_TEST} to a true value
Ah ha! finally some information in there.
Must be a document somewhere that tells me how to do some of these
tests. I guess some magic environment variables are needed? One thing
that *must* be true is that I can certainly chown/chmod/touch a file
that I own.
I would just *love* some input here as FreeBSD 14.0 should be released
sometime this year. Perl is sort of, you know, essential goodness.
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
Four decades in production systems.
Beard installation in progress.
Belt and Suspenders functionality strained.
The config and compile on a FreeBSD 14.0 AMD64 machine seemed to go
really well. Except for a few tests? I am curious how to dig out some
more info about these four failures :
.
.
.
t/porting/utils .................................................. skipped
Failed 4 tests out of 2529, 99.84% okay.
../cpan/Archive-Tar/t/09_roundtrip.t
../cpan/autodie/t/chmod.t
../cpan/autodie/t/chown.t
../cpan/autodie/t/utime.t
### Since not all tests were successful, you may want to run some of
### them individually and examine any diagnostic messages they produce.
### See the INSTALL document's section on "make test".
### You have a good chance to get more information by running
### ./perl harness
### in the 't' directory since most (>=80%) of the tests succeeded.
### You may have to set your dynamic library search path,
### LD_LIBRARY_PATH, to point to the build directory:
### setenv LD_LIBRARY_PATH `pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness
### LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd
t; ./perl harness
### export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness
### for csh-style shells, like tcsh; or for traditional/modern
### Bourne-style shells, like bash, ksh, and zsh, respectively.
Elapsed: 3300 sec
u=34.88 s=8.80 cu=2840.75 cs=217.87 scripts=2529 tests=1183531
*** Error code 1
Stop.
make: stopped in /opt/bw/build/perl-5.38.0_FreeBSD14_amd64.001
So at this point I follow the instructions and do the "./perl harness"
goodness inside the "./t" directory. Then I see a pile of tests are
not run for a variety of reasons and excuses and some are just outright
mysterious to me. However I finally see :
# Failed test 'src/long/bar.tar roundtrip on file names'
# at t/09_roundtrip.t line 228.
# Structures begin differing at:
# $got->[2] = 'directory'
# $expected->[2] = 'directory/'
gnutar: Invalid blocksize 9729 bytes.
gnutar: No error: 0. Sync pipe read error pid 92477 ret 0
gnutar: No error: 0. Ib 0 Ob 1 e 0 p 0 g 10 chan 5.
gnutar: No error: 0. Sync pipe EOF error pid 92477 ret 0
# Failed test 'Failed running 'gnutar tvf
src/linktest/linktest_with_dir.tar''
# at t/09_roundtrip.t line 191.
# Failed test 'src/long/foo.tgz roundtrip on file names'
# at t/09_roundtrip.t line 228.
# Structures begin differing at:
# $got->[2] = 'directory'
# $expected->[2] = 'directory/'
# Failed test 'src/long/foo.tbz roundtrip on file names'
# at t/09_roundtrip.t line 228.
# Structures begin differing at:
# $got->[2] = 'directory'
# $expected->[2] = 'directory/'
# Looks like you failed 4 tests of 7.
../cpan/Archive-Tar/t/09_roundtrip.t .................................
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/7 subtests
# Failed test 'We can chmod ourselves just fine.'
# at t/chmod.t line 20.
# Failed test 'Confirm autodie on a 'true' chown failure.'
# at t/chmod.t line 24.
# got: '0'
# expected: '1'
# Looks like you failed 2 tests of 7.
../cpan/autodie/t/chmod.t ............................................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/7 subtests
# Failed test 'Can chown ourselves just fine.'
# at t/chown.t line 24.
# Failed test 'Confirm we're dying on a 'true' chown failure.'
# at t/chown.t line 28.
# got: '0'
# expected: '1'
# Looks like you failed 2 tests of 4.
../cpan/autodie/t/chown.t ............................................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests
The above makes no sense whatsoever.
Why can I not chown/chmod/touch a file that I own?
# Failed test 'We can utime a file just fine.'
# at t/utime.t line 16.
# Can't utime(undef, undef,
'/opt/bw/build/perl-5.38.0_FreeBSD14_amd64.001/cpan/autodie/t/touch_me'):
Permission denied at t/utime.t line 15
# Failed test 'utime fails correctly on a 'true' failure.'
# at t/utime.t line 20.
# got: '0'
# expected: '1'
Can't utime('1688931151', '1550483961',
'/opt/bw/build/perl-5.38.0_FreeBSD14_amd64.001/cpan/autodie/t/touch_me'):
Operation not permitted at t/utime.t line 24
# Looks like your test exited with 1 just after 4.
../cpan/autodie/t/utime.t ............................................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 2/4 subtests
Then some tests that just simply are not run for a variety of excuses
and reasons :
../cpan/autodie/t/version.t ..........................................
skipped: Release test. Set $ENV{RELEASE_TESTING} to true to run.
../cpan/bignum/t/backend-gmp-bigfloat.t ..............................
skipped: Math::BigInt::GMP not installed
../cpan/bignum/t/backend-gmp-bigint.t ................................
skipped: Math::BigInt::GMP not installed
../cpan/bignum/t/backend-gmp-bignum.t ................................
skipped: Math::BigInt::GMP not installed
../cpan/bignum/t/backend-gmp-bigrat.t ................................
skipped: Math::BigInt::GMP not installed
../cpan/bignum/t/backend-pari-bigfloat.t .............................
skipped: Math::BigInt::Pari not installed
../cpan/bignum/t/backend-pari-bigint.t ...............................
skipped: Math::BigInt::Pari not installed
../cpan/bignum/t/backend-pari-bignum.t ...............................
skipped: Math::BigInt::Pari not installed
../cpan/bignum/t/backend-pari-bigrat.t ...............................
skipped: Math::BigInt::Pari not installed
Why are "lengthy" tests not being run ?
../cpan/Compress-Raw-Zlib/t/07bufsize.t ..............................
skipped: Lengthy Tests Disabled
Threads are certainly supported on FreeBSD but perhaps this is a Perl
config issue?
../cpan/DB_File/t/db-threads.t .......................................
skipped: Threads are disabled
This one is just charming :
../cpan/Test-Simple/t/Test2/regression/gh_16.t .......................
skipped: Crazy test, only run on 5.20+, or when AUTHOR_TESTING is set
OKay. Crazy. I can get into that.
How do I enable this sort of testing ?
../cpan/Time-Piece/t/06large.t .......................................
skipped: Large time tests not required for installation
Why do these even exist in 5.38.0 ??
../dist/base/t/fields-5_6_0.t ........................................
skipped: pseudo-hashes removed in 5.9.0
../dist/base/t/fields-5_8_0.t ........................................
skipped: pseudo-hashes removed in 5.9.0
../dist/Data-Dumper/t/huge.t .........................................
skipped: Need ~10 GiB of core for this test
../dist/Storable/t/huge.t ............................................
skipped: Need ~4 GiB memory for this test, set PERL_TEST_MEMORY > 4
../dist/Storable/t/hugeids.t .........................................
skipped: Need ~8 GiB memory for this test, set PERL_TEST_MEMORY >= 8
../lib/Unicode/testnorm.t ............................................
skipped: Lengthy Tests Disabled; to enable set environmentvariable
$ENV{PERL_DEBUG_FULL_TEST} to a true value
Ah ha! finally some information in there.
Must be a document somewhere that tells me how to do some of these
tests. I guess some magic environment variables are needed? One thing
that *must* be true is that I can certainly chown/chmod/touch a file
that I own.
I would just *love* some input here as FreeBSD 14.0 should be released
sometime this year. Perl is sort of, you know, essential goodness.
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
Four decades in production systems.
Beard installation in progress.
Belt and Suspenders functionality strained.