From owner-freebsd-haskell@freebsd.org Wed Jan 9 08:36:16 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 05B9B149B367 for ; Wed, 9 Jan 2019 08:36:16 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0A1F0734D1 for ; Wed, 9 Jan 2019 08:36:15 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-pf1-x432.google.com with SMTP id r136so3319041pfc.6 for ; Wed, 09 Jan 2019 00:36:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=bFPgRmC4HXy/+lI7LpFgBQIiBJhGVHmvuBbiYUb9LLs=; b=jjiVlqsNQ/pOhbZntqnrhe/61aoar742hsoL+dpUMcAE6XuCYYdmecoNjQ0HPYLu4R y9fZHyoHZp0/Ecsiv1oQhibKyiJ1FY+/H/SOjj7bWHZLn38HBGCGrjL2yzG/oOY52zMh oojFjXXw8a7kH+Yrmoiowb11OeqCWPveJm0lULNKpehAxfPOaoCxaGcdVpok9JiXMHeM Yp+7Qrer9iOUp8ZXHztdJxhf2V/QGTwKtEve3WgLa7N+8YbVw1bwhs9c2Wd8HLHafcs4 IbnT31xcrr+rZfwPVbK+BlknfIVYwtvs081WSJTVOJk8S3SJ2bnIfroLS65v5SrYU5nL px+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=bFPgRmC4HXy/+lI7LpFgBQIiBJhGVHmvuBbiYUb9LLs=; b=YqGHPHTfdJmUkDQNAU9KjRCC0DRvn3i3plSG0WLDX4hq8k+3Itt1vF5AFPNqojW90i +vbBAph0oec85ySbp7qIuZyQPfy3ikhIXUx6b0htb5AVbYhT6ONS8fXFYuAFy14JLy1q Io6rv0CmugBZtE16S83xW+XWLYZAwIEbxjy5zNyRVT7Vhu6z6Wm8TgW9l3TyDsNtywqn /OgDW41597oTKOTueerHUwzmekEgX1BXy5iTovFqHnew92lUJB8VQXAXYRvsKZTDAbP0 BKB7p4/bu95DvbaHUC1m2MInvxcclfyGSSZvCDTD1G/H5F9ukFvgJneAt8cdkxAXGqHx ycjA== X-Gm-Message-State: AJcUukelH+CH6QuZj9g6v21c0WEE8mpcCKPlm4TyjPAExrdWaksitt2d Ss5CWXI9SHpgt2Dt/UhBRDDz8SJRg7TQ6mNkIIYzuR37 X-Google-Smtp-Source: ALg8bN5+9hTfdh11Eb8+G4VqivSjR/ARHjOAK60AyV+jZRZ1dUKtne8MO9s+8DVZ4GylUuX8COadi72TfJ7x3wjSCcU= X-Received: by 2002:a62:3141:: with SMTP id x62mr5035950pfx.12.1547022973476; Wed, 09 Jan 2019 00:36:13 -0800 (PST) MIME-Version: 1.0 References: <864laiam65.fsf@bayne.id.au> <20190109074209.GV79754@straasha.imrryr.org> In-Reply-To: <20190109074209.GV79754@straasha.imrryr.org> From: Gleb Popov <6yearold@gmail.com> Date: Wed, 9 Jan 2019 12:35:47 +0400 Message-ID: Subject: Re: Unable to build git-annex To: freebsd-haskell@freebsd.org X-Rspamd-Queue-Id: 0A1F0734D1 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=jjiVlqsN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 2607:f8b0:4864:20::432 as permitted sender) smtp.mailfrom=6yearold@gmail.com X-Spamd-Result: default: False [-6.45 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-haskell@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-2.47)[ip: (-8.31), ipnet: 2607:f8b0::/32(-2.25), asn: 15169(-1.71), country: US(-0.08)]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 08:36:16 -0000 On Wed, Jan 9, 2019 at 11:44 AM Viktor Dukhovni 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.