Install ncurses dev package in SourceHut CI
ober
7dd19907de4aed03fea63a4863daeb19ac2cce00
--- a/.builds/ci.yml +++ b/.builds/ci.yml @@ -8,6 +8,7 @@ packages: - curl - file - git +- libncurses-dev - pkg-config - rustc - tar --- a/data/error-fixes.sexp +++ b/data/error-fixes.sexp @@ -328,9 +328,7 @@ ("explanation" . "Jerboa cannot find its libraries because JERBOA_HOME is wrong or the repo-local runtime has not been bootstrapped.") - ("fix" - . - "Run with: jerboa run your-file.ss.") + ("fix" . "Run with: jerboa run your-file.ss.") ("id" . "missing-libdirs") ("imports") ("message" . "Library search path not configured") ("pattern" @@ -2540,4 +2538,18 @@ ("pattern" . "fatal error: 'openssl/evp\\.h' file not found") - ("type" . "c-shim-static-build"))) + ("type" . "c-shim-static-build")) + (("code_example" + . + "packages:\n- build-essential\n- libncurses-dev\n\n# Alternative for no-curses builds:\n# vendor/ChezScheme/configure --disable-curses ...") + ("explanation" + . + "Chez Scheme bootquick links the bootstrap Scheme binary with -lncurses when curses support is enabled. Minimal Debian/SourceHut images can have runtime ncurses pieces but not the development symlink/library needed by the linker.") + ("fix" + . + "Install the ncurses development package in the build image, e.g. add libncurses-dev to .builds/ci.yml packages on Debian, or configure Chez with --disable-curses when curses support is intentionally omitted.") + ("id" . "chez-bootquick-missing-ncurses-dev") + ("pattern" + . + "ld: cannot find -lncurses: No such file or directory") + ("type" . "linker")))