Вот дополнительная информация о неудавшемся тесте:
$ cd /Users/hakonhaegland/perl5/perlbrew/build/perl-5.28.2/perl-5.28.2/t
$ ./perl -I../lib TEST porting/libperl.t
t/porting/libperl ... porting/libperl.t: Unexpected /usr/bin/nm error: no symbols
porting/libperl.t: Unexpected /usr/bin/nm errors
FAILED--no leader found
Failed 1 test out of 0, 0.00% okay.
porting/libperl.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 may have to set your dynamic library search path,
### DYLD_LIBRARY_PATH, to point to the build directory:
### setenv DYLD_LIBRARY_PATH `pwd`:$DYLD_LIBRARY_PATH; cd t; ./perl harness
### DYLD_LIBRARY_PATH=`pwd`:$DYLD_LIBRARY_PATH; export DYLD_LIBRARY_PATH; cd t; ./perl harness
### export DYLD_LIBRARY_PATH=`pwd`:$DYLD_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: 0 sec
u=0.01 s=0.01 cu=0.07 cs=0.03 scripts=0 tests=0
Edit
Еще одно исследование показывает, что вывод nm
на libperl.a
дает неожиданный результат no symbols
to STDERR:
$ /usr/bin/nm -m ../libperl.a > /dev/null
no symbols
(Было бы интересно узнать, почему это происходит) В любом случае, вы можете исправить тест, отредактировав строку 579 в t/porting/libperl.t
с
if (/nm: no name list/ && $^O eq 'darwin') {
на
if ((/nm: no name list/ || /^no symbols$/) && $^O eq 'darwin') {
Затем повторите тест:
$ ./perl -I../lib TEST porting/libperl.t
t/porting/libperl ... ok
All tests successful.
Elapsed: 0 sec
u=0.01 s=0.00 cu=0.09 cs=0.02 scripts=1 tests=35