Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hsc2hs-ghc-9.8.4.exe: fd:3: hGetContents: invalid argument (cannot decode byte sequence starting from... #6670

Open
clin1234 opened this issue Dec 11, 2024 · 14 comments

Comments

@clin1234
Copy link

clin1234 commented Dec 11, 2024

Expected

Successful compilation

Actual

C:\Users\שזדס>stack install  --keep-going --verbose network clock unix-compat zlib ansi-terminal basement old-time
Version 3.1.1, Git revision d8cef4ea052430ea09ce7836c41e68b52d04fd73 x86_64 hpack-0.37.0
2024-12-11 16:53:18.638904: [debug] Checking for project config at: C:\Users\שזדס\stack.yaml
2024-12-11 16:53:18.644902: [debug] Checking for project config at: C:\Users\stack.yaml
2024-12-11 16:53:18.645903: [debug] Checking for project config at: C:\stack.yaml
2024-12-11 16:53:18.645903: [debug] No project config file found, using defaults.
2024-12-11 16:53:18.656122: [debug] Use of Casa server enabled: (CasaRepoPrefix "https://casa.stackage.org", 1280).
2024-12-11 16:53:18.686122: [debug] (SQL) SELECT COUNT(*) FROM "last_performed" WHERE ("action"=?) AND ("timestamp">=?); [PersistInt64 1,PersistUTCTime 2024-12-10 21:53:18.6861229 UTC]
2024-12-11 16:53:18.731125: [debug] Run from outside a project, using implicit global project config
2024-12-11 16:53:18.734136: [debug] Using snapshot: lts-23.0 from implicit global project's config file: C:\Users\שזדס\AppData\Roaming\stack\global-project\stack.yaml
2024-12-11 16:53:18.735138: [debug] Using package location completions from a lock file
2024-12-11 16:53:18.743138: [debug] Loaded snapshot from Pantry database.
2024-12-11 16:53:19.177805: [debug] Prefetching git repos: []
2024-12-11 16:53:19.178808: [debug] []
2024-12-11 16:53:19.188805: [debug] Asking for a supported GHC version
2024-12-11 16:53:19.194806: [debug] Installed tools:
 - msys2-20240727
 - ghc-9.8.4
2024-12-11 16:53:19.195810: [debug] Potential GHC builds: standard
2024-12-11 16:53:19.195810: [debug] Found already installed GHC builds: standard
2024-12-11 16:53:19.198806: [debug] (SQL) SELECT "id","actual_version","arch","ghc_path","ghc_size","ghc_modified","ghc_pkg_path","runghc_path","haddock_path","cabal_version","global_db","global_db_cache_size","global_db_cache_modified","info","global_dump" FROM "compiler_cache" WHERE "ghc_path"=?; [PersistText "C:\\Users\\\1513\1494\1491\1505\\AppData\\Local\\Programs\\stack\\x86_64-windows\\ghc-9.8.4\\bin\\ghc-9.8.4.exe"]
2024-12-11 16:53:19.334363: [debug] Loaded compiler information from cache
2024-12-11 16:53:19.335364: [debug] Asking for a supported GHC version
2024-12-11 16:53:19.335364: [debug] Resolving package entries
2024-12-11 16:53:19.335364: [debug] Parsing the targets
2024-12-11 16:53:19.343362: [debug] Applying and checking flags
2024-12-11 16:53:19.347362: [debug] SourceMap constructed
2024-12-11 16:53:19.358606: [debug] Starting to execute command inside EnvConfig
2024-12-11 16:53:19.360609: [debug] Finding out which packages are already installed
2024-12-11 16:53:19.361604: [debug] Run process: C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --global --no-user-package-db dump --expand-pkgroot
2024-12-11 16:53:19.504455: [debug] Process finished in 142ms: C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --global --no-user-package-db dump --expand-pkgroot
2024-12-11 16:53:19.530457: [debug] Run process: C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --no-user-package-db --package-db C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\pkgdb dump --expand-pkgroot
2024-12-11 16:53:19.780874: [debug] Process finished in 250ms: C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --no-user-package-db --package-db C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\pkgdb dump --expand-pkgroot
2024-12-11 16:53:19.800874: [debug] Run process: C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --no-user-package-db --package-db C:\Users\שזדס\AppData\Roaming\stack\global-project\.stack-work\install\d684c88e\pkgdb dump --expand-pkgroot
2024-12-11 16:53:19.909418: [debug] Process finished in 109ms: C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --no-user-package-db --package-db C:\Users\שזדס\AppData\Roaming\stack\global-project\.stack-work\install\d684c88e\pkgdb dump --expand-pkgroot
2024-12-11 16:53:19.911422: [debug] Constructing the build plan
2024-12-11 16:53:19.917417: [debug] Parsing cabal file for ansi-terminal (from Hackage)
2024-12-11 16:53:19.918417: [debug] Got blob from Pantry database for ansi-terminal-1.1.2@sha256:8e669f090aa3b9a62ef78f687dda12a19231ee163d2084522464036980a322ea,2758
2024-12-11 16:53:19.925419: [debug] Parsing cabal file for basement (from Hackage)
2024-12-11 16:53:19.926417: [debug] Got blob from Pantry database for basement-0.0.16@sha256:e9458cbe67f396fb81900ec65852a582a2b7febd09b17a85adee576c8d7cc321,5404
2024-12-11 16:53:19.932418: [debug] Parsing cabal file for clock (from Hackage)
2024-12-11 16:53:19.933429: [debug] Got blob from Pantry database for clock-0.8.4@sha256:b938655b00cf204ce69abfff946021bed111d2609a9f7a9c22e28a1a202e9115,4631
2024-12-11 16:53:19.937431: [debug] Parsing cabal file for network (from Hackage)
2024-12-11 16:53:19.939432: [debug] Got blob from Pantry database for network-3.2.7.0@sha256:e3a1ec8b8dd32f1d5a541679a67de60d6626487a95f20c6bc245268ae7142ab7,5305
2024-12-11 16:53:19.953965: [debug] Parsing cabal file for old-time (from Hackage)
2024-12-11 16:53:19.954964: [debug] Got blob from Pantry database for old-time-1.1.0.4@sha256:6e3dfb5b1d7cb24ed7ea9bbca1153485ae38fa0534b0581886dd42eeedf82447,1489
2024-12-11 16:53:19.958963: [debug] Parsing cabal file for unix-compat (from Hackage)
2024-12-11 16:53:19.959964: [debug] Got blob from Pantry database for unix-compat-0.7.3@sha256:b23220ab66f6ab2bedeec964152fef48c1f00f33dc911a59dde842d1d8fd2e05,3244
2024-12-11 16:53:19.962963: [debug] Parsing cabal file for zlib (from Hackage)
2024-12-11 16:53:19.963976: [debug] Got blob from Pantry database for zlib-0.7.1.0@sha256:85e64a75c0b490506a7edaa2d54950c668e66b65758bb08bb14cd31faf53a206,5357
2024-12-11 16:53:19.968966: [debug] Checking if we are going to build multiple executables with the same name
2024-12-11 16:53:19.969963: [debug] Executing the build plan
2024-12-11 16:53:19.974966: [debug] (SQL) SELECT "id","platform_ghc_dir","compiler","cabal_version","package_key","options_hash","haddock","library" FROM "precompiled_cache" WHERE "platform_ghc_dir"=? AND "compiler"=? AND "cabal_version"=? AND "package_key"=? AND "options_hash"=? AND "haddock"=?; [PersistText "x86_64-windows\\",PersistText "ghc-9.8.4",PersistText "3.10.3.0",PersistText "3c533b6c2d3c59606365a7c5ab3ca9addf09482c374f33328a5c0c907d5c2996,1184",PersistByteString ".\229\230\nj\154\&9\165\ETX\SI\252\v\255\225!\252\163-;4&\255'\195P\241\238xS=|8",PersistBool False]
2024-12-11 16:53:19.977964: [debug] (SQL) SELECT "id","platform_ghc_dir","compiler","cabal_version","package_key","options_hash","haddock","library" FROM "precompiled_cache" WHERE "platform_ghc_dir"=? AND "compiler"=? AND "cabal_version"=? AND "package_key"=? AND "options_hash"=? AND "haddock"=?; [PersistText "x86_64-windows\\",PersistText "ghc-9.8.4",PersistText "3.10.3.0",PersistText "868afcc62edd1c3af6405ee0a5d1bcc0cdc0919114e26299c7fd63706c750973,5799",PersistByteString "\199\r\211t\SIK\251ho8\206d:.\206\142/\r\198\185=\183\152\178HOL\240\196\174\DC4k",PersistBool False]
2024-12-11 16:53:19.980965: [debug] (SQL) SELECT "id","platform_ghc_dir","compiler","cabal_version","package_key","options_hash","haddock","library" FROM "precompiled_cache" WHERE "platform_ghc_dir"=? AND "compiler"=? AND "cabal_version"=? AND "package_key"=? AND "options_hash"=? AND "haddock"=?; [PersistText "x86_64-windows\\",PersistText "ghc-9.8.4",PersistText "3.10.3.0",PersistText "0ca511f7ea409e65a9de5539f265bb906a3eec6a4ac1a201731a8a328120cc88,499",PersistByteString "yW\b\153\150\&9/\186MX\ACKGaNf\175\245\221|\153\224X\140rG/\253\212x)\249T",PersistBool False]
2024-12-11 16:53:19.981965: [debug] (SQL) SELECT "id","platform_ghc_dir","compiler","cabal_version","package_key","options_hash","haddock","library" FROM "precompiled_cache" WHERE "platform_ghc_dir"=? AND "compiler"=? AND "cabal_version"=? AND "package_key"=? AND "options_hash"=? AND "haddock"=?; [PersistText "x86_64-windows\\",PersistText "ghc-9.8.4",PersistText "3.10.3.0",PersistText "a6b96da036a806119e17bd90ab2ef499778cf727531e22f3274ae9970ea630cf,4039",PersistByteString "\161\&6\148@'j\183J:\251\&6C\221\157\ENQ\232\173G\EOTn\136P\163\167\179\207\133!\NAK\207\171@",PersistBool False]
2024-12-11 16:53:19.983964: [debug] Loaded package from Pantry: ansi-terminal-1.1.2@sha256:8e669f090aa3b9a62ef78f687dda12a19231ee163d2084522464036980a322ea,2758 (from Hackage)
2024-12-11 16:53:19.984965: [debug] (SQL) SELECT "id","platform_ghc_dir","compiler","cabal_version","package_key","options_hash","haddock","library" FROM "precompiled_cache" WHERE "platform_ghc_dir"=? AND "compiler"=? AND "cabal_version"=? AND "package_key"=? AND "options_hash"=? AND "haddock"=?; [PersistText "x86_64-windows\\",PersistText "ghc-9.8.4",PersistText "3.10.3.0",PersistText "91bb4989381a2ff44029136f0da60ad89303fa3e21f23ee300f1b6f2e0959661,810",PersistByteString "\"H\245\231\131m0\173s\207\247)^G,5N\211^\255\142\RSe<\198\236\185\249\249\180Z\227",PersistBool False]
2024-12-11 16:53:19.986968: [debug] (SQL) SELECT "id","platform_ghc_dir","compiler","cabal_version","package_key","options_hash","haddock","library" FROM "precompiled_cache" WHERE "platform_ghc_dir"=? AND "compiler"=? AND "cabal_version"=? AND "package_key"=? AND "options_hash"=? AND "haddock"=?; [PersistText "x86_64-windows\\",PersistText "ghc-9.8.4",PersistText "3.10.3.0",PersistText "9f31237b73544c43a9349446e7b55ca6e8195ca45ead413778d35bba185e0aea,1329",PersistByteString "\254\234$\DELH\222TlU\143\212\199\173\CAN\195\228\209\189\233\190\EOT\167Pp\234a\153!Ap\DC4z",PersistBool False]
2024-12-11 16:53:19.988965: [debug] (SQL) SELECT "id","platform_ghc_dir","compiler","cabal_version","package_key","options_hash","haddock","library" FROM "precompiled_cache" WHERE "platform_ghc_dir"=? AND "compiler"=? AND "cabal_version"=? AND "package_key"=? AND "options_hash"=? AND "haddock"=?; [PersistText "x86_64-windows\\",PersistText "ghc-9.8.4",PersistText "3.10.3.0",PersistText "2fe987bd42dbe601fdbdb20d0027eda1dc7e7d1894a0a717d4e2321509ef407d,1519",PersistByteString "\147\b\166\209uS\ENQ\128\231t\212\f\250\149\b\ENQ\202Y>\224.\223`\177\240\218\141j\f\241_\233",PersistBool False]
2024-12-11 16:53:19.993966: [debug] Loaded package from Pantry: basement-0.0.16@sha256:e9458cbe67f396fb81900ec65852a582a2b7febd09b17a85adee576c8d7cc321,5404 (from Hackage)
2024-12-11 16:53:20.031963: [debug] (SQL) SELECT "id","directory","type","pkg_src","active","path_env_var","haddock" FROM "config_cache" WHERE "directory"=? AND "type"=?; [PersistText "C:\\Users\\\1513\1494\1491\1505\\AppData\\Local\\Temp\\stack-7e4f96944922f000\\ansi-terminal-1.1.2\\",PersistText "config"]
2024-12-11 16:53:20.036980: [debug] Loaded package from Pantry: clock-0.8.4@sha256:b938655b00cf204ce69abfff946021bed111d2609a9f7a9c22e28a1a202e9115,4631 (from Hackage)
2024-12-11 16:53:20.036980: [debug] (SQL) UPDATE "config_cache" SET "active"=? WHERE ("directory"=?) AND ("type"=?); [PersistBool False,PersistText "C:\\Users\\\1513\1494\1491\1505\\AppData\\Local\\Temp\\stack-7e4f96944922f000\\ansi-terminal-1.1.2\\",PersistText "config"]
2024-12-11 16:53:20.038973: [info] ansi-terminal> configure
2024-12-11 16:53:20.040975: [debug] Run process within C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\ansi-terminal-1.1.2\: C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 configure --with-ghc=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --with-ghc-pkg=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --package-db=clear --package-db=global --package-db=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\pkgdb --libdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\lib --bindir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\bin --datadir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\share --libexecdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\libexec --sysconfdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\etc --docdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\ansi-terminal-1.1.2 --htmldir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\ansi-terminal-1.1.2 --haddockdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\ansi-terminal-1.1.2 --dependency=ansi-terminal-types=ansi-terminal-types-1.1-EqUxNjFblshCJNUqwisTml --dependency=base=base-4.19.2.0-943b --dependency=colour=colour-2.3.6-JugjQO5LY8w9oYxTZXPJZQ -f-example --extra-include-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\include --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\lib --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\bin --exact-configuration --ghc-option=-fhide-source-paths
2024-12-11 16:53:20.057502: [debug] Loaded package from Pantry: network-3.2.7.0@sha256:e3a1ec8b8dd32f1d5a541679a67de60d6626487a95f20c6bc245268ae7142ab7,5305 (from Hackage)
2024-12-11 16:53:20.150054: [info] ansi-terminal> Configuring ansi-terminal-1.1.2...
2024-12-11 16:53:20.234060: [debug] (SQL) SELECT "id","directory","type","pkg_src","active","path_env_var","haddock" FROM "config_cache" WHERE "directory"=? AND "type"=?; [PersistText "C:\\Users\\\1513\1494\1491\1505\\AppData\\Local\\Temp\\stack-7e4f96944922f000\\basement-0.0.16\\",PersistText "config"]
2024-12-11 16:53:20.238061: [debug] (SQL) UPDATE "config_cache" SET "active"=? WHERE ("directory"=?) AND ("type"=?); [PersistBool False,PersistText "C:\\Users\\\1513\1494\1491\1505\\AppData\\Local\\Temp\\stack-7e4f96944922f000\\basement-0.0.16\\",PersistText "config"]
2024-12-11 16:53:20.240061: [info] basement     > configure
2024-12-11 16:53:20.243057: [debug] Run process within C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\basement-0.0.16\: C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 configure --with-ghc=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --with-ghc-pkg=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --package-db=clear --package-db=global --package-db=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\pkgdb --libdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\lib --bindir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\bin --datadir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\share --libexecdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\libexec --sysconfdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\etc --docdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\basement-0.0.16 --htmldir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\basement-0.0.16 --haddockdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\basement-0.0.16 --dependency=Win32=Win32-2.13.4.0-9aa2 --dependency=base=base-4.19.2.0-943b --dependency=ghc-prim=ghc-prim-0.11.0-4de7 --extra-include-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\include --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\lib --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\bin --exact-configuration --ghc-option=-fhide-source-paths
2024-12-11 16:53:20.268296: [debug] (SQL) SELECT "id","directory","type","pkg_src","active","path_env_var","haddock" FROM "config_cache" WHERE "directory"=? AND "type"=?; [PersistText "C:\\Users\\\1513\1494\1491\1505\\AppData\\Local\\Temp\\stack-7e4f96944922f000\\clock-0.8.4\\",PersistText "config"]
2024-12-11 16:53:20.271297: [debug] Loaded package from Pantry: old-time-1.1.0.4@sha256:6e3dfb5b1d7cb24ed7ea9bbca1153485ae38fa0534b0581886dd42eeedf82447,1489 (from Hackage)
2024-12-11 16:53:20.272296: [debug] (SQL) UPDATE "config_cache" SET "active"=? WHERE ("directory"=?) AND ("type"=?); [PersistBool False,PersistText "C:\\Users\\\1513\1494\1491\1505\\AppData\\Local\\Temp\\stack-7e4f96944922f000\\clock-0.8.4\\",PersistText "config"]
2024-12-11 16:53:20.274295: [info] clock        > configure
2024-12-11 16:53:20.279297: [debug] Run process within C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\clock-0.8.4\: C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 configure --with-ghc=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --with-ghc-pkg=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --package-db=clear --package-db=global --package-db=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\pkgdb --libdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\lib --bindir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\bin --datadir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\share --libexecdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\libexec --sysconfdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\etc --docdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\clock-0.8.4 --htmldir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\clock-0.8.4 --haddockdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\clock-0.8.4 --dependency=base=base-4.19.2.0-943b -f-llvm --extra-include-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\include --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\lib --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\bin --exact-configuration --ghc-option=-fhide-source-paths
2024-12-11 16:53:20.321297: [info] basement     > Configuring basement-0.0.16...
2024-12-11 16:53:20.363837: [info] clock        > Configuring clock-0.8.4...
2024-12-11 16:53:20.437851: [debug] (SQL) SELECT "id","directory","type","pkg_src","active","path_env_var","haddock" FROM "config_cache" WHERE "directory"=? AND "type"=?; [PersistText "C:\\Users\\\1513\1494\1491\1505\\AppData\\Local\\Temp\\stack-7e4f96944922f000\\network-3.2.7.0\\",PersistText "config"]
2024-12-11 16:53:20.441846: [debug] (SQL) UPDATE "config_cache" SET "active"=? WHERE ("directory"=?) AND ("type"=?); [PersistBool False,PersistText "C:\\Users\\\1513\1494\1491\1505\\AppData\\Local\\Temp\\stack-7e4f96944922f000\\network-3.2.7.0\\",PersistText "config"]
2024-12-11 16:53:20.442845: [debug] Loaded package from Pantry: unix-compat-0.7.3@sha256:b23220ab66f6ab2bedeec964152fef48c1f00f33dc911a59dde842d1d8fd2e05,3244 (from Hackage)
2024-12-11 16:53:20.444846: [info] network      > configure
2024-12-11 16:53:20.451379: [debug] Loaded package from Pantry: zlib-0.7.1.0@sha256:85e64a75c0b490506a7edaa2d54950c668e66b65758bb08bb14cd31faf53a206,5357 (from Hackage)
2024-12-11 16:53:20.451379: [debug] Run process within C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\: C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --make -odir C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\.stack-work\dist\f24b2e15\setup -hidir C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\.stack-work\dist\f24b2e15\setup -i -i. -clear-package-db -global-package-db -hide-all-packages "-package base" -package=Cabal-3.10.3.0 C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\Setup.hs C:\Users\שזדס\AppData\Roaming\stack\setup-exe-src\setup-shim-CKvAmRb3.hs -main-is StackSetupShim.mainOverride -o C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\.stack-work\dist\f24b2e15\setup\setup -threaded
2024-12-11 16:53:20.498379: [debug] (SQL) SELECT "id","directory","type","pkg_src","active","path_env_var","haddock" FROM "config_cache" WHERE "directory"=? AND "type"=?; [PersistText "C:\\Users\\\1513\1494\1491\1505\\AppData\\Local\\Temp\\stack-7e4f96944922f000\\old-time-1.1.0.4\\",PersistText "config"]
2024-12-11 16:53:20.510378: [debug] (SQL) UPDATE "config_cache" SET "active"=? WHERE ("directory"=?) AND ("type"=?); [PersistBool False,PersistText "C:\\Users\\\1513\1494\1491\1505\\AppData\\Local\\Temp\\stack-7e4f96944922f000\\old-time-1.1.0.4\\",PersistText "config"]
2024-12-11 16:53:20.515378: [info] old-time     > configure
2024-12-11 16:53:20.524381: [debug] Run process within C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\: C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --make -odir C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\.stack-work\dist\f24b2e15\setup -hidir C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\.stack-work\dist\f24b2e15\setup -i -i. -clear-package-db -global-package-db -hide-all-packages "-package base" -package=Cabal-3.10.3.0 C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\Setup.hs C:\Users\שזדס\AppData\Roaming\stack\setup-exe-src\setup-shim-CKvAmRb3.hs -main-is StackSetupShim.mainOverride -o C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\.stack-work\dist\f24b2e15\setup\setup -threaded
2024-12-11 16:53:20.570973: [debug] (SQL) SELECT "id","directory","type","pkg_src","active","path_env_var","haddock" FROM "config_cache" WHERE "directory"=? AND "type"=?; [PersistText "C:\\Users\\\1513\1494\1491\1505\\AppData\\Local\\Temp\\stack-7e4f96944922f000\\unix-compat-0.7.3\\",PersistText "config"]
2024-12-11 16:53:20.575923: [debug] (SQL) UPDATE "config_cache" SET "active"=? WHERE ("directory"=?) AND ("type"=?); [PersistBool False,PersistText "C:\\Users\\\1513\1494\1491\1505\\AppData\\Local\\Temp\\stack-7e4f96944922f000\\unix-compat-0.7.3\\",PersistText "config"]
2024-12-11 16:53:20.578922: [info] unix-compat  > configure
2024-12-11 16:53:20.582923: [debug] Run process within C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\unix-compat-0.7.3\: C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 configure --with-ghc=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --with-ghc-pkg=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --package-db=clear --package-db=global --package-db=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\pkgdb --libdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\lib --bindir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\bin --datadir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\share --libexecdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\libexec --sysconfdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\etc --docdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\unix-compat-0.7.3 --htmldir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\unix-compat-0.7.3 --haddockdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\unix-compat-0.7.3 --dependency=Win32=Win32-2.13.4.0-9aa2 --dependency=base=base-4.19.2.0-943b --dependency=directory=directory-1.3.8.5-546e --dependency=filepath=filepath-1.4.301.0-c27c --dependency=time=time-1.12.2-0f79 --extra-include-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\include --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\lib --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\bin --exact-configuration --ghc-option=-fhide-source-paths
2024-12-11 16:53:20.626923: [debug] (SQL) SELECT "id","directory","type","pkg_src","active","path_env_var","haddock" FROM "config_cache" WHERE "directory"=? AND "type"=?; [PersistText "C:\\Users\\\1513\1494\1491\1505\\AppData\\Local\\Temp\\stack-7e4f96944922f000\\zlib-0.7.1.0\\",PersistText "config"]
2024-12-11 16:53:20.628922: [debug] (SQL) UPDATE "config_cache" SET "active"=? WHERE ("directory"=?) AND ("type"=?); [PersistBool False,PersistText "C:\\Users\\\1513\1494\1491\1505\\AppData\\Local\\Temp\\stack-7e4f96944922f000\\zlib-0.7.1.0\\",PersistText "config"]
2024-12-11 16:53:20.630921: [info] zlib         > configure
2024-12-11 16:53:20.631923: [debug] Run process within C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\zlib-0.7.1.0\: C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 configure --with-ghc=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --with-ghc-pkg=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --package-db=clear --package-db=global --package-db=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\pkgdb --libdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\lib --bindir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\bin --datadir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\share --libexecdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\libexec --sysconfdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\etc --docdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\zlib-0.7.1.0 --htmldir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\zlib-0.7.1.0 --haddockdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\zlib-0.7.1.0 --dependency=base=base-4.19.2.0-943b --dependency=bytestring=bytestring-0.12.1.0-290b --dependency=zlib-clib=zlib-clib-1.3.1-D3lTkoUM0Zw96xBv34Stte -f-bundled-c-zlib -fnon-blocking-ffi -f-pkg-config --extra-include-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\include --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\lib --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\bin --exact-configuration --ghc-option=-fhide-source-paths
2024-12-11 16:53:20.683463: [info] unix-compat  > Configuring unix-compat-0.7.3...
2024-12-11 16:53:20.745479: [info] zlib         > Configuring zlib-0.7.1.0...
2024-12-11 16:53:20.898553: [info] network      > [1 of 3] Compiling Main             ( C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\Setup.hs, C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\.stack-work\dist\f24b2e15\setup\Main.o )
2024-12-11 16:53:20.929557: [info] old-time     > [1 of 3] Compiling Main             ( C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\Setup.hs, C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\.stack-work\dist\f24b2e15\setup\Main.o )
2024-12-11 16:53:21.231195: [info] network      > [2 of 3] Compiling StackSetupShim   ( C:\Users\שזדס\AppData\Roaming\stack\setup-exe-src\setup-shim-CKvAmRb3.hs, C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\.stack-work\dist\f24b2e15\setup\StackSetupShim.o )
2024-12-11 16:53:21.247210: [info] old-time     > [2 of 3] Compiling StackSetupShim   ( C:\Users\שזדס\AppData\Roaming\stack\setup-exe-src\setup-shim-CKvAmRb3.hs, C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\.stack-work\dist\f24b2e15\setup\StackSetupShim.o )
2024-12-11 16:53:21.608365: [info] network      > [3 of 3] Linking C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\.stack-work\dist\f24b2e15\setup\setup.exe
2024-12-11 16:53:21.625365: [info] old-time     > [3 of 3] Linking C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\.stack-work\dist\f24b2e15\setup\setup.exe
2024-12-11 16:53:25.407964: [debug] Process finished in 5163ms: C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 configure --with-ghc=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --with-ghc-pkg=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --package-db=clear --package-db=global --package-db=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\pkgdb --libdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\lib --bindir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\bin --datadir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\share --libexecdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\libexec --sysconfdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\etc --docdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\basement-0.0.16 --htmldir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\basement-0.0.16 --haddockdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\basement-0.0.16 --dependency=Win32=Win32-2.13.4.0-9aa2 --dependency=base=base-4.19.2.0-943b --dependency=ghc-prim=ghc-prim-0.11.0-4de7 --extra-include-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\include --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\lib --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\bin --exact-configuration --ghc-option=-fhide-source-paths
2024-12-11 16:53:25.428845: [debug] Process finished in 5144ms: C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 configure --with-ghc=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --with-ghc-pkg=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --package-db=clear --package-db=global --package-db=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\pkgdb --libdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\lib --bindir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\bin --datadir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\share --libexecdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\libexec --sysconfdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\etc --docdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\clock-0.8.4 --htmldir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\clock-0.8.4 --haddockdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\clock-0.8.4 --dependency=base=base-4.19.2.0-943b -f-llvm --extra-include-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\include --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\lib --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\bin --exact-configuration --ghc-option=-fhide-source-paths
2024-12-11 16:53:25.452452: [info] basement     > build with ghc-9.8.4
2024-12-11 16:53:25.455465: [debug] Process finished in 5392ms: C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 configure --with-ghc=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --with-ghc-pkg=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --package-db=clear --package-db=global --package-db=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\pkgdb --libdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\lib --bindir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\bin --datadir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\share --libexecdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\libexec --sysconfdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\etc --docdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\ansi-terminal-1.1.2 --htmldir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\ansi-terminal-1.1.2 --haddockdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\ansi-terminal-1.1.2 --dependency=ansi-terminal-types=ansi-terminal-types-1.1-EqUxNjFblshCJNUqwisTml --dependency=base=base-4.19.2.0-943b --dependency=colour=colour-2.3.6-JugjQO5LY8w9oYxTZXPJZQ -f-example --extra-include-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\include --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\lib --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\bin --exact-configuration --ghc-option=-fhide-source-paths
2024-12-11 16:53:25.461466: [debug] Run process within C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\basement-0.0.16\: C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 build --ghc-options " -fdiagnostics-color=always"
2024-12-11 16:53:25.481467: [info] clock        > build with ghc-9.8.4
2024-12-11 16:53:25.483468: [info] ansi-terminal> build with ghc-9.8.4
2024-12-11 16:53:25.487464: [debug] Run process within C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\clock-0.8.4\: C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 build --ghc-options " -fdiagnostics-color=always"
2024-12-11 16:53:25.504464: [debug] Run process within C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\ansi-terminal-1.1.2\: C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 build --ghc-options " -fdiagnostics-color=always"
2024-12-11 16:53:25.900206: [debug] Process finished in 5314ms: C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 configure --with-ghc=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --with-ghc-pkg=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --package-db=clear --package-db=global --package-db=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\pkgdb --libdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\lib --bindir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\bin --datadir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\share --libexecdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\libexec --sysconfdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\etc --docdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\unix-compat-0.7.3 --htmldir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\unix-compat-0.7.3 --haddockdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\unix-compat-0.7.3 --dependency=Win32=Win32-2.13.4.0-9aa2 --dependency=base=base-4.19.2.0-943b --dependency=directory=directory-1.3.8.5-546e --dependency=filepath=filepath-1.4.301.0-c27c --dependency=time=time-1.12.2-0f79 --extra-include-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\include --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\lib --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\bin --exact-configuration --ghc-option=-fhide-source-paths
2024-12-11 16:53:25.929203: [info] unix-compat  > build with ghc-9.8.4
2024-12-11 16:53:25.932205: [debug] Run process within C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\unix-compat-0.7.3\: C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 build --ghc-options " -fdiagnostics-color=always"
2024-12-11 16:53:25.943213: [info] clock        > Preprocessing library for clock-0.8.4..
2024-12-11 16:53:25.977493: [info] ansi-terminal> Preprocessing library for ansi-terminal-1.1.2..
2024-12-11 16:53:26.047022: [debug] Process finished in 5593ms: C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --make -odir C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\.stack-work\dist\f24b2e15\setup -hidir C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\.stack-work\dist\f24b2e15\setup -i -i. -clear-package-db -global-package-db -hide-all-packages "-package base" -package=Cabal-3.10.3.0 C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\Setup.hs C:\Users\שזדס\AppData\Roaming\stack\setup-exe-src\setup-shim-CKvAmRb3.hs -main-is StackSetupShim.mainOverride -o C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\.stack-work\dist\f24b2e15\setup\setup -threaded
2024-12-11 16:53:26.049021: [debug] Run process within C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\: C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\.stack-work\dist\f24b2e15\setup\setup.EXE --verbose=1 --builddir=.stack-work\dist\f24b2e15 configure --with-ghc=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --with-ghc-pkg=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --package-db=clear --package-db=global --package-db=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\pkgdb --libdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\lib --bindir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\bin --datadir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\share --libexecdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\libexec --sysconfdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\etc --docdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\network-3.2.7.0 --htmldir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\network-3.2.7.0 --haddockdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\network-3.2.7.0 --dependency=base=base-4.19.2.0-943b --dependency=bytestring=bytestring-0.12.1.0-290b --dependency=deepseq=deepseq-1.5.1.0-f918 --dependency=directory=directory-1.3.8.5-546e --dependency=stm=stm-2.5.3.1-0c8b --dependency=temporary=temporary-1.3-9UaPkDPMgFRBSTaZ2rHD5p -f-devel --extra-include-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\include --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\lib --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\bin --exact-configuration --ghc-option=-fhide-source-paths
2024-12-11 16:53:26.143553: [debug] Process finished in 5510ms: C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 configure --with-ghc=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --with-ghc-pkg=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --package-db=clear --package-db=global --package-db=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\pkgdb --libdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\lib --bindir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\bin --datadir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\share --libexecdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\libexec --sysconfdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\etc --docdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\zlib-0.7.1.0 --htmldir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\zlib-0.7.1.0 --haddockdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\zlib-0.7.1.0 --dependency=base=base-4.19.2.0-943b --dependency=bytestring=bytestring-0.12.1.0-290b --dependency=zlib-clib=zlib-clib-1.3.1-D3lTkoUM0Zw96xBv34Stte -f-bundled-c-zlib -fnon-blocking-ffi -f-pkg-config --extra-include-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\include --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\lib --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\bin --exact-configuration --ghc-option=-fhide-source-paths
2024-12-11 16:53:26.149556: [info] zlib         > build with ghc-9.8.4
2024-12-11 16:53:26.150554: [debug] Run process within C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\zlib-0.7.1.0\: C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 build --ghc-options " -fdiagnostics-color=always"
2024-12-11 16:53:26.160102: [debug] Process finished in 5632ms: C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --make -odir C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\.stack-work\dist\f24b2e15\setup -hidir C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\.stack-work\dist\f24b2e15\setup -i -i. -clear-package-db -global-package-db -hide-all-packages "-package base" -package=Cabal-3.10.3.0 C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\Setup.hs C:\Users\שזדס\AppData\Roaming\stack\setup-exe-src\setup-shim-CKvAmRb3.hs -main-is StackSetupShim.mainOverride -o C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\.stack-work\dist\f24b2e15\setup\setup -threaded
2024-12-11 16:53:26.162100: [debug] Run process within C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\: C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\.stack-work\dist\f24b2e15\setup\setup.EXE --verbose=1 --builddir=.stack-work\dist\f24b2e15 configure --with-ghc=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --with-ghc-pkg=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --package-db=clear --package-db=global --package-db=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\pkgdb --libdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\lib --bindir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\bin --datadir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\share --libexecdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\libexec --sysconfdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\etc --docdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\old-time-1.1.0.4 --htmldir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\old-time-1.1.0.4 --haddockdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\old-time-1.1.0.4 --dependency=base=base-4.19.2.0-943b --dependency=old-locale=old-locale-1.0.0.7-3o8f5tIk0y9DmQiLuISqIJ --extra-include-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\include --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\lib --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\bin --exact-configuration --ghc-option=-fhide-source-paths
2024-12-11 16:53:26.246508: [warn] clock        > hsc2hs-ghc-9.8.4.exe: fd:3: hGetContents: invalid argument (cannot decode byte sequence starting from 233)
2024-12-11 16:53:26.248247: [warn] ansi-terminal> hsc2hs-ghc-9.8.4.exe: fd:3: hGetContents: invalid argument (cannot decode byte sequence starting from 233)
2024-12-11 16:53:26.279368: [info] unix-compat  > Preprocessing library for unix-compat-0.7.3..
2024-12-11 16:53:26.531776: [warn] unix-compat  > hsc2hs-ghc-9.8.4.exe: fd:3: hGetContents: invalid argument (cannot decode byte sequence starting from 233)
2024-12-11 16:53:26.564550: [info] network      > Configuring network-3.2.7.0...
2024-12-11 16:53:26.576730: [info] zlib         > Preprocessing library for zlib-0.7.1.0..
2024-12-11 16:53:26.595866: [info] old-time     > Configuring old-time-1.1.0.4...
2024-12-11 16:53:26.731341: [info] basement     > Preprocessing library for basement-0.0.16..
2024-12-11 16:53:26.823881: [warn] zlib         > hsc2hs-ghc-9.8.4.exe: fd:3: hGetContents: invalid argument (cannot decode byte sequence starting from 233)
2024-12-11 16:53:26.929424: [warn] basement     > hsc2hs-ghc-9.8.4.exe: fd:3: hGetContents: invalid argument (cannot decode byte sequence starting from 233)
2024-12-11 16:53:35.539566: [warn] network      > configure: WARNING: unrecognized options: --with-compiler
2024-12-11 16:53:35.569436: [warn] old-time     > configure: WARNING: unrecognized options: --with-compiler
2024-12-11 16:53:39.494424: [info] network      > configure: loading site script /usr/local/etc/config.site
2024-12-11 16:53:39.566515: [info] old-time     > configure: loading site script /usr/local/etc/config.site
2024-12-11 16:53:39.808125: [info] old-time     > checking for gcc... C:\Users\98BD~1\AppData\Local\Programs\stack\X86_64~1\GHC-98~1.4\lib\../mingw/bin\clang.exe
2024-12-11 16:53:42.092288: [info] network      > checking build system type... x86_64-pc-mingw64
2024-12-11 16:53:42.097288: [info] network      > checking host system type... x86_64-pc-mingw64
2024-12-11 16:53:42.100287: [info] network      > checking for gcc... C:\Users\98BD~1\AppData\Local\Programs\stack\X86_64~1\GHC-98~1.4\lib\../mingw/bin\clang.exe
2024-12-11 16:53:44.037172: [info] old-time     > checking whether the C compiler works... yes
2024-12-11 16:53:44.038173: [info] old-time     > checking for C compiler default output file name... a.exe
2024-12-11 16:53:45.074698: [info] old-time     > checking for suffix of executables... .exe
2024-12-11 16:53:46.130736: [info] network      > checking whether the C compiler works... yes
2024-12-11 16:53:46.134734: [info] network      > checking for C compiler default output file name... a.exe
2024-12-11 16:53:46.186372: [info] old-time     > checking whether we are cross compiling... no
2024-12-11 16:53:47.145324: [info] old-time     > checking for suffix of object files... o
2024-12-11 16:53:47.173333: [info] network      > checking for suffix of executables... .exe
2024-12-11 16:53:47.825369: [info] old-time     > checking whether the compiler supports GNU C... yes
2024-12-11 16:53:48.358797: [info] network      > checking whether we are cross compiling... no
2024-12-11 16:53:48.474380: [info] old-time     > checking whether C:\Users\98BD~1\AppData\Local\Programs\stack\X86_64~1\GHC-98~1.4\lib\../mingw/bin\clang.exe accepts -g... yes
2024-12-11 16:53:49.189386: [info] network      > checking for suffix of object files... o
2024-12-11 16:53:49.192382: [info] old-time     > checking for C:\Users\98BD~1\AppData\Local\Programs\stack\X86_64~1\GHC-98~1.4\lib\../mingw/bin\clang.exe option to enable C11 features... none needed
2024-12-11 16:53:49.817636: [info] network      > checking whether the compiler supports GNU C... yes
2024-12-11 16:53:49.862651: [info] old-time     > checking for stdio.h... yes
2024-12-11 16:53:50.413414: [info] network      > checking whether C:\Users\98BD~1\AppData\Local\Programs\stack\X86_64~1\GHC-98~1.4\lib\../mingw/bin\clang.exe accepts -g... yes
2024-12-11 16:53:50.533959: [info] old-time     > checking for stdlib.h... yes
2024-12-11 16:53:51.190744: [info] network      > checking for C:\Users\98BD~1\AppData\Local\Programs\stack\X86_64~1\GHC-98~1.4\lib\../mingw/bin\clang.exe option to enable C11 features... none needed
2024-12-11 16:53:51.222749: [info] old-time     > checking for string.h... yes
2024-12-11 16:53:51.956551: [info] network      > checking for an ANSI C-conforming const... yes
2024-12-11 16:53:52.016103: [info] old-time     > checking for inttypes.h... yes
2024-12-11 16:53:52.582359: [info] old-time     > checking for stdint.h... yes
2024-12-11 16:53:53.149043: [info] old-time     > checking for strings.h... yes
2024-12-11 16:53:53.763945: [info] old-time     > checking for sys/stat.h... yes
2024-12-11 16:53:53.903191: [info] network      > checking for stdio.h... yes
2024-12-11 16:53:54.480055: [info] old-time     > checking for sys/types.h... yes
2024-12-11 16:53:55.174898: [info] old-time     > checking for unistd.h... yes
2024-12-11 16:53:55.872809: [info] network      > checking for stdlib.h... yes
2024-12-11 16:53:55.993766: [info] old-time     > checking for sys/time.h... yes
2024-12-11 16:53:55.997253: [info] old-time     > checking for sys/time.h... (cached) yes
2024-12-11 16:53:56.805812: [info] old-time     > checking for sys/timeb.h... yes
2024-12-11 16:53:57.446597: [info] old-time     > checking for time.h... yes
2024-12-11 16:53:57.751224: [info] network      > checking for string.h... yes
2024-12-11 16:53:58.378700: [info] old-time     > checking for ftime... yes
2024-12-11 16:53:59.604911: [info] network      > checking for inttypes.h... yes
2024-12-11 16:53:59.707442: [info] old-time     > checking for gmtime_r... no
2024-12-11 16:54:01.223678: [info] old-time     > checking for localtime_r... no
2024-12-11 16:54:01.270677: [info] network      > checking for stdint.h... yes
2024-12-11 16:54:02.539340: [info] old-time     > checking for gettimeofday... yes
2024-12-11 16:54:03.297457: [info] network      > checking for strings.h... yes
2024-12-11 16:54:03.528647: [info] old-time     > checking whether struct tm is in sys/time.h or time.h... time.h
2024-12-11 16:54:05.549345: [info] network      > checking for sys/stat.h... yes
2024-12-11 16:54:06.796235: [info] old-time     > checking for C:\Users\98BD~1\AppData\Local\Programs\stack\X86_64~1\GHC-98~1.4\lib\../mingw/bin\clang.exe options needed to detect all undeclared functions... -fno-builtin
2024-12-11 16:54:07.637486: [info] network      > checking for sys/types.h... yes
2024-12-11 16:54:09.210577: [info] old-time     > checking for struct tm.tm_zone... no
2024-12-11 16:54:09.636986: [info] network      > checking for unistd.h... yes
2024-12-11 16:54:10.576793: [info] old-time     > checking whether tzname is declared... yes
2024-12-11 16:54:11.757175: [info] network      > checking for limits.h... yes
2024-12-11 16:54:11.759180: [info] network      > checking for stdlib.h... (cached) yes
2024-12-11 16:54:11.764176: [info] network      > checking for unistd.h... (cached) yes
2024-12-11 16:54:11.776174: [info] network      > checking for sys/types.h... (cached) yes
2024-12-11 16:54:12.320433: [info] old-time     > checking for tzname... yes
2024-12-11 16:54:12.322174: [info] old-time     > checking for sys/time.h... (cached) yes
2024-12-11 16:54:13.725486: [info] old-time     > checking whether altzone is declared... no
2024-12-11 16:54:13.762485: [info] network      > checking for fcntl.h... yes
2024-12-11 16:54:14.675534: [info] old-time     > configure: creating ./config.status
2024-12-11 16:54:16.000165: [info] network      > checking for sys/uio.h... no
2024-12-11 16:54:18.581289: [info] network      > checking for sys/socket.h... no
2024-12-11 16:54:20.621874: [info] old-time     > config.status: creating include/HsTimeConfig.h
2024-12-11 16:54:20.848961: [info] network      > checking for netinet/in.h... no
2024-12-11 16:54:22.242204: [warn] old-time     > configure: WARNING: unrecognized options: --with-compiler
2024-12-11 16:54:23.302017: [info] network      > checking for netinet/tcp.h... no
2024-12-11 16:54:24.350137: [debug] Process finished in 58186ms: C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\.stack-work\dist\f24b2e15\setup\setup.EXE --verbose=1 --builddir=.stack-work\dist\f24b2e15 configure --with-ghc=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --with-ghc-pkg=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --package-db=clear --package-db=global --package-db=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\pkgdb --libdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\lib --bindir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\bin --datadir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\share --libexecdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\libexec --sysconfdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\etc --docdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\old-time-1.1.0.4 --htmldir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\old-time-1.1.0.4 --haddockdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\old-time-1.1.0.4 --dependency=base=base-4.19.2.0-943b --dependency=old-locale=old-locale-1.0.0.7-3o8f5tIk0y9DmQiLuISqIJ --extra-include-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\include --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\lib --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\bin --exact-configuration --ghc-option=-fhide-source-paths
2024-12-11 16:54:24.361138: [info] old-time     > build with ghc-9.8.4
2024-12-11 16:54:24.370140: [debug] Run process within C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\: C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\.stack-work\dist\f24b2e15\setup\setup.EXE --verbose=1 --builddir=.stack-work\dist\f24b2e15 build --ghc-options " -fdiagnostics-color=always"
2024-12-11 16:54:24.893165: [info] old-time     > Preprocessing library for old-time-1.1.0.4..
2024-12-11 16:54:25.191194: [warn] old-time     > hsc2hs-ghc-9.8.4.exe: fd:3: hGetContents: invalid argument (cannot decode byte sequence starting from 233)
2024-12-11 16:54:26.015907: [info] network      > checking for sys/un.h... no
2024-12-11 16:54:28.693508: [info] network      > checking for arpa/inet.h... no
2024-12-11 16:54:31.074212: [info] network      > checking for netdb.h... no
2024-12-11 16:54:33.028878: [info] network      > checking for net/if.h... no
2024-12-11 16:54:34.821725: [info] network      > checking for netioapi.h... yes
2024-12-11 16:54:36.511480: [info] network      > checking for struct ucred... no
2024-12-11 16:54:37.676931: [info] network      > checking for gai_strerror... no
2024-12-11 16:54:38.581427: [info] network      > checking for gethostent... no
2024-12-11 16:54:39.583550: [info] network      > checking for accept4... no
2024-12-11 16:54:40.747083: [info] network      > checking for getpeereid... no
2024-12-11 16:54:42.455538: [info] network      > checking for C:\Users\98BD~1\AppData\Local\Programs\stack\X86_64~1\GHC-98~1.4\lib\../mingw/bin\clang.exe options needed to detect all undeclared functions... -fno-builtin
2024-12-11 16:54:44.569019: [info] network      > checking whether AI_ADDRCONFIG is declared... yes
2024-12-11 16:54:46.582947: [info] network      > checking whether AI_ALL is declared... yes
2024-12-11 16:54:48.270834: [info] network      > checking whether AI_NUMERICSERV is declared... yes
2024-12-11 16:54:49.982693: [info] network      > checking whether AI_V4MAPPED is declared... yes
2024-12-11 16:54:51.399971: [info] network      > checking whether IPV6_V6ONLY is declared... yes
2024-12-11 16:54:52.871523: [info] network      > checking whether IPPROTO_IP is declared... yes
2024-12-11 16:54:54.331059: [info] network      > checking whether IPPROTO_TCP is declared... yes
2024-12-11 16:54:55.558621: [info] network      > checking whether IPPROTO_IPV6 is declared... yes
2024-12-11 16:54:57.103113: [info] network      > checking whether SO_PEERCRED is declared... no
2024-12-11 16:55:00.053939: [info] network      > checking for struct msghdr.msg_control... no
2024-12-11 16:55:03.015868: [info] network      > checking for struct msghdr.msg_accrights... no
2024-12-11 16:55:05.403089: [info] network      > checking for struct sockaddr.sa_len... no
2024-12-11 16:55:05.404092: [info] network      > configure: creating ./network.buildinfo
2024-12-11 16:55:05.926238: [info] network      > configure: creating ./config.status
2024-12-11 16:55:08.770259: [info] network      > config.status: creating include/HsNetworkConfig.h
2024-12-11 16:55:09.624734: [warn] network      > configure: WARNING: unrecognized options: --with-compiler
2024-12-11 16:55:10.560039: [debug] Process finished in 104509ms: C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\.stack-work\dist\f24b2e15\setup\setup.EXE --verbose=1 --builddir=.stack-work\dist\f24b2e15 configure --with-ghc=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-9.8.4.exe --with-ghc-pkg=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\ghc-9.8.4\bin\ghc-pkg-9.8.4.exe --user --package-db=clear --package-db=global --package-db=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\pkgdb --libdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\lib --bindir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\bin --datadir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\share --libexecdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\libexec --sysconfdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\etc --docdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\network-3.2.7.0 --htmldir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\network-3.2.7.0 --haddockdir=C:\Users\שזדס\AppData\Roaming\stack\snapshots\c1bd2980\doc\network-3.2.7.0 --dependency=base=base-4.19.2.0-943b --dependency=bytestring=bytestring-0.12.1.0-290b --dependency=deepseq=deepseq-1.5.1.0-f918 --dependency=directory=directory-1.3.8.5-546e --dependency=stm=stm-2.5.3.1-0c8b --dependency=temporary=temporary-1.3-9UaPkDPMgFRBSTaZ2rHD5p -f-devel --extra-include-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\include --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\lib --extra-lib-dirs=C:\Users\שזדס\AppData\Local\Programs\stack\x86_64-windows\msys2-20240727\mingw64\bin --exact-configuration --ghc-option=-fhide-source-paths
2024-12-11 16:55:10.565576: [info] network      > build with ghc-9.8.4
2024-12-11 16:55:10.565576: [debug] Run process within C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\: C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\.stack-work\dist\f24b2e15\setup\setup.EXE --verbose=1 --builddir=.stack-work\dist\f24b2e15 build --ghc-options " -fdiagnostics-color=always"
2024-12-11 16:55:10.817394: [info] network      > Preprocessing library for network-3.2.7.0..
2024-12-11 16:55:10.939745: [warn] network      > hsc2hs-ghc-9.8.4.exe: fd:3: hGetContents: invalid argument (cannot decode byte sequence starting from 233)
2024-12-11 16:55:10.971261: [info] Completed 7 action(s).
2024-12-11 16:55:11.318731: [debug] Checking for project config at: C:\Users\שזדס\stack.yaml
2024-12-11 16:55:11.320471: [debug] Checking for project config at: C:\Users\stack.yaml
2024-12-11 16:55:11.320471: [debug] Checking for project config at: C:\stack.yaml
2024-12-11 16:55:11.320471: [debug] No project config file found, using defaults.
2024-12-11 16:55:11.325691: [debug] Use of Casa server enabled: (CasaRepoPrefix "https://casa.stackage.org", 1280).
2024-12-11 16:55:11.333049: [debug] (SQL) SELECT COUNT(*) FROM "last_performed" WHERE ("action"=?) AND ("timestamp">=?); [PersistInt64 1,PersistUTCTime 2024-12-10 21:55:11.3330495 UTC]
2024-12-11 16:55:11.334783: [error]
Error: [S-7282]
       Stack failed to execute the build plan.

       While executing the build plan, Stack encountered the following errors:

       [S-7011]
       While building package network-3.2.7.0 (scroll up to its section to see the
       error) using:
       C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\network-3.2.7.0\.stack-work\dist\f24b2e15\setup\setup --verbose=1 --builddir=.stack-work\dist\f24b2e15 build --ghc-options " -fdiagnostics-color=always"
       Process exited with code: ExitFailure 1

       [S-7011]
       While building package old-time-1.1.0.4 (scroll up to its section to see the
       error) using:
       C:\Users\שזדס\AppData\Local\Temp\stack-7e4f96944922f000\old-time-1.1.0.4\.stack-work\dist\f24b2e15\setup\setup --verbose=1 --builddir=.stack-work\dist\f24b2e15 build --ghc-options " -fdiagnostics-color=always"
       Process exited with code: ExitFailure 1

       [S-7011]
       While building package basement-0.0.16 (scroll up to its section to see the
       error) using:
       C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 build --ghc-options " -fdiagnostics-color=always"
       Process exited with code: ExitFailure 1

       [S-7011]
       While building package zlib-0.7.1.0 (scroll up to its section to see the error)
       using:
       C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 build --ghc-options " -fdiagnostics-color=always"
       Process exited with code: ExitFailure 1

       [S-7011]
       While building package unix-compat-0.7.3 (scroll up to its section to see the
       error) using:
       C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 build --ghc-options " -fdiagnostics-color=always"
       Process exited with code: ExitFailure 1

       [S-7011]
       While building package ansi-terminal-1.1.2 (scroll up to its section to see the
       error) using:
       C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 build --ghc-options " -fdiagnostics-color=always"
       Process exited with code: ExitFailure 1

       [S-7011]
       While building package clock-0.8.4 (scroll up to its section to see the error)
       using:
       C:\Users\שזדס\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\Cabal-simple_CKvAmRb3_3.10.3.0_ghc-9.8.4.exe --verbose=1 --builddir=.stack-work\dist\f24b2e15 build --ghc-options " -fdiagnostics-color=always"
       Process exited with code: ExitFailure 1

Stack version

Version 3.1.1, Git revision d8cef4ea052430ea09ce7836c41e68b52d04fd73 x86_64 hpack-0.37.0

Method of installation

  • ghcup

Platform

Windows 11 x64

@mpilgrem
Copy link
Member

Thank you for reporting. Referencing the following (closed), in case it is related:

@mpilgrem
Copy link
Member

mpilgrem commented Dec 11, 2024

My initial hypothesis, which I am going to test, is that this is an upstream issue with the hsc2hs executable that comes with GHC 9.8.4 (hsc2hs --version 0.68.10) - that it can't handle Hebrew characters on the path.

I can reproduce the problem, on Windows 11 in Windows Terminal, by:

> $Env:STACK_ROOT="D:\שזדס\sr-test"
> stack setup
> # Set `local-programs-path: D:\שזדס\sr-test\programs` in `config.yaml`
> stack unpack clock
> cd clock-0.8.4
> stack init # Picks lts-23.0/GHC 9.8.4
> stack build

The same problem occurs with:

  • lts-21.25/GHC 9.4.8 (hsc2hs --version 0.68.8);
  • lts-22.43/GHC 9.6.6 (hsc2hs --version 0.68.9); and
  • nightly-2024-12-12/GHC 9.10.1 (hsc2hs --version 0.68.10).

(GHC 9.2.8, which is gcc.exe not clang.exe, also fails but in a different way.)

Windows Terminal is Unicode:

> chcp
Active code page: 65001

@mpilgrem
Copy link
Member

mpilgrem commented Dec 12, 2024

It is Cabal (the library) that runs the GHC-supplied hsc2hs executable. The instruction that fails is:

[info] .stack-work\dist\f24b2e15\build\System\hsc5969.txt contents: <<<
[info] --cflag=--rtlib=compiler-rt
[info] --cflag=-D_UCRT
[info] --cflag=-Qunused-arguments
[info] --cflag=-ID:\\שזדס\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\lib\\../mingw/include
[info] --cflag=-fuse-ld=lld
[info] --cflag=--rtlib=compiler-rt
[info] --cflag=-D_UCRT
[info] --cflag=-LD:\\שזדס\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\lib\\../mingw/lib
[info] --cflag=-LD:\\שזדס\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\lib\\../mingw/x86_64-w64-mingw32/lib
[info] --lflag=--rtlib=compiler-rt
[info] --lflag=-D_UCRT
[info] --lflag=-Qunused-arguments
[info] --lflag=-ID:\\שזדס\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\lib\\../mingw/include
[info] --lflag=-fuse-ld=lld
[info] --lflag=--rtlib=compiler-rt
[info] --lflag=-D_UCRT
[info] --lflag=-LD:\\שזדס\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\lib\\../mingw/lib
[info] --lflag=-LD:\\שזדס\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\lib\\../mingw/x86_64-w64-mingw32/lib
[info] --cflag=-D__GLASGOW_HASKELL__=908
[info] --cflag=-Dmingw32_BUILD_OS=1
[info] --cflag=-Dx86_64_BUILD_ARCH=1
[info] --cflag=-Dmingw32_HOST_OS=1
[info] --cflag=-Dx86_64_HOST_ARCH=1
[info] --cflag=-Icbits
[info] --cflag=-ID:\\שזדס\\sr-test\\programs\\x86_64-windows\\msys2-20240727\\mingw64\\include
[info] --cflag=-I.stack-work\\dist\\f24b2e15\\build\\cbits
[info] --cflag=-ID:\\שזדס\\sr-test\\programs\\x86_64-windows\\msys2-20240727\\mingw64\\include
[info] --cflag=-I.stack-work\\dist\\f24b2e15\\build\\autogen
[info] --cflag=-I.stack-work\\dist\\f24b2e15\\build\\global-autogen
[info] --cflag=-include
[info] --cflag=.stack-work\\dist\\f24b2e15\\build\\autogen\\cabal_macros.h
[info] --lflag=-LD:\\שזדס\\sr-test\\programs\\x86_64-windows\\msys2-20240727\\mingw64\\lib
[info] --lflag=-LD:\\שזדס\\sr-test\\programs\\x86_64-windows\\msys2-20240727\\mingw64\\bin
[info] --cflag=-ID:\\שזדס\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\lib\\x86_64-windows-ghc-9.8.4\\base-4.19.2.0-943b\\include
[info] --cflag=-ID:\\שזדס\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\lib\\x86_64-windows-ghc-9.8.4\\ghc-bignum-1.3-15b3\\include
[info] --cflag=-ID:\\שזדס\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\lib\\x86_64-windows-ghc-9.8.4\\rts-1.0.2\\include
[info] --lflag=-LD:\\שזדס\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\lib\\x86_64-windows-ghc-9.8.4\\base-4.19.2.0-943b
[info] --lflag=-lwsock32
[info] --lflag=-luser32
[info] --lflag=-lshell32
[info] --lflag=-lmingw32
[info] --lflag=-lkernel32
[info] --lflag=-ladvapi32
[info] --lflag=-lmingwex
[info] --lflag=-lws2_32
[info] --lflag=-lshlwapi
[info] --lflag=-lole32
[info] --lflag=-lrpcrt4
[info] --lflag=-lntdll
[info] --lflag=-LD:\\שזדס\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\lib\\x86_64-windows-ghc-9.8.4\\ghc-bignum-1.3-15b3
[info] --lflag=-LD:\\שזדס\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\lib\\x86_64-windows-ghc-9.8.4\\ghc-prim-0.11.0-4de7
[info] --lflag=-luser32
[info] --lflag=-lmingw32
[info] --lflag=-lmingwex
[info] --lflag=-lucrt
[info] --lflag=-LD:\\שזדס\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\lib\\x86_64-windows-ghc-9.8.4\\rts-1.0.2
[info] --lflag=-lm
[info] --lflag=-lwsock32
[info] --lflag=-lgdi32
[info] --lflag=-lwinmm
[info] --lflag=-ldbghelp
[info] --lflag=-lpsapi
[info] --lflag=-lpthread
[info] --cc=D:\\שזדס\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\lib\\../mingw/bin\\clang.exe
[info] --ld=D:\\שזדס\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\lib\\../mingw/bin\\clang.exe
[info] -o
[info] .stack-work\\dist\\f24b2e15\\build\\System\\Clock.hs
[info] System\\Clock.hsc
[info] >>> .stack-work\dist\f24b2e15\build\System\hsc5969.txt
[info] Running: "D:\שזדס\sr-test\programs\x86_64-windows\ghc-9.8.4\bin\hsc2hs-ghc-9.8.4.exe" "@.stack-work\dist\f24b2e15\build\System\hsc5969.txt"

@mpilgrem
Copy link
Member

To interpret that hsc2hs command:

  • --cc picks the C compiler and --ld picks the linker. In both cases that is the GHC-supplied clang.exe;
  • --cflag passes an option on to the C compiler; and
  • --lflag passes an option on to the linker.

@simonmichael
Copy link
Contributor

Noting that @clin1234 reported the problem goes away when using cabal or stack plus ghc 9.10.

@mpilgrem
Copy link
Member

@simonmichael, thanks. I've now confirmed that the same problem occurs with GHC 9.10.1 and updated my post above.

@mpilgrem
Copy link
Member

mpilgrem commented Dec 13, 2024

The error message (hsc2hs-ghc-9.8.4.exe: fd:3: hGetContents: invalid argument (cannot decode byte sequence starting from 233) appears to refer to a file descriptor (fd), so I am currently wondering if this is a bug in hsc2hs Compat.TempFile.openTempFile which is only used with Common.withResponseFile ... and Cabal is using a response file.

EDIT: No, that was a dead end. The problem manifests itself with the simplest of uses:

❯ stack exec -- hsc2hs -o Dummy.hs Dummy.hsc
hsc2hs-ghc-9.8.4.exe: fd:3: hGetContents: invalid argument (cannot decode byte sequence starting from 233)

where Dummy.hsc is just:

module Dummy where

dummy :: IO ()
dummy = pure ()

Or, taking Stack entirely out of the equation:

❯ D:\שזדס\sr-test\programs\x86_64-windows\ghc-9.8.4\bin\hsc2hs.exe --cc=D:\שזדס\sr-test\programs\x86_64-windows\ghc-9.8.4\mingw\bin\clang.exe --ld=D:\שזדס\sr-test\programs\x86_64-windows\ghc-9.8.4\mingw\bin\clang.exe -o Dummy.hs Dummy.hsc
hsc2hs-ghc-9.8.4.exe: fd:3: hGetContents: invalid argument (cannot decode byte sequence starting from 233)

@hasufell
Copy link
Contributor

hasufell commented Dec 13, 2024

The proper solution here is for hsc2hs to use os-string: there is no reason to interpret or decode the arguments to -cc etc.

It seems to use getArgsWithResponseFiles: https://github.com/haskell/hsc2hs/blob/2d6e7a3385526410146e2817fcba3de88b5fc6a8/src/Main.hs#L78

For which there exists no alternative in file-io yet: haskell/file-io#34

@mpilgrem
Copy link
Member

mpilgrem commented Dec 13, 2024

With verbosity:

❯ D:\שזדס\sr-test\programs\x86_64-windows\ghc-9.8.4\bin\hsc2hs.exe --verbose --cc=D:\שזדס\sr-test\programs\x86_64-windows\ghc-9.8.4\mingw\bin\clang.exe --ld=D:\שזדס\sr-test\programs\x86_64-windows\ghc-9.8.4\mingw\bin\clang.exe -o Dummy.hs Dummy.hsc
Executing: (@./\hsc7C24.rsp) D:\\שזדס\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\mingw\\bin\\clang.exe -c ./Dummy_hsc_make.c -o ./Dummy_hsc_make.o
hsc2hs-ghc-9.8.4.exe: fd:3: hGetContents: invalid argument (cannot decode byte sequence starting from 233)

Dummy_hsc_make.c is created and starts:

#include "D:\����\sr-test\programs\x86_64-windows\ghc-9.8.4\lib\template-hsc.h"

I then replaced the Hebrew (right-to-left) with Cyrillic (left-to-right) and had a different experience (still a fail) (with verbosity):

❯ D:\Майк\sr-test\programs\x86_64-windows\ghc-9.8.4\bin\hsc2hs.exe --verbose --cc=D:\Майк\sr-test\programs\x86_64-windows\ghc-9.8.4\mingw\bin\clang.exe --ld=D:\Майк\sr-test\programs\x86_64-windows\ghc-9.8.4\mingw\bin\clang.exe -o Dummy.hs Dummy.hsc
Executing: (@./\hsc2E30.rsp) D:\\Майк\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\mingw\\bin\\clang.exe -c ./Dummy_hsc_make.c -o ./Dummy_hsc_make.o
compiling ./Dummy_hsc_make.c failed (exit code 1)
rsp file was: "./\\hsc2E30.rsp"
command was: D:\\Майк\\sr-test\\programs\\x86_64-windows\\ghc-9.8.4\\mingw\\bin\\clang.exe -c ./Dummy_hsc_make.c -o ./Dummy_hsc_make.o
error: ./Dummy_hsc_make.c:1:10: fatal error: 'D:\09:\sr-test\programs\x86_64-windows\ghc-9.8.4\lib\template-hsc.h' file not found
#include "D:\<U+001C>09:\sr-test\programs\x86_64-windows\ghc-9.8.4\lib\template-hsc.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

@mpilgrem
Copy link
Member

@hasufell, you are, of course, right about os-string but my investigations (here) suggest the actual problem may be more fundamental: it seems to me that the hsc2hs executable writes String values (that is, lists of Unicode code points) to disk using functions that impose char8 text encoding and, consequently, limit users to ASCII and the ISO/IEC 8859-1 (Latin-1) extension!

@mpilgrem
Copy link
Member

@clin1234, I think I have a fix for hsc2hs.exe, at least on Windows 11, at:

Applying the fix would involve:

  • building the replacement hsc2hs.exe; and
  • using it to replace the hsc2hs.exe and hsc2hs-ghc-9.8.4.exe supplied with GHC 9.8.4.

Building the replacement hsc2hs.exe involves:

  • cloning the fork at https://github.com/mpilgrem/hsc2hs/ and changing to its fix96 branch;
  • using stack init to create a Stack project-level configuration file (stack.yaml); and
  • stack build.

To locate the hsc2hs.exe and hsc2hs-ghc-9.8.4.exe supplied with GHC 9.8.4 use (for example):

stack exec -- where.exe hsc2hs.exe

(It would probably be a good idea to preseve the executables supplied with GHC by renaming them first.)

@hasufell
Copy link
Contributor

Which GHC versions are affected?

@mpilgrem
Copy link
Member

@clin1234, another possibility that will likely work - one that is perhaps less daunting - is to configure Stack so that its programs directory (where it puts Stack-supplied GHC and hsc2hs.exe) is somewhere that does not have non- ISO/IEC 8859-1 (Latin-1) characters on the path. For example, on my Windows 11 machine, I specify that to be in the Stack root folder by:

local-programs-path: D:\sr\programs

(My Stack root is D:\sr, because my D: drive has more capacity than my C: drive.)

I put that non-project specific configuration option in the global configuration file (config.yaml, in the Stack root).

You had used GHCup to obtain Stack but you were using Stack (and not GHCup) to manage Stack-supplied GHC versions (which is fine). On Windows, I think GHCup typically puts its GHC versions in C:\ghcup\ghc, so GHCup users would, typically, not have hsc2hs.exe on a path with non- ISO/IEC 8859-1 (Latin-1) characters.

@mpilgrem
Copy link
Member

@hasufell, my best guess is all released non-obsolete GHC versions are affected by the underlying bug. That is because, on Hackage, hsc2hs-0.67.20120610 has Common.writeBinaryFile and that was released in August 2012.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants