Closed markandrus closed 6 years ago
This may be a GHC bug, but I thought I'd report it here.
$ ghc --version The Glorious Glasgow Haskell Compilation System, version 7.10.1 $ cabal --version cabal-install version 1.22.2.0 using version 1.22.2.0 of the Cabal library $ cabal sandbox init $ cabal install compdata 11:10:55 Resolving dependencies... Notice: installing into a sandbox located at /private/tmp/foo/.cabal-sandbox Configuring mtl-2.2.1... Configuring old-locale-1.0.0.7... Configuring primitive-0.6... Configuring random-1.1... Building random-1.1... Building mtl-2.2.1... Building old-locale-1.0.0.7... Building primitive-0.6... Installed old-locale-1.0.0.7 Configuring syb-0.5.1... Building syb-0.5.1... Installed mtl-2.2.1 Configuring text-1.2.1.1... Configuring old-time-1.1.0.3... Installed primitive-0.6 Building text-1.2.1.1... Configuring tree-view-0.4... Installed syb-0.5.1 Building old-time-1.1.0.3... Configuring th-expand-syns-0.3.0.6... Installed random-1.1 Building tree-view-0.4... Building th-expand-syns-0.3.0.6... Configuring tf-random-0.5... Installed tree-view-0.4 Building tf-random-0.5... Installed th-expand-syns-0.3.0.6 Installed tf-random-0.5 Configuring QuickCheck-2.8.1... Installed old-time-1.1.0.3 Building QuickCheck-2.8.1... Installed QuickCheck-2.8.1 Installed text-1.2.1.1 Configuring hashable-1.2.3.3... Configuring polyparse-1.11... Building hashable-1.2.3.3... Building polyparse-1.11... Installed hashable-1.2.3.3 Configuring unordered-containers-0.2.5.1... Building unordered-containers-0.2.5.1... Installed polyparse-1.11 Configuring cpphs-1.19... Installed unordered-containers-0.2.5.1 Configuring uniplate-1.6.12... Building cpphs-1.19... Building uniplate-1.6.12... Installed cpphs-1.19 Configuring haskell-src-exts-1.16.0.1... Installed uniplate-1.6.12 Building haskell-src-exts-1.16.0.1... Installed haskell-src-exts-1.16.0.1 Configuring derive-2.5.22... Building derive-2.5.22... Installed derive-2.5.22 Configuring compdata-0.10... Building compdata-0.10... Failed to install compdata-0.10 Build log ( /private/tmp/foo/.cabal-sandbox/logs/compdata-0.10.log ): Configuring compdata-0.10... Building compdata-0.10... Preprocessing library compdata-0.10... src/Data/Comp/Variables.hs:4:14: Warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS src/Data/Comp/Desugar.hs:4:14: Warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS src/Data/Comp/Multi/Variables.hs:6:14: Warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS src/Data/Comp/Multi/Desugar.hs:3:14: Warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS [ 1 of 61] Compiling Data.Comp.Multi.HFunctor ( src/Data/Comp/Multi/HFunctor.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/HFunctor.o ) src/Data/Comp/Multi/HFunctor.hs:42:1: Warning: The import of ‘Data.Traversable’ is redundant except perhaps to import instances from ‘Data.Traversable’ To import instances alone, use: import Data.Traversable() src/Data/Comp/Multi/HFunctor.hs:43:1: Warning: The import of ‘Data.Foldable’ is redundant except perhaps to import instances from ‘Data.Foldable’ To import instances alone, use: import Data.Foldable() [ 2 of 61] Compiling Data.Comp.Multi.HFoldable ( src/Data/Comp/Multi/HFoldable.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/HFoldable.o ) [ 3 of 61] Compiling Data.Comp.Multi.HTraversable ( src/Data/Comp/Multi/HTraversable.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/HTraversable.o ) src/Data/Comp/Multi/HTraversable.hs:27:1: Warning: The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() [ 4 of 61] Compiling Data.Comp.Multi.Mapping ( src/Data/Comp/Multi/Mapping.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Mapping.o ) [ 5 of 61] Compiling Data.Comp.Multi.Term ( src/Data/Comp/Multi/Term.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Term.o ) src/Data/Comp/Multi/Term.hs:38:1: Warning: The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() src/Data/Comp/Multi/Term.hs:40:1: Warning: The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() [ 6 of 61] Compiling Data.Comp.SubsumeCommon ( src/Data/Comp/SubsumeCommon.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/SubsumeCommon.o ) [ 7 of 61] Compiling Data.Comp.Projection ( src/Data/Comp/Projection.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Projection.o ) [ 8 of 61] Compiling Data.Comp.Mapping ( src/Data/Comp/Mapping.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Mapping.o ) [ 9 of 61] Compiling Data.Comp.Derive.Utils ( src/Data/Comp/Derive/Utils.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Derive/Utils.o ) [10 of 61] Compiling Data.Comp.Derive.Show ( src/Data/Comp/Derive/Show.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Derive/Show.o ) [11 of 61] Compiling Data.Comp.Derive.Foldable ( src/Data/Comp/Derive/Foldable.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Derive/Foldable.o ) [12 of 61] Compiling Data.Comp.Derive.Traversable ( src/Data/Comp/Derive/Traversable.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Derive/Traversable.o ) [13 of 61] Compiling Data.Comp.Derive.Arbitrary ( src/Data/Comp/Derive/Arbitrary.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Derive/Arbitrary.o ) [14 of 61] Compiling Data.Comp.Derive.DeepSeq ( src/Data/Comp/Derive/DeepSeq.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Derive/DeepSeq.o ) [15 of 61] Compiling Data.Comp.Multi.Derive.HFunctor ( src/Data/Comp/Multi/Derive/HFunctor.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Derive/HFunctor.o ) [16 of 61] Compiling Data.Comp.Multi.Derive.HFoldable ( src/Data/Comp/Multi/Derive/HFoldable.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Derive/HFoldable.o ) [17 of 61] Compiling Data.Comp.Multi.Derive.HTraversable ( src/Data/Comp/Multi/Derive/HTraversable.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Derive/HTraversable.o ) [18 of 61] Compiling Data.Comp.Derive.Equality ( src/Data/Comp/Derive/Equality.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Derive/Equality.o ) [19 of 61] Compiling Data.Comp.Derive.Ordering ( src/Data/Comp/Derive/Ordering.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Derive/Ordering.o ) [20 of 61] Compiling Data.Comp.Ops ( src/Data/Comp/Ops.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Ops.o ) [21 of 61] Compiling Data.Comp.Multi.Algebra ( src/Data/Comp/Multi/Algebra.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Algebra.o ) [22 of 61] Compiling Data.Comp.Multi.Derive.Show ( src/Data/Comp/Multi/Derive/Show.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Derive/Show.o ) [23 of 61] Compiling Data.Comp.Multi.Ops ( src/Data/Comp/Multi/Ops.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Ops.o ) src/Data/Comp/Multi/Ops.hs:38:1: Warning: The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() [24 of 61] Compiling Data.Comp.Multi.Sum ( src/Data/Comp/Multi/Sum.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Sum.o ) [25 of 61] Compiling Data.Comp.Multi.Generic ( src/Data/Comp/Multi/Generic.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Generic.o ) [26 of 61] Compiling Data.Comp.Multi.Derive.SmartConstructors ( src/Data/Comp/Multi/Derive/SmartConstructors.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Derive/SmartConstructors.o ) src/Data/Comp/Multi/Derive/SmartConstructors.hs:65:30: Warning: In the use of ‘classP’ (imported from Language.Haskell.TH, but defined in Language.Haskell.TH.Lib): Deprecated: "As of template-haskell-2.10, constraint predicates (Pred) are just types (Type), in keeping with ConstraintKinds. Please use 'conT' and 'appT'." [27 of 61] Compiling Data.Comp.Multi.Annotation ( src/Data/Comp/Multi/Annotation.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Annotation.o ) [28 of 61] Compiling Data.Comp.Multi.Derive.SmartAConstructors ( src/Data/Comp/Multi/Derive/SmartAConstructors.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Derive/SmartAConstructors.o ) [29 of 61] Compiling Data.Comp.Multi.Equality ( src/Data/Comp/Multi/Equality.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Equality.o ) [30 of 61] Compiling Data.Comp.Multi ( src/Data/Comp/Multi.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi.o ) [31 of 61] Compiling Data.Comp.Multi.Desugar ( src/Data/Comp/Multi/Desugar.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Desugar.o ) [32 of 61] Compiling Data.Comp.Multi.Derive.Equality ( src/Data/Comp/Multi/Derive/Equality.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Derive/Equality.o ) [33 of 61] Compiling Data.Comp.Multi.Ordering ( src/Data/Comp/Multi/Ordering.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Ordering.o ) [34 of 61] Compiling Data.Comp.Multi.Derive.Ordering ( src/Data/Comp/Multi/Derive/Ordering.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Derive/Ordering.o ) [35 of 61] Compiling Data.Comp.Multi.Derive ( src/Data/Comp/Multi/Derive.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Derive.o ) [36 of 61] Compiling Data.Comp.Multi.Show ( src/Data/Comp/Multi/Show.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Show.o ) [37 of 61] Compiling Data.Comp.Multi.Variables ( src/Data/Comp/Multi/Variables.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Variables.o ) [38 of 61] Compiling Data.Comp.Multi.Projection ( src/Data/Comp/Multi/Projection.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Multi/Projection.o ) [39 of 61] Compiling Data.Comp.Term ( src/Data/Comp/Term.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Term.o ) [40 of 61] Compiling Data.Comp.Equality ( src/Data/Comp/Equality.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Equality.o ) [41 of 61] Compiling Data.Comp.Algebra ( src/Data/Comp/Algebra.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Algebra.o ) [42 of 61] Compiling Data.Comp.Annotation ( src/Data/Comp/Annotation.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Annotation.o ) [43 of 61] Compiling Data.Comp.Sum ( src/Data/Comp/Sum.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Sum.o ) src/Data/Comp/Sum.hs:65:1: Warning: The import of ‘Data.Traversable’ is redundant except perhaps to import instances from ‘Data.Traversable’ To import instances alone, use: import Data.Traversable() [44 of 61] Compiling Data.Comp.Generic ( src/Data/Comp/Generic.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Generic.o ) [45 of 61] Compiling Data.Comp.Derive.SmartConstructors ( src/Data/Comp/Derive/SmartConstructors.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Derive/SmartConstructors.o ) src/Data/Comp/Derive/SmartConstructors.hs:55:30: Warning: In the use of ‘classP’ (imported from Language.Haskell.TH, but defined in Language.Haskell.TH.Lib): Deprecated: "As of template-haskell-2.10, constraint predicates (Pred) are just types (Type), in keeping with ConstraintKinds. Please use 'conT' and 'appT'." [46 of 61] Compiling Data.Comp.Derive.SmartAConstructors ( src/Data/Comp/Derive/SmartAConstructors.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Derive/SmartAConstructors.o ) [47 of 61] Compiling Data.Comp.Thunk ( src/Data/Comp/Thunk.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Thunk.o ) [48 of 61] Compiling Data.Comp.Derive.HaskellStrict ( src/Data/Comp/Derive/HaskellStrict.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Derive/HaskellStrict.o ) [49 of 61] Compiling Data.Comp.Derive ( src/Data/Comp/Derive.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Derive.o ) [50 of 61] Compiling Data.Comp.Ordering ( src/Data/Comp/Ordering.hs, dist/dist-sandbox-e473ab60/build/Data/Comp/Ordering.o ) ghc: panic! (the 'impossible' happened) (GHC version 7.10.1 for x86_64-apple-darwin): Loading temp shared object failed: dlopen(/var/folders/m1/7z5nq5pd65jdf8rkwbsmlbt0h4zwpp/T/ghc95397_0/libghc95397_252.dylib, 5): Symbol not found: _compdzuIqwiyzzFu38PKteLTDlqee1_DataziCompziDeriveziUtils_abstractNewtypeQ1_info Referenced from: /var/folders/m1/7z5nq5pd65jdf8rkwbsmlbt0h4zwpp/T/ghc95397_0/libghc95397_252.dylib Expected in: flat namespace in /var/folders/m1/7z5nq5pd65jdf8rkwbsmlbt0h4zwpp/T/ghc95397_0/libghc95397_252.dylib Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug cabal: Error: some packages failed to install: compdata-0.10 failed during the building phase. The exception was: ExitFailure 1
This may be a GHC bug, but I thought I'd report it here.