New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account fails on FreeBSD 12.0-current #709

simonmichael opened this Issue Feb 17, 2018 · 3 comments


None yet
3 participants

simonmichael commented Feb 17, 2018

The stack and/or ghc downloaded by the installer don't yet work with 12-current, see commercialhaskell/stack#3515 . And freebsd's stack is too old to work.

--  While building custom Setup.hs for package base-compat-0.9.3 using:
      /usr/home/jungle/.stack/setup-exe-cache/x86_64-freebsd/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-freebsd/Cabal- configure --with-ghc=/usr/home/jungle/.stack/programs/x86_64-freebsd/ghc-8.2.2/bin/ghc --with-ghc-pkg=/usr/home/jungle/.stack/programs/x86_64-freebsd/ghc-8.2.2/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/usr/home/jungle/.stack/snapshots/x86_64-freebsd/lts-10.5/8.2.2/pkgdb --libdir=/usr/home/jungle/.stack/snapshots/x86_64-freebsd/lts-10.5/8.2.2/lib --bindir=/usr/home/jungle/.stack/snapshots/x86_64-freebsd/lts-10.5/8.2.2/bin --datadir=/usr/home/jungle/.stack/snapshots/x86_64-freebsd/lts-10.5/8.2.2/share --libexecdir=/usr/home/jungle/.stack/snapshots/x86_64-freebsd/lts-10.5/8.2.2/libexec --sysconfdir=/usr/home/jungle/.stack/snapshots/x86_64-freebsd/lts-10.5/8.2.2/etc --docdir=/usr/home/jungle/.stack/snapshots/x86_64-freebsd/lts-10.5/8.2.2/doc/base-compat-0.9.3 --htmldir=/usr/home/jungle/.stack/snapshots/x86_64-freebsd/lts-10.5/8.2.2/doc/base-compat-0.9.3 --haddockdir=/usr/home/jungle/.stack/snapshots/x86_64-freebsd/lts-10.5/8.2.2/doc/base-compat-0.9.3 --dependency=base=base- --dependency=unix=unix-
    Process exited with code: ExitFailure 1
    Logs have been written to: /usr/home/jungle/.stack/global-project/.stack-work/logs/base-compat-0.9.3.log

    Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2: No cabal file found.
    Please create a package description file <pkgname>.cabal

One possible workaround for freebsd 12 users:



This comment has been minimized.

myfreeweb commented Feb 17, 2018

I have a patch that updates ports to ghc 8.2.1 (and probably breaks some hs- ports) myfreeweb/freebsd-ports-dank@475ac1b should upgrade that to 8.2.2 but didn't have time to do so


This comment has been minimized.


jungle-boogie commented Feb 19, 2018

I've also gotten hledger to build with this on 11.1:
stack --system-ghc --install-ghc --stack-yaml stack8.0.yaml install

when haskell files change, will I need to run the same build line above?


This comment has been minimized.


simonmichael commented Sep 7, 2018

Update: although I don't see a response to this, FreeBSD's stack was updated in June. Could someone on FreeBSD 12 retest (with and without stack already installed) and report the latest status ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment