Ticket #3249: ghcBug

File ghcBug, 4.3 KB (added by soopo, 5 years ago)

The error message which I got.

Line 
1[1739]sudo port install hs-cabal hs-Crypto hs-libcabal                                                                                                                                                     ~
2Password:
3--->  Fetching hs-HTTP
4--->  Attempting to fetch HTTP-3001.1.4.tar.gz from http://trd.no.distfiles.macports.org/hs-HTTP
5--->  Verifying checksum(s) for hs-HTTP
6--->  Extracting hs-HTTP
7--->  Configuring hs-HTTP
8--->  Building hs-HTTP
9--->  Staging hs-HTTP into destroot
10--->  Installing hs-HTTP @3001.1.4_0
11--->  Activating hs-HTTP @3001.1.4_0
12--->  Cleaning hs-HTTP
13--->  Fetching hs-libcabal
14--->  Attempting to fetch Cabal-1.6.0.1.tar.gz from http://trd.no.distfiles.macports.org/hs-libcabal
15--->  Verifying checksum(s) for hs-libcabal
16--->  Extracting hs-libcabal
17--->  Configuring hs-libcabal
18--->  Building hs-libcabal
19--->  Staging hs-libcabal into destroot
20--->  Installing hs-libcabal @1.6.0.1_0
21--->  Activating hs-libcabal @1.6.0.1_0
22--->  Cleaning hs-libcabal
23--->  Fetching hs-zlib
24--->  Attempting to fetch zlib-0.5.0.0.tar.gz from http://trd.no.distfiles.macports.org/hs-zlib
25--->  Verifying checksum(s) for hs-zlib
26--->  Extracting hs-zlib
27--->  Configuring hs-zlib
28--->  Building hs-zlib
29--->  Staging hs-zlib into destroot
30--->  Installing hs-zlib @0.5.0.0_0
31--->  Activating hs-zlib @0.5.0.0_0
32--->  Cleaning hs-zlib
33--->  Fetching hs-cabal
34--->  Attempting to fetch cabal-install-0.6.0.tar.gz from http://trd.no.distfiles.macports.org/hs-cabal
35--->  Verifying checksum(s) for hs-cabal
36--->  Extracting hs-cabal
37--->  Configuring hs-cabal
38--->  Building hs-cabal
39--->  Staging hs-cabal into destroot
40--->  Installing hs-cabal @0.6.0_0
41--->  Activating hs-cabal @0.6.0_0
42--->  Cleaning hs-cabal
43--->  Fetching hs-Crypto
44--->  Attempting to fetch Crypto-4.1.0.tar.gz from http://trd.no.distfiles.macports.org/hs-Crypto
45--->  Verifying checksum(s) for hs-Crypto
46--->  Extracting hs-Crypto
47--->  Configuring hs-Crypto
48--->  Building hs-Crypto
49Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_hs-Crypto/work/Crypto-4.1.0 && runhaskell Setup build -v" returned error 1
50Command output:     In the instance declaration for `Integral (LargeKey a b)'
51
52Data/LargeWord.hs:137:9:
53Warning: No explicit method nor default method for `toRational'
54In the instance declaration for `Real (LargeKey a b)'
55
56Data/LargeWord.hs:140:9:
57Warning: No explicit method nor default method for `toEnum'
58In the instance declaration for `Enum (LargeKey a b)'
59
60Data/LargeWord.hs:140:9:
61Warning: No explicit method nor default method for `fromEnum'
62In the instance declaration for `Enum (LargeKey a b)'
63[10 of 11] Compiling Codec.Encryption.AES ( Codec/Encryption/AES.hs, dist/build/SymmetricTest/SymmetricTest-tmp/Codec/Encryption/AES.o )
64[11 of 11] Compiling Main             ( SymmetricTest.hs, dist/build/SymmetricTest/SymmetricTest-tmp/Main.o )
65Linking dist/build/SymmetricTest/SymmetricTest ...
66Building executable: SHA1Test...
67Creating dist/build/SHA1Test (and its parents)
68Creating dist/build/SHA1Test/SHA1Test-tmp (and its parents)
69/opt/local/bin/ghc -o dist/build/SHA1Test/SHA1Test --make -hide-all-packages -no-user-package-conf -i -idist/build/SHA1Test/SHA1Test-tmp -i. -idist/build/autogen -Idist/build/autogen -Idist/build/SHA1Test/SHA1Test-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/SHA1Test/SHA1Test-tmp -hidir dist/build/SHA1Test/SHA1Test-tmp -stubdir dist/build/SHA1Test/SHA1Test-tmp -package HUnit-1.2.0.3 -package QuickCheck-1.2.0.0 -package array-0.2.0.0 -package base-4.0.0.0 -package pretty-1.0.1.0 -package random-1.0.0.1 -O ./SHA1Test.hs
70[1 of 4] Compiling Codec.Utils      ( Codec/Utils.hs, dist/build/SHA1Test/SHA1Test-tmp/Codec/Utils.o )
71[2 of 4] Compiling Data.Digest.SHA1 ( Data/Digest/SHA1.hs, dist/build/SHA1Test/SHA1Test-tmp/Data/Digest/SHA1.o )
72[3 of 4] Compiling Codec.Text.Raw   ( Codec/Text/Raw.hs, dist/build/SHA1Test/SHA1Test-tmp/Codec/Text/Raw.o )
73[4 of 4] Compiling Main             ( SHA1Test.hs, dist/build/SHA1Test/SHA1Test-tmp/Main.o )
74ghc: panic! (the 'impossible' happened)
75(GHC version 6.10.1 for i386-apple-darwin):
76RegAllocLinear.getStackSlotFor: out of stack slots, try -fregs-graph
77
78Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
79
80
81Error: Status 1 encountered during processing.
82[