Skip to content

Instantly share code, notes, and snippets.

@rrnewton
Last active May 4, 2016 13:41
Show Gist options
  • Save rrnewton/bc5f960e22eec04bde52e8073b71df46 to your computer and use it in GitHub Desktop.
Save rrnewton/bc5f960e22eec04bde52e8073b71df46 to your computer and use it in GitHub Desktop.
$ make build-nix
stack build
bindings-DSL-1.0.23: configure
bindings-DSL-1.0.23: build
bindings-DSL-1.0.23: copy/register
bindings-libffi-0.3: configure
bindings-libffi-0.3: build
bindings-libffi-0.3: copy/register
bindings-hpx-0.1: configure
bindings-hpx-0.1: build
Progress: 3/4
-- While building package bindings-hpx-0.1 using:
/home.local/rrnewton/.stack/setup-exe-cache/x86_64-linux-nix/setup-Simple-Cabal-1.22.5.0-ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-1.22.
5.0 build lib:bindings-hpx --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
Logs have been written to: /home.local/rrnewton/working_copies/crest/haskell-hpx/.stack-work/logs/bindings-hpx-0.1.log
Configuring bindings-hpx-0.1...
Preprocessing library bindings-hpx-0.1...
.stack-work/dist/x86_64-linux-nix/Cabal-1.22.5.0/build/Bindings/HPX_hsc_make: error while loading shared libraries: libhwloc.so.5: cannot open shared object $ile: No such file or directory
running .stack-work/dist/x86_64-linux-nix/Cabal-1.22.5.0/build/Bindings/HPX_hsc_make failed (exit code 127)
command was: .stack-work/dist/x86_64-linux-nix/Cabal-1.22.5.0/build/Bindings/HPX_hsc_make >.stack-work/dist/x86_64-linux-nix/Cabal-1.22.5.0/build/Bindings/H$X.hs
make: *** [build-nix] Error 1
$ make build-manual
nix-shell --pure -I "nixpkgs=https://github.com/iu-parfunc/nixpkgs/archive/tag-hpx-2.2.0-nixpkgs-16.03.tar.gz" shell.nix --run "stack build --no-nix"
bindings-DSL-1.0.23: configure
bindings-DSL-1.0.23: build
bindings-DSL-1.0.23: copy/register
bindings-libffi-0.3: configure
bindings-libffi-0.3: build
bindings-libffi-0.3: copy/register
bindings-hpx-0.1: configure
bindings-hpx-0.1: build
bindings-hpx-0.1: copy/register
haskell-hpx-0.1: configure
Configuring haskell-hpx-0.1...
haskell-hpx-0.1: build
Preprocessing library haskell-hpx-0.1...
[1 of 2] Compiling Foreign.HPX.Types ( src/Foreign/HPX/Types.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Foreign/HPX/Types.o )
[2 of 2] Compiling Foreign.HPX ( src/Foreign/HPX.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Foreign/HPX.o )
In-place registering haskell-hpx-0.1...
haskell-hpx-0.1: copy/register
Installing library in
/home.local/rrnewton/working_copies/crest/haskell-hpx/.stack-work/install/x86_64-linux/lts-5.9/7.10.3/lib/x86_64-linux-ghc-7.10.3/haskell-hpx-0.1-4tstfxdIGYsKJ9gyaEZI1Y
Registering haskell-hpx-0.1...
Completed 4 action(s).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment