Skip to content

Instantly share code, notes, and snippets.

@roman
Created May 30, 2013 20:40
Show Gist options
  • Save roman/5681021 to your computer and use it in GitHub Desktop.
Save roman/5681021 to your computer and use it in GitHub Desktop.
Error when installing HsOpenSSL
$ cabal install HsOpenSSL
Resolving dependencies...
Configuring HsOpenSSL-0.10.3.3...
Building HsOpenSSL-0.10.3.3...
Preprocessing library HsOpenSSL-0.10.3.3...
[ 1 of 32] Compiling OpenSSL.ERR ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/ERR.hs, dist/dist-san
dbox-dc2d92ee/build/OpenSSL/ERR.o )
[ 2 of 32] Compiling OpenSSL.Stack ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/Stack.hs, dist/dist-s
andbox-dc2d92ee/build/OpenSSL/Stack.o )
[ 3 of 32] Compiling OpenSSL.DH.Internal ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/DH/Internal.hs, di
st/dist-sandbox-dc2d92ee/build/OpenSSL/DH/Internal.o )
[ 4 of 32] Compiling OpenSSL.Objects ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/Objects.hs, dist/dist
-sandbox-dc2d92ee/build/OpenSSL/Objects.o )
[ 5 of 32] Compiling OpenSSL.EVP.Base64 ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Base64.hs, dist
/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Base64.o )
[ 6 of 32] Compiling OpenSSL.Utils ( OpenSSL/Utils.hs, dist/dist-sandbox-dc2d92ee/build/OpenSSL/Uti
ls.o )
[ 7 of 32] Compiling OpenSSL.EVP.Internal ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Internal.hs,
dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Internal.o )
[ 8 of 32] Compiling OpenSSL.EVP.Cipher ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Cipher.hs, dist
/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Cipher.o )
[ 9 of 32] Compiling OpenSSL.EVP.Digest ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Digest.hs, dist
/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Digest.o )
[10 of 32] Compiling OpenSSL.Cipher ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/Cipher.hs, dist/dist-
sandbox-dc2d92ee/build/OpenSSL/Cipher.o )
[11 of 32] Compiling OpenSSL.BIO ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/BIO.hs, dist/dist-san
dbox-dc2d92ee/build/OpenSSL/BIO.o )
[12 of 32] Compiling OpenSSL.Random ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/Random.hs, dist/dist-
sandbox-dc2d92ee/build/OpenSSL/Random.o )
[13 of 32] Compiling OpenSSL.BN ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/BN.hs, dist/dist-sand
box-dc2d92ee/build/OpenSSL/BN.o )
[14 of 32] Compiling OpenSSL.DSA ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/DSA.hs, dist/dist-san
dbox-dc2d92ee/build/OpenSSL/DSA.o )
[15 of 32] Compiling OpenSSL.RSA ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/RSA.hs, dist/dist-san
dbox-dc2d92ee/build/OpenSSL/RSA.o )
[16 of 32] Compiling OpenSSL.EVP.PKey ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/PKey.hs, dist/dis
t-sandbox-dc2d92ee/build/OpenSSL/EVP/PKey.o )
[17 of 32] Compiling OpenSSL.EVP.Open ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Open.hs, dist/dis
t-sandbox-dc2d92ee/build/OpenSSL/EVP/Open.o )
[18 of 32] Compiling OpenSSL.EVP.Seal ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Seal.hs, dist/dis
t-sandbox-dc2d92ee/build/OpenSSL/EVP/Seal.o )
[19 of 32] Compiling OpenSSL.EVP.Sign ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Sign.hs, dist/dis
t-sandbox-dc2d92ee/build/OpenSSL/EVP/Sign.o )
[20 of 32] Compiling OpenSSL.EVP.Verify ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Verify.hs, dist
/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Verify.o )
[21 of 32] Compiling OpenSSL.DH ( OpenSSL/DH.hs, dist/dist-sandbox-dc2d92ee/build/OpenSSL/DH.o )
[22 of 32] Compiling OpenSSL.ASN1 ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/ASN1.hs, dist/dist-sa
ndbox-dc2d92ee/build/OpenSSL/ASN1.o )
[23 of 32] Compiling OpenSSL.X509.Name ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/X509/Name.hs, dist/d
ist-sandbox-dc2d92ee/build/OpenSSL/X509/Name.o )
[24 of 32] Compiling OpenSSL.X509 ( OpenSSL/X509.hs, dist/dist-sandbox-dc2d92ee/build/OpenSSL/X509
.o )
[25 of 32] Compiling OpenSSL.X509.Request ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/X509/Request.hs,
dist/dist-sandbox-dc2d92ee/build/OpenSSL/X509/Request.o )
[26 of 32] Compiling OpenSSL.X509.Revocation ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/X509/Revocatio
n.hs, dist/dist-sandbox-dc2d92ee/build/OpenSSL/X509/Revocation.o )
[27 of 32] Compiling OpenSSL.X509.Store ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/X509/Store.hs, dist
/dist-sandbox-dc2d92ee/build/OpenSSL/X509/Store.o )
[28 of 32] Compiling OpenSSL.PKCS7 ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/PKCS7.hs, dist/dist-s
andbox-dc2d92ee/build/OpenSSL/PKCS7.o )
[29 of 32] Compiling OpenSSL.PEM ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/PEM.hs, dist/dist-san
dbox-dc2d92ee/build/OpenSSL/PEM.o )
[30 of 32] Compiling OpenSSL.Session ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/Session.hs, dist/dist
-sandbox-dc2d92ee/build/OpenSSL/Session.o )
OpenSSL/Session.hsc:121:3: Warning:
In the use of `addMVarFinalizer'
(imported from Control.Concurrent.MVar):
Deprecated: "use mkWeakMVar instead"
OpenSSL/Session.hsc:301:5: Warning:
In the use of `addMVarFinalizer'
(imported from Control.Concurrent.MVar):
Deprecated: "use mkWeakMVar instead"
[31 of 32] Compiling OpenSSL.SSL ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/SSL.hs, dist/dist-san
dbox-dc2d92ee/build/OpenSSL/SSL.o )
[32 of 32] Compiling OpenSSL ( dist/dist-sandbox-dc2d92ee/build/OpenSSL.hs, dist/dist-sandbox
-dc2d92ee/build/OpenSSL.o )
[ 1 of 32] Compiling OpenSSL.ERR ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/ERR.hs, dist/dist-san
dbox-dc2d92ee/build/OpenSSL/ERR.p_o )
[ 2 of 32] Compiling OpenSSL.Stack ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/Stack.hs, dist/dist-s
andbox-dc2d92ee/build/OpenSSL/Stack.p_o )
[ 3 of 32] Compiling OpenSSL.DH.Internal ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/DH/Internal.hs, di
st/dist-sandbox-dc2d92ee/build/OpenSSL/DH/Internal.p_o )
[ 4 of 32] Compiling OpenSSL.Objects ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/Objects.hs, dist/dist
-sandbox-dc2d92ee/build/OpenSSL/Objects.p_o )
[ 5 of 32] Compiling OpenSSL.EVP.Base64 ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Base64.hs, dist
/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Base64.p_o )
[ 6 of 32] Compiling OpenSSL.Utils ( OpenSSL/Utils.hs, dist/dist-sandbox-dc2d92ee/build/OpenSSL/Uti
ls.p_o )
[ 7 of 32] Compiling OpenSSL.EVP.Internal ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Internal.hs,
dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Internal.p_o )
[ 8 of 32] Compiling OpenSSL.EVP.Cipher ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Cipher.hs, dist
/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Cipher.p_o )
[ 9 of 32] Compiling OpenSSL.EVP.Digest ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Digest.hs, dist
/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Digest.p_o )
[10 of 32] Compiling OpenSSL.Cipher ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/Cipher.hs, dist/dist-
sandbox-dc2d92ee/build/OpenSSL/Cipher.p_o )
[11 of 32] Compiling OpenSSL.BIO ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/BIO.hs, dist/dist-san
dbox-dc2d92ee/build/OpenSSL/BIO.p_o )
[12 of 32] Compiling OpenSSL.Random ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/Random.hs, dist/dist-
sandbox-dc2d92ee/build/OpenSSL/Random.p_o )
[13 of 32] Compiling OpenSSL.BN ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/BN.hs, dist/dist-sand
box-dc2d92ee/build/OpenSSL/BN.p_o )
[14 of 32] Compiling OpenSSL.DSA ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/DSA.hs, dist/dist-san
dbox-dc2d92ee/build/OpenSSL/DSA.p_o )
[15 of 32] Compiling OpenSSL.RSA ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/RSA.hs, dist/dist-san
dbox-dc2d92ee/build/OpenSSL/RSA.p_o )
[16 of 32] Compiling OpenSSL.EVP.PKey ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/PKey.hs, dist/dis
t-sandbox-dc2d92ee/build/OpenSSL/EVP/PKey.p_o )
[17 of 32] Compiling OpenSSL.EVP.Open ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Open.hs, dist/dis
t-sandbox-dc2d92ee/build/OpenSSL/EVP/Open.p_o )
[18 of 32] Compiling OpenSSL.EVP.Seal ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Seal.hs, dist/dis
t-sandbox-dc2d92ee/build/OpenSSL/EVP/Seal.p_o )
[19 of 32] Compiling OpenSSL.EVP.Sign ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Sign.hs, dist/dis
t-sandbox-dc2d92ee/build/OpenSSL/EVP/Sign.p_o )
[20 of 32] Compiling OpenSSL.EVP.Verify ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Verify.hs, dist
/dist-sandbox-dc2d92ee/build/OpenSSL/EVP/Verify.p_o )
[21 of 32] Compiling OpenSSL.DH ( OpenSSL/DH.hs, dist/dist-sandbox-dc2d92ee/build/OpenSSL/DH.p_o
)
[22 of 32] Compiling OpenSSL.ASN1 ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/ASN1.hs, dist/dist-sa
ndbox-dc2d92ee/build/OpenSSL/ASN1.p_o )
[23 of 32] Compiling OpenSSL.X509.Name ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/X509/Name.hs, dist/d
ist-sandbox-dc2d92ee/build/OpenSSL/X509/Name.p_o )
[24 of 32] Compiling OpenSSL.X509 ( OpenSSL/X509.hs, dist/dist-sandbox-dc2d92ee/build/OpenSSL/X509
.p_o )
[25 of 32] Compiling OpenSSL.X509.Request ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/X509/Request.hs,
dist/dist-sandbox-dc2d92ee/build/OpenSSL/X509/Request.p_o )
[26 of 32] Compiling OpenSSL.X509.Revocation ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/X509/Revocatio
n.hs, dist/dist-sandbox-dc2d92ee/build/OpenSSL/X509/Revocation.p_o )
[27 of 32] Compiling OpenSSL.X509.Store ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/X509/Store.hs, dist
/dist-sandbox-dc2d92ee/build/OpenSSL/X509/Store.p_o )
[28 of 32] Compiling OpenSSL.PKCS7 ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/PKCS7.hs, dist/dist-s
andbox-dc2d92ee/build/OpenSSL/PKCS7.p_o )
[29 of 32] Compiling OpenSSL.PEM ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/PEM.hs, dist/dist-san
dbox-dc2d92ee/build/OpenSSL/PEM.p_o )
[30 of 32] Compiling OpenSSL.Session ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/Session.hs, dist/dist
-sandbox-dc2d92ee/build/OpenSSL/Session.p_o )
OpenSSL/Session.hsc:121:3: Warning:
In the use of `addMVarFinalizer'
(imported from Control.Concurrent.MVar):
Deprecated: "use mkWeakMVar instead"
OpenSSL/Session.hsc:301:5: Warning:
In the use of `addMVarFinalizer'
(imported from Control.Concurrent.MVar):
Deprecated: "use mkWeakMVar instead"
[31 of 32] Compiling OpenSSL.SSL ( dist/dist-sandbox-dc2d92ee/build/OpenSSL/SSL.hs, dist/dist-san
dbox-dc2d92ee/build/OpenSSL/SSL.p_o )
[32 of 32] Compiling OpenSSL ( dist/dist-sandbox-dc2d92ee/build/OpenSSL.hs, dist/dist-sandbox
-dc2d92ee/build/OpenSSL.p_o )
In file included from cbits/HsOpenSSL.c:1:0:
cbits/HsOpenSSL.h:30:50:
fatal error: ../dist/build/autogen/cabal_macros.h: No such file or directory
compilation terminated.
Failed to install HsOpenSSL-0.10.3.3
cabal: Error: some packages failed to install:
HsOpenSSL-0.10.3.3 failed during the building phase. The exception was:
ExitFailure 1
vagrant@localhost: ~/pulse/local-agent - git: conflict-detection [!]
[1] $ cabal --version
cabal-install version 1.17.0
using version 1.17.0 of the Cabal library
@depressed-pho
Copy link

I hopefully fixed the problem and released 0.10.3.4:
depressed-pho/HsOpenSSL#23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment