Date: Wed, 9 Jan 2019 12:35:47 +0400 From: Gleb Popov <6yearold@gmail.com> To: freebsd-haskell@freebsd.org Subject: Re: Unable to build git-annex Message-ID: <CALH631nDQQiyymPQhPgCT7eZRE-mBiXuHrpfnB_CO%2Bh0jQgpaA@mail.gmail.com> In-Reply-To: <20190109074209.GV79754@straasha.imrryr.org> References: <864laiam65.fsf@bayne.id.au> <20190109074209.GV79754@straasha.imrryr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 9, 2019 at 11:44 AM Viktor Dukhovni <ietf-dane@dukhovni.org> wrote: > On Wed, Jan 09, 2019 at 08:12:34AM +1100, Duncan Bayne wrote: > > > Firstly thanks for maintaining Haskell on FreeBSD! This has proved very > > helpful to me as I use a couple of Haskell-based tools (shellcheck, > > git-annex) on a regular basis. > > > > I'm currently unable to build git-annex on FreeBSD 12.0; I filed a bug on > > git-annex, but they have closed it claiming it's likely a bug with my > > Haskell toolchain. > > FWIW, I just built git-annex on FreeBSD 12, using GHC 8.6.3 installed > from ports (compined locally, not pre-built) and stack 1.9.3 with > lts-13.2. > > $ git-annex version > git-annex version: 7.20181212-g3126dfd84 > build flags: Assistant Webapp Pairing > S3(multipartupload)(storageclasses) WebDAV Kqueue TorrentParser Feeds > Testsuite > dependency versions: aws-0.21 bloomfilter-2.0.1.0 cryptonite-0.25 > DAV-1.3.3 feed-1.0.1.0 ghc-8.6.3 http-client-0.5.14 persistent-sqlite-2.9.2 > torrent-10000.1.1 uuid-1.3.13 yesod-1.6.0 > key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 > SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 > SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 BLAKE2B256E > BLAKE2B256 BLAKE2B512E BLAKE2B512 BLAKE2B160E BLAKE2B160 BLAKE2B224E > BLAKE2B224 BLAKE2B384E BLAKE2B384 BLAKE2S256E BLAKE2S256 BLAKE2S160E > BLAKE2S160 BLAKE2S224E BLAKE2S224 BLAKE2SP256E BLAKE2SP256 BLAKE2SP224E > BLAKE2SP224 SHA1E SHA1 MD5E MD5 WORM URL > remote types: git gcrypt p2p S3 bup directory rsync web bittorrent > webdav adb tahoe glacier ddar hook external > operating system: freebsd x86_64 > supported repository versions: 5 7 > upgrade supported from repository versions: 0 1 2 3 4 5 6 > > After cloning git-annex, all I had to do was tweak the stack.yaml > file as follows: > > --- a/stack.yaml > +++ b/stack.yaml > @@ -15,10 +15,13 @@ packages: > - '.' > extra-deps: > - IfElse-0.85 > -- aws-0.20 > +- aws-0.21 > - bloomfilter-2.0.1.0 > -- tasty-rerun-1.1.13 > +- magic-1.1 > +- sandi-0.4.3 > +- tasty-rerun-1.1.14 > - torrent-10000.1.1 > explicit-setup-deps: > git-annex: true > -resolver: lts-12.19 > +resolver: lts-13.2 > +system-ghc: true > > -- > Viktor. > _______________________________________________ > freebsd-haskell@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-haskell > To unsubscribe, send any mail to "freebsd-haskell-unsubscribe@freebsd.org" > Right, another way to make stack work is to use `--system-ghc --no-install-ghc`. This way the proper GHC version will be used.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631nDQQiyymPQhPgCT7eZRE-mBiXuHrpfnB_CO%2Bh0jQgpaA>