pact icon indicating copy to clipboard operation
pact copied to clipboard

windows build failed for v4.1.1. tries to import direct-sqlite-2.3.26 but it installs direct-sqlite-1.1

Open cristian-sima opened this issue 3 years ago • 7 comments

Hi. I want to program in 💖💖💖 Pact, but first I have to install it.

I am trying for 3 days to install on Windows system, but without any result so far.

Firstly, I went to documentation, but there are only sections for Linux and Mac, but I have seen I can install from source.

I have the following configuration:

  • Windows 10 Pro x64
  • cabal version 3.6.2.0
  • ghc version 8.6.5
  • ghcup version v0.1.17.4
  • sqlite 3.36.0
  • cygwin 3.3.2(0.341/5/3)

I opened the cygwin and I did the following:

  1. cabal v2-update
  2. cabal v2-build

The result was the following:

$ cabal v2-build
Resolving dependencies...
Build profile: -w ghc-8.6.5 -O1
In order, the following will be built (use -v for more details):
 - statistics-0.15.2.0 (lib) (requires build)
 - typed-process-0.2.8.0 (lib) (requires download & build)
 - criterion-1.5.11.0 (lib) (requires build)
 - conduit-extra-1.3.5 (lib) (requires build)
 - simple-sendfile-0.2.30 (lib) (requires build)
 - warp-3.3.18 (lib) (requires build)
 - wai-app-static-3.1.7.2 (lib) (requires build)
 - servant-server-0.18.3 (lib) (requires build)
 - pact-4.1.1 (lib) (first run)
 - pact-4.1.1 (exe:pact) (first run)
 - pact-4.1.1 (exe:gasmodel) (first run)
Downloading  typed-process-0.2.8.0
Starting     statistics-0.15.2.0 (lib)
Downloaded   typed-process-0.2.8.0
Starting     typed-process-0.2.8.0 (lib)
Building     typed-process-0.2.8.0 (lib)
Building     statistics-0.15.2.0 (lib)
Installing   typed-process-0.2.8.0 (lib)
Completed    typed-process-0.2.8.0 (lib)
Starting     conduit-extra-1.3.5 (lib)
Building     conduit-extra-1.3.5 (lib)
Installing   conduit-extra-1.3.5 (lib)
Completed    conduit-extra-1.3.5 (lib)
Starting     simple-sendfile-0.2.30 (lib)
Building     simple-sendfile-0.2.30 (lib)
Installing   simple-sendfile-0.2.30 (lib)
Completed    simple-sendfile-0.2.30 (lib)
Starting     warp-3.3.18 (lib)
Building     warp-3.3.18 (lib)
Installing   warp-3.3.18 (lib)
Completed    warp-3.3.18 (lib)
Starting     wai-app-static-3.1.7.2 (lib)
Building     wai-app-static-3.1.7.2 (lib)
Installing   wai-app-static-3.1.7.2 (lib)
Completed    wai-app-static-3.1.7.2 (lib)
Starting     servant-server-0.18.3 (lib)
Building     servant-server-0.18.3 (lib)
Installing   servant-server-0.18.3 (lib)
Completed    servant-server-0.18.3 (lib)
Installing   statistics-0.15.2.0 (lib)
Completed    statistics-0.15.2.0 (lib)
Starting     criterion-1.5.11.0 (lib)
Building     criterion-1.5.11.0 (lib)
Installing   criterion-1.5.11.0 (lib)
Completed    criterion-1.5.11.0 (lib)
Configuring library for pact-4.1.1..
Preprocessing library for pact-4.1.1..
Building library for pact-4.1.1..
[  1 of 124] Compiling Crypto.Hash.Blake2Native ( src\Crypto\Hash\Blake2Native.hs, D:\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Crypto\Hash\Blake2Native.o )
[  2 of 124] Compiling Pact.Analyze.PactSFunArray ( src-tool\Pact\Analyze\PactSFunArray.hs, D:\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Analyze\PactSFunArray.o )
[  3 of 124] Compiling Pact.Types.Codec ( src\Pact\Types\Codec.hs, D:\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Types\Codec.o )
[  4 of 124] Compiling Pact.Types.ECDSA ( src-ghc\Pact\Types\ECDSA.hs, D:\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Types\ECDSA.o )
[  5 of 124] Compiling Pact.Types.Orphans ( src\Pact\Types\Orphans.hs, D:\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Types\Orphans.o )
[  6 of 124] Compiling Pact.Types.Parser ( src\Pact\Types\Parser.hs, D:\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Types\Parser.o )
[  7 of 124] Compiling Pact.Types.Pretty ( src\Pact\Types\Pretty.hs, D:\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Types\Pretty.o )
[  8 of 124] Compiling Pact.Analyze.Types.Types ( src-tool\Pact\Analyze\Types\Types.hs, D:\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Analyze\Types\Types.o )
[  9 of 124] Compiling Pact.Analyze.Types.ObjUtil ( src-tool\Pact\Analyze\Types\ObjUtil.hs, D:\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Analyze\Types\ObjUtil.o )
[ 10 of 124] Compiling Pact.Types.SQLite ( src-ghc\Pact\Types\SQLite.hs, D:\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Types\SQLite.o )

src-ghc\Pact\Types\SQLite.hs:37:1: error:
    Could not find module `Database.SQLite3.Direct'
    Use -v to see a list of the files searched for.
   |
37 | import Database.SQLite3.Direct as SQ3
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal-3.6.2.0.exe: Failed to build pact-4.1.1 (which is required by exe:pact
from pact-4.1.1 and exe:gasmodel from pact-4.1.1).

And... now I am stuck. I tried different versions of ghc, I installed and uninstalled it, but nothing.

Can you help me with these?

  1. Do you have the pact binary to just use it?
  2. Is it possible to install on Windows?
  3. Am I doing something wrong somewhere?

Update: I managed to build it on a different machine the pact from source (As I described above), but when I run the pact REPL I got this:

image

Thanks :D

cristian-sima avatar Nov 29 '21 14:11 cristian-sima

Latter update: 😎😎😎😎 I managed to install pact version 3.5.0 as in printscreen. It seems that with the last version there is a problem:

image

cristian-sima avatar Nov 29 '21 15:11 cristian-sima

Tried again to install version 4.1.1, but I get a different error this time

crist_000@asus-laptop /cygdrive/d/pact
$ cabal v2-build
Resolving dependencies...
Build profile: -w ghc-8.6.5 -O1
In order, the following will be built (use -v for more details):
 - Boolean-0.2.4 (lib:Boolean) (requires download & build)
 - Decimal-0.5.2 (lib) (requires download & build)
 - NumInstances-1.4 (lib) (requires download & build)
 - Only-0.1 (lib) (requires download & build)
 - StateVar-1.2.2 (lib) (requires download & build)
 - abstract-par-0.3.3 (lib) (requires download & build)
 - algebraic-graphs-0.5 (lib) (requires download & build)
 - appar-0.1.8 (lib:appar) (requires download & build)
 - auto-update-0.1.6 (lib) (requires download & build)
 - base-compat-0.11.2 (lib) (requires download & build)
 - base-orphans-0.8.6 (lib) (requires download & build)
 - base-unicode-symbols-0.2.4.2 (lib:base-unicode-symbols) (requires download & build)
 - base16-bytestring-0.1.1.7 (lib) (requires download & build)
 - base64-bytestring-1.0.0.3 (lib) (requires download & build)
 - basement-0.0.12 (lib) (requires download & build)
 - blaze-builder-0.4.2.2 (lib) (requires download & build)
 - bsb-http-chunked-0.0.0.4 (lib) (requires download & build)
 - byteorder-1.0.4 (lib:byteorder) (requires download & build)
 - cabal-doctest-1.0.9 (lib) (requires download & build)
 - call-stack-0.4.0 (lib) (requires download & build)
 - cereal-0.5.8.2 (lib) (requires download & build)
 - clock-0.8.2 (lib) (requires download & build)
 - colour-2.3.5 (lib) (requires download & build)
 - data-default-class-0.1.2.0 (lib:data-default-class) (requires download & build)
 - dec-0.0.4 (lib) (requires download & build)
 - dlist-1.0 (lib) (requires download & build)
 - easy-file-0.2.2 (lib:easy-file) (requires download & build)
 - entropy-0.4.1.7 (lib:entropy) (requires download & build)
 - exceptions-0.10.4 (lib) (requires download & build)
 - file-embed-0.0.15.0 (lib) (requires download & build)
 - fingertree-0.1.4.2 (lib) (requires download & build)
 - hashable-1.3.0.0 (lib) (requires download & build)
 - hourglass-0.2.12 (lib) (requires download & build)
 - indexed-traversable-0.1.2 (lib) (requires download & build)
 - integer-logarithms-1.0.3.1 (lib) (requires download & build)
 - js-chart-2.9.4.1 (lib) (requires download & build)
 - microlens-0.4.12.0 (lib) (requires download & build)
 - mime-types-0.1.0.9 (lib) (requires download & build)
 - network-byte-order-0.1.6 (lib) (requires download & build)
 - newtype-generics-0.6.1 (lib) (requires download & build)
 - old-locale-1.0.0.7 (lib) (requires download & build)
 - parallel-3.2.2.0 (lib) (requires download & build)
 - parser-combinators-1.3.0 (lib) (requires download & build)
 - prettyprinter-1.6.0 (lib) (requires download & build)
 - primitive-0.7.3.0 (lib) (requires download & build)
 - process-1.6.13.2 (lib:process) (requires download & build)
 - reflection-2.1.6 (lib) (requires download & build)
 - safe-0.3.19 (lib) (requires download & build)
 - semigroups-0.20 (lib) (requires download & build)
 - some-1.0.3 (lib) (requires download & build)
 - sop-core-0.5.0.1 (lib) (requires download & build)
 - split-0.2.3.4 (lib) (requires download & build)
 - splitmix-0.1.0.4 (lib) (requires download & build)
 - syb-0.7.2.1 (lib) (requires download & build)
 - tagged-0.8.6.1 (lib) (requires download & build)
 - th-abstraction-0.4.3.0 (lib) (requires download & build)
 - th-compat-0.1.3 (lib) (requires download & build)
 - transformers-compat-0.6.6 (lib) (requires download & build)
 - type-equality-1 (lib) (requires download & build)
 - unix-compat-0.5.3 (lib) (requires download & build)
 - unliftio-core-0.2.0.1 (lib) (requires download & build)
 - utf8-string-1.0.2 (lib) (requires download & build)
 - void-0.7.3 (lib) (requires download & build)
 - word8-0.1.3 (lib) (requires download & build)
 - zlib-0.6.2.3 (lib) (requires download & build)
 - contravariant-1.5.5 (lib) (requires download & build)
 - time-manager-0.0.0 (lib) (requires download & build)
 - base-compat-batteries-0.11.2 (lib) (requires download & build)
 - time-compat-1.9.5 (lib) (requires download & build)
 - OneTuple-0.3 (lib) (requires download & build)
 - memory-0.16.0 (lib) (requires download & build)
 - blaze-markup-0.8.2.8 (lib) (requires download & build)
 - HUnit-1.6.2.0 (lib) (requires download & build)
 - data-default-instances-containers-0.0.1 (lib:data-default-instances-containers) (requires d
ownload & build)
 - cookie-0.4.5 (lib) (requires download & build)
 - data-default-instances-dlist-0.0.1 (lib:data-default-instances-dlist) (requires download &
build)
 - safe-exceptions-0.1.7.2 (lib) (requires download & build)
 - unordered-containers-0.2.15.0 (lib) (requires download & build)
 - text-short-0.1.4 (lib) (requires download & build)
 - psqueues-0.2.7.3 (lib) (requires download & build)
 - data-fix-0.3.2 (lib) (requires download & build)
 - case-insensitive-1.2.1.0 (lib) (requires download & build)
 - async-2.2.4 (lib) (requires download & build)
 - MemoTrie-0.6.10 (lib) (requires download & build)
 - old-time-1.1.0.3 (lib:old-time) (requires download & build)
 - data-default-instances-old-locale-0.0.1 (lib:data-default-instances-old-locale) (requires d
ownload & build)
 - vector-0.12.3.1 (lib) (requires download & build)
 - scientific-0.3.7.0 (lib) (requires download & build)
 - hsc2hs-0.68.8 (exe:hsc2hs) (requires download & build)
 - random-1.2.1 (lib) (requires download & build)
 - distributive-0.6.2.1 (lib) (requires download & build)
 - crypto-api-0.13.3 (lib:crypto-api) (requires download & build)
 - boring-0.2 (lib) (requires download & build)
 - network-uri-2.6.4.1 (lib) (requires download & build)
 - transformers-base-0.4.6 (lib) (requires download & build)
 - mmorph-1.1.5 (lib) (requires download & build)
 - errors-2.3.0 (lib) (requires download & build)
 - deriving-compat-0.6 (lib) (requires download & build)
 - Glob-0.10.2 (lib) (requires download & build)
 - constraints-0.13.2 (lib) (requires download & build)
 - resourcet-1.2.4.3 (lib) (requires download & build)
 - string-conversions-0.4.0.1 (lib) (requires download & build)
 - direct-sqlite-1.1 (lib:direct-sqlite) (requires download & build)
 - binary-orphans-1.0.2 (lib) (requires download & build)
 - pem-0.2.4 (lib) (requires download & build)
 - cryptonite-0.29 (lib) (requires download & build)
 - asn1-types-0.3.4 (lib:asn1-types) (requires download & build)
 - blaze-html-0.9.1.2 (lib) (requires download & build)
 - vault-0.3.1.5 (lib) (requires download & build)
 - uniplate-1.6.13 (lib) (requires download & build)
 - charset-0.3.9 (lib) (requires download & build)
 - http-types-0.12.3 (lib) (requires download & build)
 - http-media-0.8.0.0 (lib) (requires download & build)
 - unliftio-0.2.20 (lib) (requires download & build)
 - typed-process-0.2.8.0 (lib) (requires download & build)
 - vector-space-0.16 (lib) (requires download & build)
 - data-default-0.7.1.1 (lib:data-default) (requires download & build)
 - vector-th-unbox-0.2.2 (lib) (requires download & build)
 - vector-binary-instances-0.2.5.2 (lib) (requires download & build)
 - vector-algorithms-0.8.0.4 (lib) (requires download & build)
 - math-functions-0.3.4.2 (lib) (requires download & build)
 - indexed-traversable-instances-0.1.1 (lib) (requires download & build)
 - megaparsec-9.0.1 (lib) (requires download & build)
 - attoparsec-0.14.2 (lib) (requires download & build)
 - unix-time-0.4.7 (lib:unix-time) (requires download & build)
 - network-3.1.2.5 (lib:network) (requires download & build)
 - mintty-0.1.3 (lib) (requires download & build)
 - libBF-0.6.2 (lib) (requires download & build)
 - code-page-0.2.1 (lib) (requires download & build)
 - uuid-types-1.0.5 (lib) (requires download & build)
 - monad-par-extras-0.3.3 (lib) (requires download & build)
 - abstract-deque-0.3 (lib) (requires download & build)
 - QuickCheck-2.14.2 (lib) (requires download & build)
 - comonad-5.0.8 (lib) (requires download & build)
 - ed25519-donna-0.1.1 (lib) (requires download & build)
 - singleton-bool-0.1.6 (lib) (requires download & build)
 - monad-control-1.0.3.1 (lib) (requires download & build)
 - bytes-0.17.1 (lib) (requires download & build)
 - asn1-encoding-0.9.6 (lib) (requires download & build)
 - mono-traversable-1.0.15.1 (lib) (requires download & build)
 - mwc-random-0.15.0.2 (lib) (requires download & build)
 - dense-linear-algebra-0.1.0.0 (lib) (requires download & build)
 - neat-interpolation-0.5.1.2 (lib) (requires download & build)
 - parsers-0.12.10 (lib) (requires download & build)
 - http-date-0.0.11 (lib) (requires download & build)
 - cassava-0.5.2.0 (lib) (requires download & build)
 - attoparsec-iso8601-1.0.2.0 (lib) (requires download & build)
 - fast-logger-3.0.5 (lib) (requires download & build)
 - wai-3.2.3 (lib) (requires download & build)
 - streaming-commons-0.2.2.2 (lib) (requires download & build)
 - iproute-1.7.12 (lib) (requires download & build)
 - http2-3.0.2 (lib) (requires download & build)
 - ansi-terminal-0.11.1 (lib) (requires download & build)
 - sbv-8.17 (lib) (requires download & build)
 - bifunctors-5.5.11 (lib) (requires download & build)
 - asn1-parse-0.9.5 (lib:asn1-parse) (requires download & build)
 - conduit-1.3.4.2 (lib) (requires download & build)
 - monad-par-0.3.5 (lib) (requires download & build)
 - http-api-data-0.4.3 (lib) (requires download & build)
 - wai-logger-2.3.6 (lib:wai-logger) (requires download & build)
 - wai-cors-0.2.7 (lib) (requires download & build)
 - http-client-0.7.9 (lib) (requires download & build)
 - prettyprinter-ansi-terminal-1.1.2 (lib) (requires download & build)
 - ansi-wl-pprint-0.6.9 (lib) (requires download & build)
 - semigroupoids-5.3.6 (lib) (requires download & build)
 - profunctors-5.6.2 (lib) (requires download & build)
 - assoc-1.0.2 (lib) (requires download & build)
 - x509-1.7.5 (lib) (requires download & build)
 - libyaml-0.1.2 (lib) (requires download & build)
 - conduit-extra-1.3.5 (lib) (requires download & build)
 - optparse-applicative-0.15.1.0 (lib) (requires download & build)
 - reducers-3.12.4 (lib) (requires download & build)
 - invariant-0.5.5 (lib) (requires download & build)
 - free-5.1.7 (lib) (requires download & build)
 - bound-2.0.4 (lib) (requires download & build)
 - these-1.1.1.1 (lib) (requires download & build)
 - simple-sendfile-0.2.30 (lib) (requires download & build)
 - adjunctions-4.4 (lib) (requires download & build)
 - strict-0.4.0.1 (lib) (requires download & build)
 - warp-3.3.18 (lib) (requires download & build)
 - kan-extensions-5.2.3 (lib) (requires download & build)
 - quickcheck-instances-0.3.27 (lib) (requires download & build)
 - aeson-1.5.6.0 (lib) (requires download & build)
 - lens-5.0.1 (lib) (requires download & build)
 - yaml-0.11.7.0 (lib) (requires download & build)
 - wai-extra-3.1.7 (lib) (requires download & build)
 - statistics-0.15.2.0 (lib) (requires download & build)
 - servant-0.18.3 (lib) (requires download & build)
 - pact-time-0.2.0.0 (lib) (requires download & build)
 - microstache-1.0.2 (lib) (requires download & build)
 - criterion-measurement-0.1.3.0 (lib) (requires download & build)
 - trifecta-2.1.1 (lib) (requires download & build)
 - lens-aeson-1.1.3 (lib) (requires download & build)
 - wai-app-static-3.1.7.2 (lib) (requires download & build)
 - servant-client-core-0.18.3 (lib) (requires download & build)
 - criterion-1.5.11.0 (lib) (requires download & build)
 - servant-server-0.18.3 (lib) (requires download & build)
 - servant-client-0.18.3 (lib) (requires download & build)
 - pact-4.1.1 (lib) (first run)
 - pact-4.1.1 (exe:pact) (first run)
 - pact-4.1.1 (exe:gasmodel) (first run)
Downloading  base-compat-0.11.2
Downloaded   base-compat-0.11.2
Downloading  base-compat-batteries-0.11.2
Downloaded   base-compat-batteries-0.11.2
Downloading  base-orphans-0.8.6
Downloaded   base-orphans-0.8.6
Downloading  base-unicode-symbols-0.2.4.2
Downloaded   base-unicode-symbols-0.2.4.2
Downloading  byteorder-1.0.4
Downloaded   byteorder-1.0.4
Downloading  clock-0.8.2
Downloaded   clock-0.8.2
Downloading  colour-2.3.5
Downloaded   colour-2.3.5
Downloading  data-default-class-0.1.2.0
Downloaded   data-default-class-0.1.2.0
Downloading  dec-0.0.4
Downloaded   dec-0.0.4
Downloading  call-stack-0.4.0
Downloaded   call-stack-0.4.0
Downloading  fingertree-0.1.4.2
Downloaded   fingertree-0.1.4.2
Downloading  js-chart-2.9.4.1
Downloaded   js-chart-2.9.4.1
Downloading  microlens-0.4.12.0
Downloaded   microlens-0.4.12.0
Downloading  old-locale-1.0.0.7
Downloaded   old-locale-1.0.0.7
Downloading  data-default-instances-old-locale-0.0.1
Downloaded   data-default-instances-old-locale-0.0.1
Downloading  old-time-1.1.0.3
Downloaded   old-time-1.1.0.3
Downloading  parser-combinators-1.3.0
Downloaded   parser-combinators-1.3.0
Downloading  safe-0.3.19
Downloaded   safe-0.3.19
Downloading  semigroups-0.20
Downloaded   semigroups-0.20
Downloading  split-0.2.3.4
Downloaded   split-0.2.3.4
Downloading  syb-0.7.2.1
Downloaded   syb-0.7.2.1
Downloading  newtype-generics-0.6.1
Downloaded   newtype-generics-0.6.1
Downloading  transformers-compat-0.6.6
Downloaded   transformers-compat-0.6.6
Downloading  mmorph-1.1.5
Downloaded   mmorph-1.1.5
Downloading  type-equality-1
Downloaded   type-equality-1
Downloading  unliftio-core-0.2.0.1
Downloaded   unliftio-core-0.2.0.1
Downloading  void-0.7.3
Downloaded   void-0.7.3
Downloading  word8-0.1.3
Downloaded   word8-0.1.3
Downloading  auto-update-0.1.6
Downloaded   auto-update-0.1.6
Downloading  time-manager-0.0.0
Downloaded   time-manager-0.0.0
Downloading  base16-bytestring-0.1.1.7
Downloaded   base16-bytestring-0.1.1.7
Downloading  base64-bytestring-1.0.0.3
Downloaded   base64-bytestring-1.0.0.3
Downloading  bsb-http-chunked-0.0.0.4
Downloaded   bsb-http-chunked-0.0.0.4
Downloading  network-byte-order-0.1.6
Downloaded   network-byte-order-0.1.6
Downloading  utf8-string-1.0.2
Downloaded   utf8-string-1.0.2
Downloading  direct-sqlite-1.1
Downloaded   direct-sqlite-1.1
Downloading  zlib-0.6.2.3
Downloaded   zlib-0.6.2.3
Downloading  cereal-0.5.8.2
Downloaded   cereal-0.5.8.2
Downloading  data-default-instances-containers-0.0.1
Downloaded   data-default-instances-containers-0.0.1
Downloading  dlist-1.0
Downloaded   dlist-1.0
Downloading  data-default-instances-dlist-0.0.1
Downloaded   data-default-instances-dlist-0.0.1
Downloading  data-default-0.7.1.1
Downloaded   data-default-0.7.1.1
Downloading  reflection-2.1.6
Downloaded   reflection-2.1.6
Downloading  th-abstraction-0.4.3.0
Downloaded   th-abstraction-0.4.3.0
Downloading  deriving-compat-0.6
Downloaded   deriving-compat-0.6
Downloading  th-compat-0.1.3
Downloaded   th-compat-0.1.3
Downloading  primitive-0.7.3.0
Downloaded   primitive-0.7.3.0
Downloading  some-1.0.3
Downloaded   some-1.0.3
Downloading  sop-core-0.5.0.1
Downloaded   sop-core-0.5.0.1
Downloading  splitmix-0.1.0.4
Downloaded   splitmix-0.1.0.4
Downloading  random-1.2.1
Downloaded   random-1.2.1
Downloading  tagged-0.8.6.1
Downloaded   tagged-0.8.6.1
Downloading  boring-0.2
Downloaded   boring-0.2
Downloading  singleton-bool-0.1.6
Downloaded   singleton-bool-0.1.6
Downloading  distributive-0.6.2.1
Downloaded   distributive-0.6.2.1
Downloading  vector-0.12.3.1
Downloaded   vector-0.12.3.1
Downloading  math-functions-0.3.4.2
Downloaded   math-functions-0.3.4.2
Downloading  vector-algorithms-0.8.0.4
Downloaded   vector-algorithms-0.8.0.4
Downloading  vector-binary-instances-0.2.5.2
Downloaded   vector-binary-instances-0.2.5.2
Downloading  vector-th-unbox-0.2.2
Downloaded   vector-th-unbox-0.2.2
Downloading  dense-linear-algebra-0.1.0.0
Downloaded   dense-linear-algebra-0.1.0.0
Downloading  indexed-traversable-0.1.2
Downloaded   indexed-traversable-0.1.2
Downloading  comonad-5.0.8
Downloaded   comonad-5.0.8
Downloading  bifunctors-5.5.11
Downloaded   bifunctors-5.5.11
Downloading  assoc-1.0.2
Downloaded   assoc-1.0.2
Downloading  integer-logarithms-1.0.3.1
Downloaded   integer-logarithms-1.0.3.1
Downloading  parallel-3.2.2.0
Downloaded   parallel-3.2.2.0
Downloading  exceptions-0.10.4
Downloaded   exceptions-0.10.4
Downloading  resourcet-1.2.4.3
Downloaded   resourcet-1.2.4.3
Downloading  safe-exceptions-0.1.7.2
Downloaded   safe-exceptions-0.1.7.2
Downloading  transformers-base-0.4.6
Downloaded   transformers-base-0.4.6
Downloading  monad-control-1.0.3.1
Downloaded   monad-control-1.0.3.1
Downloading  blaze-builder-0.4.2.2
Downloaded   blaze-builder-0.4.2.2
Downloading  blaze-markup-0.8.2.8
Downloaded   blaze-markup-0.8.2.8
Downloading  blaze-html-0.9.1.2
Downloaded   blaze-html-0.9.1.2
Downloading  errors-2.3.0
Downloaded   errors-2.3.0
Downloading  hashable-1.3.0.0
Downloaded   hashable-1.3.0.0
Downloading  async-2.2.4
Downloaded   async-2.2.4
Downloading  case-insensitive-1.2.1.0
Downloaded   case-insensitive-1.2.1.0
Downloading  http-media-0.8.0.0
Downloaded   http-media-0.8.0.0
Downloading  constraints-0.13.2
Downloaded   constraints-0.13.2
Downloading  data-fix-0.3.2
Downloaded   data-fix-0.3.2
Downloading  psqueues-0.2.7.3
Downloaded   psqueues-0.2.7.3
Downloading  these-1.1.1.1
Downloaded   these-1.1.1.1
Downloading  unordered-containers-0.2.15.0
Downloaded   unordered-containers-0.2.15.0
Downloading  charset-0.3.9
Downloaded   charset-0.3.9
Downloading  uniplate-1.6.13
Downloaded   uniplate-1.6.13
Downloading  vault-0.3.1.5
Downloaded   vault-0.3.1.5
Downloading  http-types-0.12.3
Downloaded   http-types-0.12.3
Downloading  mime-types-0.1.0.9
Downloaded   mime-types-0.1.0.9
Downloading  mono-traversable-1.0.15.1
Downloaded   mono-traversable-1.0.15.1
Downloading  network-uri-2.6.4.1
Downloaded   network-uri-2.6.4.1
Downloading  prettyprinter-1.6.0
Downloaded   prettyprinter-1.6.0
Downloading  scientific-0.3.7.0
Downloaded   scientific-0.3.7.0
Downloading  attoparsec-0.14.2
Downloaded   attoparsec-0.14.2
Downloading  megaparsec-9.0.1
Downloaded   megaparsec-9.0.1
Downloading  neat-interpolation-0.5.1.2
Downloaded   neat-interpolation-0.5.1.2
Downloading  parsers-0.12.10
Downloaded   parsers-0.12.10
Downloading  strict-0.4.0.1
Downloaded   strict-0.4.0.1
Downloading  string-conversions-0.4.0.1
Downloaded   string-conversions-0.4.0.1
Downloading  text-short-0.1.4
Downloaded   text-short-0.1.4
Downloading  uuid-types-1.0.5
Downloaded   uuid-types-1.0.5
Downloading  appar-0.1.8
Downloaded   appar-0.1.8
Downloading  algebraic-graphs-0.5
Starting     appar-0.1.8 (all, legacy fallback)
Downloaded   algebraic-graphs-0.5
Downloading  abstract-par-0.3.3
Starting     algebraic-graphs-0.5 (lib)
Downloaded   abstract-par-0.3.3
Downloading  monad-par-extras-0.3.3
Starting     abstract-par-0.3.3 (lib)
Downloaded   monad-par-extras-0.3.3
Downloading  basement-0.0.12
Downloaded   basement-0.0.12
Downloading  memory-0.16.0
Downloaded   memory-0.16.0
Downloading  pem-0.2.4
Building     appar-0.1.8 (all, legacy fallback)
Downloaded   pem-0.2.4
Downloading  cryptonite-0.29
Building     algebraic-graphs-0.5 (lib)
Building     abstract-par-0.3.3 (lib)
Downloaded   cryptonite-0.29
Downloading  hourglass-0.2.12
Downloaded   hourglass-0.2.12
Downloading  asn1-types-0.3.4
Installing   appar-0.1.8 (all, legacy fallback)
Installing   abstract-par-0.3.3 (lib)
Downloaded   asn1-types-0.3.4
Downloading  asn1-encoding-0.9.6
Completed    abstract-par-0.3.3 (lib)
Starting     auto-update-0.1.6 (lib)
Completed    appar-0.1.8 (all, legacy fallback)
Starting     base-compat-0.11.2 (lib)
Downloaded   asn1-encoding-0.9.6
Downloading  asn1-parse-0.9.5
Downloaded   asn1-parse-0.9.5
Downloading  x509-1.7.5
Downloaded   x509-1.7.5
Downloading  abstract-deque-0.3
Downloaded   abstract-deque-0.3
Downloading  cookie-0.4.5
Building     auto-update-0.1.6 (lib)
Downloaded   cookie-0.4.5
Downloading  conduit-1.3.4.2
Building     base-compat-0.11.2 (lib)
Downloaded   conduit-1.3.4.2
Downloading  file-embed-0.0.15.0
Downloaded   file-embed-0.0.15.0
Downloading  libyaml-0.1.2
Downloaded   libyaml-0.1.2
Downloading  process-1.6.13.2
Downloaded   process-1.6.13.2
Downloading  hsc2hs-0.68.8
Downloaded   hsc2hs-0.68.8
Downloading  code-page-0.2.1
Installing   auto-update-0.1.6 (lib)
Downloaded   code-page-0.2.1
Downloading  libBF-0.6.2
Completed    auto-update-0.1.6 (lib)
Starting     base-orphans-0.8.6 (lib)
Downloaded   libBF-0.6.2
Downloading  mintty-0.1.3
Downloaded   mintty-0.1.3
Downloading  ansi-terminal-0.11.1
Downloaded   ansi-terminal-0.11.1
Downloading  ansi-wl-pprint-0.6.9
Downloaded   ansi-wl-pprint-0.6.9
Downloading  prettyprinter-ansi-terminal-1.1.2
Downloaded   prettyprinter-ansi-terminal-1.1.2
Downloading  network-3.1.2.5
Downloaded   network-3.1.2.5
Downloading  iproute-1.7.12
Building     base-orphans-0.8.6 (lib)
Downloaded   iproute-1.7.12
Downloading  wai-3.2.3
Downloaded   wai-3.2.3
Downloading  wai-cors-0.2.7
Downloaded   wai-cors-0.2.7
Downloading  unix-time-0.4.7
Downloaded   unix-time-0.4.7
Downloading  http2-3.0.2
Downloaded   http2-3.0.2
Downloading  optparse-applicative-0.15.1.0
Downloaded   optparse-applicative-0.15.1.0
Downloading  typed-process-0.2.8.0
Downloaded   typed-process-0.2.8.0
Downloading  streaming-commons-0.2.2.2
Downloaded   streaming-commons-0.2.2.2
Downloading  conduit-extra-1.3.5
Downloaded   conduit-extra-1.3.5
Downloading  simple-sendfile-0.2.30
Downloaded   simple-sendfile-0.2.30
Downloading  easy-file-0.2.2
Downloaded   easy-file-0.2.2
Downloading  http-client-0.7.9
Installing   base-orphans-0.8.6 (lib)
Downloaded   http-client-0.7.9
Downloading  http-date-0.0.11
Completed    base-orphans-0.8.6 (lib)
Starting     base-unicode-symbols-0.2.4.2 (all, legacy fallback)
Downloaded   http-date-0.0.11
Downloading  mwc-random-0.15.0.2
Downloaded   mwc-random-0.15.0.2
Downloading  monad-par-0.3.5
Downloaded   monad-par-0.3.5
Downloading  time-compat-1.9.5
Downloaded   time-compat-1.9.5
Downloading  aeson-1.5.6.0
Downloaded   aeson-1.5.6.0
Downloading  criterion-measurement-0.1.3.0
Downloaded   criterion-measurement-0.1.3.0
Downloading  microstache-1.0.2
Building     base-unicode-symbols-0.2.4.2 (all, legacy fallback)
Downloaded   microstache-1.0.2
Downloading  statistics-0.15.2.0
Downloaded   statistics-0.15.2.0
Downloading  yaml-0.11.7.0
Downloaded   yaml-0.11.7.0
Downloading  attoparsec-iso8601-1.0.2.0
Downloaded   attoparsec-iso8601-1.0.2.0
Downloading  http-api-data-0.4.3
Downloaded   http-api-data-0.4.3
Downloading  unliftio-0.2.20
Downloaded   unliftio-0.2.20
Downloading  unix-compat-0.5.3
Downloaded   unix-compat-0.5.3
Downloading  fast-logger-3.0.5
Installing   base-unicode-symbols-0.2.4.2 (all, legacy fallback)
Downloaded   fast-logger-3.0.5
Downloading  warp-3.3.18
Completed    base-unicode-symbols-0.2.4.2 (all, legacy fallback)
Downloaded   warp-3.3.18
Downloading  StateVar-1.2.2
Starting     base16-bytestring-0.1.1.7 (lib)
Downloaded   StateVar-1.2.2
Downloading  contravariant-1.5.5
Starting     StateVar-1.2.2 (lib)
Downloaded   contravariant-1.5.5
Downloading  profunctors-5.6.2
Downloaded   profunctors-5.6.2
Downloading  semigroupoids-5.3.6
Downloaded   semigroupoids-5.3.6
Downloading  free-5.1.7
Downloaded   free-5.1.7
Downloading  adjunctions-4.4
Downloaded   adjunctions-4.4
Downloading  reducers-3.12.4
Downloaded   reducers-3.12.4
Downloading  invariant-0.5.5
Downloaded   invariant-0.5.5
Downloading  kan-extensions-5.2.3
Building     base16-bytestring-0.1.1.7 (lib)
Building     StateVar-1.2.2 (lib)
Downloaded   kan-extensions-5.2.3
Downloading  QuickCheck-2.14.2
Downloaded   QuickCheck-2.14.2
Downloading  sbv-8.17
Installing   base16-bytestring-0.1.1.7 (lib)
Installing   StateVar-1.2.2 (lib)
Completed    base16-bytestring-0.1.1.7 (lib)
Installing   algebraic-graphs-0.5 (lib)
Starting     base64-bytestring-1.0.0.3 (lib)
Downloaded   sbv-8.17
Downloading  servant-0.18.3
Completed    StateVar-1.2.2 (lib)
Downloaded   servant-0.18.3
Downloading  servant-client-core-0.18.3
Starting     basement-0.0.12 (lib)
Completed    algebraic-graphs-0.5 (lib)
Downloaded   servant-client-core-0.18.3
Downloading  servant-client-0.18.3
Starting     blaze-builder-0.4.2.2 (lib)
Downloaded   servant-client-0.18.3
Downloading  Only-0.1
Downloaded   Only-0.1
Downloading  cassava-0.5.2.0
Installing   base-compat-0.11.2 (lib)
Starting     Only-0.1 (lib)
Downloaded   cassava-0.5.2.0
Downloading  OneTuple-0.3
Downloaded   OneTuple-0.3
Downloading  binary-orphans-1.0.2
Downloaded   binary-orphans-1.0.2
Downloading  bytes-0.17.1
Completed    base-compat-0.11.2 (lib)
Building     base64-bytestring-1.0.0.3 (lib)
Downloaded   bytes-0.17.1
Downloading  bound-2.0.4
Downloaded   bound-2.0.4
Downloading  indexed-traversable-instances-0.1.1
Building     basement-0.0.12 (lib)
Starting     bsb-http-chunked-0.0.0.4 (lib)
Building     blaze-builder-0.4.2.2 (lib)
Downloaded   indexed-traversable-instances-0.1.1
Downloading  lens-5.0.1
Building     Only-0.1 (lib)
Downloaded   lens-5.0.1
Downloading  lens-aeson-1.1.3
Downloaded   lens-aeson-1.1.3
Downloading  trifecta-2.1.1
Installing   Only-0.1 (lib)
Installing   base64-bytestring-1.0.0.3 (lib)
Completed    Only-0.1 (lib)
Downloaded   trifecta-2.1.1
Downloading  quickcheck-instances-0.3.27
Starting     byteorder-1.0.4 (all, legacy fallback)
Completed    base64-bytestring-1.0.0.3 (lib)
Building     bsb-http-chunked-0.0.0.4 (lib)
Downloaded   quickcheck-instances-0.3.27
Downloading  NumInstances-1.4
Downloaded   NumInstances-1.4
Downloading  MemoTrie-0.6.10
Starting     NumInstances-1.4 (lib)
Downloaded   MemoTrie-0.6.10
Downloading  HUnit-1.6.2.0
Installing   bsb-http-chunked-0.0.0.4 (lib)
Downloaded   HUnit-1.6.2.0
Downloading  Glob-0.10.2
Completed    bsb-http-chunked-0.0.0.4 (lib)
Starting     call-stack-0.4.0 (lib)
Downloaded   Glob-0.10.2
Downloading  criterion-1.5.11.0
Downloaded   criterion-1.5.11.0
Downloading  Decimal-0.5.2
Downloaded   Decimal-0.5.2
Downloading  cabal-doctest-1.0.9
Starting     Decimal-0.5.2 (lib)
Building     byteorder-1.0.4 (all, legacy fallback)
Downloaded   cabal-doctest-1.0.9
Downloading  entropy-0.4.1.7
Starting     cabal-doctest-1.0.9 (lib)
Downloaded   entropy-0.4.1.7
Downloading  crypto-api-0.13.3
Downloaded   crypto-api-0.13.3
Downloading  ed25519-donna-0.1.1
Installing   byteorder-1.0.4 (all, legacy fallback)
Installing   blaze-builder-0.4.2.2 (lib)
Building     NumInstances-1.4 (lib)
Completed    byteorder-1.0.4 (all, legacy fallback)
Starting     cereal-0.5.8.2 (lib)
Completed    blaze-builder-0.4.2.2 (lib)
Starting     clock-0.8.2 (lib)
Downloaded   ed25519-donna-0.1.1
Downloading  wai-logger-2.3.6
Building     call-stack-0.4.0 (lib)
Downloaded   wai-logger-2.3.6
Downloading  wai-extra-3.1.7
Downloaded   wai-extra-3.1.7
Downloading  wai-app-static-3.1.7.2
Downloaded   wai-app-static-3.1.7.2
Downloading  servant-server-0.18.3
Building     Decimal-0.5.2 (lib)
Building     cabal-doctest-1.0.9 (lib)
Downloaded   servant-server-0.18.3
Downloading  Boolean-0.2.4
Downloaded   Boolean-0.2.4
Downloading  vector-space-0.16
Starting     Boolean-0.2.4 (all, legacy fallback)
Installing   call-stack-0.4.0 (lib)
Building     cereal-0.5.8.2 (lib)
Downloaded   vector-space-0.16
Downloading  pact-time-0.2.0.0
Completed    call-stack-0.4.0 (lib)
Starting     colour-2.3.5 (lib)
Building     clock-0.8.2 (lib)
Downloaded   pact-time-0.2.0.0
Installing   Decimal-0.5.2 (lib)
Installing   cabal-doctest-1.0.9 (lib)
Installing   NumInstances-1.4 (lib)
Completed    Decimal-0.5.2 (lib)
Starting     data-default-class-0.1.2.0 (all, legacy fallback)
Completed    cabal-doctest-1.0.9 (lib)
Starting     dec-0.0.4 (lib)
Completed    NumInstances-1.4 (lib)
Starting     dlist-1.0 (lib)
Building     Boolean-0.2.4 (all, legacy fallback)
Building     colour-2.3.5 (lib)
Building     data-default-class-0.1.2.0 (all, legacy fallback)
Building     dec-0.0.4 (lib)
Building     dlist-1.0 (lib)
Installing   Boolean-0.2.4 (all, legacy fallback)
Installing   dec-0.0.4 (lib)
Completed    Boolean-0.2.4 (all, legacy fallback)
Starting     easy-file-0.2.2 (all, legacy fallback)
Installing   data-default-class-0.1.2.0 (all, legacy fallback)
Completed    dec-0.0.4 (lib)
Starting     entropy-0.4.1.7 (all, legacy fallback)
Completed    data-default-class-0.1.2.0 (all, legacy fallback)
Starting     exceptions-0.10.4 (lib)
Installing   dlist-1.0 (lib)
Building     easy-file-0.2.2 (all, legacy fallback)
Installing   clock-0.8.2 (lib)
Completed    dlist-1.0 (lib)
Starting     file-embed-0.0.15.0 (lib)
Completed    clock-0.8.2 (lib)
Starting     fingertree-0.1.4.2 (lib)
Building     exceptions-0.10.4 (lib)
Installing   colour-2.3.5 (lib)
Installing   easy-file-0.2.2 (all, legacy fallback)
Completed    colour-2.3.5 (lib)
Starting     hashable-1.3.0.0 (lib)
Completed    easy-file-0.2.2 (all, legacy fallback)
Starting     hourglass-0.2.12 (lib)
Building     file-embed-0.0.15.0 (lib)
Building     fingertree-0.1.4.2 (lib)
Installing   cereal-0.5.8.2 (lib)
Completed    cereal-0.5.8.2 (lib)
Installing   exceptions-0.10.4 (lib)
Starting     indexed-traversable-0.1.2 (lib)
Completed    exceptions-0.10.4 (lib)
Starting     integer-logarithms-1.0.3.1 (lib)
Installing   file-embed-0.0.15.0 (lib)
Building     hashable-1.3.0.0 (lib)
Building     hourglass-0.2.12 (lib)
Completed    file-embed-0.0.15.0 (lib)
Starting     js-chart-2.9.4.1 (lib)
Building     indexed-traversable-0.1.2 (lib)
Building     integer-logarithms-1.0.3.1 (lib)
Building     js-chart-2.9.4.1 (lib)
Installing   hashable-1.3.0.0 (lib)
Completed    hashable-1.3.0.0 (lib)
Starting     microlens-0.4.12.0 (lib)
Installing   js-chart-2.9.4.1 (lib)
Installing   integer-logarithms-1.0.3.1 (lib)
Installing   fingertree-0.1.4.2 (lib)
Completed    js-chart-2.9.4.1 (lib)
Starting     mime-types-0.1.0.9 (lib)
Completed    integer-logarithms-1.0.3.1 (lib)
Starting     network-byte-order-0.1.6 (lib)
Completed    fingertree-0.1.4.2 (lib)
Starting     newtype-generics-0.6.1 (lib)
Installing   indexed-traversable-0.1.2 (lib)
Building     entropy-0.4.1.7 (all, legacy fallback)
Completed    indexed-traversable-0.1.2 (lib)
Starting     old-locale-1.0.0.7 (lib)
Building     microlens-0.4.12.0 (lib)
Building     mime-types-0.1.0.9 (lib)
Building     newtype-generics-0.6.1 (lib)
Building     network-byte-order-0.1.6 (lib)
Building     old-locale-1.0.0.7 (lib)
Installing   microlens-0.4.12.0 (lib)
Installing   newtype-generics-0.6.1 (lib)
Completed    microlens-0.4.12.0 (lib)
Starting     parallel-3.2.2.0 (lib)
Completed    newtype-generics-0.6.1 (lib)
Installing   old-locale-1.0.0.7 (lib)
Starting     parser-combinators-1.3.0 (lib)
Installing   hourglass-0.2.12 (lib)
Installing   network-byte-order-0.1.6 (lib)
Completed    old-locale-1.0.0.7 (lib)
Starting     prettyprinter-1.6.0 (lib)
Completed    hourglass-0.2.12 (lib)
Starting     primitive-0.7.3.0 (lib)
Completed    network-byte-order-0.1.6 (lib)
Starting     process-1.6.13.2 (all, legacy fallback)
Building     parallel-3.2.2.0 (lib)
Building     parser-combinators-1.3.0 (lib)
Starting     reflection-2.1.6 (lib)
Building     prettyprinter-1.6.0 (lib)
Building     primitive-0.7.3.0 (lib)
Installing   parallel-3.2.2.0 (lib)
Building     reflection-2.1.6 (lib)
Completed    parallel-3.2.2.0 (lib)
Installing   mime-types-0.1.0.9 (lib)
Installing   parser-combinators-1.3.0 (lib)
Completed    mime-types-0.1.0.9 (lib)
Completed    parser-combinators-1.3.0 (lib)
Installing   entropy-0.4.1.7 (all, legacy fallback)
Completed    entropy-0.4.1.7 (all, legacy fallback)
Installing   reflection-2.1.6 (lib)
Completed    reflection-2.1.6 (lib)
Installing   prettyprinter-1.6.0 (lib)
Completed    prettyprinter-1.6.0 (lib)
Installing   primitive-0.7.3.0 (lib)
Completed    primitive-0.7.3.0 (lib)
Installing   basement-0.0.12 (lib)
Completed    basement-0.0.12 (lib)
cabal-3.6.2.0.exe: Failed to build process-1.6.13.2 (which is required by
exe:pact from pact-4.1.1 and exe:gasmodel from pact-4.1.1). The failure
occurred during the configure step. The build process terminated with exit
code 127

cristian-sima avatar Nov 29 '21 16:11 cristian-sima

A day later and I still was not able to install it. Is it possible to give me someone the binary for Windows 10 Pro x64 for v4.1.1?

cristian-sima avatar Nov 30 '21 16:11 cristian-sima

@sirlensalot any help with a binary for Windows?

I want to program in Pact however I can not install on Windows platform (I am trying for a week). It work on a Mac, but I have Windows. In case I am not able to install it, I will change to a different blockchain...

cristian-sima avatar Nov 30 '21 16:11 cristian-sima

I am getting this eror ... over and over again ...

Building library for pact-4.1.1..
[  1 of 124] Compiling Crypto.Hash.Blake2Native ( src\Crypto\Hash\Blake2Native.hs, C:\ghcup\msys64\home\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Crypto\Hash\Blake2Native.o )
[  2 of 124] Compiling Pact.Analyze.PactSFunArray ( src-tool\Pact\Analyze\PactSFunArray.hs, C:\ghcup\msys64\home\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Analyze\PactSFunArray.o )
[  3 of 124] Compiling Pact.Types.Codec ( src\Pact\Types\Codec.hs, C:\ghcup\msys64\home\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Types\Codec.o )
[  4 of 124] Compiling Pact.Types.ECDSA ( src-ghc\Pact\Types\ECDSA.hs, C:\ghcup\msys64\home\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Types\ECDSA.o )
[  5 of 124] Compiling Pact.Types.Orphans ( src\Pact\Types\Orphans.hs, C:\ghcup\msys64\home\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Types\Orphans.o )
[  6 of 124] Compiling Pact.Types.Parser ( src\Pact\Types\Parser.hs, C:\ghcup\msys64\home\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Types\Parser.o )
[  7 of 124] Compiling Pact.Types.Pretty ( src\Pact\Types\Pretty.hs, C:\ghcup\msys64\home\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Types\Pretty.o )
[  8 of 124] Compiling Pact.Analyze.Types.Types ( src-tool\Pact\Analyze\Types\Types.hs, C:\ghcup\msys64\home\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Analyze\Types\Types.o )
[  9 of 124] Compiling Pact.Analyze.Types.ObjUtil ( src-tool\Pact\Analyze\Types\ObjUtil.hs, C:\ghcup\msys64\home\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Analyze\Types\ObjUtil.o )
[ 10 of 124] Compiling Pact.Types.SQLite ( src-ghc\Pact\Types\SQLite.hs, C:\ghcup\msys64\home\pact\dist-newstyle\build\x86_64-windows\ghc-8.6.5\pact-4.1.1\build\Pact\Types\SQLite.o )

src-ghc\Pact\Types\SQLite.hs:37:1: error:
    Could not load module ‘Database.SQLite3.Direct’
    It is a member of the hidden package ‘direct-sqlite-2.3.26’.
    Perhaps you need to add ‘direct-sqlite’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.
   |
37 | import Database.SQLite3.Direct as SQ3
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal.exe: Failed to build pact-4.1.1 (which is required by exe:pact from
pact-4.1.1 and exe:gasmodel from pact-4.1.1).

cristian-sima avatar Nov 30 '21 16:11 cristian-sima

@sirlensalot

To conclude the entire issue:

  1. I managed to install ❤❤❤❤❤❤❤❤💖😎💖🌹💋🎂🎶🙌😁 the last version v4.1.1.

I think there is a problem with it:

The installer requests direct-sqlite-2.3.26 however, there was installed a v1.1 version.

So, I modified pact.cabal in every build-depends and I added this line

, direct-sqlite >= 2.3.26

and now it works.

However it seems there is a bug with it. For the version 3.5.0 there is no problem.

It is nice to provide also the binary for each Windows installation (x64 x32), to

cristian-sima avatar Nov 30 '21 17:11 cristian-sima

I'm having this same issue but on Ubuntu 20

src-ghc/Pact/Types/SQLite.hs:37:1: error: Could not find module ‘Database.SQLite3.Direct’ Use -v (or :set -v` in ghci) to see a list of the files searched for. | 37 | import Database.SQLite3.Direct as SQ3 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

cabal: Failed to build pact-4.1.1-inplace. Failed to build pact-4.1.1 because it depends on pact-4.1.1 which itself failed to build. Failed to build pact-4.1.1 because it depends on pact-4.1.1 which itself failed to build. `

zarifaziz avatar Dec 22 '21 04:12 zarifaziz