-
Notifications
You must be signed in to change notification settings - Fork 722
Description
Some packages fail to install by cabal-install 1.18.0.2
(in Windows 7 64bit, GHC 7.6.3)
The following is installation of the GLFW-b package.
Configuring GLFW-b-1.4.1...
Building GLFW-b-1.4.1...
Preprocessing library GLFW-b-1.4.1...
[1 of 3] Compiling Graphics.UI.GLFW.Types ( Graphics\UI\GLFW\Types.hs, dist\buil
d\Graphics\UI\GLFW\Types.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package bindings-DSL-1.0.20 ... linking ... done.
Loading package bindings-GLFW-3.0.3.1 ... ghc.exe: Unknown PEi386 section name `
.drectve' (while processing: C:\Users\Fujiyan\AppData\Roaming\cabal\i386-windows
-ghc-7.6.3\bindings-GLFW-3.0.3.1\libHSbindings-GLFW-3.0.3.1.a)
ghc.exe: panic! (the 'impossible' happened)
(GHC version 7.6.3 for i386-unknown-mingw32):
loadArchive "C:\Users\Fujiyan\AppData\Roaming\cabal\i386-windows-g
hc-7.6.3\bindings-GLFW-3.0.3.1\libHSbindings-GLFW-3.0.3.1.a": failed
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Failed to install GLFW-b-1.4.1
cabal: Error: some packages failed to install:
GLFW-b-1.4.1 failed during the building phase. The exception was:
ExitFailure 1
But, with cabal-install 1.16.0.2, it is successful.
Configuring GLFW-b-1.4.1...
Building GLFW-b-1.4.1...
Preprocessing library GLFW-b-1.4.1...
[1 of 3] Compiling Graphics.UI.GLFW.Types ( Graphics\UI\GLFW\Types.hs, dist\buil
d\Graphics\UI\GLFW\Types.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package bindings-DSL-1.0.20 ... linking ... done.
Loading package bindings-GLFW-3.0.3.1 ... linking ... done.
[2 of 3] Compiling Graphics.UI.GLFW.C ( Graphics\UI\GLFW\C.hs, dist\build\Graphi
cs\UI\GLFW\C.o )
[3 of 3] Compiling Graphics.UI.GLFW ( Graphics\UI\GLFW.hs, dist\build\Graphics\U
I\GLFW.o )
In-place registering GLFW-b-1.4.1...
Installing library in
C:\Users\Fujiyan\AppData\Roaming\cabal\GLFW-b-1.4.1\ghc-7.6.3
Registering GLFW-b-1.4.1...
Installed GLFW-b-1.4.1
This problem is reported as bug of GHC 7.6.3 and will fix in 7.8.1
https://ghc.haskell.org/trac/ghc/ticket/7056
However, If it is possible with cabal-install, I hope to be fixed this problem before release of Haskell Platform 2013.4.0.0
Because Haskell Platform 2013.4.0.0 will include GHC 7.6.3 and cabal-install 1.18.0.2