Failure installing elm-init-1.0.5 (ExitFailure (-6))
In a new directory I ran:
cabal sandbox init cabal update cabal install elm-init
I got the following: Resolving dependencies... Notice: installing into a sandbox located at /home/rofer/Apps/elm-init/.cabal-sandbox Downloading base-compat-0.9.1... Configuring base-unicode-symbols-0.2.2.4... Downloading binary-0.8.4.1... Configuring fail-4.9.0.0... Configuring filepath-1.4.1.0... Configuring ghc-boot-th-8.0.1... Configuring primitive-0.6.1.0... Configuring transformers-compat-0.5.1.3... Downloading pretty-1.1.3.4... Configuring base-compat-0.9.1... Downloading time-locale-compat-0.1.1.3... Configuring binary-0.8.4.1... Building base-unicode-symbols-0.2.2.4... Building fail-4.9.0.0... Building ghc-boot-th-8.0.1... Building filepath-1.4.1.0... Building primitive-0.6.1.0... Building transformers-compat-0.5.1.3... Building binary-0.8.4.1... Building base-compat-0.9.1... Installed fail-4.9.0.0 Configuring time-locale-compat-0.1.1.3... Building time-locale-compat-0.1.1.3... Configuring pretty-1.1.3.4... Installed base-unicode-symbols-0.2.2.4 Building pretty-1.1.3.4... Installed time-locale-compat-0.1.1.3 Installed filepath-1.4.1.0 Downloading directory-1.2.7.0... Configuring directory-1.2.7.0... Installed primitive-0.6.1.0 Building directory-1.2.7.0... Configuring vector-0.11.0.0... Building vector-0.11.0.0... Installed ghc-boot-th-8.0.1 Installed base-compat-0.9.1 Installed pretty-1.1.3.4 Downloading template-haskell-2.11.0.0... Configuring template-haskell-2.11.0.0... Building template-haskell-2.11.0.0... Installed directory-1.2.7.0 Configuring process-1.4.2.0... Installed transformers-compat-0.5.1.3 Building process-1.4.2.0... Installed process-1.4.2.0 Installed binary-0.8.4.1 Configuring text-1.2.2.1... Building text-1.2.2.1... Downloading template-haskell-2.11.0.0... [66/181]Configuring template-haskell-2.11.0.0... Building template-haskell-2.11.0.0... Installed directory-1.2.7.0 Configuring process-1.4.2.0... Installed transformers-compat-0.5.1.3 Building process-1.4.2.0... Installed process-1.4.2.0 Installed binary-0.8.4.1 Configuring text-1.2.2.1... Building text-1.2.2.1... Installed template-haskell-2.11.0.0 Downloading cmdargs-0.10.14... Downloading file-embed-0.0.10... Configuring file-embed-0.0.10... Downloading tagged-0.8.5... Configuring cmdargs-0.10.14... Configuring tagged-0.8.5... Building file-embed-0.0.10... Building cmdargs-0.10.14... Building tagged-0.8.5... Installed file-embed-0.0.10 Installed tagged-0.8.5 Installed cmdargs-0.10.14 Installed text-1.2.2.1 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Installed vector-0.11.0.0 Installed hashable-1.2.4.0 Downloading nats-1.1.1... Downloading scientific-0.3.4.9... Configuring scientific-0.3.4.9... Downloading unordered-containers-0.2.7.1... Configuring nats-1.1.1... Configuring unordered-containers-0.2.7.1... Building scientific-0.3.4.9... Building nats-1.1.1... Building unordered-containers-0.2.7.1... Installed nats-1.1.1 Installed scientific-0.3.4.9 Installed unordered-containers-0.2.7.1 Downloading semigroups-0.18.2... Configuring semigroups-0.18.2... Building semigroups-0.18.2... Installed semigroups-0.18.2 Downloading attoparsec-0.13.1.0... Configuring attoparsec-0.13.1.0... Building attoparsec-0.13.1.0... Installed attoparsec-0.13.1.0 Downloading aeson-1.0.2.0... Configuring aeson-1.0.2.0... Building aeson-1.0.2.0... Installed aeson-1.0.2.0 Downloading aeson-pretty-0.8.2... Configuring aeson-pretty-0.8.2... Building aeson-pretty-0.8.2... Installed aeson-pretty-0.8.2 Downloading elm-init-1.0.5... Configuring elm-init-1.0.5... Building elm-init-1.0.5... Failed to install elm-init-1.0.5 Build log ( /home/rofer/Apps/elm-init/.cabal-sandbox/logs/elm-init-1.0.5.log ): cabal: Entering directory '/tmp/cabal-tmp-27520/elm-init-1.0.5' Configuring elm-init-1.0.5... Building elm-init-1.0.5... Preprocessing executable 'elm-init' for elm-init-1.0.5... [1 of 5] Compiling ElmInit.Util ( src/ElmInit/Util.hs, dist/dist-sandbox-7912c192/build/elm-init/elm-init-tmp/ElmInit/Util.p_o ) [2 of 5] Compiling ElmInit.Interact ( src/ElmInit/Interact.hs, dist/dist-sandbox-7912c192/build/elm-init/elm-init-tmp/ElmInit/Interact.p_o )
src/ElmInit/Interact.hs:10:1: Warning:
The import of ‘<*>’ from module ‘Control.Applicative’ is redundant
[3 of 5] Compiling ElmInit.Types ( src/ElmInit/Types.hs, dist/dist-sandbox-7912c192/build/elm-init/elm-init-tmp/ElmInit/Types.p_o )
src/ElmInit/Types.hs:87:1: Warning:
Defined but not used: ‘emptyDecisions’
[4 of 5] Compiling ElmInit ( src/ElmInit.hs, dist/dist-sandbox-7912c192/build/elm-init/elm-init-tmp/ElmInit.p_o ) [5 of 5] Compiling Main ( src/Main.hs, dist/dist-sandbox-7912c192/build/elm-init/elm-init-tmp/Main.p_o ) Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Loading package array-0.5.0.0 ... linking ... done. Loading package deepseq-1.3.0.2 ... linking ... done. Loading package filepath-1.4.1.0 ... linking ... done. Loading package old-locale-1.0.0.6 ... linking ... done. Loading package time-1.4.2 ... linking ... done. Loading package bytestring-0.10.4.0 ... linking ... done. Loading package unix-2.7.0.1 ... linking ... done. Loading package directory-1.2.7.0 ... linking ... done. Loading package process-1.4.2.0 ... linking ... done. Loading package ghc-boot-th-8.0.1 ... linking ... done. Loading package pretty-1.1.3.4 ... linking ... done. Loading package template-haskell ... linking ... done. Loading package file-embed-0.0.10 ... linking ... done. Loading package base-unicode-symbols-0.2.2.4 ... linking ... done. Loading package containers-0.5.5.1 ... linking ... done. Loading package fail-4.9.0.0 ... linking ... done. Loading package binary-0.8.4.1 ... linking ... done. Loading package text-1.2.2.1 ... linking ... done. Loading package hashable-1.2.4.0 ... linking ... done. Loading package transformers-0.3.0.0 ... linking ... done. Loading package primitive-0.6.1.0 ... linking ... done. Loading package vector-0.11.0.0 ... linking ... done. Loading package scientific-0.3.4.9 ... linking ... done. Loading package nats-1.1.1 ... linking ... done. Loading package mtl-2.1.3.1 ... linking ... done. Loading package transformers-compat-0.5.1.3 ... linking ... done. Loading package tagged-0.8.5 ... linking ... done. Loading package unordered-containers-0.2.7.1 ... linking ... done. Loading package semigroups-0.18.2 ... linking ... done. Loading package attoparsec-0.13.1.0 ... linking ... done. Loading package base-compat-0.9.1 ... linking ... done. Loading package dlist-0.7.1 ... linking ... done. Loading package time-locale-compat-0.1.1.3 ... linking ... done. Loading package aeson-1.0.2.0 ... linking ... done. Loading package aeson-pretty-0.8.2 ... linking ... done. ghc: internal error: stg_ap_pp_ret
(GHC version 7.8.4 for x86_64_unknown_linux)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
cabal: Leaving directory '/tmp/cabal-tmp-27520/elm-init-1.0.5' cabal: Error: some packages failed to install: elm-init-1.0.5 failed during the building phase. The exception was: ExitFailure (-6)
I'm on Fedora 23 (4.7.6-100.fc23.x86_64). Let me know if you need anything else.
Trac metadata
Trac field | Value |
---|---|
Version | 7.8.4 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |