jaeger changed the topic of #crux-devel to: CRUX (https://crux.nu/) development channel | Logs: https://libera.irclog.whitequark.org/crux-devel/
<ukky> const char* version = zlibVersion(); if (strncmp(version, ZLIB_VERSION, 4)) { lua_pushfstring(L, "zlib library version does not match - header: %s, library: %s", ZLIB_VERSION, version); lua_error(L); }
<ukky> The above check is done at runtime. No revdep can detect that.
<ukky> One way to fix such issue is to create rebuild rules: when port A is rebuilt, then port B must be rebuilt too.
<ukky> Another solution is to analyze this output in revdep as a special case: prt-get isinst texlive >/dev/null && echo /usr/bin/lualatex --credits | grep 'Compiled with zlib'
<farkuhar> ukky: thanks for investigating. I don't think revdep is the right place to be hard-coding such special cases. Your first suggestion (create rebuild rules) is exactly what stenur did for his sysup script, although it appears he only wrote rules for llvm, mesa, and xorg ports: https://www.sdaoden.eu/crux/port-up.sh
<ukky> farkuhar: I'd leave it as-is. There are only a few exceptions, we might just keep notes somewhere like 'if you bump zlib version, don't forget to rebuild texlive'
farkuhar has left #crux-devel [#crux-devel]