From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32757 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Unable to build pandoc on M1 Mac Date: Wed, 7 Jun 2023 09:42:02 -0700 Message-ID: <533BEC57-D926-4B73-82E5-4075A4F7C06A@gmail.com> References: <944413bc-ca01-4e12-90bc-94932f0f0ce1n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30997"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBXXGQKSAMGQECY7ZA4I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jun 07 18:42:10 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f188.google.com ([209.85.128.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q6wEc-0007tT-Eb for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 07 Jun 2023 18:42:10 +0200 Original-Received: by mail-yw1-f188.google.com with SMTP id 00721157ae682-568bc5db50dsf17552067b3.0 for ; Wed, 07 Jun 2023 09:42:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686156129; cv=pass; d=google.com; s=arc-20160816; b=UMvGHvHnmoerjPO1v9ffs3EhgzAX8+iV7Sdfl6IGrSLhu6SuUYOnLKb3KiaP4mB4Cj 4V/OD1W0f2ar7QdV0GQ0OFxJQ96FyTvoCq45H8Ke3FlPFprAF0pVOUcxPcuAcG1YkZ0D fGf91xKVJu9ShGzDLzLpNSCHAZ9iqTE+2VHgUlvG/MziKZX+imTdIVJFElSDRI7XK7yR bgFMUHs+ShQAuV7sa2w6jdfDfLWW7YR6TDqXvTcYibAS9pEu7mEgDvu+LbCteHq00R6K A3iQf7SyuyA5N1CsWyU4myAy24trNruV7vPEJ4i5eRtg4LWTwKWuTHcYBMCcfIt6pf8r w1ow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=Z7lfSg1gGk8FAA1fznb5HbUCWAOml0TmohN3mhR1oRc=; b=JEV/2F75WHdkPBK4JjkNWpyJHfhK4k/UXtd0ENKUA053xtMWhOpbqf1obqqs4bAXDS nu6HVnwxqUMKSX0S7AElkaQMxvhZuEoDrd88/y6GifyX44H6Jw018WfSacrF/443ydCh T8I1BaTLDu/thPzBxcMnpw4MoY+LNhwONHRycTH6799Co8qqFcUGaRwco/WhU7Y2i99a CS6VjyPieXAuZt8M7IhFkPnocqVh2f6ZMfVIt5+HNQ1yWXv+byV+0cjOr9O1hI6e2pYr jHWZVLzXBnGmVE9LcZsN4OKpDKXPB7w2t7fhPuncI8I403Sw6Uj03KkZHKhoJjqB6L3t NuYw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="fdjgYZE/"; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42c as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1686156129; x=1688748129; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=Z7lfSg1gGk8FAA1fznb5HbUCWAOml0TmohN3mhR1oRc=; b=SHemfoIddpUW5IX2ZfzsIrCkOh7PWVjRqcMNFzsZOibROggNWIUG/mZIOJ69T578W0 5ggE4kRlrTi2eSVnOlyJyMdcP/hHHnuNJbt6K5rGgL0Ejzz2mzgtRPz8WqIAJsOlOsNz gGU15cuESlfRT8Q7nLkHmXwk8SeRmcVODMbIOhy7F0bkiYEmR6B3yWerTSWrfNw1HwIJ lwdNpvdXr0kH2z30TBjsVtsvYESSucTxr5zGXwbUyUe5y8+rF8P4SNFU1CJVIuEcum2I 24BOLqC6PKVhUIHrYC/Hr4d/ZeUDGXIgU5cCi DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686156129; x=1688748129; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=Z7lfSg1gGk8FAA1fznb5HbUCWAOml0TmohN3mhR1oRc=; b=EOcW9sPdvI2Md2YehSecYH6B+pRLE/Re1EPMOXtq2MJvj0jCM7/EOF1iroLi8Njr25 V5zVsbTsRW2+UUiSId2g03ClSPqcQcRRWOPzLBi7SltFT8lVLrOXip+YhiRVtrGPBp0i rYJWlIN4gqlVCj/zdN95ECyFvO/1e5dzg/bsKeOj3yEKHYhTIY7qGx5N74kogx65OLCe m+3V4gV/UaI7Qi34Tsj+9nO85cOQYT4TXu3s2lFFJ9RYiCzcd/Zjh4k9wu7pfLnzXUXs 5PYezqfZoPQcthXNKqdI7wfCD5eThhrWuPTlgVUIMuZUOVQgSXS X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686156129; x=1688748129; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=Z7lfSg1gGk8FAA1fznb5HbUCWAOml0TmohN3mhR1oRc=; b=VDWwlDN+ArMQXqsIXASuEFPCo5qZ6TTWg85gJblOY52dfpY4jwa664rzLGmRkfxE8a 7qU143aogNccXz0UmRxdn7+0Dm7tDsY6yqiUyiNwyL8RO8RWcNr2IMIt5r5CqbBuFK/7 vfSF6T3pZoU3BogQfMu6K4Gpdw1NNawV17JOzL4wb/jAAEf46ituNlnRzfstLbiVswLF rsAQYIP57Bv2Iufb56acvMioyoxuwWU854u2Zz1ssFJ01GvFypvpEeVHuv Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDyzcrXVJBa/UQNRJv/bI+0gp6uYmmkjO4vt3Dvy9M7SeV88AT07 vNT15laJM/xZMeQz1bvt+4A= X-Google-Smtp-Source: ACHHUZ77cKbQT/7EFaICDyG0xTLRIrGZ4Cf28T8o6+JJkchRHzN+nT9bde8g9ZOt25dkIJk1NM2e9A== X-Received: by 2002:a25:a45:0:b0:b9d:88a7:dbf with SMTP id 66-20020a250a45000000b00b9d88a70dbfmr20137502ybk.4.1686156129335; Wed, 07 Jun 2023 09:42:09 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:e706:0:b0:bad:5b4:fe9d with SMTP id e6-20020a25e706000000b00bad05b4fe9dls8978ybh.1.-pod-prod-00-us; Wed, 07 Jun 2023 09:42:05 -0700 (PDT) X-Received: by 2002:a0d:d585:0:b0:564:fb0a:abe9 with SMTP id x127-20020a0dd585000000b00564fb0aabe9mr18062256ywd.22.1686156125882; Wed, 07 Jun 2023 09:42:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686156125; cv=none; d=google.com; s=arc-20160816; b=ro8376zL7fLmthv1ZYfbaqGkizb2YIxjTVIe0YEnUKRFSniBpuHGsPMnbZZBwfPevF qPtpopPwpPbNmss/uDTAC0ec3FFADmJfGRMxVpT2y3DvseHPG0RzCfVnkyAIHkJYtgg0 Iyiq6JBL3f6V2tl1V9ITl88/FNwBxsYqsbVVZoAvRc/1fdxC3cDCH61UKhXuiIECk9y6 yj16nUZQyd5OAWJj6eAkDwxWvpU6EPqRCMFXiGWP/YgtRVAte37lyPY7DdP8SfrEnLFe WGee3EAA8jqLT41OHCZxKn6XKXit1jsRzW1KPUuOFlBBEGUKphf+eDHaoylexTW+BNX8 iX9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=Fn/PqoRw0lKnlPS47jjSA08PqRTa9YjlXieqzgcccSg=; b=Nc5ayAS4KY5qtWTZzwiC3KemYvCdVbDMfbwM+SV5RMIJtmbVWt5Yan6VKOjJ0kYG7J 9+jFRqrXBR66uYHkRlUjPaHMlXdeAl5AHCwbcpnPnloJjc8IrBWfUyh8rIyhmy+4ozOg FDx29WDw2QMRPaOzHYIs0FhA6ZEe0bPcocjU5IdwmOKJofNqQoRuMG6dXPSDZbzTb5TL WqIHjMM4/Pi9Pvr4tJ772K7hlDQ25Nbe7MvzCHkK5l7A9ZbnwxxBCBQCs00E2xpX63fE CremqT69Z6Dx7z7ixL8dQggTTmtWx0aF4xhejFR/Yy8nV/k14MNFdL7ExnxXraoZ60f1 wNZQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="fdjgYZE/"; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42c as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com. [2607:f8b0:4864:20::42c]) by gmr-mx.google.com with ESMTPS id ei14-20020a05690c2a0e00b00568d9e60e69si1333146ywb.2.2023.06.07.09.42.05 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Jun 2023 09:42:05 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42c as permitted sender) client-ip=2607:f8b0:4864:20::42c; Original-Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-662f0feafb2so70251b3a.1 for ; Wed, 07 Jun 2023 09:42:05 -0700 (PDT) X-Received: by 2002:a05:6a20:7346:b0:10a:eea0:6987 with SMTP id v6-20020a056a20734600b0010aeea06987mr4077218pzc.26.1686156124509; Wed, 07 Jun 2023 09:42:04 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:4701:23f0:f061:5cc2:a0af:c092]) by smtp.gmail.com with ESMTPSA id v11-20020a63480b000000b0053f22b76cdcsm9261796pga.82.2023.06.07.09.42.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Jun 2023 09:42:04 -0700 (PDT) In-Reply-To: <944413bc-ca01-4e12-90bc-94932f0f0ce1n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="fdjgYZE/"; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42c as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:32757 Archived-At: This is due to the recent fork of cryptonite -> crypton. The cure, for now, is to add this to cabal.project: constraints: tls < 1.7 Hopefully downstream packages will be updated soon and we can remove the co= nstraint. > On Jun 7, 2023, at 2:40 AM, krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: >=20 > Dear pandoc mailing list, >=20 > I seem to be unable to build pandoc on a M1 MacOS. >=20 > I have setup haskell with `ghcup`, tried all permutations of: >=20 > cabal versions: 3.6.2.0 ; 3.8.1.0 ; 3.10.1.0 > ghc versions: 9.2.8 ; 9.4.4 ; 9.6.1 >=20 > I am always getting the same error: >=20 > ``` > Warning: connection.cabal:26:36: version operators used. To use version > operators the package needs to specify at least 'cabal-version: >=3D 1.8'= . > Configuring connection-0.3.1... > Preprocessing library for connection-0.3.1.. > Building library for connection-0.3.1.. > [1 of 2] Compiling Network.Connection.Types ( Network/Connection/Types.hs= , dist/build/Network/Connection/Types.o, dist/build/Network/Connection/Type= s.dyn_o ) > [2 of 2] Compiling Network.Connection ( Network/Connection.hs, dist/build= /Network/Connection.o, dist/build/Network/Connection.dyn_o ) >=20 > Network/Connection.hs:122:43: error: > =E2=80=A2 Couldn't match expected type =E2=80=98crypton-x509-store-1.= 6.9:Data.X509.CertificateStore.CertificateStore=E2=80=99 > with actual type =E2=80=98Data.X509.CertificateStore.Ce= rtificateStore=E2=80=99 > NB: =E2=80=98crypton-x509-store-1.6.9:Data.X509.CertificateStore.Ce= rtificateStore=E2=80=99 > is defined in =E2=80=98Data.X509.CertificateStore=E2=80=99 > in package =E2=80=98crypton-x509-store-1.6.9=E2=80=99 > =E2=80=98Data.X509.CertificateStore.CertificateStore=E2=80=99 > is defined in =E2=80=98Data.X509.CertificateStore=E2=80=99 > in package =E2=80=98x509-store-1.6.9=E2=80=99 > =E2=80=A2 In the =E2=80=98sharedCAStore=E2=80=99 field of a record > In the =E2=80=98clientShared=E2=80=99 field of a record > In the expression: > (TLS.defaultParamsClient (fst cid) portString) > {TLS.clientSupported =3D def > {TLS.supportedCiphers =3D TLS.ciphersu= ite_default}, > TLS.clientShared =3D def > {TLS.sharedCAStore =3D globalCertificateS= tore cg, > TLS.sharedValidationCache =3D validation= Cache}} > | > 122 | { TLS.sharedCAStore =3D globalCertificateStore = cg > | ^^^^^^^^^^^^^^^^^^^^^^^^^ > cabal: Failed to build connection-0.3.1 (which is required by exe:pandoc = from > pandoc-cli-0.1.1). See the build log above for details. > ``` >=20 > It seems to me that with `ghcup`, `cabal` is not picking the right versio= ns of the toolchain. >=20 > How can I fix that? or should I install `pandoc` with `stack`? >=20 > I know that I can install `pandoc` on Mac with `brew`, but so far, instal= ling `pandoc` with `cabal` always worked for me. >=20 > --=20 > You received this message because you are subscribed to the Google Groups= "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/944413bc-ca01-4e12-90bc-94932f0f0ce1n%40googlegroups.com. --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/533BEC57-D926-4B73-82E5-4075A4F7C06A%40gmail.com.