public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Unable to build pandoc on M1 Mac
@ 2023-06-07  9:40 krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
       [not found] ` <944413bc-ca01-4e12-90bc-94932f0f0ce1n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2023-06-07  9:40 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 3100 bytes --]

Dear pandoc mailing list,

I seem to be unable to build pandoc on a M1 MacOS.

I have setup haskell with `ghcup`, tried all permutations of:

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

I am always getting the same error:

```
Warning: connection.cabal:26:36: version operators used. To use version
operators the package needs to specify at least 'cabal-version: >= 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 
<http://network.connection.types/> ( Network/Connection/Types.hs, 
dist/build/Network/Connection/Types.o, dist/build/Network/Connection/Types.dyn_o 
)
[2 of 2] Compiling Network.Connection ( Network/Connection.hs, 
dist/build/Network/Connection.o, dist/build/Network/Connection.dyn_o )

Network/Connection.hs:122:43: error:
    • Couldn't match expected type ‘crypton-x509-store-1.6.9:
Data.X509.CertificateStore <http://data.x509.certificatestore/>.
CertificateStore’
                  with actual type ‘Data.X509.CertificateStore.
CertificateStore’
      NB: ‘crypton-x509-store-1.6.9:Data.X509.CertificateStore 
<http://data.x509.certificatestore/>.CertificateStore’
            is defined in ‘Data.X509.CertificateStore’
                in package ‘crypton-x509-store-1.6.9’
          ‘Data.X509.CertificateStore.CertificateStore’
            is defined in ‘Data.X509.CertificateStore’
                in package ‘x509-store-1.6.9’
    • In the ‘sharedCAStore’ field of a record
      In the ‘clientShared’ field of a record
      In the expression:
        (TLS.defaultParamsClient (fst cid) portString)
          {TLS.clientSupported = def
                                   {TLS.supportedCiphers = 
TLS.ciphersuite_default},
           TLS.clientShared = def
                                {TLS.sharedCAStore = globalCertificateStore 
cg,
                                 TLS.sharedValidationCache = 
validationCache}}
    |
122 |             { TLS.sharedCAStore         = 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.
```

It seems to me that with `ghcup`, `cabal` is not picking the right versions 
of the toolchain.

How can I fix that? or should I install `pandoc` with `stack`?

I know that I can install `pandoc` on Mac with `brew`, but so far, 
installing `pandoc` with `cabal` always worked for me.

-- 
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/msgid/pandoc-discuss/944413bc-ca01-4e12-90bc-94932f0f0ce1n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 7320 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Unable to build pandoc on M1 Mac
       [not found] ` <944413bc-ca01-4e12-90bc-94932f0f0ce1n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-06-07 16:42   ` John MacFarlane
       [not found]     ` <533BEC57-D926-4B73-82E5-4075A4F7C06A-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: John MacFarlane @ 2023-06-07 16:42 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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 constraint.


> On Jun 7, 2023, at 2:40 AM, krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <krulis.tomas.tk@gmail.com> wrote:
> 
> Dear pandoc mailing list,
> 
> I seem to be unable to build pandoc on a M1 MacOS.
> 
> I have setup haskell with `ghcup`, tried all permutations of:
> 
> 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
> 
> I am always getting the same error:
> 
> ```
> Warning: connection.cabal:26:36: version operators used. To use version
> operators the package needs to specify at least 'cabal-version: >= 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/Types.dyn_o )
> [2 of 2] Compiling Network.Connection ( Network/Connection.hs, dist/build/Network/Connection.o, dist/build/Network/Connection.dyn_o )
> 
> Network/Connection.hs:122:43: error:
>     • Couldn't match expected type ‘crypton-x509-store-1.6.9:Data.X509.CertificateStore.CertificateStore’
>                   with actual type ‘Data.X509.CertificateStore.CertificateStore’
>       NB: ‘crypton-x509-store-1.6.9:Data.X509.CertificateStore.CertificateStore’
>             is defined in ‘Data.X509.CertificateStore’
>                 in package ‘crypton-x509-store-1.6.9’
>           ‘Data.X509.CertificateStore.CertificateStore’
>             is defined in ‘Data.X509.CertificateStore’
>                 in package ‘x509-store-1.6.9’
>     • In the ‘sharedCAStore’ field of a record
>       In the ‘clientShared’ field of a record
>       In the expression:
>         (TLS.defaultParamsClient (fst cid) portString)
>           {TLS.clientSupported = def
>                                    {TLS.supportedCiphers = TLS.ciphersuite_default},
>            TLS.clientShared = def
>                                 {TLS.sharedCAStore = globalCertificateStore cg,
>                                  TLS.sharedValidationCache = validationCache}}
>     |
> 122 |             { TLS.sharedCAStore         = 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.
> ```
> 
> It seems to me that with `ghcup`, `cabal` is not picking the right versions of the toolchain.
> 
> How can I fix that? or should I install `pandoc` with `stack`?
> 
> I know that I can install `pandoc` on Mac with `brew`, but so far, installing `pandoc` with `cabal` always worked for me.
> 
> -- 
> 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/msgid/pandoc-discuss/944413bc-ca01-4e12-90bc-94932f0f0ce1n%40googlegroups.com.

-- 
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/msgid/pandoc-discuss/533BEC57-D926-4B73-82E5-4075A4F7C06A%40gmail.com.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Unable to build pandoc on M1 Mac
       [not found]     ` <533BEC57-D926-4B73-82E5-4075A4F7C06A-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2023-06-08 17:49       ` krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
       [not found]         ` <3fe7da0e-2dcf-4536-9c21-d563d0bcaf9bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2023-06-08 17:49 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 4129 bytes --]

Thank you for the reply!

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-cli`, I wasn't building pandoc from source code clone.

Is there a way how to pass the constraint to cabal on the command line?

Dne středa 7. června 2023 v 18:42:09 UTC+2 uživatel John MacFarlane napsal:

> 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 
> constraint.
>
>
> > On Jun 7, 2023, at 2:40 AM, krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 
> wrote:
> > 
> > Dear pandoc mailing list,
> > 
> > I seem to be unable to build pandoc on a M1 MacOS.
> > 
> > I have setup haskell with `ghcup`, tried all permutations of:
> > 
> > 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
> > 
> > I am always getting the same error:
> > 
> > ```
> > Warning: connection.cabal:26:36: version operators used. To use version
> > operators the package needs to specify at least 'cabal-version: >= 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/Types.dyn_o )
> > [2 of 2] Compiling Network.Connection ( Network/Connection.hs, 
> dist/build/Network/Connection.o, dist/build/Network/Connection.dyn_o )
> > 
> > Network/Connection.hs:122:43: error:
> > • Couldn't match expected type 
> ‘crypton-x509-store-1.6.9:Data.X509.CertificateStore.CertificateStore’
> > with actual type ‘Data.X509.CertificateStore.CertificateStore’
> > NB: 
> ‘crypton-x509-store-1.6.9:Data.X509.CertificateStore.CertificateStore’
> > is defined in ‘Data.X509.CertificateStore’
> > in package ‘crypton-x509-store-1.6.9’
> > ‘Data.X509.CertificateStore.CertificateStore’
> > is defined in ‘Data.X509.CertificateStore’
> > in package ‘x509-store-1.6.9’
> > • In the ‘sharedCAStore’ field of a record
> > In the ‘clientShared’ field of a record
> > In the expression:
> > (TLS.defaultParamsClient (fst cid) portString)
> > {TLS.clientSupported = def
> > {TLS.supportedCiphers = TLS.ciphersuite_default},
> > TLS.clientShared = def
> > {TLS.sharedCAStore = globalCertificateStore cg,
> > TLS.sharedValidationCache = validationCache}}
> > |
> > 122 | { TLS.sharedCAStore = 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.
> > ```
> > 
> > It seems to me that with `ghcup`, `cabal` is not picking the right 
> versions of the toolchain.
> > 
> > How can I fix that? or should I install `pandoc` with `stack`?
> > 
> > I know that I can install `pandoc` on Mac with `brew`, but so far, 
> installing `pandoc` with `cabal` always worked for me.
> > 
> > -- 
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/944413bc-ca01-4e12-90bc-94932f0f0ce1n%40googlegroups.com
> .
>
>

-- 
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/msgid/pandoc-discuss/3fe7da0e-2dcf-4536-9c21-d563d0bcaf9bn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 5742 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Unable to build pandoc on M1 Mac
       [not found]         ` <3fe7da0e-2dcf-4536-9c21-d563d0bcaf9bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2023-06-08 19:08           ` John MacFarlane
       [not found]             ` <E40F5915-79BA-48EA-8D56-D1FD3F78500E-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: John MacFarlane @ 2023-06-08 19:08 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

--constraint 'tls < 1.7'
will work I think


> On Jun 8, 2023, at 10:49 AM, krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <krulis.tomas.tk@gmail.com> wrote:
> 
> Thank you for the reply!
> 
> 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-cli`, I wasn't building pandoc from source code clone.
> 
> Is there a way how to pass the constraint to cabal on the command line?
> 
> Dne středa 7. června 2023 v 18:42:09 UTC+2 uživatel John MacFarlane napsal:
> 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 constraint. 
> 
> 
> > On Jun 7, 2023, at 2:40 AM, krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: 
> > 
> > Dear pandoc mailing list, 
> > 
> > I seem to be unable to build pandoc on a M1 MacOS. 
> > 
> > I have setup haskell with `ghcup`, tried all permutations of: 
> > 
> > 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 
> > 
> > I am always getting the same error: 
> > 
> > ``` 
> > Warning: connection.cabal:26:36: version operators used. To use version 
> > operators the package needs to specify at least 'cabal-version: >= 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/Types.dyn_o ) 
> > [2 of 2] Compiling Network.Connection ( Network/Connection.hs, dist/build/Network/Connection.o, dist/build/Network/Connection.dyn_o ) 
> > 
> > Network/Connection.hs:122:43: error: 
> > • Couldn't match expected type ‘crypton-x509-store-1.6.9:Data.X509.CertificateStore.CertificateStore’ 
> > with actual type ‘Data.X509.CertificateStore.CertificateStore’ 
> > NB: ‘crypton-x509-store-1.6.9:Data.X509.CertificateStore.CertificateStore’ 
> > is defined in ‘Data.X509.CertificateStore’ 
> > in package ‘crypton-x509-store-1.6.9’ 
> > ‘Data.X509.CertificateStore.CertificateStore’ 
> > is defined in ‘Data.X509.CertificateStore’ 
> > in package ‘x509-store-1.6.9’ 
> > • In the ‘sharedCAStore’ field of a record 
> > In the ‘clientShared’ field of a record 
> > In the expression: 
> > (TLS.defaultParamsClient (fst cid) portString) 
> > {TLS.clientSupported = def 
> > {TLS.supportedCiphers = TLS.ciphersuite_default}, 
> > TLS.clientShared = def 
> > {TLS.sharedCAStore = globalCertificateStore cg, 
> > TLS.sharedValidationCache = validationCache}} 
> > | 
> > 122 | { TLS.sharedCAStore = 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. 
> > ``` 
> > 
> > It seems to me that with `ghcup`, `cabal` is not picking the right versions of the toolchain. 
> > 
> > How can I fix that? or should I install `pandoc` with `stack`? 
> > 
> > I know that I can install `pandoc` on Mac with `brew`, but so far, installing `pandoc` with `cabal` always worked for me. 
> > 
> > -- 
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 
> > To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/944413bc-ca01-4e12-90bc-94932f0f0ce1n%40googlegroups.com. 
> 
> 
> -- 
> 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/msgid/pandoc-discuss/3fe7da0e-2dcf-4536-9c21-d563d0bcaf9bn%40googlegroups.com.

-- 
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/msgid/pandoc-discuss/E40F5915-79BA-48EA-8D56-D1FD3F78500E%40gmail.com.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Unable to build pandoc on M1 Mac
       [not found]             ` <E40F5915-79BA-48EA-8D56-D1FD3F78500E-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2023-06-09 17:45               ` krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
  0 siblings, 0 replies; 5+ messages in thread
From: krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org @ 2023-06-09 17:45 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 5137 bytes --]

It worked perfectly, thank you for helping me!

Dne čtvrtek 8. června 2023 v 21:09:03 UTC+2 uživatel John MacFarlane napsal:

> --constraint 'tls < 1.7'
> will work I think
>
>
> > On Jun 8, 2023, at 10:49 AM, krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 
> wrote:
> > 
> > Thank you for the reply!
> > 
> > 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-cli`, I wasn't building pandoc from source code clone.
> > 
> > Is there a way how to pass the constraint to cabal on the command line?
> > 
> > Dne středa 7. června 2023 v 18:42:09 UTC+2 uživatel John MacFarlane 
> napsal:
> > 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 
> constraint. 
> > 
> > 
> > > On Jun 7, 2023, at 2:40 AM, krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <krulis....-Re5JQEeQqe8@public.gmane.orgm> 
> wrote: 
> > > 
> > > Dear pandoc mailing list, 
> > > 
> > > I seem to be unable to build pandoc on a M1 MacOS. 
> > > 
> > > I have setup haskell with `ghcup`, tried all permutations of: 
> > > 
> > > 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 
> > > 
> > > I am always getting the same error: 
> > > 
> > > ``` 
> > > Warning: connection.cabal:26:36: version operators used. To use 
> version 
> > > operators the package needs to specify at least 'cabal-version: >= 
> 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/Types.dyn_o ) 
> > > [2 of 2] Compiling Network.Connection ( Network/Connection.hs, 
> dist/build/Network/Connection.o, dist/build/Network/Connection.dyn_o ) 
> > > 
> > > Network/Connection.hs:122:43: error: 
> > > • Couldn't match expected type 
> ‘crypton-x509-store-1.6.9:Data.X509.CertificateStore.CertificateStore’ 
> > > with actual type ‘Data.X509.CertificateStore.CertificateStore’ 
> > > NB: 
> ‘crypton-x509-store-1.6.9:Data.X509.CertificateStore.CertificateStore’ 
> > > is defined in ‘Data.X509.CertificateStore’ 
> > > in package ‘crypton-x509-store-1.6.9’ 
> > > ‘Data.X509.CertificateStore.CertificateStore’ 
> > > is defined in ‘Data.X509.CertificateStore’ 
> > > in package ‘x509-store-1.6.9’ 
> > > • In the ‘sharedCAStore’ field of a record 
> > > In the ‘clientShared’ field of a record 
> > > In the expression: 
> > > (TLS.defaultParamsClient (fst cid) portString) 
> > > {TLS.clientSupported = def 
> > > {TLS.supportedCiphers = TLS.ciphersuite_default}, 
> > > TLS.clientShared = def 
> > > {TLS.sharedCAStore = globalCertificateStore cg, 
> > > TLS.sharedValidationCache = validationCache}} 
> > > | 
> > > 122 | { TLS.sharedCAStore = 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. 
> > > ``` 
> > > 
> > > It seems to me that with `ghcup`, `cabal` is not picking the right 
> versions of the toolchain. 
> > > 
> > > How can I fix that? or should I install `pandoc` with `stack`? 
> > > 
> > > I know that I can install `pandoc` on Mac with `brew`, but so far, 
> installing `pandoc` with `cabal` always worked for me. 
> > > 
> > > -- 
> > > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 
> > > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/944413bc-ca01-4e12-90bc-94932f0f0ce1n%40googlegroups.com. 
>
> > 
> > 
> > -- 
> > 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-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/pandoc-discuss/3fe7da0e-2dcf-4536-9c21-d563d0bcaf9bn%40googlegroups.com
> .
>
>

-- 
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/msgid/pandoc-discuss/0323dd4e-3b10-4006-9159-7db9c42363f2n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 7239 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-09 17:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-07  9:40 Unable to build pandoc on M1 Mac krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found] ` <944413bc-ca01-4e12-90bc-94932f0f0ce1n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-06-07 16:42   ` John MacFarlane
     [not found]     ` <533BEC57-D926-4B73-82E5-4075A4F7C06A-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-06-08 17:49       ` krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
     [not found]         ` <3fe7da0e-2dcf-4536-9c21-d563d0bcaf9bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2023-06-08 19:08           ` John MacFarlane
     [not found]             ` <E40F5915-79BA-48EA-8D56-D1FD3F78500E-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2023-06-09 17:45               ` krulis....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).