Description
Module: Errno
Description
The architecture check generated by ext/Errno/Errno_pm.PL at line 300 is too strict, relying on identical operating system identifiers that may have changed since Perl was installed.
The resulting file ends up at e.g. .../perl/5.36/x86_64-linux/Errno.pm
If the kernel version string changed, but the architecture and OS are otherwise consistent, the process will die
on a failed comparison.
Steps to Reproduce
No simple script, but it should be reproducible by changing insignificant version information (like kernel minor version) after installing Perl, when running build scripts of Perl modules.
Two cases reported here.
Expected behavior
The check should validate on uname --kernel-name
(Linux) and not uname --kernel-release
(6.3.5-whatever-00013-g0c0ffee).
Perl configuration
Perl 5.36