-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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.ModuleBuild (a dependency of git) fails to cross-compile #66741
Comments
I read through the explanation in the manual about creating a stub implementation, but I'm not sure what to do in this case because |
Personally, I don't really care about |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
I'm pretty sure this hasn't been fixed. |
I marked this as stale due to inactivity. → More info |
Still happening |
This now breaks cross-compiled NixOS because |
Hey.
But
|
Yeah, reverting that commit won't fix git because |
I marked this as stale due to inactivity. → More info |
|
This also prevents |
This sounds similar to #115170 - will take a better look 👀 |
Yeah, its basically the same thing as #115170 - the failing step
Is due to https://metacpan.org/release/LEONT/Module-Build-0.4231/source/Build.PL#L67 which doesn't really make sense for our purposes as test_requires => {
'File::Temp' => 0.15, # tmpdir() + fixes
'Test::More' => 0.49, $ nix-shell -p perl --run 'perl -MFile::Temp -E "say \$File::Temp::VERSION"'
0.2311
|
This once again breaks cross compiled NixOS because of #154809 pulling this in via |
stc sould be fixed by #158021 |
Flips sign: 0 days since the last incident. NixOS fails to cross compile again. This time it's #157329 depending on Array-Compare which pulls in Moo, which lists ModuleRuntime in propagatedBuildInputs. As long as there's no structural fix for this issue I'm afraid we risk running into it on every rework of the core perl scripts.. @dasJ If you happen to have some time to look at it again, or someone else who does know perl... |
Attempted to do a quick fix by looking more closely at modules pulled in by Anyway, I've added a workaround for stc that avoids Array::Compare here #160176 |
Problem still actual, it blocks |
This particular issue has been fixed by #225640, although Git with Perl support still fails due to a different error in
|
perlPackages.ModuleBuild
fails to cross-compile, which preventsgit
from cross-compiling (unlessperlSupport = false
). I don't have much experience with Perl, but my understanding is thatScalar::Util
is trying to load an XS module. I'm not sure how to work around this.Maintainer information:
cc @shlevy @volth because you've worked on Perl cross-compiling
The text was updated successfully, but these errors were encountered: