~/code/haskell/diagrams/diagrams-ghcjs$ sb -j1 data-default-0.5.3: configure data-default-0.5.3: build data-default-0.5.3: copy/register ghcjs-dom-0.2.3.0: configure ghcjs-dom-0.2.3.0: build ghcjs-dom-0.2.3.0: copy/register ghcjs-jquery-0.1.0.0: configure ghcjs-jquery-0.1.0.0: build ghcjs-jquery-0.1.0.0: copy/register semigroups-0.16.2.2: configure semigroups-0.16.2.2: build semigroups-0.16.2.2: copy/register tagged-0.8.2: configure tagged-0.8.2: build tagged-0.8.2: copy/register bifunctors-5.1: configure Progress: 6/32 -- While building package bifunctors-5.1 using: /Users/erik/.stack/setup-exe-cache/setup-Simple-Cabal-1.22.4.0-x86_64-osx-ghcjs-0.2.0.20151029_ghc-7.10.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-1.22.4.0_ghcjs configure --with-ghc=/usr/local/bin/ghc --with-ghc-pkg=/usr/local/bin/ghc-pkg --with-ghcjs=/Users/erik/.stack/programs/x86_64-osx/ghcjs-0.2.0.20151029_ghc-7.10.2/bin/ghcjs --with-ghcjs-pkg=/Users/erik/.stack/programs/x86_64-osx/ghcjs-0.2.0.20151029_ghc-7.10.2/bin/ghcjs-pkg --user --package-db=clear --package-db=global --package-db=/Users/erik/.stack/snapshots/x86_64-osx/ghcjs-0.2.0.20151029_ghc-7.10.2/ghcjs-0.2.0.20151029_ghc-7.10.2/pkgdb --package-db=/Users/erik/code/haskell/diagrams/diagrams-ghcjs/.stack-work/install/x86_64-osx/ghcjs-0.2.0.20151029_ghc-7.10.2/ghcjs-0.2.0.20151029_ghc-7.10.2/pkgdb --libdir=/Users/erik/code/haskell/diagrams/diagrams-ghcjs/.stack-work/install/x86_64-osx/ghcjs-0.2.0.20151029_ghc-7.10.2/ghcjs-0.2.0.20151029_ghc-7.10.2/lib --bindir=/Users/erik/code/haskell/diagrams/diagrams-ghcjs/.stack-work/install/x86_64-osx/ghcjs-0.2.0.20151029_ghc-7.10.2/ghcjs-0.2.0.20151029_ghc-7.10.2/bin --datadir=/Users/erik/code/haskell/diagrams/diagrams-ghcjs/.stack-work/install/x86_64-osx/ghcjs-0.2.0.20151029_ghc-7.10.2/ghcjs-0.2.0.20151029_ghc-7.10.2/share --libexecdir=/Users/erik/code/haskell/diagrams/diagrams-ghcjs/.stack-work/install/x86_64-osx/ghcjs-0.2.0.20151029_ghc-7.10.2/ghcjs-0.2.0.20151029_ghc-7.10.2/libexec --sysconfdir=/Users/erik/code/haskell/diagrams/diagrams-ghcjs/.stack-work/install/x86_64-osx/ghcjs-0.2.0.20151029_ghc-7.10.2/ghcjs-0.2.0.20151029_ghc-7.10.2/etc --docdir=/Users/erik/code/haskell/diagrams/diagrams-ghcjs/.stack-work/install/x86_64-osx/ghcjs-0.2.0.20151029_ghc-7.10.2/ghcjs-0.2.0.20151029_ghc-7.10.2/doc/bifunctors-5.1 --htmldir=/Users/erik/code/haskell/diagrams/diagrams-ghcjs/.stack-work/install/x86_64-osx/ghcjs-0.2.0.20151029_ghc-7.10.2/ghcjs-0.2.0.20151029_ghc-7.10.2/doc/bifunctors-5.1 --haddockdir=/Users/erik/code/haskell/diagrams/diagrams-ghcjs/.stack-work/install/x86_64-osx/ghcjs-0.2.0.20151029_ghc-7.10.2/ghcjs-0.2.0.20151029_ghc-7.10.2/doc/bifunctors-5.1 --dependency=base=base-4.8.0.0-a3a3ebe3085e9d11c37cceba58a4365f --dependency=containers=containers-0.5.6.3-0f9a9cbaac3b963212506044f330e716 --dependency=semigroups=semigroups-0.16.2.2-bcd7c070e97cc484239da17ad16606ef --dependency=tagged=tagged-0.8.2-e3f6ee93438f0499c85aa674d14c3cc0 --dependency=template-haskell=template-haskell-2.10.0.0-4a14865506a288db83640d5902bbf74e --ghcjs Process exited with code: ExitFailure 1 Logs have been written to: /Users/erik/code/haskell/diagrams/diagrams-ghcjs/.stack-work/logs/bifunctors-5.1.log Configuring bifunctors-5.1... setup-Simple-Cabal-1.22.4.0-x86_64-osx-ghcjs-0.2.0.20151029_ghc-7.10.2: The program 'ghcjs-pkg' is required but the version of /Users/erik/.stack/programs/x86_64-osx/ghcjs-0.2.0.20151029_ghc-7.10.2/bin/ghcjs-pkg could not be determined.