[Nix-dev] Installing threadscope doesn't work

ikrek vagyunk ikervagyok at gmail.com
Mon Mar 31 16:46:00 CEST 2014


Hi,

I tried installing threadscope and got a nice error message, containing
many reports about ambiguous occurrences.

The relevant part of my config is (I played with commenting out different
permutations):

environment = {
  systemPackages = with pkgs; [
    (haskellPackages.ghcWithPackages (self : [
      self.haskellPlatform
      self.ghc
      self.alex
      self.happy
      self.threadscope
      self.zlib
    ]))
};

The output of nixos-rebuild is in bug.txt

Have a nice day :)
ikervagyok
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140331/294ccf02/attachment.html 
-------------- next part --------------
# nixos-rebuild switch
building Nix...
building the system configuration...
these derivations will be built:
  /nix/store/7ms6hkbgf7mxi4n47m5acrrjhbkgjxr0-system-crontab.drv
  /nix/store/aqdg1k1jfzp6lp2gw928xq5j2b25jlbp-etc.drv
  /nix/store/dgxq0qvsmdqmpn4myysbmpsdhx7nkqql-haskell-env-ghc-7.6.3.drv
  /nix/store/dl4slacqws27csfqjcjyfg8zzwvwjijg-nixos-14.04pre40468.562f937.drv
  /nix/store/miqi9bikqzwcrddx4brg3n7g25bww701-threadscope-0.2.2.drv
  /nix/store/qcc7ijxkkz2amv5qbjfvr62vc3kwly4v-dbus-conf.drv
  /nix/store/xyryqgh900wplim6r6rz8f1594pprp7r-system-path.drv
building path(s) `/nix/store/ww2l7ldi41zl3a818cxss23ak2v95wpr-threadscope-0.2.2'
building /nix/store/ww2l7ldi41zl3a818cxss23ak2v95wpr-threadscope-0.2.2
unpacking sources
unpacking source archive /nix/store/llhf1xahlv0vw50yjnrbd6gv64hyybq7-threadscope-0.2.2.tar.gz
source root is threadscope-0.2.2
patching sources
configuring
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking Setup ...
configure flags: --enable-split-objs --disable-library-profiling --disable-shared --enable-library-vanilla --disable-executable-dynamic --enable-tests --ghc-options=-rtsopts
Configuring threadscope-0.2.2...
Dependency array -any: using array-0.4.0.1
Dependency base >=4.0 && <5: using base-4.6.0.1
Dependency binary -any: using binary-0.5.1.1
Dependency cairo -any: using cairo-0.12.5.3
Dependency containers >=0.2 && <0.6: using containers-0.5.0.0
Dependency deepseq >=1.1: using deepseq-1.3.0.1
Dependency filepath -any: using filepath-1.3.0.1
Dependency ghc-events >=0.4.2: using ghc-events-0.4.2.0
Dependency glib -any: using glib-0.12.5.3
Dependency gtk >=0.12: using gtk-0.12.5.6
Dependency mtl -any: using mtl-2.1.2
Dependency pango -any: using pango-0.12.5.3
Dependency time >=1.1: using time-1.4.0.1
Dependency unix >=2.3 && <2.7: using unix-2.6.0.1
Using Cabal-1.16.0 compiled by ghc-7.6
Using compiler: ghc-7.6.3
Using install prefix:
/nix/store/ww2l7ldi41zl3a818cxss23ak2v95wpr-threadscope-0.2.2
Binaries installed in:
/nix/store/ww2l7ldi41zl3a818cxss23ak2v95wpr-threadscope-0.2.2/bin
Libraries installed in:
/nix/store/ww2l7ldi41zl3a818cxss23ak2v95wpr-threadscope-0.2.2/lib/ghc-7.6.3/threadscope-0.2.2
Private binaries installed in:
/nix/store/ww2l7ldi41zl3a818cxss23ak2v95wpr-threadscope-0.2.2/libexec
Data files installed in:
/nix/store/ww2l7ldi41zl3a818cxss23ak2v95wpr-threadscope-0.2.2/share/threadscope-0.2.2
Documentation installed in:
/nix/store/ww2l7ldi41zl3a818cxss23ak2v95wpr-threadscope-0.2.2/share/doc/threadscope-0.2.2
No alex found
Using ar found on system at:
/nix/store/dyb8q2dx4dnbxpajf9inycjh49mabmdy-binutils-2.23.1/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.8.2 found on system at:
/nix/store/gl3rwzkmlhls3msdphrj6f9r6992dnaw-gcc-wrapper-4.8.2/bin/gcc
Using ghc version 7.6.3 found on system at:
/nix/store/hz2h1zcmpywp9f30wdq48mbp91pd11wh-ghc-7.6.3-wrapper/bin/ghc
Using ghc-pkg version 7.6.3 found on system at:
/nix/store/hz2h1zcmpywp9f30wdq48mbp91pd11wh-ghc-7.6.3-wrapper/bin/ghc-pkg
No greencard found
Using haddock version 2.13.2 found on system at:
/nix/store/43fvxiwmnim44rw6qxzcybl91pdd0q8c-ghc-7.6.3/bin/haddock
No happy found
No hmake found
Using hpc version 0.6 found on system at:
/nix/store/hz2h1zcmpywp9f30wdq48mbp91pd11wh-ghc-7.6.3-wrapper/bin/hpc
Using hsc2hs version 0.67 found on system at:
/nix/store/hz2h1zcmpywp9f30wdq48mbp91pd11wh-ghc-7.6.3-wrapper/bin/hsc2hs
No hscolour found
No hugs found
No jhc found
Using ld found on system at:
/nix/store/gl3rwzkmlhls3msdphrj6f9r6992dnaw-gcc-wrapper-4.8.2/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.23 found on system at:
/nix/store/n6757dx6nmp8vf4pwb5cm92yixiyxzwd-pkg-config-0.23/bin/pkg-config
Using ranlib found on system at:
/nix/store/dyb8q2dx4dnbxpajf9inycjh49mabmdy-binutils-2.23.1/bin/ranlib
Using strip found on system at:
/nix/store/dyb8q2dx4dnbxpajf9inycjh49mabmdy-binutils-2.23.1/bin/strip
Using tar found on system at:
/nix/store/zsl05mbb69s38bbyi9nfff6vyry9m8jm-gnutar-1.27.1/bin/tar
No uhc found
building
Building threadscope-0.2.2...
Preprocessing executable 'threadscope' for threadscope-0.2.2...
[ 1 of 35] Compiling Events.TestEvents ( Events/TestEvents.hs, dist/build/threadscope/threadscope-tmp/Events/TestEvents.o )
[ 2 of 35] Compiling GUI.ViewerColours ( GUI/ViewerColours.hs, dist/build/threadscope/threadscope-tmp/GUI/ViewerColours.o )
[ 3 of 35] Compiling GUI.Timeline.CairoDrawing ( GUI/Timeline/CairoDrawing.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/CairoDrawing.o )
[ 4 of 35] Compiling Events.EventDuration ( Events/EventDuration.hs, dist/build/threadscope/threadscope-tmp/Events/EventDuration.o )
[ 5 of 35] Compiling Events.SparkStats ( Events/SparkStats.hs, dist/build/threadscope/threadscope-tmp/Events/SparkStats.o )
[ 6 of 35] Compiling Events.SparkTree ( Events/SparkTree.hs, dist/build/threadscope/threadscope-tmp/Events/SparkTree.o )
[ 7 of 35] Compiling Events.EventTree ( Events/EventTree.hs, dist/build/threadscope/threadscope-tmp/Events/EventTree.o )
[ 8 of 35] Compiling GUI.Timeline.Render.Constants ( GUI/Timeline/Render/Constants.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/Render/Constants.o )
[ 9 of 35] Compiling GUI.GtkExtras    ( GUI/GtkExtras.hs, dist/build/threadscope/threadscope-tmp/GUI/GtkExtras.o )
[10 of 35] Compiling GUI.ProgressView ( GUI/ProgressView.hs, dist/build/threadscope/threadscope-tmp/GUI/ProgressView.o )

GUI/ProgressView.hs:20:1: Warning:
    Module `Prelude' does not export `catch'
[11 of 35] Compiling GUI.ConcurrencyControl ( GUI/ConcurrencyControl.hs, dist/build/threadscope/threadscope-tmp/GUI/ConcurrencyControl.o )
[12 of 35] Compiling GUI.KeyView      ( GUI/KeyView.hs, dist/build/threadscope/threadscope-tmp/GUI/KeyView.o )
[13 of 35] Compiling GUI.BookmarkView ( GUI/BookmarkView.hs, dist/build/threadscope/threadscope-tmp/GUI/BookmarkView.o )
[14 of 35] Compiling GUI.StartupInfoView ( GUI/StartupInfoView.hs, dist/build/threadscope/threadscope-tmp/GUI/StartupInfoView.o )
[15 of 35] Compiling GUI.EventsView   ( GUI/EventsView.hs, dist/build/threadscope/threadscope-tmp/GUI/EventsView.o )
[16 of 35] Compiling Events.HECs      ( Events/HECs.hs, dist/build/threadscope/threadscope-tmp/Events/HECs.o )
[17 of 35] Compiling Events.ReadEvents ( Events/ReadEvents.hs, dist/build/threadscope/threadscope-tmp/Events/ReadEvents.o )
[18 of 35] Compiling GUI.Types        ( GUI/Types.hs, dist/build/threadscope/threadscope-tmp/GUI/Types.o )
[19 of 35] Compiling GUI.SummaryView  ( GUI/SummaryView.hs, dist/build/threadscope/threadscope-tmp/GUI/SummaryView.o )
[20 of 35] Compiling GUI.TraceView    ( GUI/TraceView.hs, dist/build/threadscope/threadscope-tmp/GUI/TraceView.o )
[21 of 35] Compiling GUI.Timeline.Ticks ( GUI/Timeline/Ticks.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/Ticks.o )
[22 of 35] Compiling GUI.Timeline.Types ( GUI/Timeline/Types.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/Types.o )
[23 of 35] Compiling GUI.Timeline.HEC ( GUI/Timeline/HEC.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/HEC.o )
[24 of 35] Compiling GUI.Timeline.Sparks ( GUI/Timeline/Sparks.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/Sparks.o )
[25 of 35] Compiling GUI.Timeline.Motion ( GUI/Timeline/Motion.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/Motion.o )
[26 of 35] Compiling GUI.Timeline.Activity ( GUI/Timeline/Activity.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/Activity.o )
[27 of 35] Compiling GUI.Timeline.Render ( GUI/Timeline/Render.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/Render.o )

GUI/Timeline/Render.hs:37:15:
    Ambiguous occurrence `Region'
    It could refer to either `Graphics.UI.Gtk.Region',
                             imported from `Graphics.UI.Gtk' at GUI/Timeline/Render.hs:23:1-22
                             (and originally defined in `Graphics.UI.Gtk.Gdk.Region')
                          or `Graphics.Rendering.Cairo.Region',
                             imported from `Graphics.Rendering.Cairo' at GUI/Timeline/Render.hs:24:1-31
                             (and originally defined in `Graphics.Rendering.Cairo.Types')

GUI/Timeline/Render.hs:54:65:
    Ambiguous occurrence `height'
    It could refer to either `GUI.Types.height',
                             imported from `GUI.Types' at GUI/Timeline/Render.hs:19:1-16
                             (and originally defined at GUI/Types.hs:30:12-17)
                          or `Graphics.Rendering.Cairo.height',
                             imported from `Graphics.Rendering.Cairo' at GUI/Timeline/Render.hs:24:1-31
                             (and originally defined in `Graphics.Rendering.Cairo.Types')

GUI/Timeline/Render.hs:68:11:
    Ambiguous occurrence `width'
    It could refer to either `GUI.Types.width',
                             imported from `GUI.Types' at GUI/Timeline/Render.hs:19:1-16
                             (and originally defined at GUI/Types.hs:30:5-9)
                          or `Graphics.Rendering.Cairo.width',
                             imported from `Graphics.Rendering.Cairo' at GUI/Timeline/Render.hs:24:1-31
                             (and originally defined in `Graphics.Rendering.Cairo.Types')

GUI/Timeline/Render.hs:68:32:
    Ambiguous occurrence `width'
    It could refer to either `GUI.Types.width',
                             imported from `GUI.Types' at GUI/Timeline/Render.hs:19:1-16
                             (and originally defined at GUI/Types.hs:30:5-9)
                          or `Graphics.Rendering.Cairo.width',
                             imported from `Graphics.Rendering.Cairo' at GUI/Timeline/Render.hs:24:1-31
                             (and originally defined in `Graphics.Rendering.Cairo.Types')

GUI/Timeline/Render.hs:69:11:
    Ambiguous occurrence `height'
    It could refer to either `GUI.Types.height',
                             imported from `GUI.Types' at GUI/Timeline/Render.hs:19:1-16
                             (and originally defined at GUI/Types.hs:30:12-17)
                          or `Graphics.Rendering.Cairo.height',
                             imported from `Graphics.Rendering.Cairo' at GUI/Timeline/Render.hs:24:1-31
                             (and originally defined in `Graphics.Rendering.Cairo.Types')

GUI/Timeline/Render.hs:69:32:
    Ambiguous occurrence `height'
    It could refer to either `GUI.Types.height',
                             imported from `GUI.Types' at GUI/Timeline/Render.hs:19:1-16
                             (and originally defined at GUI/Types.hs:30:12-17)
                          or `Graphics.Rendering.Cairo.height',
                             imported from `Graphics.Rendering.Cairo' at GUI/Timeline/Render.hs:24:1-31
                             (and originally defined in `Graphics.Rendering.Cairo.Types')

GUI/Timeline/Render.hs:74:34:
    Ambiguous occurrence `width'
    It could refer to either `GUI.Types.width',
                             imported from `GUI.Types' at GUI/Timeline/Render.hs:19:1-16
                             (and originally defined at GUI/Types.hs:30:5-9)
                          or `Graphics.Rendering.Cairo.width',
                             imported from `Graphics.Rendering.Cairo' at GUI/Timeline/Render.hs:24:1-31
                             (and originally defined in `Graphics.Rendering.Cairo.Types')

GUI/Timeline/Render.hs:251:33:
    Ambiguous occurrence `width'
    It could refer to either `GUI.Types.width',
                             imported from `GUI.Types' at GUI/Timeline/Render.hs:19:1-16
                             (and originally defined at GUI/Types.hs:30:5-9)
                          or `Graphics.Rendering.Cairo.width',
                             imported from `Graphics.Rendering.Cairo' at GUI/Timeline/Render.hs:24:1-31
                             (and originally defined in `Graphics.Rendering.Cairo.Types')

GUI/Timeline/Render.hs:251:45:
    Ambiguous occurrence `height'
    It could refer to either `GUI.Types.height',
                             imported from `GUI.Types' at GUI/Timeline/Render.hs:19:1-16
                             (and originally defined at GUI/Types.hs:30:12-17)
                          or `Graphics.Rendering.Cairo.height',
                             imported from `Graphics.Rendering.Cairo' at GUI/Timeline/Render.hs:24:1-31
                             (and originally defined in `Graphics.Rendering.Cairo.Types')

GUI/Timeline/Render.hs:257:34:
    Ambiguous occurrence `width'
    It could refer to either `GUI.Types.width',
                             imported from `GUI.Types' at GUI/Timeline/Render.hs:19:1-16
                             (and originally defined at GUI/Types.hs:30:5-9)
                          or `Graphics.Rendering.Cairo.width',
                             imported from `Graphics.Rendering.Cairo' at GUI/Timeline/Render.hs:24:1-31
                             (and originally defined in `Graphics.Rendering.Cairo.Types')

GUI/Timeline/Render.hs:258:34:
    Ambiguous occurrence `height'
    It could refer to either `GUI.Types.height',
                             imported from `GUI.Types' at GUI/Timeline/Render.hs:19:1-16
                             (and originally defined at GUI/Types.hs:30:12-17)
                          or `Graphics.Rendering.Cairo.height',
                             imported from `Graphics.Rendering.Cairo' at GUI/Timeline/Render.hs:24:1-31
                             (and originally defined in `Graphics.Rendering.Cairo.Types')

GUI/Timeline/Render.hs:273:45:
    Ambiguous occurrence `height'
    It could refer to either `GUI.Types.height',
                             imported from `GUI.Types' at GUI/Timeline/Render.hs:19:1-16
                             (and originally defined at GUI/Types.hs:30:12-17)
                          or `Graphics.Rendering.Cairo.height',
                             imported from `Graphics.Rendering.Cairo' at GUI/Timeline/Render.hs:24:1-31
                             (and originally defined in `Graphics.Rendering.Cairo.Types')

GUI/Timeline/Render.hs:275:67:
    Ambiguous occurrence `height'
    It could refer to either `GUI.Types.height',
                             imported from `GUI.Types' at GUI/Timeline/Render.hs:19:1-16
                             (and originally defined at GUI/Types.hs:30:12-17)
                          or `Graphics.Rendering.Cairo.height',
                             imported from `Graphics.Rendering.Cairo' at GUI/Timeline/Render.hs:24:1-31
                             (and originally defined in `Graphics.Rendering.Cairo.Types')
builder for `/nix/store/miqi9bikqzwcrddx4brg3n7g25bww701-threadscope-0.2.2.drv' failed with exit code 1
cannot build derivation `/nix/store/dgxq0qvsmdqmpn4myysbmpsdhx7nkqql-haskell-env-ghc-7.6.3.drv': 1 dependencies couldn't be built
cannot build derivation `/nix/store/xyryqgh900wplim6r6rz8f1594pprp7r-system-path.drv': 1 dependencies couldn't be built
cannot build derivation `/nix/store/dl4slacqws27csfqjcjyfg8zzwvwjijg-nixos-14.04pre40468.562f937.drv': 1 dependencies couldn't be built
error: build of `/nix/store/dl4slacqws27csfqjcjyfg8zzwvwjijg-nixos-14.04pre40468.562f937.drv' failed


More information about the nix-dev mailing list