#3249: Unable to install Ghc packages by MacPorts
-------------------------------+--------------------------------------------
    Reporter:  soopo           |        Owner:         
        Type:  bug             |       Status:  new    
    Priority:  normal          |    Milestone:         
   Component:  Package system  |      Version:  6.10.1 
    Severity:  minor           |   Resolution:         
    Keywords:  mac, macports   |   Difficulty:  Unknown
    Testcase:                  |           Os:  MacOS X
Architecture:  x86             |  
-------------------------------+--------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown

Old description:

> I was asked to send the following error here.
> I am not sure where the bug is.
>
> sudo port install hs-cabal hs-Crypto hs-libcabal
> ~
> Password:
> --->  Fetching hs-HTTP
> --->  Attempting to fetch HTTP-3001.1.4.tar.gz from
> http://trd.no.distfiles.macports.org/hs-HTTP
> --->  Verifying checksum(s) for hs-HTTP
> --->  Extracting hs-HTTP
> --->  Configuring hs-HTTP
> --->  Building hs-HTTP
> --->  Staging hs-HTTP into destroot
> --->  Installing hs-HTTP @3001.1.4_0
> --->  Activating hs-HTTP @3001.1.4_0
> --->  Cleaning hs-HTTP
> --->  Fetching hs-libcabal
> --->  Attempting to fetch Cabal-1.6.0.1.tar.gz from
> http://trd.no.distfiles.macports.org/hs-libcabal
> --->  Verifying checksum(s) for hs-libcabal
> --->  Extracting hs-libcabal
> --->  Configuring hs-libcabal
> --->  Building hs-libcabal
> --->  Staging hs-libcabal into destroot
> --->  Installing hs-libcabal @1.6.0.1_0
> --->  Activating hs-libcabal @1.6.0.1_0
> --->  Cleaning hs-libcabal
> --->  Fetching hs-zlib
> --->  Attempting to fetch zlib-0.5.0.0.tar.gz from
> http://trd.no.distfiles.macports.org/hs-zlib
> --->  Verifying checksum(s) for hs-zlib
> --->  Extracting hs-zlib
> --->  Configuring hs-zlib
> --->  Building hs-zlib
> --->  Staging hs-zlib into destroot
> --->  Installing hs-zlib @0.5.0.0_0
> --->  Activating hs-zlib @0.5.0.0_0
> --->  Cleaning hs-zlib
> --->  Fetching hs-cabal
> --->  Attempting to fetch cabal-install-0.6.0.tar.gz from
> http://trd.no.distfiles.macports.org/hs-cabal
> --->  Verifying checksum(s) for hs-cabal
> --->  Extracting hs-cabal
> --->  Configuring hs-cabal
> --->  Building hs-cabal
> --->  Staging hs-cabal into destroot
> --->  Installing hs-cabal @0.6.0_0
> --->  Activating hs-cabal @0.6.0_0
> --->  Cleaning hs-cabal
> --->  Fetching hs-Crypto
> --->  Attempting to fetch Crypto-4.1.0.tar.gz from
> http://trd.no.distfiles.macports.org/hs-Crypto
> --->  Verifying checksum(s) for hs-Crypto
> --->  Extracting hs-Crypto
> --->  Configuring hs-Crypto
> --->  Building hs-Crypto
> Error: 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
> Command output:     In the instance declaration for `Integral (LargeKey a
> b)'
>
> Data/LargeWord.hs:137:9:
> Warning: No explicit method nor default method for `toRational'
> In the instance declaration for `Real (LargeKey a b)'
>
> Data/LargeWord.hs:140:9:
> Warning: No explicit method nor default method for `toEnum'
> In the instance declaration for `Enum (LargeKey a b)'
>
> Data/LargeWord.hs:140:9:
> Warning: No explicit method nor default method for `fromEnum'
> In the instance declaration for `Enum (LargeKey a b)'
> [10 of 11] Compiling Codec.Encryption.AES ( Codec/Encryption/AES.hs,
> dist/build/SymmetricTest/SymmetricTest-tmp/Codec/Encryption/AES.o )
> [11 of 11] Compiling Main             ( SymmetricTest.hs,
> dist/build/SymmetricTest/SymmetricTest-tmp/Main.o )
> Linking dist/build/SymmetricTest/SymmetricTest ...
> Building executable: SHA1Test...
> Creating dist/build/SHA1Test (and its parents)
> Creating dist/build/SHA1Test/SHA1Test-tmp (and its parents)
> /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
> [1 of 4] Compiling Codec.Utils      ( Codec/Utils.hs, dist/build/SHA1Test
> /SHA1Test-tmp/Codec/Utils.o )
> [2 of 4] Compiling Data.Digest.SHA1 ( Data/Digest/SHA1.hs,
> dist/build/SHA1Test/SHA1Test-tmp/Data/Digest/SHA1.o )
> [3 of 4] Compiling Codec.Text.Raw   ( Codec/Text/Raw.hs,
> dist/build/SHA1Test/SHA1Test-tmp/Codec/Text/Raw.o )
> [4 of 4] Compiling Main             ( SHA1Test.hs, dist/build/SHA1Test
> /SHA1Test-tmp/Main.o )
> ghc: panic! (the 'impossible' happened)
> (GHC version 6.10.1 for i386-apple-darwin):
> RegAllocLinear.getStackSlotFor: out of stack slots, try -fregs-graph
>
> Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
>

> Error: Status 1 encountered during processing.
> [

New description:

 I was asked to send the following error here.
 I am not sure where the bug is.
 {{{
 sudo port install hs-cabal hs-Crypto hs-libcabal
 ~
 Password:
 --->  Fetching hs-HTTP
 --->  Attempting to fetch HTTP-3001.1.4.tar.gz from
 http://trd.no.distfiles.macports.org/hs-HTTP
 --->  Verifying checksum(s) for hs-HTTP
 --->  Extracting hs-HTTP
 --->  Configuring hs-HTTP
 --->  Building hs-HTTP
 --->  Staging hs-HTTP into destroot
 --->  Installing hs-HTTP @3001.1.4_0
 --->  Activating hs-HTTP @3001.1.4_0
 --->  Cleaning hs-HTTP
 --->  Fetching hs-libcabal
 --->  Attempting to fetch Cabal-1.6.0.1.tar.gz from
 http://trd.no.distfiles.macports.org/hs-libcabal
 --->  Verifying checksum(s) for hs-libcabal
 --->  Extracting hs-libcabal
 --->  Configuring hs-libcabal
 --->  Building hs-libcabal
 --->  Staging hs-libcabal into destroot
 --->  Installing hs-libcabal @1.6.0.1_0
 --->  Activating hs-libcabal @1.6.0.1_0
 --->  Cleaning hs-libcabal
 --->  Fetching hs-zlib
 --->  Attempting to fetch zlib-0.5.0.0.tar.gz from
 http://trd.no.distfiles.macports.org/hs-zlib
 --->  Verifying checksum(s) for hs-zlib
 --->  Extracting hs-zlib
 --->  Configuring hs-zlib
 --->  Building hs-zlib
 --->  Staging hs-zlib into destroot
 --->  Installing hs-zlib @0.5.0.0_0
 --->  Activating hs-zlib @0.5.0.0_0
 --->  Cleaning hs-zlib
 --->  Fetching hs-cabal
 --->  Attempting to fetch cabal-install-0.6.0.tar.gz from
 http://trd.no.distfiles.macports.org/hs-cabal
 --->  Verifying checksum(s) for hs-cabal
 --->  Extracting hs-cabal
 --->  Configuring hs-cabal
 --->  Building hs-cabal
 --->  Staging hs-cabal into destroot
 --->  Installing hs-cabal @0.6.0_0
 --->  Activating hs-cabal @0.6.0_0
 --->  Cleaning hs-cabal
 --->  Fetching hs-Crypto
 --->  Attempting to fetch Crypto-4.1.0.tar.gz from
 http://trd.no.distfiles.macports.org/hs-Crypto
 --->  Verifying checksum(s) for hs-Crypto
 --->  Extracting hs-Crypto
 --->  Configuring hs-Crypto
 --->  Building hs-Crypto
 Error: 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
 Command output:     In the instance declaration for `Integral (LargeKey a
 b)'

 Data/LargeWord.hs:137:9:
 Warning: No explicit method nor default method for `toRational'
 In the instance declaration for `Real (LargeKey a b)'

 Data/LargeWord.hs:140:9:
 Warning: No explicit method nor default method for `toEnum'
 In the instance declaration for `Enum (LargeKey a b)'

 Data/LargeWord.hs:140:9:
 Warning: No explicit method nor default method for `fromEnum'
 In the instance declaration for `Enum (LargeKey a b)'
 [10 of 11] Compiling Codec.Encryption.AES ( Codec/Encryption/AES.hs,
 dist/build/SymmetricTest/SymmetricTest-tmp/Codec/Encryption/AES.o )
 [11 of 11] Compiling Main             ( SymmetricTest.hs,
 dist/build/SymmetricTest/SymmetricTest-tmp/Main.o )
 Linking dist/build/SymmetricTest/SymmetricTest ...
 Building executable: SHA1Test...
 Creating dist/build/SHA1Test (and its parents)
 Creating dist/build/SHA1Test/SHA1Test-tmp (and its parents)
 /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
 [1 of 4] Compiling Codec.Utils      ( Codec/Utils.hs, dist/build/SHA1Test
 /SHA1Test-tmp/Codec/Utils.o )
 [2 of 4] Compiling Data.Digest.SHA1 ( Data/Digest/SHA1.hs,
 dist/build/SHA1Test/SHA1Test-tmp/Data/Digest/SHA1.o )
 [3 of 4] Compiling Codec.Text.Raw   ( Codec/Text/Raw.hs,
 dist/build/SHA1Test/SHA1Test-tmp/Codec/Text/Raw.o )
 [4 of 4] Compiling Main             ( SHA1Test.hs, dist/build/SHA1Test
 /SHA1Test-tmp/Main.o )
 ghc: panic! (the 'impossible' happened)
 (GHC version 6.10.1 for i386-apple-darwin):
 RegAllocLinear.getStackSlotFor: out of stack slots, try -fregs-graph

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug


 Error: Status 1 encountered during processing.
 [
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3249#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to