From owner-freebsd-haskell@freebsd.org Wed Oct 2 10:54:13 2019 Return-Path: Delivered-To: freebsd-haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 74CB712B286 for ; Wed, 2 Oct 2019 10:54:13 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46jtLD49ZSz4FKC for ; Wed, 2 Oct 2019 10:54:12 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-pg1-x52b.google.com with SMTP id c17so11657598pgg.4 for ; Wed, 02 Oct 2019 03:54:12 -0700 (PDT) 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=2/xDrm1DgwZNp7nAWxXnWxrtswZQ0eYPw4kBTKGrxVY=; b=IgVPfmC6iyu6ELxHEJLEkIs5BhVD/YgPTN4H49gK9+98U+JAih8W+PSyjoZLBO3+YR 2QTfpDhPEjfI6nhLmUhWi/zFhJwG4kRyZiCBD2kdmL2p2PBZOqOMWF7Y88fFA6TUPT+5 83dk2mrnkqVxvLri5jpH8Ug/zyinxKMfE8ZLAkaaJILvrMaH3U1IrLTLxoAze/cpgKtY msIGpgKJsNwN+qv6LhNf5zFsBh4064Su8yj1IBbyOSAWJoyazzmmp19MOGp4XJoswoSF FKB6yVUGTpDeXvW4s7KJpDa3m08TI38+H/0tXG+1ukOW49XETKaPK4V323BN0PHOF/xB jcPw== 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=2/xDrm1DgwZNp7nAWxXnWxrtswZQ0eYPw4kBTKGrxVY=; b=jcrURLp4iPwqS4/zkYixuxzHw8e5BSasennDu4RhDBYny4+/3yTe/b+7U+/eKrMWcm vD/LgyEWZY1822rMQ7N8g/QgcTJZKRNWDGnnSq0T80AduLrjuAJFr+UDdshtkqFcGtwg d2PuzmM5d16bUFRRd2rbqzk9kgsZw7wvwFv7pnJEfqIUEwsYjJLa4ZCqAAW8LGHvLQR/ YjMvt4DE8g0e5NfTuYYq3TwGh0/b4H0+HplUo2N6honLFE14XXTsWl7ncAyxZf1/cZJB tHA2JB5Ut8du31667SftEMwWHqK8SLRgD3eeUFShN6XrBm/qZRq6yORBaNN9ajJJFteP /Yag== X-Gm-Message-State: APjAAAWuv7BGu/5m03D/E0e2otbkia+5ASZnPy9Mfv7Dekz1C7NXomYk NbWjzZq0CWczo2UW+u3sgyiaoOf4bORVkyJx9lv5Wf4/3eI= X-Google-Smtp-Source: APXvYqyug/kC3T5Uvd0s6jKQZIVHmg4+/DnhvzeU4/D+IW4+/aDvIiwGtHNwCavdcfJ3EBY7ZwFMGY03eOZQeDWz4vI= X-Received: by 2002:aa7:9ab5:: with SMTP id x21mr3868653pfi.252.1570013650624; Wed, 02 Oct 2019 03:54:10 -0700 (PDT) MIME-Version: 1.0 References: <20190929234421.GH21772@straasha.imrryr.org> <20190930054031.GL21772@straasha.imrryr.org> <20190930175834.GQ21772@straasha.imrryr.org> In-Reply-To: <20190930175834.GQ21772@straasha.imrryr.org> From: Gleb Popov <6yearold@gmail.com> Date: Wed, 2 Oct 2019 14:53:44 +0400 Message-ID: Subject: Re: Anyone working on adding a GHC 8.8.1 port? To: freebsd-haskell@freebsd.org X-Rspamd-Queue-Id: 46jtLD49ZSz4FKC X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=IgVPfmC6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 2607:f8b0:4864:20::52b as permitted sender) smtp.mailfrom=6yearold@gmail.com X-Spamd-Result: default: False [-2.00 / 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:c]; 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)[]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; SUBJECT_ENDS_QUESTION(1.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)[b.2.5.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]; IP_SCORE(0.00)[ip: (-8.49), ipnet: 2607:f8b0::/32(-2.57), asn: 15169(-2.16), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; 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, 02 Oct 2019 10:54:13 -0000 On Mon, Sep 30, 2019 at 9:58 PM Viktor Dukhovni wrote: > On Mon, Sep 30, 2019 at 12:24:25PM +0400, Gleb Popov wrote: > > > > Thanks! For GHC 8.8.1 itself, I had to apply the patch below to > > > get it to to build. That said, "stack" does not yet support GHC > > > 8.8.1 on FreeBSD it seems, so my projects must wait for that shoe > > > to drop. Have not yet tried to do anything with cabal-install. > > > > > > --- a/libraries/base/System/Environment/ExecutablePath.hsc > > > +++ b/libraries/base/System/Environment/ExecutablePath.hsc > > > @@ -39,6 +39,7 @@ import Foreign.Marshal.Array > > > import Foreign.Ptr > > > import Foreign.Storable > > > import System.Posix.Internals > > > +#include > > > #include > > > #elif defined(mingw32_HOST_OS) > > > import Control.Exception > > > > > And I also had to turn off "dtrace" support in my build.mk file: > > HaveDtrace = NO > > Without that I got a linker error when a bunch of .o files were > being relinked for some dtrace-related reason. > > > I'll try to prepare stack bindists of 8.8.1 on this week, if you need > > those. I just thought that 8.8.1 is too bleeding-edge and most packages > > aren't prepared for base 4.13. > > No rush, I can wait until stack has upstream support for GHC 8.8.1 > on FreeBSD. Just noticed that the nightlies are now using 8.8.1, > and thought it might be time to start getting ready. > I have created a pull request adding 8.8.1 bindists: https://github.com/commercialhaskell/stackage-content/pull/69 Once this is merged, stack should support nightly snapshots on FreeBSD. > > I also had no need in the patch you provided. Why did you have to add it? > > Any error messages? > > The error was about "u_int" (used in sysctl.h) being an unknown > type when compiling that file. I'm using FreeBSD 12.0. > > -- > 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" >