-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
Build error of hackage2nix executable in windows with openssl-1.0.2j-fips-x86_64 #389
Comments
The source for this error is a broken |
Oh, i built hopenssl separately and cabal didn't complain about missing z lib, only asked for openssl ones. Should it do it? Or should i tell cabal that it have to call ld including z lib (i dont have much experience building haskell libs that wraps c libs)? |
The error does not seem to occur until the library is actually used. You might want to try running "cabal test" or "cabal new-test" for hopenssl to see whether those succeed. |
Hi, so a suitable
As alternative you can use in dos/ps console simply adding the Ok, for build
I haven't find a cabal option (in |
Thank you very much for all the effort you've put into debugging this issue! I've opened a new ticket at Adding
when they're building |
Totally agree on that My first way to do it was trying to configure the build of |
@jneira, I fixed the hopenssl test suite. If you have the chance, please let me know whether building that package with appropriate |
Hi, i am been busy testing cabal builds with
The log for gcc calls are similar, only changes the order of params
The log of
I've not find any other reference to |
Hi, i've opened an issue in cabal about this: haskell/cabal#5805 |
Static variants of libcrypto may depend on libz but can't express that dependency, so we have to worry about telling Cabal about it. Relevant Issue: - NixOS/cabal2nix#389 - haskell/cabal#5805
Hey @jneira, the latest git version of Are you still in the mood for testing the change? Does the new version install correctly for you and allows you to build |
Yeah, not at home in some days but i will test it asap. |
Finally i've tried it:
Lot of thanks! |
Very cool. I released hopenssl 2.2.4 to Hackage, which has that flag included. I'm glad we have finally solved this issue. It's not 100% satisfactory, IMHO, but it seems like the best we can do at the moment without resorting to major complications, like using Autoconf, etc. Thank you very much for your bug report. |
I've installed it again the standard way and it has been much easier:
|
Hi, I've tried to build the lib in windows:
cabal new-build -v3
in mingw (to allow it buildnetwork
package)It fails building the executable
stack2nixhackage2nixThanks in advance!
The text was updated successfully, but these errors were encountered: