-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perlPackages.Testutf8
fails when cross-compiling
#198548
Comments
Hi, Did you find any workaround for this issue? I am also facing same issue when I cross compile for riscv arch. |
I never solved the cross-compilation problem. I did switch away from GRUB, because it's what was ultimately pulling in this dependency. |
Issue persists in command Did similar changes for Testutf8 too but another Perl package failed:
|
I just hit this issue as well and am coming to this trying to cross compile nixos to Looking at this issue, the problem seems to be that the default install target is
This won't work during cross-compilation because the PERL variable points to a perl.mini (not a full perl), which is only supposed to be used for configuration - according to the few references I've seen. The nix derivation also has a Not knowing the Perl ecosystem very well, I wonder if we could change the installTarget to |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/cross-compiling-and-maybe-even-remote-deploying-a-nixos-system/31755/6 |
This is now preventing NixOS cross-compilation due to #246772. |
Since #246772, cross compiled NixOS is broken because the DateTime perl package that was used in the update-users-groups.pl script depends on Testutf8 which does not cross compile (see #198548). This PR drops the DateTime dependency in favour of TimePiece, which has less dependencies and whose closure does cross compile.
Steps To Reproduce
Build
perlPackages.Testutf8
cross-compiled forarmv7l-hf-multiplatform
on ax86_64-linux
host:Build log
Additional context
Above build log is from
nixpkgs
at 9ecc270. It also fails on latestmaster
(535abb7).Notify maintainers
I'm not sure who to notify here. The last maintainer appears to be a deleted user.
Metadata
The text was updated successfully, but these errors were encountered: