NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.96k stars 13.97k forks source link

[HaskellNG] vty: panic! (the 'impossible' happened) GHC Don't understand library name verify-attribute-ops #5900

Closed manpages closed 9 years ago

manpages commented 9 years ago
building path(s) ‘/nix/store/wrz00gk6818n4v1nbr7hllrxcybl5bb3-haskell-vty-5.2.7’
building /nix/store/wrz00gk6818n4v1nbr7hllrxcybl5bb3-haskell-vty-5.2.7
setupCompilerEnvironmentPhase
Building with /nix/store/cq4qqjii3s9ghr6p59kkrdf44wnyhpp4-ghc-7.8.4.
unpacking sources
unpacking source archive /nix/store/q3kn8rhk6fskf0vaw5vq6f1jvmx4ixrv-vty-5.2.7.tar.gz
source root is vty-5.2.7
patching sources
jailbreakPhase
compileBuildDriverPhase
setupCompileFlags: -package-db=/tmp/nix-build-haskell-vty-5.2.7.drv-0/package.conf.d -j1
[1 of 1] Compiling Main             ( Setup.lhs, /tmp/nix-build-haskell-vty-5.2.7.drv-0/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/wrz00gk6818n4v1nbr7hllrxcybl5bb3-haskell-vty-5.2.7 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=cc --package-db=/tmp/nix-build-haskell-vty-5.2.7.drv-0/package.conf.d --ghc-option=-optl=-Wl,-rpath=/nix/store/wrz00gk6818n4v1nbr7hllrxcybl5bb3-haskell-vty-5.2.7/lib/ghc-7.8.4/vty-5.2.7 --enable-split-objs --disable-library-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --enable-tests
Configuring vty-5.2.7...
Dependency Cabal >=1.18: using Cabal-1.18.1.5
Dependency HUnit -any: using HUnit-1.2.5.2
Dependency QuickCheck >=2.4: using QuickCheck-2.7.6
Dependency base ==4.*: using base-4.7.0.2
Dependency blaze-builder >=0.3.3.2 && <0.4: using blaze-builder-0.3.3.4
Dependency bytestring -any: using bytestring-0.10.4.0
Dependency containers -any: using containers-0.5.5.1
Dependency data-default >=0.5.3: using data-default-0.5.3
Dependency deepseq >=1.1 && <1.4: using deepseq-1.3.0.2
Dependency directory -any: using directory-1.2.1.0
Dependency filepath >=1.0 && <2.0: using filepath-1.3.0.2
Dependency hashable >=1.2: using hashable-1.2.3.1
Dependency lens >=3.9.0.2 && <4.8: using lens-4.7
Dependency mtl >=1.1.1.0 && <2.3: using mtl-2.1.3.1
Dependency parallel >=2.2 && <3.3: using parallel-3.2.0.6
Dependency parsec >=2 && <4: using parsec-3.1.8
Dependency quickcheck-assertions >=0.1.1: using quickcheck-assertions-0.1.1
Dependency random >=1.0 && <1.2: using random-1.1
Dependency smallcheck ==1.*: using smallcheck-1.1.1
Dependency string-qq -any: using string-qq-0.0.2
Dependency terminfo >=0.3 && <0.5: using terminfo-0.4.0.0
Dependency test-framework ==0.8.*: using test-framework-0.8.1.1
Dependency test-framework-hunit -any: using test-framework-hunit-0.3.0.1
Dependency test-framework-smallcheck ==0.2.*: using
test-framework-smallcheck-0.2
Dependency text >=0.11.3: using text-1.2.0.4
Dependency transformers >=0.3.0.0: using transformers-0.3.0.0
Dependency unix -any: using unix-2.7.0.1
Dependency utf8-string ==0.3.*: using utf8-string-0.3.8
Dependency vector >=0.7: using vector-0.10.12.2
Dependency vty -any: using vty-5.2.7
/nix/store/cq4qqjii3s9ghr6p59kkrdf44wnyhpp4-ghc-7.8.4/bin/ghc --info
Using Cabal-1.18.1.5 compiled by ghc-7.8
Using compiler: ghc-7.8.4
Using install prefix:
/nix/store/wrz00gk6818n4v1nbr7hllrxcybl5bb3-haskell-vty-5.2.7
Binaries installed in:
/nix/store/wrz00gk6818n4v1nbr7hllrxcybl5bb3-haskell-vty-5.2.7/bin
Libraries installed in:
/nix/store/wrz00gk6818n4v1nbr7hllrxcybl5bb3-haskell-vty-5.2.7/lib/ghc-7.8.4/vty-5.2.7
Private binaries installed in:
/nix/store/wrz00gk6818n4v1nbr7hllrxcybl5bb3-haskell-vty-5.2.7/libexec
Data files installed in:
/nix/store/wrz00gk6818n4v1nbr7hllrxcybl5bb3-haskell-vty-5.2.7/share/x86_64-linux-ghc-7.8.4/vty-5.2.7
Documentation installed in:
/nix/store/wrz00gk6818n4v1nbr7hllrxcybl5bb3-haskell-vty-5.2.7/share/doc/x86_64-linux-ghc-7.8.4/vty-5.2.7
Configuration files installed in:
/nix/store/wrz00gk6818n4v1nbr7hllrxcybl5bb3-haskell-vty-5.2.7/etc
No alex found
Using ar found on system at:
/nix/store/wr5c9d4mjb4c7gqvpv2qzg2z4h4lry17-binutils-2.23.1/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.8.4 given by user at:
/nix/store/ng41cx2qbqmr81b4cvxvm9qi80kbasv0-gcc-wrapper-4.8.4/bin/cc
Using ghc version 7.8.4 found on system at:
/nix/store/cq4qqjii3s9ghr6p59kkrdf44wnyhpp4-ghc-7.8.4/bin/ghc
Using ghc-pkg version 7.8.4 found on system at:
/nix/store/cq4qqjii3s9ghr6p59kkrdf44wnyhpp4-ghc-7.8.4/bin/ghc-pkg
No greencard found
Using haddock version 2.14.3 found on system at:
/nix/store/cq4qqjii3s9ghr6p59kkrdf44wnyhpp4-ghc-7.8.4/bin/haddock
No happy found
No hmake found
Using hpc version 0.67 found on system at:
/nix/store/cq4qqjii3s9ghr6p59kkrdf44wnyhpp4-ghc-7.8.4/bin/hpc
Using hsc2hs version 0.67 found on system at:
/nix/store/cq4qqjii3s9ghr6p59kkrdf44wnyhpp4-ghc-7.8.4/bin/hsc2hs
Using hscolour version 1.20 found on system at:
/nix/store/wi6skx39j7rqk699fbgiffr27c5rfsn4-hscolour-1.20.3/bin/HsColour
No hugs found
No jhc found
Using ld found on system at:
/nix/store/ng41cx2qbqmr81b4cvxvm9qi80kbasv0-gcc-wrapper-4.8.4/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
No pkg-config found
Using ranlib found on system at:
/nix/store/wr5c9d4mjb4c7gqvpv2qzg2z4h4lry17-binutils-2.23.1/bin/ranlib
Using strip found on system at:
/nix/store/wr5c9d4mjb4c7gqvpv2qzg2z4h4lry17-binutils-2.23.1/bin/strip
Using tar found on system at:
/nix/store/k9ama576yfrfx1837rg4rrilma8pnwks-gnutar-1.27.1/bin/tar
No uhc found
building
Building vty-5.2.7...
Preprocessing library vty-5.2.7...
[ 1 of 33] Compiling Data.Terminfo.Parse ( src/Data/Terminfo/Parse.hs, dist/build/Data/Terminfo/Parse.o )
[ 2 of 33] Compiling Data.Terminfo.Eval ( src/Data/Terminfo/Eval.hs, dist/build/Data/Terminfo/Eval.o )
[ 3 of 33] Compiling Codec.Binary.UTF8.Debug ( src/Codec/Binary/UTF8/Debug.hs, dist/build/Codec/Binary/UTF8/Debug.o )
[ 4 of 33] Compiling Graphics.Text.Width ( src/Graphics/Text/Width.hs, dist/build/Graphics/Text/Width.o )
[ 5 of 33] Compiling Graphics.Vty.Error ( src/Graphics/Vty/Error.hs, dist/build/Graphics/Vty/Error.o )
[ 6 of 33] Compiling Graphics.Vty.Input.Events ( src/Graphics/Vty/Input/Events.hs, dist/build/Graphics/Vty/Input/Events.o )
[ 7 of 33] Compiling Graphics.Vty.Input.Classify ( src/Graphics/Vty/Input/Classify.hs, dist/build/Graphics/Vty/Input/Classify.o )
[ 8 of 33] Compiling Graphics.Vty.Input.Terminfo.ANSIVT ( src/Graphics/Vty/Input/Terminfo/ANSIVT.hs, dist/build/Graphics/Vty/Input/Terminfo/ANSIVT.o )
[ 9 of 33] Compiling Graphics.Vty.Input.Terminfo ( src/Graphics/Vty/Input/Terminfo.hs, dist/build/Graphics/Vty/Input/Terminfo.o )
[10 of 33] Compiling Graphics.Vty.Attributes.Color ( src/Graphics/Vty/Attributes/Color.hs, dist/build/Graphics/Vty/Attributes/Color.o )
[11 of 33] Compiling Graphics.Vty.Attributes.Color240 ( src/Graphics/Vty/Attributes/Color240.hs, dist/build/Graphics/Vty/Attributes/Color240.o )
[12 of 33] Compiling Graphics.Vty.Attributes ( src/Graphics/Vty/Attributes.hs, dist/build/Graphics/Vty/Attributes.o )
[13 of 33] Compiling Graphics.Vty.Image.Internal ( src/Graphics/Vty/Image/Internal.hs, dist/build/Graphics/Vty/Image/Internal.o )
[14 of 33] Compiling Graphics.Vty.Image ( src/Graphics/Vty/Image.hs, dist/build/Graphics/Vty/Image.o )
[15 of 33] Compiling Graphics.Vty.Debug.Image ( src/Graphics/Vty/Debug/Image.hs, dist/build/Graphics/Vty/Debug/Image.o )
[16 of 33] Compiling Graphics.Vty.DisplayAttributes ( src/Graphics/Vty/DisplayAttributes.hs, dist/build/Graphics/Vty/DisplayAttributes.o )
[17 of 33] Compiling Graphics.Vty.Prelude ( src/Graphics/Vty/Prelude.hs, dist/build/Graphics/Vty/Prelude.o )
[18 of 33] Compiling Graphics.Vty.Span ( src/Graphics/Vty/Span.hs, dist/build/Graphics/Vty/Span.o )
[19 of 33] Compiling Graphics.Vty.Debug ( src/Graphics/Vty/Debug.hs, dist/build/Graphics/Vty/Debug.o )
[20 of 33] Compiling Graphics.Vty.Picture ( src/Graphics/Vty/Picture.hs, dist/build/Graphics/Vty/Picture.o )
[21 of 33] Compiling Graphics.Vty.PictureToSpans ( src/Graphics/Vty/PictureToSpans.hs, dist/build/Graphics/Vty/PictureToSpans.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 bytestring-0.10.4.0 ... linking ... done.
Loading package utf8-string-0.3.8 ... linking ... done.
Loading package terminfo-0.4.0.0 ... linking ... done.
Loading package transformers-0.3.0.0 ... linking ... done.
Loading package mtl-2.1.3.1 ... linking ... done.
Loading package text-1.2.0.4 ... linking ... done.
Loading package parsec-3.1.8 ... linking ... done.
Loading package containers-0.5.5.1 ... linking ... done.
Loading package hashable-1.2.3.1 ... linking ... done.
Loading package nats-1 ... linking ... done.
Loading package unordered-containers-0.2.5.1 ... linking ... done.
Loading package semigroups-0.16.0.1 ... linking ... done.
Loading package transformers-compat-0.3.3.4 ... linking ... done.
Loading package void-0.7 ... linking ... done.
Loading package contravariant-1.2.0.1 ... linking ... done.
Loading package tagged-0.7.3 ... linking ... done.
Loading package distributive-0.4.4 ... linking ... done.
Loading package comonad-4.2.2 ... linking ... done.
Loading package semigroupoids-4.2 ... linking ... done.
Loading package bifunctors-4.2 ... linking ... done.
Loading package exceptions-0.6.1 ... linking ... done.
Loading package filepath-1.3.0.2 ... linking ... done.
Loading package prelude-extras-0.4 ... linking ... done.
Loading package profunctors-4.3.2 ... linking ... done.
Loading package pretty-1.1.1.1 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package free-4.10.0.1 ... linking ... done.
Loading package parallel-3.2.0.6 ... linking ... done.
Loading package primitive-0.5.4.0 ... linking ... done.
Loading package reflection-1.5.1 ... linking ... done.
Loading package split-0.2.2 ... linking ... done.
Loading package vector-0.10.12.2 ... linking ... done.
Loading package lens-4.7 ... linking ... done.
Loading package old-locale-1.0.0.6 ... linking ... done.
Loading package time-1.4.2 ... linking ... done.
Loading package unix-2.7.0.1 ... linking ... done.
Loading package directory-1.2.1.0 ... linking ... done.
Loading package data-default-class-0.0.1 ... linking ... done.
Loading package data-default-instances-base-0.0.1 ... linking ... done.
Loading package data-default-instances-containers-0.0.1 ... linking ... done.
Loading package dlist-0.7.1 ... linking ... done.
Loading package data-default-instances-dlist-0.0.1 ... linking ... done.
Loading package data-default-instances-old-locale-0.0.1 ... linking ... done.
Loading package data-default-0.5.3 ... linking ... done.
Loading package blaze-builder-0.3.3.4 ... linking ... done.
[22 of 33] Compiling Graphics.Vty.Output.Interface ( src/Graphics/Vty/Output/Interface.hs, dist/build/Graphics/Vty/Output/Interface.o )
[23 of 33] Compiling Graphics.Vty.Output.TerminfoBased ( src/Graphics/Vty/Output/TerminfoBased.hs, dist/build/Graphics/Vty/Output/TerminfoBased.o )
[24 of 33] Compiling Graphics.Vty.Output.MacOSX ( src/Graphics/Vty/Output/MacOSX.hs, dist/build/Graphics/Vty/Output/MacOSX.o )
[25 of 33] Compiling Graphics.Vty.Output.XTermColor ( src/Graphics/Vty/Output/XTermColor.hs, dist/build/Graphics/Vty/Output/XTermColor.o )
[26 of 33] Compiling Graphics.Vty.Output.Mock ( src/Graphics/Vty/Output/Mock.hs, dist/build/Graphics/Vty/Output/Mock.o )
[27 of 33] Compiling Graphics.Vty.Config ( src/Graphics/Vty/Config.hs, dist/build/Graphics/Vty/Config.o )
[28 of 33] Compiling Graphics.Vty.Output ( src/Graphics/Vty/Output.hs, dist/build/Graphics/Vty/Output.o )
[29 of 33] Compiling Graphics.Vty.Input.Loop ( src/Graphics/Vty/Input/Loop.hs, dist/build/Graphics/Vty/Input/Loop.o )
[30 of 33] Compiling Graphics.Vty.Input ( src/Graphics/Vty/Input.hs, dist/build/Graphics/Vty/Input.o )
[31 of 33] Compiling Graphics.Vty     ( src/Graphics/Vty.hs, dist/build/Graphics/Vty.o )
[32 of 33] Compiling Graphics.Vty.Inline.Unsafe ( src/Graphics/Vty/Inline/Unsafe.hs, dist/build/Graphics/Vty/Inline/Unsafe.o )
[33 of 33] Compiling Graphics.Vty.Inline ( src/Graphics/Vty/Inline.hs, dist/build/Graphics/Vty/Inline.o )
In-place registering vty-5.2.7...
Preprocessing executable 'vty-demo' for vty-5.2.7...
[1 of 1] Compiling Main             ( Demo.hs, dist/build/vty-demo/vty-demo-tmp/Main.dyn_o )
Linking dist/build/vty-demo/vty-demo ...
Preprocessing test suite 'verify-attribute-ops' for vty-5.2.7...
[1 of 3] Compiling Verify           ( test/Verify.hs, dist/build/Verify.o )
[2 of 3] Compiling Verify.Graphics.Vty.Attributes ( test/Verify/Graphics/Vty/Attributes.hs, dist/build/Verify/Graphics/Vty/Attributes.o )
[3 of 3] Compiling VerifyAttributeOps ( test/VerifyAttributeOps.hs, dist/build/VerifyAttributeOps.o )
In-place registering verify-attribute-ops-5.2.7...
[1 of 1] Compiling Main             ( dist/build/verify-attribute-opsStub/verify-attribute-opsStub-tmp/verify-attribute-opsStub.hs, dist/build/verify-attribute-opsStub/verify-attribute-opsStub-tmp/Main.dyn_o )
Linking dist/build/verify-attribute-opsStub/verify-attribute-opsStub ...
ghc: panic! (the 'impossible' happened)
  (GHC version 7.8.4 for x86_64-unknown-linux):
    Don't understand library name verify-attribute-ops

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

builder for ‘/nix/store/gdv25znswyfvr24flg8sim9ja77vg9vl-haskell-vty-5.2.7.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/q5h8a0sm6yhdn3il1psg5p68b78m27dm-ghc-7.8.4.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/q5h8a0sm6yhdn3il1psg5p68b78m27dm-ghc-7.8.4.drv’ failed
peti commented 9 years ago

Reported upstream in https://ghc.haskell.org/trac/ghc/ticket/10013.

manpages commented 9 years ago

:heart: :green_heart: :blue_heart:

Fuuzetsu commented 9 years ago

This is already on Trac under https://ghc.haskell.org/trac/ghc/ticket/9625 , you may want to close 10013 as duplicate.

peti commented 9 years ago

Oh. Thanks. :smile: