Nyxt started failing on sbcl update to 2.6.2. Any hints are welcome. Thanks
Created attachment 268486 [details] poudriere log
Pinging Shamaz and Krion to seek help :)
You need to update named-readtables Pick this commit: https://github.com/melisgl/named-readtables/commit/6eea56674442b884a4fee6ede4c8aad63541aa5b
(In reply to shamaz.mazum from comment #3) Thanks for extra fast support! I see that another port has received same fix: https://cgit.freebsd.org/ports/commit/?id=86c4c07cd9b9d03e158fe5cde75c57b0a2199f8f
hm, why do these ports bundle their dependencies? As seen here that leads to duplicated effort to fix them. Dependencies should be converted into ports, so that the fix can be applied once.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=cbb7e1bddacd16c010c7e942845bff55fc48fd94 commit cbb7e1bddacd16c010c7e942845bff55fc48fd94 Author: Shamaz Mazum <shamaz.mazum@gmail.com> AuthorDate: 2026-03-02 19:50:32 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2026-03-02 19:51:36 +0000 www/nyxt: Unbreak with SBCL >= 2.5.11 PR: 293549 www/nyxt/files/patch-sbcl262 (new) | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
(In reply to Benjamin Takacs from comment #5) You have a point in there and we should always follow the unbundle dependencies path. Do you have any changes to do with www/nyxt and problably databases/pgloader3 so we can test?
(In reply to Benjamin Takacs from comment #5) Both ports that bundle named-readtables (databases/pgloader3 and www/nyxt) are already fixed. No other ports in the tree appear to bundle this library, the rest either don't use it or pull it in as a separate port (e.g. editors/sly-named-readtables is an Emacs/SLY plugin unrelated to cruft.lisp). So I don't think there's much value in converting named-readtables into a standalone port at this point.
(In reply to Nuno Teixeira from comment #7) FWIW I've checked the entire ports tree, only two ports bundle named-readtables: www/nyxt and databases/pgloader3. Both are already patched. The upstream named-readtables fix has been available since November 2025, so future versions of these ports will pick it up naturally. Unbundling named-readtables into a separate port would require significant rework of both ports (especially nyxt with its source-with-submodules tarball) for a marginal benefit. I'd suggest we keep the current patches and let upstream handle it going forward.
(In reply to Benjamin Takacs from comment #5) It's the same as with Rust crates. Also you cannot just create ports for dependencies of a Common Lisp program, it does not work this way.
Thanks all! Committed.
(In reply to shamaz.mazum from comment #10) yeah totally agree, Rust crates analogy is accurate: just as we use USES=cargo and bundle crates in distfiles rather than creating individual ports, CL dependencies are best kept bundled with the ports that use them. Nyxt alone pulls in 50+ ASDF systems so creating a port for each one would be a huge maintenance burden for a problem that was fixed in minutes
(In reply to Kirill Ponomarev from comment #8) named-readtables is only one example of a dependency that gets bundled here. (In reply to shamaz.mazum from comment #10) (In reply to Kirill Ponomarev from comment #12) Yeah, rust crates have the same problem and should be fixed too. Rather than using that as an excuse to not fix the problem, we should look at others that also have that problem and fixed it. For example Debian installs common lisp dependencies to /usr/share/common-lisp/source/ (and rust dependencies to /usr/share/cargo/registry/). I haven't yet looked what they had to do to fix asdf (and cargo), so that it uses dependencies installed on the system instead of requiring bundling them. And maintainance burden should stay about the same, as all maintainers of ports with bundled dependencies are de facto maintainers to those dependencies too. What probably is a bit of an effort is creating those ports in the first place, but hopefully one can write a script for that.
(In reply to Benjamin Takacs from comment #13) That's true, named-readtables is just one of many bundled dependencies. But as shamaz explained, you cannot simply create individual ports for asdf systems, it doesn't work that way without significant changes to how asdf resolves systems, similar to what Debian had to do with /usr/share/common-lisp/source/. FreeBSD doesn't have that infrastructure and building it for a handful of CL ports would be huge effort. The fix here took minutes. If another bundled dependency breaks in the future, patching it will be equally straightforward