-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Cross-compiling OpenSSL 1.1 is broken on most platforms #82924
Comments
Encountered while troubleshooting cargo2nix/cargo2nix#96. |
For me |
@vcunat Same here. I encounter this error on
|
Hello, I'm a bot and I thank you in the name of the community for opening this issue. To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human. The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them. Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel. |
Still important to me. Still broken in |
I got the following error when building
@ebkalderon does this error the same with you? |
Ran into this today. $ nix build .#pkgsCross.raspberryPi.spasm-ng fails on macOS due to the perl dependency of openssl failing to cross-compile. Specifically, the patchPhase failed to apply patches. |
Status for Windows MinGW (if anyone cares 😛):
Should |
I'm sorry for necroposting, that's the second time I encounter this issue, and this page is still in top result.
|
Replaces perl based c_rehash script with shell script wrapping `openssl rehash` with the same functionality. Fixes: NixOS#19965 Supersedes: NixOS#156776, NixOS#83446 Possibly related to: NixOS#157093, NixOS#82924
Replaces perl based c_rehash script with shell script wrapping `openssl rehash` with the same functionality. Fixes: NixOS#19965 Supersedes: NixOS#156776, NixOS#83446 Possibly related to: NixOS#157093, NixOS#82924
Replaces perl based c_rehash script with shell script wrapping `openssl rehash` with the same functionality. Fixes: NixOS#19965 Supersedes: NixOS#156776, NixOS#83446 Possibly related to: NixOS#157093, NixOS#82924
Replaces perl based c_rehash script with shell script wrapping `openssl rehash` with the same functionality. Fixes: NixOS#19965 Supersedes: NixOS#156776, NixOS#83446 Possibly related to: NixOS#157093, NixOS#82924
Replaces perl based c_rehash script with shell script wrapping `openssl rehash` with the same functionality. Fixes: NixOS#19965 Supersedes: NixOS#156776, NixOS#83446 Possibly related to: NixOS#157093, NixOS#82924
Replaces perl based c_rehash script with shell script wrapping `openssl rehash` with the same functionality. Fixes: NixOS#19965 Supersedes: NixOS#156776, NixOS#83446 Possibly related to: NixOS#157093, NixOS#82924
Replaces perl based c_rehash script with shell script wrapping `openssl rehash` with the same functionality. Fixes: NixOS#19965 Supersedes: NixOS#156776, NixOS#83446 Possibly related to: NixOS#157093, NixOS#82924
Replaces perl based c_rehash script with shell script wrapping `openssl rehash` with the same functionality. Fixes: NixOS#19965 Supersedes: NixOS#156776, NixOS#83446 Possibly related to: NixOS#157093, NixOS#82924
Replaces perl based c_rehash script with shell script wrapping `openssl rehash` with the same functionality. Fixes: NixOS#19965 Supersedes: NixOS#156776, NixOS#83446 Possibly related to: NixOS#157093, NixOS#82924
Replaces perl based c_rehash script with shell script wrapping `openssl rehash` with the same functionality. Fixes: NixOS#19965 Supersedes: NixOS#156776, NixOS#83446 Possibly related to: NixOS#157093, NixOS#82924
Describe the bug
It seems that OpenSSL 1.1 cannot be cross-compiled on most platforms on the current
HEAD
of Nixpkgs at the time of writing (eb3e75e78832461c2462b9a5280b8a19cfc5246b
).I haven't been able to confirm whether cross-compiling OpenSSL 1.0.2 works, but given that the package is labeled insecure and is EOL'ed, I didn't attempt to investigate.
To Reproduce
Given the following Nix expression:
And the following build command:
I can confirm the following results:
system
crossSystem
x86_64-linux
null
x86_64-darwin
null
x86_64-linux
musl64
x86_64-darwin
musl64
x86_64-linux
gnu64
x86_64-darwin
gnu64
Expected behavior
I expected all tested combinations above (except perhaps
crossSystem = gnu64
) to succeed on both Linux and Darwin.Metadata
"x86_64-darwin"
Darwin 18.7.0, macOS 10.14.6
yes
no
nix-env (Nix) 2.3.3
"nixpkgs-19.09pre192418.e19054ab3cd"
"nixpkgs-20.09pre215991.93ba4ecd586"
/Users/eyalkalderon/.nix-defexpr/channels/nixpkgs
Maintainer information:
The text was updated successfully, but these errors were encountered: