From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32768 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: Thu, 8 Jun 2023 12:08:56 -0700 Message-ID: References: <944413bc-ca01-4e12-90bc-94932f0f0ce1n@googlegroups.com> <533BEC57-D926-4B73-82E5-4075A4F7C06A@gmail.com> <3fe7da0e-2dcf-4536-9c21-d563d0bcaf9bn@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="32672"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBTGORCSAMGQEWEUFO6Q-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Jun 08 21:09:04 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-il1-f190.google.com ([209.85.166.190]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q7L0K-0008Kh-CX for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 08 Jun 2023 21:09:04 +0200 Original-Received: by mail-il1-f190.google.com with SMTP id e9e14a558f8ab-33d232a2de4sf7224605ab.1 for ; Thu, 08 Jun 2023 12:09:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686251343; cv=pass; d=google.com; s=arc-20160816; b=CSrQGKkFlQbHWP7rhbzkLGt1+tfLYUoOQQWTP5Hy7m3lzk46+fYMzfFO309g2e3cre yQ/7lJSmfDU87AmTHD4Y8/ekfqYna0iPNwDRXBoeHTyZ/5ilRd+fyRHiO3Udh4PrIKWY S6NdHej3RCSNIZ4hEDar1prOLjri3wM2oXQQjtuJ+F8PZFERdlAC+3dGYnQRYNO7ftWZ WPgAS4hyqF21n8nV8QA4D8WnWoAiFL80u4+uKTIrW2QdXOmcJMekLadJ9ioum944iKuL T3NPVkNkKwSS4urs1ZT6LBrbh0anud2MCJE03aD+753cJVX6G3ctrsUp0cUPr51Kv3hI eBnA== 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=KmtFWOYakIdZTn9WCvZYvdDSvMgGaItqWG4GMtsaf0A=; b=MjF2QJ+uQBxTIGyW0sVHHKBa9nL/Vt1ckrftFPwbcpNof3R/5y3DV7PAhIAnVb5ztp P6tEr8Vkn7/nNiPqBjn5HZtOwCg4fOAOW4pEI/kJ2N81ti6Rb55/W7wjl/z/sgm/Cj7S oJZO9SSJzHrOU7vj9KBn0hLhUWUB6+jIRmDtL2O03/q5A8pgtfUCKMNqDu2CCI0HN/JL a5EJdjRxcQM+H2Osy0yD9Jlp+ZlKRlbGGpO1dujHxKOYaE9xPPkF+4VsTPftGJYCm8Iy zaXnIbn7Qt+OhK1crw46OWwQmkshXQ8FRJ1AdUaOKU0RGmXZUwmMvdYYMX25XLDGiVDB ABcw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=k00kESSw; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::632 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=1686251343; x=1688843343; 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=KmtFWOYakIdZTn9WCvZYvdDSvMgGaItqWG4GMtsaf0A=; b=r5xZ+r4Klzzx6DoKTYLx+/MMLq7LOEWtPzENfzBzV6bulH1T4eHULIaXbZXnDHNmLa ZeM16yHCgIQ0TN/BbQyxHWu4e6qk+VFM+qDF0VcnabEfH69ODRtRZhg67YI1WmygNCSh 3Ie/XIHhr8Vj/LpufIaOISmnLam6GG2ZhKaCnKpQiUhCpLaH9HiiXPvm7u45brDalcVW UC0iqbBPCb4Yj29rVXacoRrP5cpUxZnlFfvxHay0Bjd6R6yHaMz2H5edU2j6GJnGO5w/ HOvyDYhRU3A8q9PPfbJOkT3PHa+iq6+8pF2/D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686251343; x=1688843343; 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=KmtFWOYakIdZTn9WCvZYvdDSvMgGaItqWG4GMtsaf0A=; b=sEnnxoWOJTv4ALwIlw5Um3k3mJ8XjP8Ff+uQVcwYzgMczxXFHqtzAmRs2mXlkT9FcU zS4sIyPGqyuNc79NdUk8Qv2OQ2yZpC3o7ve2q07CzhuzrdZNx+U6cNvr91ZZm4O9lHBJ D6d2NOtgTzHlTfviEydB7oZVr6zIm9hwyJ2WZ/FEQzF+bKBlR8Y0FyeOPXRIbko4IPr4 VLpAlFGTKIimpQgqzwKm4O/DqvU98XsskynOiIqbOKf0SKb36ZTiU525S3zapqPTLsYI Nz0iKK1DaRDsiV8fNtI0d7jIvfFz9RXrddbNZPS21Cqxf8bjOm5 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686251343; x=1688843343; 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=KmtFWOYakIdZTn9WCvZYvdDSvMgGaItqWG4GMtsaf0A=; b=UuEk3hi9EsvQ9KsXtrJF83dvql0vVDqvTLrMh/ADAwAXFT6T9emWgvFhtVd9yNYgZ1 O4W07K6gDNGumMJBav34K6VF8PpBqlS7k0Wwj7F0LaRMW5GrYAavBwVqLAHaOjpY909L TFeTSLVGX3W8/5+ktJjQJFO1SI8nczPBDBUY6HPDa6LG/z1kM4ZNvL4sRdRWadGi79rp myrROy3ctdmOd/vkkFeBPZ6mhJhYldUCILRjp6Srb9ep4hPHKDsyhs4aUB Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDySNP+mKH0RUn0Q65E7ecxR5bNS7gBqol4a40VUMPX4ORyBSzL9 od1gvMv+UJfhzBt7AFzFDvQ= X-Google-Smtp-Source: ACHHUZ7JcgERxaPPc+kJi+ss8ZCRTBgH4lpwq2M87iIRGmbvxwhYT5zaJJYZ+Ku8qU8eNsY8RJ/lhg== X-Received: by 2002:a92:dcc5:0:b0:33d:1c2b:b558 with SMTP id b5-20020a92dcc5000000b0033d1c2bb558mr9076864ilr.22.1686251343090; Thu, 08 Jun 2023 12:09:03 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6e02:52c:b0:33b:c1d6:ecd3 with SMTP id h12-20020a056e02052c00b0033bc1d6ecd3ls701948ils.0.-pod-prod-04-us; Thu, 08 Jun 2023 12:09:00 -0700 (PDT) X-Received: by 2002:a92:d68c:0:b0:335:6e5d:afb4 with SMTP id p12-20020a92d68c000000b003356e5dafb4mr8754783iln.24.1686251339967; Thu, 08 Jun 2023 12:08:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686251339; cv=none; d=google.com; s=arc-20160816; b=FTDYwIxFi3VrMeLzTEacxqrBDxA/K5s+W6yyorOfPO2oeC2hnmPYPmkE/2wfalwuB5 nBBwZ8mtB2t8rMAKPyco9Q5K1X8xYKh8zzBB8szrEhFPAJtCIqJ/4qONgn50XDbFT0r8 qQmb9+8eMme5l98paKOOwdGU+xT70hHk3mZs18lyNirFeFBq0WU93+Gla7fnDAUFOIHM /3qjl7Z2NE5Mxtl9LdE/fK1V+njwOZSRQRM91NSQR85KDlojHMhoGOO2bMB4PQuqx2iI fyCi1hYWMFjeNunXARxP/7/RXFT6yjsZI4C/KVLXoqcKojqzut0KogzBEGffF4k0IrDo QOIQ== 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=vRQGGt9pVp83QYni8PBXmes8P1HYchq8Hmy92VFL5Rg=; b=0GTRKq4lLHTb2xqDEPjWjy8piXx9cHTJcdI4XN89taeP/YmzgB1kQ3oIjxJIWKweJH v7DsDDZH5DP32SxHAtulKpgNiynLneqZnO77/mWcx9QC2My3NXi+JuTj0Nd3a24149zf PIxOdhDzw0qkSTLF6SIKdM7hUAUGJ87fiuPPEYuhlHOSEr1OlJ4tkG1jvMcNzq/CKaRL Fuqo0FzCllq8v87FF7C+Jr693yF1/B+OF1m+ts9YKPWzJyGd8eNx2rVm8UNvA1ODOboU ftcseeO+jzesbso0MECAbd56go6KOkidQCkXgahbojDuKTrlS0gY3VvdhnozkXvV2Qq+ WUcQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=k00kESSw; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::632 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-pl1-x632.google.com (mail-pl1-x632.google.com. [2607:f8b0:4864:20::632]) by gmr-mx.google.com with ESMTPS id n5-20020a056e02148500b0033afa4c993asi235517ilk.3.2023.06.08.12.08.59 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Jun 2023 12:08:59 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::632 as permitted sender) client-ip=2607:f8b0:4864:20::632; Original-Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1b0218c979cso262985ad.3 for ; Thu, 08 Jun 2023 12:08:59 -0700 (PDT) X-Received: by 2002:a17:902:b585:b0:1b2:1825:813e with SMTP id a5-20020a170902b58500b001b21825813emr6490931pls.5.1686251338724; Thu, 08 Jun 2023 12:08:58 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:4701:23f0:f061:5cc2:a0af:c092]) by smtp.gmail.com with ESMTPSA id 17-20020a170902c11100b001b06361a38dsm1766928pli.116.2023.06.08.12.08.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Jun 2023 12:08:57 -0700 (PDT) In-Reply-To: <3fe7da0e-2dcf-4536-9c21-d563d0bcaf9bn-/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=k00kESSw; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::632 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:32768 Archived-At: --constraint 'tls < 1.7' will work I think > On Jun 8, 2023, at 10:49 AM, krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: >=20 > Thank you for the reply! >=20 > Now I realized that I might have used the incorrect wording here. So far,= I've been installing pandoc with just `cabal install pandoc` or `pandoc-cl= i`, I wasn't building pandoc from source code clone. >=20 > Is there a way how to pass the constraint to cabal on the command line? >=20 > Dne st=C5=99eda 7. =C4=8Dervna 2023 v 18:42:09 UTC+2 u=C5=BEivatel John M= acFarlane napsal: > This is due to the recent fork of cryptonite -> crypton.=20 >=20 > The cure, for now, is to add this to cabal.project:=20 >=20 > constraints: tls < 1.7=20 >=20 > Hopefully downstream packages will be updated soon and we can remove the = constraint.=20 >=20 >=20 > > On Jun 7, 2023, at 2:40 AM, krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org = wrote:=20 > >=20 > > Dear pandoc mailing list,=20 > >=20 > > I seem to be unable to build pandoc on a M1 MacOS.=20 > >=20 > > I have setup haskell with `ghcup`, tried all permutations of:=20 > >=20 > > cabal versions: 3.6.2.0 ; 3.8.1.0 ; 3.10.1.0=20 > > ghc versions: 9.2.8 ; 9.4.4 ; 9.6.1=20 > >=20 > > I am always getting the same error:=20 > >=20 > > ```=20 > > Warning: connection.cabal:26:36: version operators used. To use version= =20 > > operators the package needs to specify at least 'cabal-version: >=3D 1.= 8'.=20 > > Configuring connection-0.3.1...=20 > > Preprocessing library for connection-0.3.1..=20 > > Building library for connection-0.3.1..=20 > > [1 of 2] Compiling Network.Connection.Types ( Network/Connection/Types.= hs, dist/build/Network/Connection/Types.o, dist/build/Network/Connection/Ty= pes.dyn_o )=20 > > [2 of 2] Compiling Network.Connection ( Network/Connection.hs, dist/bui= ld/Network/Connection.o, dist/build/Network/Connection.dyn_o )=20 > >=20 > > Network/Connection.hs:122:43: error:=20 > > =E2=80=A2 Couldn't match expected type =E2=80=98crypton-x509-store-1.6.= 9:Data.X509.CertificateStore.CertificateStore=E2=80=99=20 > > with actual type =E2=80=98Data.X509.CertificateStore.CertificateStore= =E2=80=99=20 > > NB: =E2=80=98crypton-x509-store-1.6.9:Data.X509.CertificateStore.Certif= icateStore=E2=80=99=20 > > is defined in =E2=80=98Data.X509.CertificateStore=E2=80=99=20 > > in package =E2=80=98crypton-x509-store-1.6.9=E2=80=99=20 > > =E2=80=98Data.X509.CertificateStore.CertificateStore=E2=80=99=20 > > is defined in =E2=80=98Data.X509.CertificateStore=E2=80=99=20 > > in package =E2=80=98x509-store-1.6.9=E2=80=99=20 > > =E2=80=A2 In the =E2=80=98sharedCAStore=E2=80=99 field of a record=20 > > In the =E2=80=98clientShared=E2=80=99 field of a record=20 > > In the expression:=20 > > (TLS.defaultParamsClient (fst cid) portString)=20 > > {TLS.clientSupported =3D def=20 > > {TLS.supportedCiphers =3D TLS.ciphersuite_default},=20 > > TLS.clientShared =3D def=20 > > {TLS.sharedCAStore =3D globalCertificateStore cg,=20 > > TLS.sharedValidationCache =3D validationCache}}=20 > > |=20 > > 122 | { TLS.sharedCAStore =3D globalCertificateStore cg=20 > > | ^^^^^^^^^^^^^^^^^^^^^^^^^=20 > > cabal: Failed to build connection-0.3.1 (which is required by exe:pando= c from=20 > > pandoc-cli-0.1.1). See the build log above for details.=20 > > ```=20 > >=20 > > It seems to me that with `ghcup`, `cabal` is not picking the right vers= ions of the toolchain.=20 > >=20 > > How can I fix that? or should I install `pandoc` with `stack`?=20 > >=20 > > I know that I can install `pandoc` on Mac with `brew`, but so far, inst= alling `pandoc` with `cabal` always worked for me.=20 > >=20 > > --=20 > > You received this message because you are subscribed to the Google Grou= ps "pandoc-discuss" group.=20 > > To unsubscribe from this group and stop receiving emails from it, send = an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org=20 > > To view this discussion on the web visit https://groups.google.com/d/ms= gid/pandoc-discuss/944413bc-ca01-4e12-90bc-94932f0f0ce1n%40googlegroups.com= .=20 >=20 >=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/3fe7da0e-2dcf-4536-9c21-d563d0bcaf9bn%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/E40F5915-79BA-48EA-8D56-D1FD3F78500E%40gmail.com.