+12
−0
Loading
Admins will be upgrading ORNL GitLab Servers on Saturday, 16 May 2026, from 7 AM until 11 AM EST. Repositories will experience intermittent outages during this time.
- add patch changing path to `libz.so` from `libdir` to `sharedlibdir` variable from `zlib.pc` In `guile-zlib` default way of finding `libz.so` is to load `zlib.pc` with `PKG_CHECK_MODULES` macro and take path from `libdir` variable inside. After change in: https://www.github.com/NixOS/nixpkgs/pull/476830 https://github.com/NixOS/nixpkgs/commit/ff59162e8205c085455b4863d8b871515cbf1bfd `libdir` variable in `zlib.pc` points to `zlib.static`, so only `libz.a` is there. Add patch fixing `configure.ac` to load path from `sharedlibdir` instead. Fixes build failure of `guile-zlib`: ``` make check-TESTS make[1]: Entering directory '/build/source' make[2]: Entering directory '/build/source' make[2]: *** [Makefile:873: tests/zlib.log] Error 1 make[2]: Leaving directory '/build/source' make[1]: *** [Makefile:856: check-TESTS] Error 2 make[1]: Leaving directory '/build/source' make: *** [Makefile:1059: check-am] Error 2 ``` zlib.log: ``` Backtrace: 19 (primitive-load-path "tests/zlib.scm") ... In unknown file: 2 (primitive-load-path "zlib" #<procedure 7fffeee418c0 at ice-9/boot-9.scm:3603:37 ()>) In zlib.scm: 486:25 1 (_) 486:25 0 (_) zlib.scm:486:25: Wrong type to apply: #f ```