besser82/libxcrypt

Fails to configure with Perl 5.38.0(-RC0)

Closed this issue · 1 comments

https://github.com/Perl/perl5/blob/blead/pod/perldelta.pod#changes-to-existing-diagnostics
^ The "when" keyword moves from "experimental" to "deprecated in Perl 5.38.

This means it emits a warning, which triggers the use warnings FATAL => 'all'; at the start of BuildCommon.pm.

checking for valgrind... no
checking for Python 3.>=6 with Passlib... not found
configure: Disabling the "regen-ka-table" target, missing Python requirements.
checking whether all ucontext.h functions are available... yes
when is deprecated at /var/tmp/portage/sys-libs/libxcrypt-4.4.34/work/libxcrypt-4.4.34/build-aux/scripts/BuildCommon.pm line 522.
Compilation failed in require at /var/tmp/portage/sys-libs/libxcrypt-4.4.34/work/libxcrypt-4.4.34/build-aux/scripts/expand-selected-hashes line 28.
BEGIN failed--compilation aborted at /var/tmp/portage/sys-libs/libxcrypt-4.4.34/work/libxcrypt-4.4.34/build-aux/scripts/expand-selected-hashes line 28.
configure: error: bad value 'all' for --enable-hashes

Thank you for spotting this!