-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: cross-compilationBuilding packages on a different platform than they will be used onBuilding packages on a different platform than they will be used on
Description
Describe the bug
nix-build -A pkgsCross.aarch64-multiplatform.perl534Packages.IOTty fails:
these derivations will be built:
/nix/store/7wmnpdwycwc6al6c71i91k0fq1b8b19y-perl5.34.0-IO-Tty-aarch64-unknown-linux-gnu-1.15.drv
building '/nix/store/7wmnpdwycwc6al6c71i91k0fq1b8b19y-perl5.34.0-IO-Tty-aarch64-unknown-linux-gnu-1.15.drv'...
unpacking sources
unpacking source archive /nix/store/phiymjsipz66gkjibxmbrqzj7js4xinj-IO-Tty-1.15.tar.gz
source root is IO-Tty-1.15
setting SOURCE_DATE_EPOCH to timestamp 1604441416 of file IO-Tty-1.15/META.yml
patching sources
updateAutotoolsGnuConfigScriptsPhase
configuring
patching ./t/test.t...
patching ./t/pty_get_winsize.t...
Can't load module IO, dynamic loading not available in this perl.
(You may need to build a new perl executable which either supports
dynamic loading or has the IO module statically linked into it.)
at /nix/store/98rdfdqc7kax6ipm1jrmyqiacc7264vp-perl-5.34.0-aarch64-unknown-linux-gnu/lib/perl5/5.34.0/aarch64-linux/IO/Handle.pm line 268.
Compilation failed in require at /nix/store/98rdfdqc7kax6ipm1jrmyqiacc7264vp-perl-5.34.0-aarch64-unknown-linux-gnu/lib/perl5/5.34.0/aarch64-linux/IO/Handle.pm line 268.
BEGIN failed--compilation aborted at /nix/store/98rdfdqc7kax6ipm1jrmyqiacc7264vp-perl-5.34.0-aarch64-unknown-linux-gnu/lib/perl5/5.34.0/aarch64-linux/IO/Handle.pm line 268.
Compilation failed in require at /nix/store/98rdfdqc7kax6ipm1jrmyqiacc7264vp-perl-5.34.0-aarch64-unknown-linux-gnu/lib/perl5/5.34.0/aarch64-linux/IO/Seekable.pm line 100.
BEGIN failed--compilation aborted at /nix/store/98rdfdqc7kax6ipm1jrmyqiacc7264vp-perl-5.34.0-aarch64-unknown-linux-gnu/lib/perl5/5.34.0/aarch64-linux/IO/Seekable.pm line 100.
Compilation failed in require at /nix/store/98rdfdqc7kax6ipm1jrmyqiacc7264vp-perl-5.34.0-aarch64-unknown-linux-gnu/lib/perl5/5.34.0/aarch64-linux/IO/File.pm line 132.
BEGIN failed--compilation aborted at /nix/store/98rdfdqc7kax6ipm1jrmyqiacc7264vp-perl-5.34.0-aarch64-unknown-linux-gnu/lib/perl5/5.34.0/aarch64-linux/IO/File.pm line 132.
Compilation failed in require at Makefile.PL line 10.
BEGIN failed--compilation aborted at Makefile.PL line 10.
builder for '/nix/store/7wmnpdwycwc6al6c71i91k0fq1b8b19y-perl5.34.0-IO-Tty-aarch64-unknown-linux-gnu-1.15.drv' failed with exit code 255
error: build of '/nix/store/7wmnpdwycwc6al6c71i91k0fq1b8b19y-perl5.34.0-IO-Tty-aarch64-unknown-linux-gnu-1.15.drv' failed
This seems to be part of the mosh buildInputs, breaking cross-compilation of NixOS closures.
Steps To Reproduce
Steps to reproduce the behavior:
nix-build -A pkgsCross.aarch64-multiplatform.perl534Packages.IOTty
cc @NixOS/mobile-nixos @NixOS/exotic-platform-maintainers
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: cross-compilationBuilding packages on a different platform than they will be used onBuilding packages on a different platform than they will be used on