Opened 14 months ago

Last modified 14 months ago

#55203 new defect

perl5: test needs an existing perl installation on High Sierra

Reported by: mojca (Mojca Miklavec) Owned by: mojca (Mojca Miklavec)
Priority: Low Milestone:
Component: ports Version:
Keywords: highsierra Cc: dbevans (David B. Evans)
Port: perl5

Description (last modified by mojca (Mojca Miklavec))

DYLD_LIBRARY_PATH=/path/to/perl5.26/work/perl-5.26.1  ./perl -Ilib -I. -f pod/buildtoc -q
cd t && (rm -f perl; /bin/ln -s ../perl perl)
DYLD_LIBRARY_PATH=/path/to/perl5.26/work/perl-5.26.1 ./runtests choose
dyld: Library not loaded: /opt/local/lib/perl5/5.26/darwin-thread-multi-2level/CORE/libperl.dylib
  Referenced from: /path/to/perl5.26/work/perl-5.26.1/t/./perl
  Reason: image not found
./runtests: line 70: 47389 Abort trap: 6           ./perl $TESTFILE $TEST_ARGS $TEST_FILES < /dev/tty
make: *** [test] Error 134
Command failed:  cd "/path/to/perl5.26/work/perl-5.26.1" && /usr/bin/make test 
Exit code: 2
Error: Failed to test perl5.26: command execution failed


pp_sys.c:5742:11: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
        retval = syscall(a[0]);
/usr/include/unistd.h:745:6: note: 'syscall' has been explicitly marked deprecated here
int      syscall(int, ...);

Apparently make test doesn't work out of the box without installing that perl version first. Some (incomplete) patches are proposed in the link below.

Change History (2)

comment:2 Changed 14 months ago by mojca (Mojca Miklavec)

Description: modified (diff)
Port: perl5 added; perl5.26 removed
Priority: NormalLow
Summary: perl5.26: test fails on High Sierraperl5: test needs an existing perl installation on High Sierra
Note: See TracTickets for help on using tickets.