Skip to content

Errno archname/osvers too strict. #21135

Closed
@4kbyte

Description

@4kbyte

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Closable?We might be able to close this ticket, but we need to check with the reporter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions