From owner-freebsd-haskell@freebsd.org Wed Jan 9 07:42:14 2019 Return-Path: Delivered-To: freebsd-haskell@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 887681499E9B for ; Wed, 9 Jan 2019 07:42:14 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org) Received: from straasha.imrryr.org (straasha.imrryr.org [100.2.39.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C4DB718E7 for ; Wed, 9 Jan 2019 07:42:10 +0000 (UTC) (envelope-from ietf-dane@dukhovni.org) Received: by straasha.imrryr.org (Postfix, from userid 1001) id 3F0CB152FA; Wed, 9 Jan 2019 02:42:09 -0500 (EST) Date: Wed, 9 Jan 2019 02:42:09 -0500 From: Viktor Dukhovni To: freebsd-haskell@freebsd.org Subject: Re: Unable to build git-annex Message-ID: <20190109074209.GV79754@straasha.imrryr.org> Reply-To: freebsd-haskell@freebsd.org References: <864laiam65.fsf@bayne.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <864laiam65.fsf@bayne.id.au> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 2C4DB718E7 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.961,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2019 07:42:14 -0000 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.