reproduction info: guix describe: Generation 15 Jul 01 2023 20:04:02 (current) guix 76e3990 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 76e39909e886bb51cf9b2fa03a1523545faca880 nonguix 211635c repository URL: https://gitlab.com/nonguix/nonguix branch: master commit: 211635c8e024692c2b05d1af4c9c6a43b9fc0aa1
steps: guix shell ghc-ncurses error: starting phase `set-SOURCE-DATE-EPOCH' phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds starting phase `set-paths' environment variable `PATH' set to `/gnu/store/x0q2jmg4pfy0wjxdz8l4apsp1yg2sm2c-ghc-9.2.5/bin:/gnu/store/cz8bsiy938v3ghzrnwlc5b6qdmfgy04r-ghc-c2hs-0.28.8/bin:/gnu/store/bcc053jvsbspdjr17gnnd9dg85b3a0gy-ncurses-6.2.20210619/bin:/gnu/store/sxx22f98vfbavcqmdksm6as8fvskpxiw-tar-1.34/bin:/gnu/store/x24bm49ag5dvki72mjdz195bfb89nrnb-gzip-1.12/bin:/gnu/store/j8wlfmlmfvpbza6is9wv9xsd8psrxn00-bzip2-1.0.8/bin:/gnu/store/gr0sy0m1mv36qv54idm6cn10l3mngshq-file-5.44/bin:/gnu/store/zmcf5kpqiighkbh7wslf91qdjwj06yr1-diffutils-3.8/bin:/gnu/store/210yfax18r2g2inxrml9435ikhfcca6m-patch-2.7.6/bin:/gnu/store/c8jyph2lxw0m9na34fg8h70n4nnnz7is-findutils-4.9.0/bin:/gnu/store/hc05d76f1j3iz3v2bs5jz4fpljl1r4dj-gawk-5.2.1/bin:/gnu/store/xxcfsimvxz7z4dj593gnqbkzc6picwzq-sed-4.8/bin:/gnu/store/yrv5f70mn83a876b78i5s79dd2hsh0zf-grep-3.8/bin:/gnu/store/6k1yys9wqrfn4y41ic1win8gpnimncwj-xz-5.2.8/bin:/gnu/store/a5i8avx826brw5grn3n4qv40g514505c-coreutils-9.1/bin:/gnu/store/wj7casda7rb55rvqjnpm0bm7a2zm6618-make-4.3/bin:/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin:/gnu/store/na1dpbbcxjaa3n8wkwrfpch476f90hlf-ld-wrapper-0/bin:/gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38/bin:/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin:/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/bin:/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/sbin' find-files: /gnu/store/cz8bsiy938v3ghzrnwlc5b6qdmfgy04r-ghc-c2hs-0.28.8/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/xamiwsw6bh6r7jlg2lamahk43b51103k-ghc-ncurses-0.2.16-1.cabal/lib/ghc-9.2.5: Not a directory find-files: /gnu/store/bcc053jvsbspdjr17gnnd9dg85b3a0gy-ncurses-6.2.20210619/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/sxx22f98vfbavcqmdksm6as8fvskpxiw-tar-1.34/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/x24bm49ag5dvki72mjdz195bfb89nrnb-gzip-1.12/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/j8wlfmlmfvpbza6is9wv9xsd8psrxn00-bzip2-1.0.8/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/gr0sy0m1mv36qv54idm6cn10l3mngshq-file-5.44/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/zmcf5kpqiighkbh7wslf91qdjwj06yr1-diffutils-3.8/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/210yfax18r2g2inxrml9435ikhfcca6m-patch-2.7.6/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/c8jyph2lxw0m9na34fg8h70n4nnnz7is-findutils-4.9.0/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/hc05d76f1j3iz3v2bs5jz4fpljl1r4dj-gawk-5.2.1/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/xxcfsimvxz7z4dj593gnqbkzc6picwzq-sed-4.8/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/yrv5f70mn83a876b78i5s79dd2hsh0zf-grep-3.8/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/6k1yys9wqrfn4y41ic1win8gpnimncwj-xz-5.2.8/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/a5i8avx826brw5grn3n4qv40g514505c-coreutils-9.1/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/wj7casda7rb55rvqjnpm0bm7a2zm6618-make-4.3/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/na1dpbbcxjaa3n8wkwrfpch476f90hlf-ld-wrapper-0/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/l0yryi5jsa1grnvw01c9nkz9c81cv224-glibc-2.35-static/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/visfdda934gvivwihwhlm63fdqhhcc8a-glibc-utf8-locales-2.35/lib/ghc-9.2.5: No such file or directory find-files: /gnu/store/5iklcps70c0sfkxvlrhg8jhf3q4h18bj-linux-libre-headers-5.15.49/lib/ghc-9.2.5: No such file or directory environment variable `GHC_PACKAGE_PATH' set to `/gnu/store/x0q2jmg4pfy0wjxdz8l4apsp1yg2sm2c-ghc-9.2.5/lib/ghc-9.2.5/package.conf.d' environment variable `TERMINFO_DIRS' set to `/gnu/store/bcc053jvsbspdjr17gnnd9dg85b3a0gy-ncurses-6.2.20210619/share/terminfo' environment variable `BASH_LOADABLES_PATH' unset environment variable `C_INCLUDE_PATH' set to `/gnu/store/bcc053jvsbspdjr17gnnd9dg85b3a0gy-ncurses-6.2.20210619/include:/gnu/store/j8wlfmlmfvpbza6is9wv9xsd8psrxn00-bzip2-1.0.8/include:/gnu/store/gr0sy0m1mv36qv54idm6cn10l3mngshq-file-5.44/include:/gnu/store/hc05d76f1j3iz3v2bs5jz4fpljl1r4dj-gawk-5.2.1/include:/gnu/store/6k1yys9wqrfn4y41ic1win8gpnimncwj-xz-5.2.8/include:/gnu/store/wj7casda7rb55rvqjnpm0bm7a2zm6618-make-4.3/include:/gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38/include:/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/include:/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/include:/gnu/store/5iklcps70c0sfkxvlrhg8jhf3q4h18bj-linux-libre-headers-5.15.49/include' environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/bcc053jvsbspdjr17gnnd9dg85b3a0gy-ncurses-6.2.20210619/include:/gnu/store/j8wlfmlmfvpbza6is9wv9xsd8psrxn00-bzip2-1.0.8/include:/gnu/store/gr0sy0m1mv36qv54idm6cn10l3mngshq-file-5.44/include:/gnu/store/hc05d76f1j3iz3v2bs5jz4fpljl1r4dj-gawk-5.2.1/include:/gnu/store/6k1yys9wqrfn4y41ic1win8gpnimncwj-xz-5.2.8/include:/gnu/store/wj7casda7rb55rvqjnpm0bm7a2zm6618-make-4.3/include:/gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38/include:/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/include/c++:/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/include:/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/include:/gnu/store/5iklcps70c0sfkxvlrhg8jhf3q4h18bj-linux-libre-headers-5.15.49/include' environment variable `LIBRARY_PATH' set to `/gnu/store/x0q2jmg4pfy0wjxdz8l4apsp1yg2sm2c-ghc-9.2.5/lib:/gnu/store/bcc053jvsbspdjr17gnnd9dg85b3a0gy-ncurses-6.2.20210619/lib:/gnu/store/j8wlfmlmfvpbza6is9wv9xsd8psrxn00-bzip2-1.0.8/lib:/gnu/store/gr0sy0m1mv36qv54idm6cn10l3mngshq-file-5.44/lib:/gnu/store/hc05d76f1j3iz3v2bs5jz4fpljl1r4dj-gawk-5.2.1/lib:/gnu/store/6k1yys9wqrfn4y41ic1win8gpnimncwj-xz-5.2.8/lib:/gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38/lib:/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib:/gnu/store/l0yryi5jsa1grnvw01c9nkz9c81cv224-glibc-2.35-static/lib:/gnu/store/visfdda934gvivwihwhlm63fdqhhcc8a-glibc-utf8-locales-2.35/lib' environment variable `GUIX_LOCPATH' set to `/gnu/store/visfdda934gvivwihwhlm63fdqhhcc8a-glibc-utf8-locales-2.35/lib/locale' phase `set-paths' succeeded after 0.1 seconds starting phase `install-locale' using 'en_US.utf8' locale for category "LC_ALL" phase `install-locale' succeeded after 0.0 seconds starting phase `unpack' ncurses-0.2.16/ ncurses-0.2.16/Setup.hs ncurses-0.2.16/ncurses.cabal ncurses-0.2.16/license.txt ncurses-0.2.16/cbits/ ncurses-0.2.16/cbits/mavericks-c2hs-workaround.h ncurses-0.2.16/cbits/hsncurses-shim.h ncurses-0.2.16/cbits/hsncurses-shim.c ncurses-0.2.16/lib/ ncurses-0.2.16/lib/UI/ ncurses-0.2.16/lib/UI/NCurses.chs ncurses-0.2.16/lib/UI/NCurses/ ncurses-0.2.16/lib/UI/NCurses/Panel.chs ncurses-0.2.16/lib/UI/NCurses/Types.hs ncurses-0.2.16/lib/UI/NCurses/Enums.chs ncurses-0.2.16/lib/UI/NCurses/Compat.hs phase `unpack' succeeded after 0.0 seconds starting phase `generate-setuphs' phase `generate-setuphs' succeeded after 0.0 seconds starting phase `patch-cabal-file' replacing "ncurses.cabal" with "/gnu/store/xamiwsw6bh6r7jlg2lamahk43b51103k-ghc-ncurses-0.2.16-1.cabal" phase `patch-cabal-file' succeeded after 0.0 seconds starting phase `patch-usr-bin-file' phase `patch-usr-bin-file' succeeded after 0.0 seconds starting phase `patch-source-shebangs' phase `patch-source-shebangs' succeeded after 0.0 seconds starting phase `setup-compiler' phase `setup-compiler' succeeded after 0.3 seconds starting phase `configure' running "runhaskell Setup.hs" with command "configure" and parameters ("--prefix=/gnu/store/1ar0a8vmm6y3ckpql0cbv5kr84ihc4gn-ghc-ncurses-0.2.16" "--libdir=/gnu/store/1ar0a8vmm6y3ckpql0cbv5kr84ihc4gn-ghc-ncurses-0.2.16/lib" "--docdir=/gnu/store/1ar0a8vmm6y3ckpql0cbv5kr84ihc4gn-ghc-ncurses-0.2.16/share/doc/ghc-ncurses-0.2.16" "--libsubdir=$compiler/$pkg-$version" "--package-db=/tmp/guix-build-ghc-ncurses-0.2.16.drv-0/package.conf.d" "--global" "--extra-include-dirs=/gnu/store/bcc053jvsbspdjr17gnnd9dg85b3a0gy-ncurses-6.2.20210619/include" "--extra-lib-dirs=/gnu/store/bcc053jvsbspdjr17gnnd9dg85b3a0gy-ncurses-6.2.20210619/lib" "--enable-tests" "--enable-shared" "--enable-static" "--disable-executable-dynamic" "--ghc-option=-fPIC" "--ghc-option=-split-sections") Warning: ncurses.cabal:85:21: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. Configuring ncurses-0.2.16... phase `configure' succeeded after 1.6 seconds starting phase `patch-generated-file-shebangs' phase `patch-generated-file-shebangs' succeeded after 0.0 seconds starting phase `fix-includes' phase `fix-includes' succeeded after 0.0 seconds starting phase `build' running "runhaskell Setup.hs" with command "build" and parameters () Preprocessing library for ncurses-0.2.16.. c2hs: C header contains errors: dist/build/UI/NCurses/Enums.chs.h:140: (column 25) [ERROR] >>> Unknown identifier! Cannot find a definition for `KEY_EVENT' in the header file. error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "runhaskell" arguments: ("-package-db=/tmp/guix-build-ghc-ncurses-0.2.16.drv-0/package.conf.d" "Setup.hs" "build") exit-status: 1 term-signal: #f stop-signal: #f> phase `build' failed after 0.6 seconds command "runhaskell" "-package-db=/tmp/guix-build-ghc-ncurses-0.2.16.drv-0/package.conf.d" "Setup.hs" "build" failed with status 1