Opened 17 months ago

Closed 3 months ago

Last modified 3 months ago

#55203 closed defect (fixed)

perl5: test needs an existing perl installation on High Sierra & perl5.28 does not even build

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 perl5.28

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

Also:

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 (5)

comment:2 Changed 17 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

comment:3 Changed 3 months ago by mojca (Mojca Miklavec)

Port: perl5.28 added
Summary: perl5: test needs an existing perl installation on High Sierraperl5: test needs an existing perl installation on High Sierra & perl5.28 does not even build

comment:4 Changed 3 months ago by dgilman (David Gilman)

Resolution: fixed
Status: newclosed

In 8c9dd68ed3c5dbdb2c4d1c0caf7543b7689d0d12/macports-ports (master):

perl5.28: new port, backport patch for 5.26

See: #55207
Closes: #55203

comment:5 Changed 3 months ago by mojca (Mojca Miklavec)

In 43c38ee26a1760eae0dabf07a445f15d989193eb/macports-ports (master):

perl5.24: backport a patch to allow testing

See: #55203

Note: See TracTickets for help on using tickets.