-
-
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.XMLParser fails to cross-compile #36675
Comments
@bgamari I'm not really sure what's causing this, and am not sure when I'll have a chance to dig in... sorry! |
Perhaps we should back out the perl cross-compilation support until this is fixed? This is currently a bit of a regression from |
Wait, how did this work on master? You can't cross-compile perl modules at all there. |
Shea Levy <notifications@github.com> writes:
Wait, how did this work on master? You can't cross-compile perl modules at all there.
IIRC it works via binfmt.
|
I'm a bit hesitant to revert an unambiguous if partial improvement for the pure true cross-country case, but I don't want to gratuitously break things, even inherently impure/unsupported things like binfmt for cross. Do you have any thoughts on how you can fit your needs without requiring us to solve all binfmt-capable cases at once? |
Quite understandable; I also don't mind just reverting the patch in my branch. |
😅 Anyway, I'd like to look at a full build-native perl for cross-compilation, and hopefully when we can get that in it will address this or make it easier to debug. |
What error are you getting? |
The same error as was reported above:
|
Did this ever work for you since my perl cross changes? |
I thought so but this seems to suggest I was wrong. Reopening. |
subscribes |
I'm also getting this. |
I don't mean to instigate a scripting-language-war but it seems like a nice way around this issue would be to reimplement these scripts in a language more suitable to cross-compilation (e.g. Python). Continuing to use perl in this capacity is almost certain to be a persistent source of cross-compilation headaches. |
💯 |
Yea. Eliminating as much perl as possible from NixOS would be a big win IMO. |
Fixed in #48258 |
Issue description
Cross-compiling
perlPackages.XMLParser
on nixpkgs'staging
branch (e.g. with @shlevy's perl cross-compilation patch, 306d5cd) fails.Steps to reproduce
Technical details
Hmmm...
The text was updated successfully, but these errors were encountered: