Open mtelka opened 1 year ago
The same with Perl 5.34 and Crypt-RIPEMD160-0.08 on macOS.
FYI, I use this as a workaround:
mkdir blib/lib/auto/Crypt/RIPEMD160/MAC
echo "1;" > blib/lib/auto/Crypt/RIPEMD160/MAC/autosplit.ix
The file actually exists, only, it's in the wrong directory:
.../Crypt-RIPEMD160-0.08/blib/lib/auto/Crypt/RIPEMD160:
insgesamt 4
drwxr-xr-x 2 macports macports 136 14. Dez 15:19 .
drwxr-xr-x 3 macports macports 102 14. Dez 15:19 ..
-rw-r--r-- 1 macports macports 0 14. Dez 15:19 .exists
-rw-r--r-- 1 macports macports 94 14. Dez 15:19 autosplit.ix
The MAC subdirectory is omitted…
In the MacPorts package manager's "Portfile" (recipe to handle the software in stages or phases) I put
pre-test {
system "ln -s . ${worksrcpath}/blib/lib/auto/Crypt/RIPEMD160/MAC"
}
which is simpler than creating a new sub-directory ("MAC") and then echoing something into a file. The directory Crypt-RIPEMD160-
insgesamt 8
drwxr-xr-x 2 macports macports 170 15. Dez 20:50 .
drwxr-xr-x 3 macports macports 102 15. Dez 20:50 ..
-rw-r--r-- 1 macports macports 0 15. Dez 20:50 .exists
lrwxr-xr-x 1 macports macports 1 15. Dez 20:50 MAC -> .
-rw-r--r-- 1 macports macports 94 15. Dez 20:50 autosplit.ix
and all seems to be well:
---> Testing p5.34-crypt-ripemd160
Executing: cd "/opt/local/var/macports/build/_Users_alpha_ports_perll_p5-crypt-ripemd160/p5.34-crypt-ripemd160/work/Crypt-RIPEMD160-0.08" && /usr/bin/make test
"/opt/local/bin/perl5.34" -MExtUtils::Command::MM -e 'cp_nonempty' -- RIPEMD160.bs blib/arch/auto/Crypt/RIPEMD160/RIPEMD160.bs 644
PERL_DL_NONLAZY=1 "/opt/local/bin/perl5.34" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01test.t .. ok
All tests successful.
Files=1, Tests=26, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.34 cusr 0.01 csys = 0.38 CPU)
Result: PASS
Next week I'll be able to test on older Macs with Mac OS X versions…
-- Greetings
Pete
"Old age and treachery will overcome youth and skill."
I'm trying to package
Crypt-RIPEMD160
for OpenIndiana and during testing I found this error:There is no
auto/Crypt/RIPEMD160/MAC/autosplit.ix
file, but there isauto/Crypt/RIPEMD160/autosplit.ix
.This fails with Perl 5.34, 5.36, and 5.38.