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

Build wai-app-static failed with Segfaults #29

Open
naufalauddin opened this issue Nov 24, 2022 · 3 comments
Open

Build wai-app-static failed with Segfaults #29

naufalauddin opened this issue Nov 24, 2022 · 3 comments

Comments

@naufalauddin
Copy link

naufalauddin commented Nov 24, 2022

I'm trying to build a static binary in v24-ghc922, but it seems to segfault when building the dependencies,

error log as such:

Waiting for download of RepoTarballPackage (RepoSecure {repoRemote =
RemoteRepo {remoteRepoName = RepoName "hackage.haskell.org", remoteRepoURI =
http://hackage.haskell.org/, remoteRepoSecure = Just True, remoteRepoRootKeys
=
["fe331502606802feac15e514d9b9ea83fee8b6ffef71335479a2e68d84adc6b0","1ea9ba32c526d1cc91ab5e5bd364ec5e9e8cb67179a471872f6e26f0ae773d42","2c6c3627bd6c982990239487f1abd02e08a02e6cf16edb105a8012d444d870c3","0a5c7ea47cd1b15f01f5f51a33adda7e655bc0f0b0615baa8e271f4c3351e21d","51f0161b906011b52c6613376b1ae937670da69322113a246a09f807c62f6921"],
remoteRepoKeyThreshold = 3, remoteRepoShouldTryHttps = True}, repoLocalDir =
"/root/.cabal/packages/hackage.haskell.org"}) (PackageIdentifier {pkgName =
PackageName "wai-app-static", pkgVersion = mkVersion [3,1,7,4]}) Nothing
Extracting
/root/.cabal/packages/hackage.haskell.org/wai-app-static/3.1.7.4/wai-app-static-3.1.7.4.tar.gz
to /dist-newstyle/tmp/src-10...
Updating wai-app-static.cabal with the latest revision from the index.
creating /dist-newstyle/tmp/src-10/wai-app-static-3.1.7.4/dist
Starting     wai-app-static-3.1.7.4 (lib)
Using self-exec internal setup method with build-type Simple and args:
["act-as-setup","--build-type=Simple","--","configure","--verbose=3","--builddir=dist","--ghc","--prefix=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8","--bindir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/bin","--libdir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/lib","--libsubdir=","--dynlibdir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/lib","--libexecdir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/libexec","--libexecsubdir=","--datadir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/share","--datasubdir=","--docdir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/share/doc","--htmldir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/share/doc/html","--haddockdir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/share/doc/html","--sysconfdir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/etc","--enable-library-vanilla","--disable-library-profiling","--disable-shared","--disable-static","--disable-executable-dynamic","--disable-executable-static","--disable-profiling","--profiling-detail=default","--library-profiling-detail=default","--enable-optimization","--disable-debug-info","--disable-library-for-ghci","--disable-split-sections","--disable-split-objs","--disable-executable-stripping","--disable-library-stripping","--package-db=clear","--package-db=global","--package-db=/root/.cabal/store/ghc-9.2.2/package.db","--flags=cryptonite","--flags=-print","--cid=wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8","--extra-prog-path=/root/.cabal/bin","--dependency=base=base-4.16.1.0","--dependency=blaze-html=blaze-html-0.9.1.2-565acf4ddcd862165036ecc9ca081afdc136af96b04c49301e544cd569ba2116","--dependency=blaze-markup=blaze-markup-0.8.2.8-8b356967fa70d06d3b451d261b05ebf61340b18e66d497ba40dc1161e0a58acc","--dependency=bytestring=bytestring-0.11.3.0","--dependency=containers=containers-0.6.5.1","--dependency=cryptonite=cryptonite-0.30-0352fdecbbe18173280a18432d4120b758b5463fa9af3cfe6043247172aa4168","--dependency=directory=directory-1.3.6.2","--dependency=file-embed=file-embed-0.0.15.0-809216cf8f025a3304e27bb2be184d8865e723942a8f2eebcbdd91a1602002b5","--dependency=filepath=filepath-1.4.2.2","--dependency=http-date=http-date-0.0.11-af0a48e46bc3982e0e3b2170d9e944af252b67756584ff5f22605776d80e1cb3","--dependency=http-types=http-types-0.12.3-9133791759d40ec950027be8b0a321efc572d0dd42fe8772ffa36daac57b2b06","--dependency=memory=memory-0.18.0-fa73a8eec938442e42f419a3ea9cd4f41895a15d4fb5dbf2e2df9cf6fc6eed9b","--dependency=mime-types=mime-types-0.1.1.0-7fa79a99c6d275fc6cb72abe9b8b5cf49ac1e678a7ff3a7dd31244614f43a5a6","--dependency=old-locale=old-locale-1.0.0.7-026ff563d66376bb5e161b2b0b2d49d2776e0b68edda93bf99e9218d4752e0cf","--dependency=optparse-applicative=optparse-applicative-0.17.0.0-bb16945600c9c810a89c43467c648560762b2126af229cd470d5d74b5464da4e","--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.6-bd2eda3eebe164580c797c2b86e6705f97857a66fa54c4537de70127cc7aa302","--dependency=unordered-containers=unordered-containers-0.2.19.1-0fca301d08e4758b101d4ec469ff91c68aba10ff38b6c557f8f1074f5f157e62","--dependency=wai=wai-3.2.3-1b4ad9bee2642bb0ea1a04aa120ba4cc5973b4c2a74f8fcb46d480c72cfa9a88","--dependency=wai-extra=wai-extra-3.1.13.0-52fdc84d9d05b81a3fdb660017ace0931933480197bbcb2f418e2ee3ca147689","--dependency=warp=warp-3.3.23-79d326ac3ad8f4dbf1f08de8bda7b31c458429ac145347fa1d57d7eb025bae41","--dependency=zlib=zlib-0.6.3.0-e9c83ab7388977aa22733fa965d2b0055d73afbfd5e640a04441ad38f747ad52","--disable-coverage","--exact-configuration","--with-ghc=/usr/local/.ghcup/bin/ghc","--with-ghc-pkg=/usr/local/.ghcup/ghc/9.2.2/bin/ghc-pkg-9.2.2","--ghc-option=-hide-all-packages","lib:wai-app-static"]
/usr/local/.ghcup/bin/cabal-3.6.0.0 act-as-setup --build-type=Simple --
configure --verbose=3 --builddir=dist --ghc
--prefix=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8
--bindir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/bin
--libdir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/lib
--libsubdir=
--dynlibdir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/lib
--libexecdir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/libexec
--libexecsubdir=
--datadir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/share
--datasubdir=
--docdir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/share/doc
--htmldir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/share/doc/html
--haddockdir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/share/doc/html
--sysconfdir=/root/.cabal/store/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8/etc
--enable-library-vanilla --disable-library-profiling --disable-shared
--disable-static --disable-executable-dynamic --disable-executable-static
--disable-profiling --profiling-detail=default
--library-profiling-detail=default --enable-optimization --disable-debug-info
--disable-library-for-ghci --disable-split-sections --disable-split-objs
--disable-executable-stripping --disable-library-stripping --package-db=clear
--package-db=global --package-db=/root/.cabal/store/ghc-9.2.2/package.db
--flags=cryptonite --flags=-print
--cid=wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8
--extra-prog-path=/root/.cabal/bin --dependency=base=base-4.16.1.0
--dependency=blaze-html=blaze-html-0.9.1.2-565acf4ddcd862165036ecc9ca081afdc136af96b04c49301e544cd569ba2116
--dependency=blaze-markup=blaze-markup-0.8.2.8-8b356967fa70d06d3b451d261b05ebf61340b18e66d497ba40dc1161e0a58acc
--dependency=bytestring=bytestring-0.11.3.0
--dependency=containers=containers-0.6.5.1
--dependency=cryptonite=cryptonite-0.30-0352fdecbbe18173280a18432d4120b758b5463fa9af3cfe6043247172aa4168
--dependency=directory=directory-1.3.6.2
--dependency=file-embed=file-embed-0.0.15.0-809216cf8f025a3304e27bb2be184d8865e723942a8f2eebcbdd91a1602002b5
--dependency=filepath=filepath-1.4.2.2
--dependency=http-date=http-date-0.0.11-af0a48e46bc3982e0e3b2170d9e944af252b67756584ff5f22605776d80e1cb3
--dependency=http-types=http-types-0.12.3-9133791759d40ec950027be8b0a321efc572d0dd42fe8772ffa36daac57b2b06
--dependency=memory=memory-0.18.0-fa73a8eec938442e42f419a3ea9cd4f41895a15d4fb5dbf2e2df9cf6fc6eed9b
--dependency=mime-types=mime-types-0.1.1.0-7fa79a99c6d275fc6cb72abe9b8b5cf49ac1e678a7ff3a7dd31244614f43a5a6
--dependency=old-locale=old-locale-1.0.0.7-026ff563d66376bb5e161b2b0b2d49d2776e0b68edda93bf99e9218d4752e0cf
--dependency=optparse-applicative=optparse-applicative-0.17.0.0-bb16945600c9c810a89c43467c648560762b2126af229cd470d5d74b5464da4e
--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.6-bd2eda3eebe164580c797c2b86e6705f97857a66fa54c4537de70127cc7aa302
--dependency=unordered-containers=unordered-containers-0.2.19.1-0fca301d08e4758b101d4ec469ff91c68aba10ff38b6c557f8f1074f5f157e62
--dependency=wai=wai-3.2.3-1b4ad9bee2642bb0ea1a04aa120ba4cc5973b4c2a74f8fcb46d480c72cfa9a88
--dependency=wai-extra=wai-extra-3.1.13.0-52fdc84d9d05b81a3fdb660017ace0931933480197bbcb2f418e2ee3ca147689
--dependency=warp=warp-3.3.23-79d326ac3ad8f4dbf1f08de8bda7b31c458429ac145347fa1d57d7eb025bae41
--dependency=zlib=zlib-0.6.3.0-e9c83ab7388977aa22733fa965d2b0055d73afbfd5e640a04441ad38f747ad52
--disable-coverage --exact-configuration --with-ghc=/usr/local/.ghcup/bin/ghc
--with-ghc-pkg=/usr/local/.ghcup/ghc/9.2.2/bin/ghc-pkg-9.2.2
--ghc-option=-hide-all-packages lib:wai-app-static
Redirecting build log to {handle:
/root/.cabal/logs/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8.log}
Building     wai-app-static-3.1.7.4 (lib)
Using self-exec internal setup method with build-type Simple and args:
["act-as-setup","--build-type=Simple","--","build","--verbose=3","--builddir=dist"]
/usr/local/.ghcup/bin/cabal-3.6.0.0 act-as-setup --build-type=Simple -- build
--verbose=3 --builddir=dist
Redirecting build log to {handle:
/root/.cabal/logs/ghc-9.2.2/wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8.log}
packages definitely up to date:
packages previously probably up to date:
packages now probably up to date:
packages newly up to date:
packages out to date: flyio-0.1.0.0-inplace, flyio-0.1.0.0-inplace-myapp
packages invalid due to dep change: flyio-0.1.0.0-inplace, flyio-0.1.0.0-inplace-myapp, servant-server-0.19.2-2c3a326d5ffee8b8fa2ad2ac960266143579627cc0c4526e4219dc02ce8d0e1a, servant-server-0.19.2-e-greet-2387b25f466825f23e766341f552a9bc5a6f526d1d503459f326f8023d3a53ff, wai-app-static-3.1.7.4-e-warp-1d46f1866b41e14c5ca6b356c9d76dbdf8ab9db550faab2caf44296e335dbe02, wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8
packages invalid due to build failure: wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8

cabal: Failed to build servant-server-0.19.2 because it depends on
servant-server-0.19.2 which itself failed to build.
Failed to build
wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8.
The build process segfaulted (i.e. SIGSEGV).

last line from the log file:
wai-app-static-3.1.7.4-fb9e5129137dfe755e819b6218fd6c1a5b92f08577d7495bf73e09e4fc8456e8.log

[8 of 9] Compiling Network.Wai.Application.Static ( Network/Wai/Application/Static.hs, dist/build/Network/Wai/Application/Static.o )
/usr/local/.ghcup/bin/ghc returned ExitFailure (-11)

I don't know whether it is specific to ghc-musl, but it compiled on haskell:9.2

@naufalauddin
Copy link
Author

built just fine with v24-ghc8107

I guess it has something to do with v24-ghc922

@lolepezy
Copy link

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 🤷

@lolepezy
Copy link

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

This was referenced Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants