From owner-freebsd-haskell@freebsd.org Wed Jan 9 06:41:37 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 12F05149887C for ; Wed, 9 Jan 2019 06:41:37 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DCF776FE15 for ; Wed, 9 Jan 2019 06:41:35 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 9D451149887B; Wed, 9 Jan 2019 06:41:35 +0000 (UTC) Delivered-To: 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 78BE4149887A for ; Wed, 9 Jan 2019 06:41:35 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) (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 02F5E6FE13 for ; Wed, 9 Jan 2019 06:41:34 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-pf1-f171.google.com with SMTP id u6so3172012pfh.11 for ; Tue, 08 Jan 2019 22:41:34 -0800 (PST) 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:cc; bh=6aCCKzq7iELX0ayD4w9zPHJfS2KlgW2iJUXN9zPgHL8=; b=GBLuAZ5L7/gA0y/qnJW36tBix5dejgzHrwCeAV2CK93XwINdJG2GwghO40DhpzbA5q zkONpO6yKlhngVlOwZIVSotUyFWmDX0461OxWzcKOLwPpRYoF6nB42eAXRQXO0CZEYZ6 muZsUmboiCVi8oi6VG87LkEYUqlN1SxIYk7rIiIVMBv9m2pH4OYzoqvCm/wqv4zPP0hg ksQD3rBntOsy5ZYYxL2Xsk7SWmKT2eZrZ0yIaylJVfsUSSQfKnK67UAnVE0O7KfCg2jq E1XHE/Ui6utMhlHuuN/jTvNvonzUtfrdyyIsavau5bwQrSBS7D74Dn9998tsVMHrKmfp wmEw== X-Gm-Message-State: AJcUukc2RNqKweZOYDp2+lvfhPccTaGm/ZoY9qkUSRHsqvEd/qf54WMf fmsH1ueQciy9Joc2vR5c3j1n4/k4qXg= X-Google-Smtp-Source: ALg8bN7kAs98pj6AquaoVUS7onkJiHwS/yxNsPn3BQ3AHHU2hViDAm7s13bUqxtBMCyrUQ3NGCPkxA== X-Received: by 2002:a62:6dc7:: with SMTP id i190mr4783148pfc.166.1547016088279; Tue, 08 Jan 2019 22:41:28 -0800 (PST) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com. [209.85.214.170]) by smtp.gmail.com with ESMTPSA id v9sm101886136pfe.49.2019.01.08.22.41.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Jan 2019 22:41:27 -0800 (PST) Received: by mail-pl1-f170.google.com with SMTP id e11so3119028plt.11 for ; Tue, 08 Jan 2019 22:41:27 -0800 (PST) X-Received: by 2002:a17:902:aa8c:: with SMTP id d12mr4909300plr.25.1547016086998; Tue, 08 Jan 2019 22:41:26 -0800 (PST) MIME-Version: 1.0 References: <864laiam65.fsf@bayne.id.au> In-Reply-To: <864laiam65.fsf@bayne.id.au> From: Gleb Popov Date: Wed, 9 Jan 2019 10:41:00 +0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Unable to build git-annex To: Duncan Bayne Cc: haskell@freebsd.org X-Rspamd-Queue-Id: 02F5E6FE13 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-7.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-1.00)[-0.999,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,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 06:41:37 -0000 On Wed, Jan 9, 2019 at 1:12 AM Duncan Bayne wrote: > Hi, > > 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. > > > https://git-annex.branchable.com/bugs/Can__39__t_compile_on_FreeBSD__58___alex__44___StateVar__44___SafeSemaphore__44___IfElse_fail/?updated > > This _used_ to work on 11.2 so part of me suspects (l)user error on my > part as the cause :) > > The (abridged) errors are: > > IfElse-0.85: configure > SafeSemaphore-0.10.1: configure > StateVar-1.1.1.1: configure > alex-3.2.4: configure > > -- While building custom Setup.hs for package alex-3.2.4 using: > Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.4: No cabal file found. > Please create a package description file .cabal > > -- While building custom Setup.hs for package StateVar-1.1.1.1 using: > Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.4: No cabal file found. > Please create a package description file .cabal > > > -- While building custom Setup.hs for package SafeSemaphore-0.10.1 using: > Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.4: No cabal file found. > Please create a package description file .cabal > > -- While building custom Setup.hs for package IfElse-0.85 using: > Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.4: No cabal file found. > Please create a package description file .cabal > > Versions of things are: > > + FreeBSD 12.0-RELEASE r341666 GENERIC amd64 > + Stack 1.7.1 x86_64 > + GHC 8.4.3. > This is indeed our problem. It is described here https://github.com/commercialhaskell/stack/issues/3515 and should have even be fixed in stack 1.9.3, but unfortunately I didn't ask for merge into stable branch. So, if you use development stack version, you should be able to build git-annex successfully. Another solution is to just wait a little bit more - I'm converting the way our hs-ports are built by switching to new-cabal machinery. This would allow us to drop much of hs-* ports and build Haskell applications much faster. > -- > Duncan Bayne > +61 420 817 082 | https://duncan.bayne.id.au/ > > I usually check my mail every 24 - 48 hours. If there's something > urgent going on, please send me an SMS or call me. > _______________________________________________ > 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" >