Skip to content

perlPackages.Testutf8 fails when cross-compiling #198548

@Majiir

Description

@Majiir

Steps To Reproduce

Build perlPackages.Testutf8 cross-compiled for armv7l-hf-multiplatform on a x86_64-linux host:

nix build 'nixpkgs#pkgsCross.armv7l-hf-multiplatform.perlPackages.Testutf8'

Build log

@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/b31nlj5bnzjgfwcxjyjyrc4987v9fziw-Test-utf8-1.02.tar.gz
source root is Test-utf8-1.02
setting SOURCE_DATE_EPOCH to timestamp 1583064372 of file Test-utf8-1.02/xt/anyperlperlcriticrc
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
patching ./xt/003perlcritic.t...
patching ./xt/001pod.t...
patching ./xt/002podcoverage.t...
patching ./t/02invalid.t...
patching ./t/04ascii.t...
patching ./t/07valid_docu.t...
patching ./t/06flag.t...
patching ./t/01basic.t...
patching ./t/05latin1.t...
patching ./t/03deu.t...
Can't load module Fcntl, dynamic loading not available in this perl.
  (You may need to build a new perl executable which either supports
  dynamic loading or has the Fcntl module statically linked into it.)
 at inc/Module/Install/Makefile.pm line 6.
Compilation failed in require at inc/Module/Install/Makefile.pm line 6.
BEGIN failed--compilation aborted at inc/Module/Install/Makefile.pm line 6.
Compilation failed in require at inc/Module/Install.pm line 307.
The 'makemaker_args' method does not exist in the 'inc' path!
Please remove the 'inc' directory and run Makefile.PL again to load it.

Additional context

Above build log is from nixpkgs at 9ecc270. It also fails on latest master (535abb7).

Notify maintainers

I'm not sure who to notify here. The last maintainer appears to be a deleted user.

Metadata

nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.19.14, NixOS, 22.05 (Quokka), 22.05.20221012.e06bd4b`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.1`
 - channels(root): `""`
 - channels(majiir): `""`
 - nixpkgs: `/etc/nix/inputs/nixpkgs`

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failureA package fails to build2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: cross-compilationBuilding packages on a different platform than they will be used on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions