Git Product home page Git Product logo

Comments (3)

lolepezy avatar lolepezy commented on July 4, 2024 3

It's apparently a known issue in GHC
https://gitlab.haskell.org/ghc/ghc/-/issues/20266

from ghc-musl.

naufalauddin avatar naufalauddin commented on July 4, 2024

built just fine with v24-ghc8107

I guess it has something to do with v24-ghc922

from ghc-musl.

lolepezy avatar lolepezy commented on July 4, 2024

I guess, I'm having the same issue

kvlt@rpki-prover [try-ghc-9.2●] % stack build --docker --docker-image "rpki-prover-builder" --no-nix rpki-prover:rpki-prover-static --verbose
Version 2.9.3, Git revision 6cf638947a863f49857f9cfbf72a38a48b183e7e x86_64 hpack-0.35.1
2023-01-18 12:09:01.389053: [debug] Checking for project config at: /home/puz/dev/haskell/rpki-prover/stack.yaml
2023-01-18 12:09:01.389240: [debug] Loading project config file stack.yaml
2023-01-18 12:09:01.397398: [debug] Migration executed: CREATE TEMP TABLE "precompiled_cache_sub_lib_backup"("id" INTEGER PRIMARY KEY,"precompiled_cache_id" INTEGER NOT NULL,"sub_lib" VARCHAR NOT NULL,CONSTRAINT "unique_precompiled_cache_sub_lib" UNIQUE ("precompiled_cache_id","sub_lib"))
2023-01-18 12:09:01.397425: [debug] Migration executed: INSERT INTO "precompiled_cache_sub_lib_backup"("id","precompiled_cache_id","sub_lib") SELECT "id","precompiled_cache_id","sub_lib" FROM "precompiled_cache_sub_lib"
2023-01-18 12:09:01.397440: [debug] Migration executed: DROP TABLE "precompiled_cache_sub_lib"
2023-01-18 12:09:01.397452: [debug] Migration executed: CREATE TABLE "precompiled_cache_sub_lib"("id" INTEGER PRIMARY KEY,"precompiled_cache_id" INTEGER NOT NULL REFERENCES "precompiled_cache" ON DELETE CASCADE ON UPDATE RESTRICT,"sub_lib" VARCHAR NOT NULL,CONSTRAINT "unique_precompiled_cache_sub_lib" UNIQUE ("precompiled_cache_id","sub_lib"))
2023-01-18 12:09:01.397465: [debug] Migration executed: INSERT INTO "precompiled_cache_sub_lib" SELECT "id","precompiled_cache_id","sub_lib" FROM "precompiled_cache_sub_lib_backup"
2023-01-18 12:09:01.397477: [debug] Migration executed: DROP TABLE "precompiled_cache_sub_lib_backup"
2023-01-18 12:09:01.397687: [debug] (SQL) SELECT COUNT(*) FROM "last_performed" WHERE ("action"=?) AND ("timestamp">=?); [PersistInt64 1,PersistUTCTime 2023-01-17 11:09:01.397666837 UTC]
2023-01-18 12:09:01.398012: [debug] Run process: /usr/bin/docker --version
2023-01-18 12:09:01.408222: [debug] Process finished in 10ms: /usr/bin/docker --version
2023-01-18 12:09:01.408363: [debug] Run process: /usr/bin/docker inspect rpki-prover-builder
2023-01-18 12:09:01.418837: [debug] Process finished in 10ms: /usr/bin/docker inspect rpki-prover-builder
2023-01-18 12:09:01.419121: [debug] (SQL) SELECT "id","image_hash","exe_path","exe_timestamp","compatible" FROM "docker_image_exe_cache" WHERE "image_hash"=? AND "exe_path"=? AND "exe_timestamp"=?; [PersistText "sha256:0bf412430356f2434b21aba8e64c5cde1a9207e07e034cdc8bcaf21838e28dcd",PersistText "/home/puz/.local/bin/stack",PersistUTCTime 2022-12-18 21:04:41.778984828 UTC]
2023-01-18 12:09:01.419412: [debug] Run process within /home/puz/dev/haskell/rpki-prover/: /usr/bin/docker create -e STACK_IN_CONTAINER=1 -e STACK_ROOT=/home/puz/.stack -e STACK_PLATFORM_VARIANT=dk847ddb71a934cb070ba2275cf0e81306 -e HOME=/home/puz/dev/haskell/rpki-prover/.stack-work/docker/_home -e PATH=/opt/host/bin:/home/puz/dev/haskell/rpki-prover/.stack-work/docker/_home/.local/bin:/usr/local/.ghcup/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -e PWD=/home/puz/dev/haskell/rpki-prover -v /home/puz:/home/puz -v /home/puz/.stack:/home/puz/.stack -v /home/puz/dev/haskell/rpki-prover:/home/puz/dev/haskell/rpki-prover -v /home/puz/dev/haskell/rpki-prover/.stack-work/docker/_home:/home/puz/dev/haskell/rpki-prover/.stack-work/docker/_home -w /home/puz/dev/haskell/rpki-prover --net=host -e USER=puz -v /home/puz/.local/bin/stack:/opt/host/bin/stack -t -i rpki-prover-builder /opt/host/bin/stack --internal-re-exec-version=2.9.3 --internal-docker-entrypoint "DockerEntrypoint {deUser = Just (DockerUser {duUid = 1001, duGid = 1001, duGroups = [27,998,1001], duUmask = 2})}" build --docker --docker-image rpki-prover-builder --no-nix rpki-prover:rpki-prover-static --verbose
2023-01-18 12:09:01.532302: [debug] Process finished in 112ms: /usr/bin/docker create -e STACK_IN_CONTAINER=1 -e STACK_ROOT=/home/puz/.stack -e STACK_PLATFORM_VARIANT=dk847ddb71a934cb070ba2275cf0e81306 -e HOME=/home/puz/dev/haskell/rpki-prover/.stack-work/docker/_home -e PATH=/opt/host/bin:/home/puz/dev/haskell/rpki-prover/.stack-work/docker/_home/.local/bin:/usr/local/.ghcup/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -e PWD=/home/puz/dev/haskell/rpki-prover -v /home/puz:/home/puz -v /home/puz/.stack:/home/puz/.stack -v /home/puz/dev/haskell/rpki-prover:/home/puz/dev/haskell/rpki-prover -v /home/puz/dev/haskell/rpki-prover/.stack-work/docker/_home:/home/puz/dev/haskell/rpki-prover/.stack-work/docker/_home -w /home/puz/dev/haskell/rpki-prover --net=host -e USER=puz -v /home/puz/.local/bin/stack:/opt/host/bin/stack -t -i rpki-prover-builder /opt/host/bin/stack --internal-re-exec-version=2.9.3 --internal-docker-entrypoint "DockerEntrypoint {deUser = Just (DockerUser {duUid = 1001, duGid = 1001, duGroups = [27,998,1001], duUmask = 2})}" build --docker --docker-image rpki-prover-builder --no-nix rpki-prover:rpki-prover-static --verbose
2023-01-18 12:09:01.532452: [debug] Run process: /usr/bin/docker start -a -i c66807655ef7f4056acab59a7b79e011fe6f126d867a3ab33eaa77873ef71c0a
Version 2.9.3, Git revision 6cf638947a863f49857f9cfbf72a38a48b183e7e x86_64 hpack-0.35.1
2023-01-18 11:09:01.661564: [debug] Checking for project config at: /home/puz/dev/haskell/rpki-prover/stack.yaml
2023-01-18 11:09:01.661685: [debug] Loading project config file stack.yaml
2023-01-18 11:09:01.664300: [debug] Run process: /usr/sbin/groupadd -o --gid 1001 stack
2023-01-18 11:09:01.667034: [debug] Process finished in 3ms: /usr/sbin/groupadd -o --gid 1001 stack
2023-01-18 11:09:01.667115: [debug] Run process: /usr/sbin/useradd -oN --uid 1001 --gid 1001 --home /home/puz/dev/haskell/rpki-prover/.stack-work/docker/_home stack
2023-01-18 11:09:01.671892: [debug] Process finished in 5ms: /usr/sbin/useradd -oN --uid 1001 --gid 1001 --home /home/puz/dev/haskell/rpki-prover/.stack-work/docker/_home stack
2023-01-18 11:09:01.671929: [debug] Run process: /usr/sbin/groupadd -o --gid 27 group27
2023-01-18 11:09:01.673865: [debug] Process finished in 2ms: /usr/sbin/groupadd -o --gid 27 group27
2023-01-18 11:09:01.673893: [debug] Run process: /usr/sbin/groupadd -o --gid 998 group998
2023-01-18 11:09:01.675847: [debug] Process finished in 2ms: /usr/sbin/groupadd -o --gid 998 group998
2023-01-18 11:09:01.675883: [debug] Run process: /usr/sbin/groupadd -o --gid 1001 group1001
2023-01-18 11:09:01.681503: [debug] Process finished in 2ms: /usr/sbin/groupadd -o --gid 1001 group1001
2023-01-18 11:09:01.681858: [debug] (SQL) SELECT COUNT(*) FROM "last_performed" WHERE ("action"=?) AND ("timestamp">=?); [PersistInt64 1,PersistUTCTime 2023-01-17 11:09:01.681800076 UTC]
2023-01-18 11:09:01.682171: [debug] Using package location completions from a lock file
2023-01-18 11:09:01.683791: [debug] Loaded snapshot from Pantry database.
2023-01-18 11:09:01.861763: [debug] Running Hpack on /home/puz/dev/haskell/rpki-prover/package.yaml
2023-01-18 11:09:01.870396: [debug] Hpack output unchanged in /home/puz/dev/haskell/rpki-prover/rpki-prover.cabal
2023-01-18 11:09:01.870607: [debug] Prefetching git repos: [(Git repo at https://github.com/lolepezy/lmdb-high-level.git, commit 3aafa588330899d3e936caf04b3b95d671b57639,RawPackageMetadata {rpmName = Nothing, rpmVersion = Nothing, rpmTreeKey = Nothing}),(Git repo at https://github.com/lolepezy/hs-certificate.git, commit b416b13123eb7bac10a1e5b2c2925fb4d72c2e19 in subdirectory x509,RawPackageMetadata {rpmName = Nothing, rpmVersion = Nothing, rpmTreeKey = Nothing}),(Git repo at https://github.com/lolepezy/hs-certificate.git, commit b416b13123eb7bac10a1e5b2c2925fb4d72c2e19 in subdirectory x509-validation,RawPackageMetadata {rpmName = Nothing, rpmVersion = Nothing, rpmTreeKey = Nothing}),(Git repo at https://github.com/lolepezy/hs-connection, commit e3cf8623979f8687694280939349734868cd18ac,RawPackageMetadata {rpmName = Nothing, rpmVersion = Nothing, rpmTreeKey = Nothing})]
2023-01-18 11:09:01.870657: [debug] [AggregateRepo {aRepo = SimpleRepo {sRepoUrl = "https://github.com/lolepezy/lmdb-high-level.git", sRepoCommit = "3aafa588330899d3e936caf04b3b95d671b57639", sRepoType = RepoGit}, aRepoSubdirs = [("",RawPackageMetadata {rpmName = Nothing, rpmVersion = Nothing, rpmTreeKey = Nothing})]},AggregateRepo {aRepo = SimpleRepo {sRepoUrl = "https://github.com/lolepezy/hs-certificate.git", sRepoCommit = "b416b13123eb7bac10a1e5b2c2925fb4d72c2e19", sRepoType = RepoGit}, aRepoSubdirs = [("x509",RawPackageMetadata {rpmName = Nothing, rpmVersion = Nothing, rpmTreeKey = Nothing}),("x509-validation",RawPackageMetadata {rpmName = Nothing, rpmVersion = Nothing, rpmTreeKey = Nothing})]},AggregateRepo {aRepo = SimpleRepo {sRepoUrl = "https://github.com/lolepezy/hs-connection", sRepoCommit = "e3cf8623979f8687694280939349734868cd18ac", sRepoType = RepoGit}, aRepoSubdirs = [("",RawPackageMetadata {rpmName = Nothing, rpmVersion = Nothing, rpmTreeKey = Nothing})]}]
2023-01-18 11:09:01.909680: [debug] Migration executed: CREATE TEMP TABLE "config_cache_dir_option_backup"("id" INTEGER PRIMARY KEY,"config_cache_id" INTEGER NOT NULL,"index" INTEGER NOT NULL,"option" VARCHAR NOT NULL,CONSTRAINT "unique_config_cache_dir_option" UNIQUE ("config_cache_id","index"))
2023-01-18 11:09:01.909710: [debug] Migration executed: INSERT INTO "config_cache_dir_option_backup"("id","config_cache_id","index","option") SELECT "id","config_cache_id","index","option" FROM "config_cache_dir_option"
2023-01-18 11:09:01.909725: [debug] Migration executed: DROP TABLE "config_cache_dir_option"
2023-01-18 11:09:01.909738: [debug] Migration executed: CREATE TABLE "config_cache_dir_option"("id" INTEGER PRIMARY KEY,"config_cache_id" INTEGER NOT NULL REFERENCES "config_cache" ON DELETE CASCADE ON UPDATE RESTRICT,"index" INTEGER NOT NULL,"option" VARCHAR NOT NULL,CONSTRAINT "unique_config_cache_dir_option" UNIQUE ("config_cache_id","index"))
2023-01-18 11:09:01.909751: [debug] Migration executed: INSERT INTO "config_cache_dir_option" SELECT "id","config_cache_id","index","option" FROM "config_cache_dir_option_backup"
2023-01-18 11:09:01.909765: [debug] Migration executed: DROP TABLE "config_cache_dir_option_backup"
2023-01-18 11:09:01.909777: [debug] Migration executed: CREATE TEMP TABLE "config_cache_no_dir_option_backup"("id" INTEGER PRIMARY KEY,"config_cache_id" INTEGER NOT NULL,"index" INTEGER NOT NULL,"option" VARCHAR NOT NULL,CONSTRAINT "unique_config_cache_no_dir_option" UNIQUE ("config_cache_id","index"))
2023-01-18 11:09:01.909790: [debug] Migration executed: INSERT INTO "config_cache_no_dir_option_backup"("id","config_cache_id","index","option") SELECT "id","config_cache_id","index","option" FROM "config_cache_no_dir_option"
2023-01-18 11:09:01.909803: [debug] Migration executed: DROP TABLE "config_cache_no_dir_option"
2023-01-18 11:09:01.909817: [debug] Migration executed: CREATE TABLE "config_cache_no_dir_option"("id" INTEGER PRIMARY KEY,"config_cache_id" INTEGER NOT NULL REFERENCES "config_cache" ON DELETE CASCADE ON UPDATE RESTRICT,"index" INTEGER NOT NULL,"option" VARCHAR NOT NULL,CONSTRAINT "unique_config_cache_no_dir_option" UNIQUE ("config_cache_id","index"))
2023-01-18 11:09:01.909830: [debug] Migration executed: INSERT INTO "config_cache_no_dir_option" SELECT "id","config_cache_id","index","option" FROM "config_cache_no_dir_option_backup"
2023-01-18 11:09:01.909844: [debug] Migration executed: DROP TABLE "config_cache_no_dir_option_backup"
2023-01-18 11:09:01.909858: [debug] Migration executed: CREATE TEMP TABLE "config_cache_dep_backup"("id" INTEGER PRIMARY KEY,"config_cache_id" INTEGER NOT NULL,"ghc_pkg_id" VARCHAR NOT NULL,CONSTRAINT "unique_config_cache_dep" UNIQUE ("config_cache_id","ghc_pkg_id"))
2023-01-18 11:09:01.909872: [debug] Migration executed: INSERT INTO "config_cache_dep_backup"("id","config_cache_id","ghc_pkg_id") SELECT "id","config_cache_id","ghc_pkg_id" FROM "config_cache_dep"
2023-01-18 11:09:01.909885: [debug] Migration executed: DROP TABLE "config_cache_dep"
2023-01-18 11:09:01.909898: [debug] Migration executed: CREATE TABLE "config_cache_dep"("id" INTEGER PRIMARY KEY,"config_cache_id" INTEGER NOT NULL REFERENCES "config_cache" ON DELETE CASCADE ON UPDATE RESTRICT,"ghc_pkg_id" VARCHAR NOT NULL,CONSTRAINT "unique_config_cache_dep" UNIQUE ("config_cache_id","ghc_pkg_id"))
2023-01-18 11:09:01.909911: [debug] Migration executed: INSERT INTO "config_cache_dep" SELECT "id","config_cache_id","ghc_pkg_id" FROM "config_cache_dep_backup"
2023-01-18 11:09:01.909924: [debug] Migration executed: DROP TABLE "config_cache_dep_backup"
2023-01-18 11:09:01.909938: [debug] Migration executed: CREATE TEMP TABLE "config_cache_component_backup"("id" INTEGER PRIMARY KEY,"config_cache_id" INTEGER NOT NULL,"component" BLOB NOT NULL,CONSTRAINT "unique_config_cache_component" UNIQUE ("config_cache_id","component"))
2023-01-18 11:09:01.909951: [debug] Migration executed: INSERT INTO "config_cache_component_backup"("id","config_cache_id","component") SELECT "id","config_cache_id","component" FROM "config_cache_component"
2023-01-18 11:09:01.909965: [debug] Migration executed: DROP TABLE "config_cache_component"
2023-01-18 11:09:01.909978: [debug] Migration executed: CREATE TABLE "config_cache_component"("id" INTEGER PRIMARY KEY,"config_cache_id" INTEGER NOT NULL REFERENCES "config_cache" ON DELETE CASCADE ON UPDATE RESTRICT,"component" BLOB NOT NULL,CONSTRAINT "unique_config_cache_component" UNIQUE ("config_cache_id","component"))
2023-01-18 11:09:01.909992: [debug] Migration executed: INSERT INTO "config_cache_component" SELECT "id","config_cache_id","component" FROM "config_cache_component_backup"
2023-01-18 11:09:01.910004: [debug] Migration executed: DROP TABLE "config_cache_component_backup"
2023-01-18 11:09:01.910253: [debug] Asking for a supported GHC version
2023-01-18 11:09:01.910280: [debug] Getting system compiler version
2023-01-18 11:09:01.910482: [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 "/usr/local/.ghcup/ghc/9.2.5/bin/ghc-9.2.5"]
2023-01-18 11:09:01.935265: [debug] Loaded compiler information from cache
2023-01-18 11:09:01.935348: [debug] Asking for a supported GHC version
2023-01-18 11:09:01.935374: [debug] Resolving package entries
2023-01-18 11:09:01.935402: [debug] Parsing the targets
2023-01-18 11:09:01.948623: [debug] Checking flags
2023-01-18 11:09:01.948671: [debug] SourceMap constructed
2023-01-18 11:09:01.952603: [debug] Starting to execute command inside EnvConfig
2023-01-18 11:09:01.953545: [debug] Finding out which packages are already installed
2023-01-18 11:09:01.953615: [debug] Run process: /usr/local/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5 --global --no-user-package-db dump --expand-pkgroot
2023-01-18 11:09:01.969022: [debug] Process finished in 15ms: /usr/local/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5 --global --no-user-package-db dump --expand-pkgroot
2023-01-18 11:09:01.984624: [debug] Run process: /usr/local/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5 --user --no-user-package-db --package-db /home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/pkgdb dump --expand-pkgroot
2023-01-18 11:09:02.092348: [debug] Process finished in 108ms: /usr/local/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5 --user --no-user-package-db --package-db /home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/pkgdb dump --expand-pkgroot
2023-01-18 11:09:02.108202: [debug] Run process: /usr/local/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5 --user --no-user-package-db --package-db /home/puz/dev/haskell/rpki-prover/.stack-work/install/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/pkgdb dump --expand-pkgroot
2023-01-18 11:09:02.113537: [debug] Process finished in 5ms: /usr/local/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5 --user --no-user-package-db --package-db /home/puz/dev/haskell/rpki-prover/.stack-work/install/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/pkgdb dump --expand-pkgroot
2023-01-18 11:09:02.113844: [debug] Constructing the build plan
2023-01-18 11:09:02.117159: [debug] Parsing cabal file for servant-server (from Hackage)
2023-01-18 11:09:02.117331: [debug] Got blob from Pantry database for servant-server-0.19.2@sha256:131254b45be496584507fcb2997fa1c042eb088a214dcadfb8efd0b2dafdb5b3,5524
2023-01-18 11:09:02.119797: [debug] Parsing cabal file for wai-app-static (from Hackage)
2023-01-18 11:09:02.119886: [debug] Got blob from Pantry database for wai-app-static-3.1.7.4@sha256:551d79e6a78c3c6a2c23c603122482288fa021f7c07a1ce5cbf8730167eb20fc,4297
2023-01-18 11:09:02.121395: [debug] Parsing cabal file for servant-swagger-ui (from Hackage)
2023-01-18 11:09:02.121479: [debug] Got blob from Pantry database for servant-swagger-ui-0.3.5.4.5.0@sha256:96e628f893376a8b87fcdb8e9013f6e87efc5257de4b29b1d76eab4d4b595763,2008
2023-01-18 11:09:02.122057: [debug] Parsing cabal file for servant-swagger-ui-core (from Hackage)
2023-01-18 11:09:02.122137: [debug] Got blob from Pantry database for servant-swagger-ui-core-0.3.5@sha256:629fd9e7ac62f40af756d95eda443748adc10c25aba81b140dab00239be700ed,1800
2023-01-18 11:09:02.122968: [debug] Checking if we are going to build multiple executables with the same name
2023-01-18 11:09:02.123034: [debug] Executing the build plan
2023-01-18 11:09:02.123609: [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-linux-dk847ddb71a934cb070ba2275cf0e81306/",PersistText "ghc-9.2.5",PersistText "3.6.3.0",PersistText "ae1a53b799f89c6ea449ede2547ae1dc8bb5e7cd0531bd5a39e8842edd91c3ec,1343",PersistByteString "]\130\USl$\208\155q\144\\R\DC4\NUL\147\215\SUB\ETBq\"\DELE\191d/\200\NUL\223o7g\CAN\DC4",PersistBool False]
2023-01-18 11:09:02.125899: [debug] Loaded package from Pantry: wai-app-static-3.1.7.4@sha256:551d79e6a78c3c6a2c23c603122482288fa021f7c07a1ce5cbf8730167eb20fc,4297 (from Hackage)
2023-01-18 11:09:02.130970: [debug] (SQL) SELECT "id","directory","type","pkg_src","active","path_env_var","haddock" FROM "config_cache" WHERE "directory"=? AND "type"=?; [PersistText "/tmp/stack-2e77cf131597fd71/wai-app-static-3.1.7.4/",PersistText "config"]
2023-01-18 11:09:02.131451: [debug] (SQL) UPDATE "config_cache" SET "active"=? WHERE ("directory"=?) AND ("type"=?); [PersistBool False,PersistText "/tmp/stack-2e77cf131597fd71/wai-app-static-3.1.7.4/",PersistText "config"]
2023-01-18 11:09:02.131619: [info] wai-app-static         > configure
2023-01-18 11:09:02.131863: [debug] Run process within /tmp/stack-2e77cf131597fd71/wai-app-static-3.1.7.4/: /home/puz/.stack/setup-exe-cache/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/Cabal-simple_SvXsv1f__3.6.3.0_ghc-9.2.5 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/Cabal-3.6.3.0 configure --with-ghc=/usr/local/.ghcup/ghc/9.2.5/bin/ghc-9.2.5 --with-ghc-pkg=/usr/local/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5 --user --package-db=clear --package-db=global --package-db=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/pkgdb --libdir=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/lib --bindir=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/bin --datadir=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/share --libexecdir=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/libexec --sysconfdir=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/etc --docdir=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/doc/wai-app-static-3.1.7.4 --htmldir=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/doc/wai-app-static-3.1.7.4 --haddockdir=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/doc/wai-app-static-3.1.7.4 --dependency=base=base-4.16.4.0 --dependency=blaze-html=blaze-html-0.9.1.2-E9uAe4H3hfZ4B8kie8FO96 --dependency=blaze-markup=blaze-markup-0.8.2.8-IY56A8qsxagFt6O46YbAVx --dependency=bytestring=bytestring-0.11.3.1 --dependency=containers=containers-0.6.5.1 --dependency=cryptonite=cryptonite-0.30-GFhGNYtiSAOIaW3QnvxYBi --dependency=directory=directory-1.3.6.2 --dependency=file-embed=file-embed-0.0.15.0-5dhSKwZ1srPGex4HYBCwlq --dependency=filepath=filepath-1.4.2.2 --dependency=http-date=http-date-0.0.11-D5fB1q0qiK8565Zomg8Q6j --dependency=http-types=http-types-0.12.3-DPm0Imo8qdIIW2GUW4sU5K --dependency=memory=memory-0.17.0-3ebPMwLgNmCJAe5hn7vsnu --dependency=mime-types=mime-types-0.1.0.9-2AQF7QG8oBvLb5SLtCER00 --dependency=old-locale=old-locale-1.0.0.7-DSFeUNZwxUU2YUIlh1bsq7 --dependency=optparse-applicative=optparse-applicative-0.17.0.0-243H3bXyAMZ9mzZyEFsPyT --dependency=template-haskell=template-haskell-2.18.0.0 --dependency=text=text-1.2.5.0 --dependency=time=time-1.11.1.1 --dependency=transformers=transformers-0.5.6.2 --dependency=unix-compat=unix-compat-0.5.4-CPy7Ir0x1wNCHU6dGqbWp5 --dependency=unordered-containers=unordered-containers-0.2.19.1-EL9EIH5bWAN1EKtsPRoKIy --dependency=wai=wai-3.2.3-3YofuBn00fj429e2EL4s6R --dependency=wai-extra=wai-extra-3.1.13.0-210VmKLheJgG01srkqj3KE --dependency=warp=warp-3.3.23-2mH4eKR3YJPDiMDzWl63eM --dependency=zlib=zlib-0.6.3.0-tH5FRaa9BhChkHJjiNRiO -fcryptonite -f-print --exact-configuration --ghc-option=-fhide-source-paths
2023-01-18 11:09:02.489041: [info] wai-app-static         > Configuring wai-app-static-3.1.7.4...
2023-01-18 11:09:02.574936: [debug] Process finished in 443ms: /home/puz/.stack/setup-exe-cache/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/Cabal-simple_SvXsv1f__3.6.3.0_ghc-9.2.5 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/Cabal-3.6.3.0 configure --with-ghc=/usr/local/.ghcup/ghc/9.2.5/bin/ghc-9.2.5 --with-ghc-pkg=/usr/local/.ghcup/ghc/9.2.5/bin/ghc-pkg-9.2.5 --user --package-db=clear --package-db=global --package-db=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/pkgdb --libdir=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/lib --bindir=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/bin --datadir=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/share --libexecdir=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/libexec --sysconfdir=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/etc --docdir=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/doc/wai-app-static-3.1.7.4 --htmldir=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/doc/wai-app-static-3.1.7.4 --haddockdir=/home/puz/.stack/snapshots/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/29ab0ba19bb558d2ff78b2c54d4adc29f22328593703e99efa9ceeb7a777c6ac/9.2.5/doc/wai-app-static-3.1.7.4 --dependency=base=base-4.16.4.0 --dependency=blaze-html=blaze-html-0.9.1.2-E9uAe4H3hfZ4B8kie8FO96 --dependency=blaze-markup=blaze-markup-0.8.2.8-IY56A8qsxagFt6O46YbAVx --dependency=bytestring=bytestring-0.11.3.1 --dependency=containers=containers-0.6.5.1 --dependency=cryptonite=cryptonite-0.30-GFhGNYtiSAOIaW3QnvxYBi --dependency=directory=directory-1.3.6.2 --dependency=file-embed=file-embed-0.0.15.0-5dhSKwZ1srPGex4HYBCwlq --dependency=filepath=filepath-1.4.2.2 --dependency=http-date=http-date-0.0.11-D5fB1q0qiK8565Zomg8Q6j --dependency=http-types=http-types-0.12.3-DPm0Imo8qdIIW2GUW4sU5K --dependency=memory=memory-0.17.0-3ebPMwLgNmCJAe5hn7vsnu --dependency=mime-types=mime-types-0.1.0.9-2AQF7QG8oBvLb5SLtCER00 --dependency=old-locale=old-locale-1.0.0.7-DSFeUNZwxUU2YUIlh1bsq7 --dependency=optparse-applicative=optparse-applicative-0.17.0.0-243H3bXyAMZ9mzZyEFsPyT --dependency=template-haskell=template-haskell-2.18.0.0 --dependency=text=text-1.2.5.0 --dependency=time=time-1.11.1.1 --dependency=transformers=transformers-0.5.6.2 --dependency=unix-compat=unix-compat-0.5.4-CPy7Ir0x1wNCHU6dGqbWp5 --dependency=unordered-containers=unordered-containers-0.2.19.1-EL9EIH5bWAN1EKtsPRoKIy --dependency=wai=wai-3.2.3-3YofuBn00fj429e2EL4s6R --dependency=wai-extra=wai-extra-3.1.13.0-210VmKLheJgG01srkqj3KE --dependency=warp=warp-3.3.23-2mH4eKR3YJPDiMDzWl63eM --dependency=zlib=zlib-0.6.3.0-tH5FRaa9BhChkHJjiNRiO -fcryptonite -f-print --exact-configuration --ghc-option=-fhide-source-paths
2023-01-18 11:09:02.575587: [info] wai-app-static         > build
2023-01-18 11:09:02.575673: [debug] Run process within /tmp/stack-2e77cf131597fd71/wai-app-static-3.1.7.4/: /home/puz/.stack/setup-exe-cache/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/Cabal-simple_SvXsv1f__3.6.3.0_ghc-9.2.5 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/Cabal-3.6.3.0 build --ghc-options " -fdiagnostics-color=always"
2023-01-18 11:09:02.610167: [info] wai-app-static         > Preprocessing library for wai-app-static-3.1.7.4..
2023-01-18 11:09:02.610248: [info] wai-app-static         > Building library for wai-app-static-3.1.7.4..
2023-01-18 11:09:02.711027: [info] wai-app-static         > [1 of 9] Compiling WaiAppStatic.Types
2023-01-18 11:09:02.871353: [info] wai-app-static         > [2 of 9] Compiling Util
2023-01-18 11:09:02.915544: [info] wai-app-static         > [3 of 9] Compiling WaiAppStatic.Listing
2023-01-18 11:09:02.989864: [warn] wai-app-static         > 
2023-01-18 11:09:02.990069: [warn] wai-app-static         > /tmp/stack-2e77cf131597fd71/wai-app-static-3.1.7.4/WaiAppStatic/Listing.hs:120:24: warning: [-Wunused-local-binds]
2023-01-18 11:09:02.990195: [warn] wai-app-static         >     Defined but not used: ‘isFile’
2023-01-18 11:09:02.990230: [warn] wai-app-static         >     |
2023-01-18 11:09:02.990259: [warn] wai-app-static         > 120 |                    let isFile = either (const False) (const True) md
2023-01-18 11:09:02.990288: [warn] wai-app-static         >     |                        ^^^^^^
2023-01-18 11:09:03.208605: [info] wai-app-static         > [4 of 9] Compiling WaiAppStatic.Storage.Filesystem
2023-01-18 11:09:03.382933: [info] wai-app-static         > [5 of 9] Compiling WaiAppStatic.Storage.Embedded.TH
2023-01-18 11:09:03.750216: [info] wai-app-static         > [6 of 9] Compiling WaiAppStatic.Storage.Embedded.Runtime
2023-01-18 11:09:03.880551: [info] wai-app-static         > [7 of 9] Compiling WaiAppStatic.Storage.Embedded
2023-01-18 11:09:03.885539: [info] wai-app-static         > [8 of 9] Compiling Network.Wai.Application.Static
Progress 1/5
2023-01-18 11:09:04.747359: [debug] Checking for project config at: /home/puz/dev/haskell/rpki-prover/stack.yaml
2023-01-18 11:09:04.747428: [debug] Loading project config file stack.yaml
2023-01-18 11:09:04.749421: [debug] (SQL) SELECT COUNT(*) FROM "last_performed" WHERE ("action"=?) AND ("timestamp">=?); [PersistInt64 1,PersistUTCTime 2023-01-17 11:09:04.749404509 UTC]
2023-01-18 11:09:04.749679: [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 wai-app-static-3.1.7.4 (scroll up to its section to see the error) using:
       /home/puz/.stack/setup-exe-cache/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/Cabal-simple_SvXsv1f__3.6.3.0_ghc-9.2.5 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-dk847ddb71a934cb070ba2275cf0e81306/Cabal-3.6.3.0 build --ghc-options " -fdiagnostics-color=always"
       Process exited with code: ExitFailure (-11) 
2023-01-18 12:09:04.824947: [debug] Run process: /usr/bin/docker rm -f c66807655ef7f4056acab59a7b79e011fe6f126d867a3ab33eaa77873ef71c0a
2023-01-18 12:09:04.837964: [debug] Process finished in 13ms: /usr/bin/docker rm -f c66807655ef7f4056acab59a7b79e011fe6f126d867a3ab33eaa77873ef71c0a

It's not really possible to get a more detailed log, but it seems to be the same error, ExitFailure (-11) in the same package.

I am using v25-ghc925.
Apparently,wai-app-static uses some TH that doesn't go well with musl 🤷

from ghc-musl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.