[MacPorts] #55203: perl5: test needs an existing perl installation on High Sierra (was: perl5.26: test fails on High Sierra)

MacPorts noreply at macports.org
Tue Oct 31 23:58:47 UTC 2017


#55203: perl5: test needs an existing perl installation on High Sierra
---------------------+------------------------
  Reporter:  mojca   |      Owner:  mojca
      Type:  defect  |     Status:  new
  Priority:  Low     |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  highsierra
      Port:  perl5   |
---------------------+------------------------
Changes (by mojca):

 * priority:  Normal => Low
 * port:  perl5.26 => perl5


Old description:

> {{{
> 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, ...);
>          ^
> }}}

New description:

 {{{
 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.

--

--
Ticket URL: <https://trac.macports.org/ticket/55203#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list