valderman / haste-compiler

A GHC-based Haskell to JavaScript compiler
http://haste-lang.org
BSD 3-Clause "New" or "Revised" License
1.45k stars 111 forks source link

haste-cabal.bin: There is no installed version of ghc-prim #348

Open thomie opened 9 years ago

thomie commented 9 years ago

I'm following these instructions (edit: found here -> http://haste-lang.org/downloads/):

$ cabal update
$ cabal install haste-compiler
$ haste-boot

I am using ghc-7.10.2, cabal-install version 1.22.6.0 , Cabal version 1.22.4.0, and my .cabal/config file contains constraints from http://www.stackage.org/snapshot/lts-3.12, including:

constraint: ghc-prim installed

This results in the error message in the title. Removing the constraint from the .cabal/config file, and running haste-boot again, result in:

...
WARNING: Unsupported PrimOp: thawArray#
WARNING: Unsupported PrimOp: freezeArray#
WARNING: Unsupported PrimOp: cloneMutableArray#
WARNING: Unsupported PrimOp: cloneArray#
WARNING: Unsupported PrimOp: copyMutableArray#
WARNING: Unsupported PrimOp: copyArray#
WARNING: Unsupported PrimOp: decodeDouble_Int64#
WARNING: Unsupported PrimOp: byteSwap#
WARNING: Unsupported PrimOp: byteSwap64#
WARNING: Unsupported PrimOp: byteSwap32#
WARNING: Unsupported PrimOp: byteSwap16#
WARNING: Unsupported PrimOp: ctz64#
WARNING: Unsupported PrimOp: clz64#
WARNING: Unsupported PrimOp: quotRemWord2#
WARNING: Unsupported PrimOp: timesWord2#
WARNING: Unsupported PrimOp: plusWord2#
In-place registering ghc-prim-0.4.0.0...
Creating package registration file: /tmp/pkgConf-ghc-prim-0.4.04970.0
Installing library in
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic
/usr/bin/strip: 'dist/build/libHSghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic-haste0.5.2.jslib': No such file
ExitFailure 1Failed to install ghc-prim-0.4.0.0
haste-cabal.bin: Error: some packages failed to install:
ghc-prim-0.4.0.0 failed during the final install step. The exception was:
ExitFailure 1
Command '/home/thomas/.cabal/bin/haste-cabal' failed with error  code 1
valderman commented 9 years ago

The installed constraint is violated by necessity; bootstrapping the compiler requires building ghc-prim from scratch, so there's not much to do about that part I'm afraid. You can use the pre-built binary packages to avoid having to bootstrap Haste yourself.

It seems that haste-cabal is for some reason trying to strip the very much unstrippable jslib file Haste produces, and using the wrong file name to boot! This shouldn't happen, but something in your config might set some cabal option which haste-cabal doesn't handle properly. Could you try running haste-boot with the --verbose flag and post the output here?

thomie commented 9 years ago

My .cabal/config contained shared: True. Removing that solves the problem.

Here's the output of haste-boot --verbose, in case it it still useful:

Downloading haste-cabal from GitHub
Sending:
GET /haste-libs/haste-cabal.linux.tar.bz2 HTTP/1.1
Host: valderman.github.io

Creating new connection to valderman.github.io
Received:
HTTP/1.1 200 OK 
Server: GitHub.com
Content-Type: application/x-bzip2
Last-Modified: Thu, 01 Oct 2015 17:25:18 GMT
Access-Control-Allow-Origin: *
Expires: Tue, 03 Nov 2015 20:02:14 GMT
Cache-Control: max-age=600
X-GitHub-Request-Id: B91F1130:592B:8351DBD:5639106D
Content-Length: 2959153
Accept-Ranges: bytes
Date: Wed, 04 Nov 2015 16:41:29 GMT
Via: 1.1 varnish
Age: 0
Connection: keep-alive
X-Served-By: cache-fra1227-FRA
X-Cache: MISS
X-Cache-Hits: 0
X-Timer: S1446655289.813735,VS0,VE156
Vary: Accept-Encoding
X-Fastly-Request-ID: 548f502d800f7a76c4940ae4bccffed96d6f6250

Downloading base libs from GitHub
Sending:
GET /haste-libs/haste-libs-0.5.2.tar.bz2 HTTP/1.1
Host: valderman.github.io

Creating new connection to valderman.github.io
Received:
HTTP/1.1 200 OK 
Server: GitHub.com
Content-Type: application/x-bzip2
Last-Modified: Thu, 01 Oct 2015 17:25:18 GMT
Access-Control-Allow-Origin: *
Expires: Mon, 02 Nov 2015 10:17:48 GMT
Cache-Control: max-age=600
X-GitHub-Request-Id: B91F1133:592B:5E66695:563735F4
Content-Length: 1094466
Accept-Ranges: bytes
Date: Wed, 04 Nov 2015 16:41:31 GMT
Via: 1.1 varnish
Age: 423
Connection: keep-alive
X-Served-By: cache-fra1226-FRA
X-Cache: HIT
X-Cache-Hits: 1
X-Timer: S1446655291.182581,VS0,VE4
Vary: Accept-Encoding
X-Fastly-Request-ID: 4e7162386c63b33b7e8d43d149af45ed7c9c7129

Reading package info from "libraries/rts.pkg" ... done.
looking for tool c2hs near compiler in /home/thomas/.cabal/bin
/usr/bin/c2hs --numeric-version
/home/thomas/.cabal/bin/cpphs --version
/usr/bin/gcc -dumpversion
/opt/ghc/7.10.2/bin/ghc --numeric-version
Warning: cannot determine version of /opt/ghc/7.10.2/bin/ghc :
"\nghc --numeric-version\n\n7.10.2\n"
/opt/ghc/7.10.2/bin/ghc-pkg --version
looking for tool haddock near compiler in /home/thomas/.cabal/bin
/opt/ghc/7.10.2/bin/haddock --version
/opt/ghc/7.10.2/bin/hpc version
looking for tool hsc2hs near compiler in /home/thomas/.cabal/bin
/opt/ghc/7.10.2/bin/hsc2hs --version
/home/thomas/.cabal/bin/HsColour -version
/usr/bin/pkg-config --version
/bin/tar --help
Reading available packages...
Warning: Topdown solver is deprecated
Resolving dependencies...
Ready to install ghc-prim-0.4.0.0
Waiting for install task to finish...
Configuring ghc-prim-0.4.0.0...
Flags chosen: include-ghc-prim=False
Dependency rts ==1.0: using rts-1.0
Warning: cannot determine version of /opt/ghc/7.10.2/bin/ghc :
"\nghc --numeric-version\n\n7.10.2\n"
Using Cabal-1.23.0.0 compiled by ghc-7.8
Using compiler: haste-0.5.2
Using install prefix: /home/thomas/.cabal
Binaries installed in: /home/thomas/.cabal/bin
Libraries installed in:
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic
Private binaries installed in: /home/thomas/.cabal/libexec
Data files installed in:
/home/thomas/.cabal/share/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0
Documentation installed in:
/home/thomas/.cabal/share/doc/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0
Configuration files installed in: /home/thomas/.cabal/etc
No alex found
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.16.4 found on system at: /usr/bin/c2hs
Using cpphs version 1.19.3 found on system at: /home/thomas/.cabal/bin/cpphs
Using gcc version 4.9.3 found on system at: /usr/bin/gcc
Using ghc found on system at: /opt/ghc/7.10.2/bin/ghc
Using ghc-pkg version 7.10.2 found on system at: /opt/ghc/7.10.2/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.16.1 found on system at: /opt/ghc/7.10.2/bin/haddock
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
Using haste-pkg version 7.10.2 given by user at:
/home/thomas/.cabal/bin/haste-pkg
Using hastec version 0.5.2 given by user at: /home/thomas/.cabal/bin/hastec
No hmake found
Using hpc version 0.67 found on system at: /opt/ghc/7.10.2/bin/hpc
Using hsc2hs version 0.67 found on system at: /opt/ghc/7.10.2/bin/hsc2hs
Using hscolour version 1.22 found on system at:
/home/thomas/.cabal/bin/HsColour
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config
Using strip version 2.24 found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
Component build order: library
creating dist/build
creating dist/build/autogen
Building ghc-prim-0.4.0.0...
/home/thomas/.cabal/bin/haste-pkg init dist/package.conf.inplace
Preprocessing library ghc-prim-0.4.0.0...
Building library...
creating dist/build
/home/thomas/.cabal/bin/hastec --make -fbuilding-cabal-package -O -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -this-package-key D2fxfF2ioP6IgtY1aDuBic -hide-all-packages -no-user-package-db -package-db dist/package.conf.inplace -package-id builtin_rts -XHaskell2010 GHC.CString GHC.Classes GHC.Debug GHC.IntWord64 GHC.Magic GHC.PrimopWrappers GHC.Tuple GHC.Types -this-package-key ghc-prim '--with-js=' '--link-jslib=dist/build/libHSghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic.jslib'
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: prefetchValue0#
WARNING: Unsupported PrimOp: prefetchAddr0#
WARNING: Unsupported PrimOp: prefetchMutableByteArray0#
WARNING: Unsupported PrimOp: prefetchByteArray0#
WARNING: Unsupported PrimOp: prefetchValue1#
WARNING: Unsupported PrimOp: prefetchAddr1#
WARNING: Unsupported PrimOp: prefetchMutableByteArray1#
WARNING: Unsupported PrimOp: prefetchByteArray1#
WARNING: Unsupported PrimOp: prefetchValue2#
WARNING: Unsupported PrimOp: prefetchAddr2#
WARNING: Unsupported PrimOp: prefetchMutableByteArray2#
WARNING: Unsupported PrimOp: prefetchByteArray2#
WARNING: Unsupported PrimOp: prefetchValue3#
WARNING: Unsupported PrimOp: prefetchAddr3#
WARNING: Unsupported PrimOp: prefetchMutableByteArray3#
WARNING: Unsupported PrimOp: prefetchByteArray3#
WARNING: Unsupported PrimOp: traceMarker#
WARNING: Unsupported PrimOp: traceEvent#
WARNING: Unsupported PrimOp: getCurrentCCS#
WARNING: Unsupported PrimOp: getCCSOf#
WARNING: Unsupported PrimOp: getApStackVal#
WARNING: Unsupported PrimOp: unpackClosure#
WARNING: Unsupported PrimOp: newBCO#
WARNING: Unsupported PrimOp: mkApUpd0#
WARNING: Unsupported PrimOp: addrToAny#
WARNING: Unsupported PrimOp: numSparks#
WARNING: Unsupported PrimOp: getSpark#
WARNING: Unsupported PrimOp: spark#
WARNING: Unsupported PrimOp: addCFinalizerToWeak#
WARNING: Unsupported PrimOp: threadStatus#
WARNING: Unsupported PrimOp: isCurrentThreadBound#
WARNING: Unsupported PrimOp: labelThread#
WARNING: Unsupported PrimOp: yield#
WARNING: Unsupported PrimOp: killThread#
WARNING: Unsupported PrimOp: forkOn#
WARNING: Unsupported PrimOp: fork#
WARNING: Unsupported PrimOp: waitWrite#
WARNING: Unsupported PrimOp: waitRead#
WARNING: Unsupported PrimOp: tryReadMVar#
WARNING: Unsupported PrimOp: readMVar#
WARNING: Unsupported PrimOp: readTVarIO#
WARNING: Unsupported PrimOp: check#
WARNING: Unsupported PrimOp: catchSTM#
WARNING: Unsupported PrimOp: catchRetry#
WARNING: Unsupported PrimOp: retry#
WARNING: Unsupported PrimOp: maskUninterruptible#
WARNING: Unsupported PrimOp: casMutVar#
WARNING: Unsupported PrimOp: writeWord64OffAddr#
WARNING: Unsupported PrimOp: writeInt64OffAddr#
WARNING: Unsupported PrimOp: writeStablePtrOffAddr#
WARNING: Unsupported PrimOp: writeAddrOffAddr#
WARNING: Unsupported PrimOp: readWord64OffAddr#
WARNING: Unsupported PrimOp: readInt64OffAddr#
WARNING: Unsupported PrimOp: readStablePtrOffAddr#
WARNING: Unsupported PrimOp: readAddrOffAddr#
WARNING: Unsupported PrimOp: indexWord64OffAddr#
WARNING: Unsupported PrimOp: indexWord32OffAddr#
WARNING: Unsupported PrimOp: indexWord16OffAddr#
WARNING: Unsupported PrimOp: indexWord8OffAddr#
WARNING: Unsupported PrimOp: indexInt64OffAddr#
WARNING: Unsupported PrimOp: indexInt32OffAddr#
WARNING: Unsupported PrimOp: indexInt16OffAddr#
WARNING: Unsupported PrimOp: indexInt8OffAddr#
WARNING: Unsupported PrimOp: indexStablePtrOffAddr#
WARNING: Unsupported PrimOp: indexDoubleOffAddr#
WARNING: Unsupported PrimOp: indexFloatOffAddr#
WARNING: Unsupported PrimOp: indexAddrOffAddr#
WARNING: Unsupported PrimOp: indexWordOffAddr#
WARNING: Unsupported PrimOp: indexIntOffAddr#
WARNING: Unsupported PrimOp: indexWideCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: int2Addr#
WARNING: Unsupported PrimOp: remAddr#
WARNING: Unsupported PrimOp: copyMutableArrayArray#
WARNING: Unsupported PrimOp: copyArrayArray#
WARNING: Unsupported PrimOp: writeMutableArrayArrayArray#
WARNING: Unsupported PrimOp: writeArrayArrayArray#
WARNING: Unsupported PrimOp: writeMutableByteArrayArray#
WARNING: Unsupported PrimOp: writeByteArrayArray#
WARNING: Unsupported PrimOp: readMutableArrayArrayArray#
WARNING: Unsupported PrimOp: readArrayArrayArray#
WARNING: Unsupported PrimOp: readMutableByteArrayArray#
WARNING: Unsupported PrimOp: readByteArrayArray#
WARNING: Unsupported PrimOp: indexArrayArrayArray#
WARNING: Unsupported PrimOp: indexByteArrayArray#
WARNING: Unsupported PrimOp: sizeofMutableArrayArray#
WARNING: Unsupported PrimOp: sizeofArrayArray#
WARNING: Unsupported PrimOp: unsafeFreezeArrayArray#
WARNING: Unsupported PrimOp: sameMutableArrayArray#
WARNING: Unsupported PrimOp: newArrayArray#
WARNING: Unsupported PrimOp: fetchXorIntArray#
WARNING: Unsupported PrimOp: fetchOrIntArray#
WARNING: Unsupported PrimOp: fetchNandIntArray#
WARNING: Unsupported PrimOp: fetchAndIntArray#
WARNING: Unsupported PrimOp: fetchSubIntArray#
WARNING: Unsupported PrimOp: fetchAddIntArray#
WARNING: Unsupported PrimOp: casIntArray#
WARNING: Unsupported PrimOp: atomicWriteIntArray#
WARNING: Unsupported PrimOp: atomicReadIntArray#
WARNING: Unsupported PrimOp: setByteArray#
WARNING: Unsupported PrimOp: copyAddrToByteArray#
WARNING: Unsupported PrimOp: copyMutableByteArrayToAddr#
WARNING: Unsupported PrimOp: copyByteArrayToAddr#
WARNING: Unsupported PrimOp: copyMutableByteArray#
WARNING: Unsupported PrimOp: copyByteArray#
WARNING: Unsupported PrimOp: writeWord64Array#
WARNING: Unsupported PrimOp: writeInt64Array#
WARNING: Unsupported PrimOp: writeStablePtrArray#
WARNING: Unsupported PrimOp: writeAddrArray#
WARNING: Unsupported PrimOp: readWord64Array#
WARNING: Unsupported PrimOp: readInt64Array#
WARNING: Unsupported PrimOp: readStablePtrArray#
WARNING: Unsupported PrimOp: readAddrArray#
WARNING: Unsupported PrimOp: indexWord64Array#
WARNING: Unsupported PrimOp: indexInt64Array#
WARNING: Unsupported PrimOp: indexStablePtrArray#
WARNING: Unsupported PrimOp: indexAddrArray#
WARNING: Unsupported PrimOp: resizeMutableByteArray#
WARNING: Unsupported PrimOp: shrinkMutableByteArray#
WARNING: Unsupported PrimOp: casSmallArray#
WARNING: Unsupported PrimOp: thawSmallArray#
WARNING: Unsupported PrimOp: freezeSmallArray#
WARNING: Unsupported PrimOp: cloneSmallMutableArray#
WARNING: Unsupported PrimOp: cloneSmallArray#
WARNING: Unsupported PrimOp: copySmallMutableArray#
WARNING: Unsupported PrimOp: copySmallArray#
WARNING: Unsupported PrimOp: unsafeThawSmallArray#
WARNING: Unsupported PrimOp: unsafeFreezeSmallArray#
WARNING: Unsupported PrimOp: indexSmallArray#
WARNING: Unsupported PrimOp: sizeofSmallMutableArray#
WARNING: Unsupported PrimOp: sizeofSmallArray#
WARNING: Unsupported PrimOp: writeSmallArray#
WARNING: Unsupported PrimOp: readSmallArray#
WARNING: Unsupported PrimOp: sameSmallMutableArray#
WARNING: Unsupported PrimOp: newSmallArray#
WARNING: Unsupported PrimOp: casArray#
WARNING: Unsupported PrimOp: thawArray#
WARNING: Unsupported PrimOp: freezeArray#
WARNING: Unsupported PrimOp: cloneMutableArray#
WARNING: Unsupported PrimOp: cloneArray#
WARNING: Unsupported PrimOp: copyMutableArray#
WARNING: Unsupported PrimOp: copyArray#
WARNING: Unsupported PrimOp: decodeDouble_Int64#
WARNING: Unsupported PrimOp: byteSwap#
WARNING: Unsupported PrimOp: byteSwap64#
WARNING: Unsupported PrimOp: byteSwap32#
WARNING: Unsupported PrimOp: byteSwap16#
WARNING: Unsupported PrimOp: ctz64#
WARNING: Unsupported PrimOp: clz64#
WARNING: Unsupported PrimOp: quotRemWord2#
WARNING: Unsupported PrimOp: timesWord2#
WARNING: Unsupported PrimOp: plusWord2#
/home/thomas/.cabal/bin/hastec --make -fbuilding-cabal-package -O -dynamic -fPIC -osuf dyn_o -hisuf dyn_hi -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -this-package-key D2fxfF2ioP6IgtY1aDuBic -hide-all-packages -no-user-package-db -package-db dist/package.conf.inplace -package-id builtin_rts -XHaskell2010 GHC.CString GHC.Classes GHC.Debug GHC.IntWord64 GHC.Magic GHC.PrimopWrappers GHC.Tuple GHC.Types -this-package-key ghc-prim '--with-js=' '--link-jslib=dist/build/libHSghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic.jslib'
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: prefetchValue0#
WARNING: Unsupported PrimOp: prefetchAddr0#
WARNING: Unsupported PrimOp: prefetchMutableByteArray0#
WARNING: Unsupported PrimOp: prefetchByteArray0#
WARNING: Unsupported PrimOp: prefetchValue1#
WARNING: Unsupported PrimOp: prefetchAddr1#
WARNING: Unsupported PrimOp: prefetchMutableByteArray1#
WARNING: Unsupported PrimOp: prefetchByteArray1#
WARNING: Unsupported PrimOp: prefetchValue2#
WARNING: Unsupported PrimOp: prefetchAddr2#
WARNING: Unsupported PrimOp: prefetchMutableByteArray2#
WARNING: Unsupported PrimOp: prefetchByteArray2#
WARNING: Unsupported PrimOp: prefetchValue3#
WARNING: Unsupported PrimOp: prefetchAddr3#
WARNING: Unsupported PrimOp: prefetchMutableByteArray3#
WARNING: Unsupported PrimOp: prefetchByteArray3#
WARNING: Unsupported PrimOp: traceMarker#
WARNING: Unsupported PrimOp: traceEvent#
WARNING: Unsupported PrimOp: getCurrentCCS#
WARNING: Unsupported PrimOp: getCCSOf#
WARNING: Unsupported PrimOp: getApStackVal#
WARNING: Unsupported PrimOp: unpackClosure#
WARNING: Unsupported PrimOp: newBCO#
WARNING: Unsupported PrimOp: mkApUpd0#
WARNING: Unsupported PrimOp: addrToAny#
WARNING: Unsupported PrimOp: numSparks#
WARNING: Unsupported PrimOp: getSpark#
WARNING: Unsupported PrimOp: spark#
WARNING: Unsupported PrimOp: addCFinalizerToWeak#
WARNING: Unsupported PrimOp: threadStatus#
WARNING: Unsupported PrimOp: isCurrentThreadBound#
WARNING: Unsupported PrimOp: labelThread#
WARNING: Unsupported PrimOp: yield#
WARNING: Unsupported PrimOp: killThread#
WARNING: Unsupported PrimOp: forkOn#
WARNING: Unsupported PrimOp: fork#
WARNING: Unsupported PrimOp: waitWrite#
WARNING: Unsupported PrimOp: waitRead#
WARNING: Unsupported PrimOp: tryReadMVar#
WARNING: Unsupported PrimOp: readMVar#
WARNING: Unsupported PrimOp: readTVarIO#
WARNING: Unsupported PrimOp: check#
WARNING: Unsupported PrimOp: catchSTM#
WARNING: Unsupported PrimOp: catchRetry#
WARNING: Unsupported PrimOp: retry#
WARNING: Unsupported PrimOp: maskUninterruptible#
WARNING: Unsupported PrimOp: casMutVar#
WARNING: Unsupported PrimOp: writeWord64OffAddr#
WARNING: Unsupported PrimOp: writeInt64OffAddr#
WARNING: Unsupported PrimOp: writeStablePtrOffAddr#
WARNING: Unsupported PrimOp: writeAddrOffAddr#
WARNING: Unsupported PrimOp: readWord64OffAddr#
WARNING: Unsupported PrimOp: readInt64OffAddr#
WARNING: Unsupported PrimOp: readStablePtrOffAddr#
WARNING: Unsupported PrimOp: readAddrOffAddr#
WARNING: Unsupported PrimOp: indexWord64OffAddr#
WARNING: Unsupported PrimOp: indexWord32OffAddr#
WARNING: Unsupported PrimOp: indexWord16OffAddr#
WARNING: Unsupported PrimOp: indexWord8OffAddr#
WARNING: Unsupported PrimOp: indexInt64OffAddr#
WARNING: Unsupported PrimOp: indexInt32OffAddr#
WARNING: Unsupported PrimOp: indexInt16OffAddr#
WARNING: Unsupported PrimOp: indexInt8OffAddr#
WARNING: Unsupported PrimOp: indexStablePtrOffAddr#
WARNING: Unsupported PrimOp: indexDoubleOffAddr#
WARNING: Unsupported PrimOp: indexFloatOffAddr#
WARNING: Unsupported PrimOp: indexAddrOffAddr#
WARNING: Unsupported PrimOp: indexWordOffAddr#
WARNING: Unsupported PrimOp: indexIntOffAddr#
WARNING: Unsupported PrimOp: indexWideCharOffAddr#
WARNING: Unsupported PrimOp: indexCharOffAddr#
WARNING: Unsupported PrimOp: int2Addr#
WARNING: Unsupported PrimOp: remAddr#
WARNING: Unsupported PrimOp: copyMutableArrayArray#
WARNING: Unsupported PrimOp: copyArrayArray#
WARNING: Unsupported PrimOp: writeMutableArrayArrayArray#
WARNING: Unsupported PrimOp: writeArrayArrayArray#
WARNING: Unsupported PrimOp: writeMutableByteArrayArray#
WARNING: Unsupported PrimOp: writeByteArrayArray#
WARNING: Unsupported PrimOp: readMutableArrayArrayArray#
WARNING: Unsupported PrimOp: readArrayArrayArray#
WARNING: Unsupported PrimOp: readMutableByteArrayArray#
WARNING: Unsupported PrimOp: readByteArrayArray#
WARNING: Unsupported PrimOp: indexArrayArrayArray#
WARNING: Unsupported PrimOp: indexByteArrayArray#
WARNING: Unsupported PrimOp: sizeofMutableArrayArray#
WARNING: Unsupported PrimOp: sizeofArrayArray#
WARNING: Unsupported PrimOp: unsafeFreezeArrayArray#
WARNING: Unsupported PrimOp: sameMutableArrayArray#
WARNING: Unsupported PrimOp: newArrayArray#
WARNING: Unsupported PrimOp: fetchXorIntArray#
WARNING: Unsupported PrimOp: fetchOrIntArray#
WARNING: Unsupported PrimOp: fetchNandIntArray#
WARNING: Unsupported PrimOp: fetchAndIntArray#
WARNING: Unsupported PrimOp: fetchSubIntArray#
WARNING: Unsupported PrimOp: fetchAddIntArray#
WARNING: Unsupported PrimOp: casIntArray#
WARNING: Unsupported PrimOp: atomicWriteIntArray#
WARNING: Unsupported PrimOp: atomicReadIntArray#
WARNING: Unsupported PrimOp: setByteArray#
WARNING: Unsupported PrimOp: copyAddrToByteArray#
WARNING: Unsupported PrimOp: copyMutableByteArrayToAddr#
WARNING: Unsupported PrimOp: copyByteArrayToAddr#
WARNING: Unsupported PrimOp: copyMutableByteArray#
WARNING: Unsupported PrimOp: copyByteArray#
WARNING: Unsupported PrimOp: writeWord64Array#
WARNING: Unsupported PrimOp: writeInt64Array#
WARNING: Unsupported PrimOp: writeStablePtrArray#
WARNING: Unsupported PrimOp: writeAddrArray#
WARNING: Unsupported PrimOp: readWord64Array#
WARNING: Unsupported PrimOp: readInt64Array#
WARNING: Unsupported PrimOp: readStablePtrArray#
WARNING: Unsupported PrimOp: readAddrArray#
WARNING: Unsupported PrimOp: indexWord64Array#
WARNING: Unsupported PrimOp: indexInt64Array#
WARNING: Unsupported PrimOp: indexStablePtrArray#
WARNING: Unsupported PrimOp: indexAddrArray#
WARNING: Unsupported PrimOp: resizeMutableByteArray#
WARNING: Unsupported PrimOp: shrinkMutableByteArray#
WARNING: Unsupported PrimOp: casSmallArray#
WARNING: Unsupported PrimOp: thawSmallArray#
WARNING: Unsupported PrimOp: freezeSmallArray#
WARNING: Unsupported PrimOp: cloneSmallMutableArray#
WARNING: Unsupported PrimOp: cloneSmallArray#
WARNING: Unsupported PrimOp: copySmallMutableArray#
WARNING: Unsupported PrimOp: copySmallArray#
WARNING: Unsupported PrimOp: unsafeThawSmallArray#
WARNING: Unsupported PrimOp: unsafeFreezeSmallArray#
WARNING: Unsupported PrimOp: indexSmallArray#
WARNING: Unsupported PrimOp: sizeofSmallMutableArray#
WARNING: Unsupported PrimOp: sizeofSmallArray#
WARNING: Unsupported PrimOp: writeSmallArray#
WARNING: Unsupported PrimOp: readSmallArray#
WARNING: Unsupported PrimOp: sameSmallMutableArray#
WARNING: Unsupported PrimOp: newSmallArray#
WARNING: Unsupported PrimOp: casArray#
WARNING: Unsupported PrimOp: thawArray#
WARNING: Unsupported PrimOp: freezeArray#
WARNING: Unsupported PrimOp: cloneMutableArray#
WARNING: Unsupported PrimOp: cloneArray#
WARNING: Unsupported PrimOp: copyMutableArray#
WARNING: Unsupported PrimOp: copyArray#
WARNING: Unsupported PrimOp: decodeDouble_Int64#
WARNING: Unsupported PrimOp: byteSwap#
WARNING: Unsupported PrimOp: byteSwap64#
WARNING: Unsupported PrimOp: byteSwap32#
WARNING: Unsupported PrimOp: byteSwap16#
WARNING: Unsupported PrimOp: ctz64#
WARNING: Unsupported PrimOp: clz64#
WARNING: Unsupported PrimOp: quotRemWord2#
WARNING: Unsupported PrimOp: timesWord2#
WARNING: Unsupported PrimOp: plusWord2#
In-place registering ghc-prim-0.4.0.0...
/home/thomas/.cabal/bin/haste-pkg update - --global --no-user-package-db '--package-db=dist/package.conf.inplace'
Creating package registration file: /tmp/pkgConf-ghc-prim-0.4.013113.0
directory dist/doc/html/ghc-prim does exist: False
creating
/home/thomas/.cabal/share/doc/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0
Installing LICENSE to
/home/thomas/.cabal/share/doc/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0/LICENSE
Installing library in
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic
creating
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC
creating
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic
creating
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC
Installing dist/build/GHC/CString.hi to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC/CString.hi
Installing dist/build/GHC/Classes.hi to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC/Classes.hi
Installing dist/build/GHC/Debug.hi to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC/Debug.hi
Installing dist/build/GHC/IntWord64.hi to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC/IntWord64.hi
Installing dist/build/GHC/Magic.hi to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC/Magic.hi
Installing dist/build/GHC/PrimopWrappers.hi to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC/PrimopWrappers.hi
Installing dist/build/GHC/Tuple.hi to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC/Tuple.hi
Installing dist/build/GHC/Types.hi to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC/Types.hi
creating
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC
Installing dist/build/GHC/CString.dyn_hi to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC/CString.dyn_hi
Installing dist/build/GHC/Classes.dyn_hi to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC/Classes.dyn_hi
Installing dist/build/GHC/Debug.dyn_hi to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC/Debug.dyn_hi
Installing dist/build/GHC/IntWord64.dyn_hi to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC/IntWord64.dyn_hi
Installing dist/build/GHC/Magic.dyn_hi to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC/Magic.dyn_hi
Installing dist/build/GHC/PrimopWrappers.dyn_hi to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC/PrimopWrappers.dyn_hi
Installing dist/build/GHC/Tuple.dyn_hi to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC/Tuple.dyn_hi
Installing dist/build/GHC/Types.dyn_hi to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/GHC/Types.dyn_hi
creating
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic
Installing dist/build/libHSghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic.jslib to
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic/libHSghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic.jslib
creating
/home/thomas/.haste/x86_64-linux-haste-0.5.2-ghc-7.10.2/ghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic
/usr/bin/strip dist/build/libHSghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic-haste0.5.2.jslib --strip-unneeded
/usr/bin/strip: 'dist/build/libHSghc-prim-0.4.0.0-D2fxfF2ioP6IgtY1aDuBic-haste0.5.2.jslib': No such file
ExitFailure 1Failed to install ghc-prim-0.4.0.0
haste-cabal.bin: Error: some packages failed to install:
ghc-prim-0.4.0.0 failed during the final install step. The exception was:
ExitFailure 1
Command '/home/thomas/.cabal/bin/haste-cabal' failed with error  code 1