[ANNOUNCE] 7.10.3 release candidate 2 - problems compiling source on Mac OS with clang

George Colpitts george.colpitts at gmail.com
Mon Nov 16 01:52:29 UTC 2015


 ghc --info
ghc --info
 [("Project name","The Glorious Glasgow Haskell Compilation System")
 ,("GCC extra via C opts"," -fwrapv")
 ,("C compiler command","/usr/bin/gcc")
 ,("C compiler flags"," -m64 -fno-stack-protector")
 ,("C compiler link flags"," -m64")
 ,("Haskell CPP command","/usr/bin/gcc")
 ,("Haskell CPP flags","-E -undef -traditional -Wno-invalid-pp-token
-Wno-unicode -Wno-trigraphs ")
 ,("ld command","/usr/bin/ld")
 ,("ld flags"," -arch x86_64")
 ,("ld supports compact unwind","YES")
 ,("ld supports build-id","NO")
 ,("ld supports filelist","YES")
 ,("ld is GNU ld","NO")
 ,("ar command","/usr/bin/ar")
 ,("ar flags","clqs")
 ,("ar supports at file","NO")
 ,("touch command","touch")
 ,("dllwrap command","/bin/false")
 ,("windres command","/bin/false")
 ,("libtool command","libtool")
 ,("readelf command","")
 ,("perl command","/usr/bin/perl")
 ,("cross compiling","NO")
 ,("target os","OSDarwin")
 ,("target arch","ArchX86_64")
 ,("target word size","8")
 ,("target has GNU nonexec stack","False")
 ,("target has .ident directive","True")
 ,("target has subsections via symbols","True")
 ,("Unregisterised","NO")
 ,("LLVM llc command","/usr/local/bin/llc-3.5")
 ,("LLVM opt command","/usr/local/bin/opt-3.5")
 ,("Project version","7.10.2.20151105")
 ,("Project Git commit id","7f8fc1c9db5bef2dea05e001488d5bc7c8b38575")
 ,("Booter version","7.10.2")
 ,("Stage","2")
 ,("Build platform","x86_64-apple-darwin")
 ,("Host platform","x86_64-apple-darwin")
 ,("Target platform","x86_64-apple-darwin")
 ,("Have interpreter","YES")
 ,("Object splitting supported","YES")
 ,("Have native code generator","YES")
 ,("Support SMP","YES")
 ,("Tables next to code","YES")
 ,("RTS ways","l debug thr thr_debug thr_l thr_p dyn debug_dyn thr_dyn
thr_debug_dyn l_dyn thr_l_dyn")
 ,("Support dynamic-too","YES")
 ,("Support parallel --make","YES")
 ,("Support reexported-modules","YES")
 ,("Support thinning and renaming package flags","YES")
 ,("Uses package keys","YES")
 ,("Dynamic by default","NO")
 ,("GHC Dynamic","YES")
 ,("Leading underscore","YES")
 ,("Debug on","False")
 ,("LibDir","/usr/local/lib/ghc-7.10.2.20151105")
 ,("Global Package DB","/usr/local/lib/ghc-7.10.2.20151105/package.conf.d")
 ]

On Sun, Nov 15, 2015 at 9:50 PM, Carter Schonwald <
carter.schonwald at gmail.com> wrote:

> what does your ghc --info say?
>
> On Sun, Nov 15, 2015 at 7:54 PM, George Colpitts <
> george.colpitts at gmail.com> wrote:
>
>> I cleaned up my ghc pkg problems by doing
>>
>> rm -fr ~/.ghc/*
>>
>> most packages now compile but hsopenssl still fails in the same way:
>>
>> Building HsOpenSSL-0.11.1.1...
>> Preprocessing library HsOpenSSL-0.11.1.1...
>> In file included from BN.hsc:45:
>> cbits/HsOpenSSL.h:3:10: fatal error: 'openssl/asn1.h' file not found
>> #include <openssl/asn1.h>
>>          ^
>> 1 error generated.
>> compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1)
>> command was: /usr/bin/gcc -c dist/build/OpenSSL/BN_hsc_make.c -o
>> dist/build/OpenSSL/BN_hsc_make.o -m64 -fno-stack-protector
>> -D__GLASGOW_HASKELL__=710 -Ddarwin_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1
>> -Ddarwin_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Icbits -D PTHREAD -DCALLCONV=ccall
>> -Idist/build/autogen -include dist/build/autogen/cabal_macros.h
>> -I/Users/gcolpitts/Library/Haskell/ghc-7.10.2.20151105-x86_64/lib/network-2.6.2.1/include
>> -I/usr/local/lib/ghc-7.10.2.20151105/unix_KZL8h98IqDM57kQSPo1mKx/include
>> -I/usr/local/lib/ghc-7.10.2.20151105/time_FTheb6LSxyX1UABIbBXRfn/include
>> -I/usr/local/lib/ghc-7.10.2.20151105/bytes_6VWy06pWzJq9evDvK2d4w6/include
>> -I/usr/local/lib/ghc-7.10.2.20151105/base_HQfYBxpPvuw8OunzQu6JGM/include
>> -I/usr/local/lib/ghc-7.10.2.20151105/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include
>> -I/usr/local/lib/ghc-7.10.2.20151105/include
>> -I/usr/local/lib/ghc-7.10.2.20151105/include/
>>
>> On Sun, Nov 15, 2015 at 7:09 PM, George Colpitts <
>> george.colpitts at gmail.com> wrote:
>>
>>> Yes I have openssl installed
>>>
>>> $ brew upgrade openssl
>>> brew upgrade openssl
>>> Error: openssl 1.0.2d_1 already installed
>>>
>>> Thanks for uploading the new binary install, it definitely solved the
>>> problem I originally reported
>>>
>>> However it doesn't solve the HsOpenSSL problem:
>>>
>>> cabal install HsOpenSSL
>>> cabal install HsOpenSSL
>>> Resolving dependencies...
>>> Configuring HsOpenSSL-0.11.1.1...
>>> Building HsOpenSSL-0.11.1.1...
>>> Failed to install HsOpenSSL-0.11.1.1
>>> Build log ( /Users/gcolpitts/.cabal/logs/HsOpenSSL-0.11.1.1.log ):
>>> Configuring HsOpenSSL-0.11.1.1...
>>> Building HsOpenSSL-0.11.1.1...
>>> Preprocessing library HsOpenSSL-0.11.1.1...
>>> In file included from BN.hsc:45:
>>> cbits/HsOpenSSL.h:3:10: fatal error: 'openssl/asn1.h' file not found
>>> #include <openssl/asn1.h>
>>>          ^
>>> 1 error generated.
>>> compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1)
>>> command was: /usr/bin/gcc -c dist/build/OpenSSL/BN_hsc_make.c -o
>>> dist/build/OpenSSL/BN_hsc_make.o -m64 -fno-stack-protector
>>> -D__GLASGOW_HASKELL__=710 -Ddarwin_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1
>>> -Ddarwin_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Icbits -D PTHREAD -DCALLCONV=ccall
>>> -Idist/build/autogen -include dist/build/autogen/cabal_macros.h
>>> -I/Users/gcolpitts/Library/Haskell/ghc-7.10.2.20151105-x86_64/lib/network-2.6.2.1/include
>>> -I/usr/local/lib/ghc-7.10.2.20151105/unix_KZL8h98IqDM57kQSPo1mKx/include
>>> -I/usr/local/lib/ghc-7.10.2.20151105/time_FTheb6LSxyX1UABIbBXRfn/include
>>> -I/usr/local/lib/ghc-7.10.2.20151105/bytes_6VWy06pWzJq9evDvK2d4w6/include
>>> -I/usr/local/lib/ghc-7.10.2.20151105/base_HQfYBxpPvuw8OunzQu6JGM/include
>>> -I/usr/local/lib/ghc-7.10.2.20151105/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include
>>> -I/usr/local/lib/ghc-7.10.2.20151105/include
>>> -I/usr/local/lib/ghc-7.10.2.20151105/include/
>>> cabal: Error: some packages failed to install:
>>> HsOpenSSL-0.11.1.1 failed during the building phase. The exception was:
>>> ExitFailure 1
>>>
>>> However I think I have some problems I need to clean up first. What do I
>>> need to do to get to a clean state wrt existing libraries, i.e. how do I
>>> delete them before installing the latest ghc?
>>>
>>> I think building and installing from source, then installing libraries,
>>> then installing binaries and building more libraries has left me in an
>>> unstable state.
>>>
>>> Thanks
>>> George
>>>
>>> ghc-pkg check
>>> There are problems in package hashtables-1.2.0.2:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>> There are problems in package hashable-1.2.3.3:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "bytestring-0.10.6.0-57aca8b044c60296d333ba9ef7a6b270"
>>> doesn't exist
>>> There are problems in package ghc-events-0.4.4.0:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "bytestring-0.10.6.0-57aca8b044c60296d333ba9ef7a6b270"
>>> doesn't exist
>>> There are problems in package data-ordlist-0.4.7.0:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>> There are problems in package criterion-1.1.0.0:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't
>>> exist
>>>   dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91"
>>> doesn't exist
>>>   dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a"
>>> doesn't exist
>>>   dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf"
>>> doesn't exist
>>>   dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't
>>> exist
>>>   dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't
>>> exist
>>> There are problems in package statistics-0.13.2.3:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't
>>> exist
>>> There are problems in package aeson-0.10.0.0:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91"
>>> doesn't exist
>>>   dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a"
>>> doesn't exist
>>>   dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't
>>> exist
>>>   dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't
>>> exist
>>>   dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't
>>> exist
>>> There are problems in package vector-algorithms-0.7.0.1:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91"
>>> doesn't exist
>>> There are problems in package cassava-0.4.4.0:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91"
>>> doesn't exist
>>>   dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a"
>>> doesn't exist
>>>   dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't
>>> exist
>>>   dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't
>>> exist
>>> There are problems in package attoparsec-0.13.0.1:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91"
>>> doesn't exist
>>>   dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a"
>>> doesn't exist
>>>   dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't
>>> exist
>>> There are problems in package monad-par-0.3.4.7:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a"
>>> doesn't exist
>>> There are problems in package mwc-random-0.13.3.2:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't
>>> exist
>>> There are problems in package math-functions-0.1.5.2:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>> There are problems in package scientific-0.3.4.2:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't
>>> exist
>>>   dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91"
>>> doesn't exist
>>>   dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a"
>>> doesn't exist
>>>   dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't
>>> exist
>>>   dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't
>>> exist
>>> There are problems in package vector-th-unbox-0.2.1.3:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>> There are problems in package vector-binary-instances-0.2.1.0:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "binary-0.7.5.0-77839394dfefc3f030d00790a2cef7fa" doesn't
>>> exist
>>> There are problems in package vector-0.11.0.0:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>> There are problems in package Glob-0.7.5:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a"
>>> doesn't exist
>>>   dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf"
>>> doesn't exist
>>> There are problems in package monad-par-extras-0.3.3:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "random-1.1-e88d133272c86b979391f1c08bf5ca07" doesn't exist
>>> There are problems in package parsec-3.1.9:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91"
>>> doesn't exist
>>>   dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't
>>> exist
>>> There are problems in package abstract-deque-0.3:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a"
>>> doesn't exist
>>>   dependency "random-1.1-e88d133272c86b979391f1c08bf5ca07" doesn't exist
>>>   dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't
>>> exist
>>> There are problems in package optparse-applicative-0.12.0.0:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't
>>> exist
>>> There are problems in package hastache-0.6.1:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91"
>>> doesn't exist
>>>   dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a"
>>> doesn't exist
>>>   dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf"
>>> doesn't exist
>>>   dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't
>>> exist
>>> There are problems in package cereal-0.5.0.0:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91"
>>> doesn't exist
>>>   dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a"
>>> doesn't exist
>>> There are problems in package dlist-0.7.1.2:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>> There are problems in package ansi-wl-pprint-0.6.7.3:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>> There are problems in package blaze-builder-0.4.0.1:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91"
>>> doesn't exist
>>>   dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't
>>> exist
>>> There are problems in package parallel-3.2.0.6:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a"
>>> doesn't exist
>>> There are problems in package transformers-compat-0.4.0.4:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>> There are problems in package ieee754-0.7.6:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>> There are problems in package abstract-par-0.3.3:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>> There are problems in package erf-2.0.0.0:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>> There are problems in package hlint-1.9.22:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a"
>>> doesn't exist
>>>   dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf"
>>> doesn't exist
>>>   dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't
>>> exist
>>> There are problems in package haskell-src-exts-1.16.0.1:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>> There are problems in package uniplate-1.6.12:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a"
>>> doesn't exist
>>>   dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't
>>> exist
>>> There are problems in package cpphs-1.19.3:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf"
>>> doesn't exist
>>> There are problems in package polyparse-1.11:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "bytestring-0.10.6.0-09b6bde4572288cdbf02e4115ed5cd91"
>>> doesn't exist
>>>   dependency "text-1.2.1.3-4c78ad7426ae4be055d28adf31eabdf8" doesn't
>>> exist
>>> There are problems in package unordered-containers-0.2.5.1:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "hashable-1.2.3.3-bc60d08cd07d83826168419244ef8bf3" doesn't
>>> exist
>>> There are problems in package cmdargs-0.10.13:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't
>>> exist
>>> There are problems in package old-time-1.1.0.3:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>> There are problems in package hscolour-1.23:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "containers-0.5.6.2-12e20ec15ed50c37491ff947fa0f9c1a"
>>> doesn't exist
>>> There are problems in package syb-0.6:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>> There are problems in package refact-0.3.0.1:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>> There are problems in package extra-1.4.2:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "directory-1.2.2.0-6be4b069bff3ad3d34e43f79a1d2adaf"
>>> doesn't exist
>>>   dependency "process-1.2.3.0-0103d9aa28c4fa0eada355d1840af7ae" doesn't
>>> exist
>>>   dependency "time-1.5.0.1-2654f2ea82eb50a9cb76337c0b480079" doesn't
>>> exist
>>>   dependency "unix-2.7.1.0-327d00fd34e5d5a1c53223d920b10810" doesn't
>>> exist
>>> There are problems in package ansi-terminal-0.6.2.3:
>>>   dependency "base-4.8.2.0-950f36cacffcd4ead0c487bd275e50bd" doesn't
>>> exist
>>>   dependency "unix-2.7.1.0-327d00fd34e5d5a1c53223d920b10810" doesn't
>>> exist
>>>
>>> The following packages are broken, either because they have a problem
>>> listed above, or because they depend on a broken package.
>>> hashtables-1.2.0.2
>>> hashable-1.2.3.3
>>> ghc-events-0.4.4.0
>>> data-ordlist-0.4.7.0
>>> criterion-1.1.0.0
>>> statistics-0.13.2.3
>>> aeson-0.10.0.0
>>> vector-algorithms-0.7.0.1
>>> cassava-0.4.4.0
>>> attoparsec-0.13.0.1
>>> monad-par-0.3.4.7
>>> mwc-random-0.13.3.2
>>> math-functions-0.1.5.2
>>> scientific-0.3.4.2
>>> vector-th-unbox-0.2.1.3
>>> vector-binary-instances-0.2.1.0
>>> vector-0.11.0.0
>>> Glob-0.7.5
>>> monad-par-extras-0.3.3
>>> parsec-3.1.9
>>> abstract-deque-0.3
>>> optparse-applicative-0.12.0.0
>>> hastache-0.6.1
>>> cereal-0.5.0.0
>>> dlist-0.7.1.2
>>> ansi-wl-pprint-0.6.7.3
>>> blaze-builder-0.4.0.1
>>> parallel-3.2.0.6
>>> transformers-compat-0.4.0.4
>>> ieee754-0.7.6
>>> abstract-par-0.3.3
>>> erf-2.0.0.0
>>> hlint-1.9.22
>>> haskell-src-exts-1.16.0.1
>>> uniplate-1.6.12
>>> cpphs-1.19.3
>>> polyparse-1.11
>>> unordered-containers-0.2.5.1
>>> cmdargs-0.10.13
>>> old-time-1.1.0.3
>>> hscolour-1.23
>>> syb-0.6
>>> refact-0.3.0.1
>>> extra-1.4.2
>>> ansi-terminal-0.6.2.3
>>>
>>> On Sun, Nov 15, 2015 at 6:14 PM, Carter Schonwald <
>>> carter.schonwald at gmail.com> wrote:
>>>
>>>> Did you install OpenSSL ??
>>>>
>>>> I'll upload my better ghc build in 5 minutes.  Did it end of the week
>>>> and then got a bit busy
>>>>
>>>>
>>>> On Sunday, November 15, 2015, George Colpitts <
>>>> george.colpitts at gmail.com> wrote:
>>>>
>>>>> I did get compiling from source to work on the Mac. Unfortunately I'm
>>>>> not sure what the problem was.
>>>>>
>>>>> I now see a new problem, not sure if it is a ghc problem or a library
>>>>> problem:
>>>>>
>>>>> cabal install HsOpenSSL
>>>>> ...
>>>>> Building HsOpenSSL-0.11.1.1...
>>>>> Preprocessing library HsOpenSSL-0.11.1.1...
>>>>> In file included from BN.hsc:45:
>>>>> cbits/HsOpenSSL.h:3:10: fatal error: 'openssl/asn1.h' file not found
>>>>> #include <openssl/asn1.h>
>>>>>          ^
>>>>> 1 error generated.
>>>>> compiling dist/build/OpenSSL/BN_hsc_make.c failed (exit code 1)
>>>>> command was: /usr/bin/gcc -c dist/build/OpenSSL/BN_hsc_make.c -o
>>>>> dist/build/OpenSSL/BN_hsc_make.o -m64 -fno-stack-protector
>>>>> -D__GLASGOW_HASKELL__=710 -Ddarwin_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1
>>>>> -Ddarwin_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Icbits -D PTHREAD -DCALLCONV=ccall
>>>>> -Idist/build/autogen -include dist/build/autogen/cabal_macros.h
>>>>> -I/Users/gcolpitts/Library/Haskell/ghc-7.10.2.20151105-x86_64/lib/network-2.6.2.1/include
>>>>> -I/usr/local/lib/ghc-7.10.2.20151105/unix_KZL8h98IqDM57kQSPo1mKx/include
>>>>> -I/usr/local/lib/ghc-7.10.2.20151105/time_FTheb6LSxyX1UABIbBXRfn/include
>>>>> -I/usr/local/lib/ghc-7.10.2.20151105/bytes_6VWy06pWzJq9evDvK2d4w6/include
>>>>> -I/usr/local/lib/ghc-7.10.2.20151105/base_HQfYBxpPvuw8OunzQu6JGM/include
>>>>> -I/usr/local/lib/ghc-7.10.2.20151105/integ_2aU3IZNMF9a7mQ0OzsZ0dS/include
>>>>> -I/usr/local/lib/ghc-7.10.2.20151105/include
>>>>> -I/usr/local/lib/ghc-7.10.2.20151105/include/
>>>>> cabal: Error: some packages failed to install:
>>>>> HsOpenSSL-0.11.1.1 failed during the building phase. The exception was:
>>>>> ExitFailure 1
>>>>>
>>>>> /usr/bin/gcc --version
>>>>> /usr/bin/gcc --version
>>>>> Configured with:
>>>>> --prefix=/Applications/Xcode.app/Contents/Developer/usr
>>>>> --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/c++/4.2.1
>>>>> Apple LLVM version 7.0.0 (clang-700.1.76)
>>>>> Target: x86_64-apple-darwin15.0.0
>>>>> Thread model: posix
>>>>>
>>>>> On Mon, Nov 9, 2015 at 10:49 AM, George Colpitts <
>>>>> george.colpitts at gmail.com> wrote:
>>>>>
>>>>>> redid with just make rather than make -j5. I get
>>>>>>
>>>>>>
>>>>>> ...
>>>>>> chmod +x libraries/integer-gmp2/gmp/ln
>>>>>> # Their cmd invocation only works on msys. On cygwin it starts
>>>>>> # a cmd interactive shell. The replacement works in both environments.
>>>>>> mv libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh
>>>>>> libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh.orig
>>>>>> sed 's#cmd //c echo "\$1"#cmd /c "echo $1"#' <
>>>>>> libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh.orig >
>>>>>> libraries/integer-gmp2/gmp/gmpbuild/ltmain.sh
>>>>>> cd libraries/integer-gmp2/gmp; (set -o igncr 2>/dev/null) && set -o
>>>>>> igncr; export SHELLOPTS; \
>>>>>>    PATH=`pwd`:$PATH; \
>>>>>>    export PATH; \
>>>>>>    cd gmpbuild && \
>>>>>>    CC=clang NM=/usr/bin/nm AR=/usr/bin/ar ./configure \
>>>>>>          --enable-shared=no \
>>>>>>          --host=x86_64-apple-darwin --build=x86_64-apple-darwin
>>>>>> /bin/sh: SHELLOPTS: readonly variable
>>>>>> checking build system type... /bin/sh: SHELLOPTS: readonly variable
>>>>>> /bin/sh: SHELLOPTS: readonly variable
>>>>>> x86_64-apple-darwin
>>>>>> checking host system type... /bin/sh: SHELLOPTS: readonly variable
>>>>>> /bin/sh: SHELLOPTS: readonly variable
>>>>>> x86_64-apple-darwin
>>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>>> checking whether build environment is sane... yes
>>>>>> /bin/sh: SHELLOPTS: readonly variable
>>>>>> checking for a thread-safe mkdir -p... ./install-sh -c -d
>>>>>> checking for gawk... no
>>>>>> checking for mawk... no
>>>>>> checking for nawk... no
>>>>>> checking for awk... awk
>>>>>> checking whether make sets $(MAKE)... yes
>>>>>> checking whether to enable maintainer-specific portions of
>>>>>> Makefiles... no
>>>>>> checking ABI=64
>>>>>> checking whether clang is gcc... yes
>>>>>> checking compiler clang -O2 -pedantic -fPIC -m64 ... no, gnupro alpha
>>>>>> ev6 char spilling
>>>>>> checking ABI=32
>>>>>> checking whether clang is gcc... yes
>>>>>> *checking compiler clang -m32 -O2 -pedantic -fPIC
>>>>>> -fomit-frame-pointer ... no, gnupro alpha ev6 char spilling*
>>>>>> *checking compiler clang -O2 -pedantic -fPIC -fomit-frame-pointer ...
>>>>>> no, gnupro alpha ev6 char spilling*
>>>>>> *configure: error: could not find a working compiler, see config.log
>>>>>> for details*
>>>>>> *make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1*
>>>>>> *make: *** [all] Error 2*
>>>>>>
>>>>>>
>>>>>> On Mon, Nov 9, 2015 at 9:32 AM, Ben Gamari <ben at smart-cactus.org>
>>>>>> wrote:
>>>>>>
>>>>>>> George Colpitts <george.colpitts at gmail.com> writes:
>>>>>>>
>>>>>>> > I get
>>>>>>> >
>>>>>>> > make[1]: *** [libraries/integer-gmp2/gmp/gmp.h] Error 1
>>>>>>> > make[1]: *** Waiting for unfinished jobs....
>>>>>>>
>>>>>>> It looks like the build failed somewhere before this point. Could you
>>>>>>> provide a more complete log?
>>>>>>>
>>>>>>> Cheers,
>>>>>>>
>>>>>>> - Ben
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20151115/9ca7acc7/attachment-0001.html>


More information about the ghc-devs mailing list