Bug 293478 - databases/pgloader3: Build failing ever since "Bump PORTREVISION on *-sbcl ports after lang/sbcl upgrade"
Summary: databases/pgloader3: Build failing ever since "Bump PORTREVISION on *-sbcl po...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-27 03:35 UTC by Robert William Vesterman
Modified: 2026-03-02 19:53 UTC (History)
2 users (show)

See Also:


Attachments
build log (51.25 KB, text/plain)
2026-02-27 03:35 UTC, Robert William Vesterman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert William Vesterman 2026-02-27 03:35:08 UTC
Created attachment 268386 [details]
build log

A few days ago, there was a change "Bump PORTREVISION on *-sbcl ports after lang/sbcl upgrade" in databases/pgloader3 (this was version 3.6.9_1). Ever since, the build has been failing for me.

I am using FreeBSD 15.0-RELEASE p4. I think, but am not 100% sure, that I had been using p3 when it started failing a few days ago.

Log is attached. Please let me know if there's any other information I might be able to provide which might prove useful. Thank you.
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2026-02-27 07:51:31 UTC
The build failure is caused by an incompatibility between the bundled named-readtables library (version 20231021) and SBCL >= 2.5.11

New SBCL version changed internal readtable representation, empty reader macro slots now contain 0 instead of NIL. Since 0 is truthy in common lisp, named-readtables mistakenly treats empty slots as valid reader macro functions, triggering the assertion "Bug in readtable iterators or concurrent access?" during cl-interpol loading.

Please note it's fixed in upstream:
https://github.com/melisgl/named-readtables/commit/6eea56674442b884a4fee6ede4c8aad63541aa5b - a one-line change in src/cruft.lisp

I'll commit a patch to databases/pgloader3 with the fix
Comment 2 commit-hook freebsd_committer freebsd_triage 2026-02-27 07:52:53 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=86c4c07cd9b9d03e158fe5cde75c57b0a2199f8f

commit 86c4c07cd9b9d03e158fe5cde75c57b0a2199f8f
Author:     Kirill Ponomarev <krion@FreeBSD.org>
AuthorDate: 2026-02-27 07:51:13 +0000
Commit:     Kirill Ponomarev <krion@FreeBSD.org>
CommitDate: 2026-02-27 07:52:39 +0000

    databases/pgloader3: Unbreak with SBCL >= 2.5.11

    PR:             293478
    Reported by:    bob@vesterman.com

 databases/pgloader3/Makefile | 4 ++++
 1 file changed, 4 insertions(+)
Comment 3 Robert William Vesterman 2026-02-27 07:56:58 UTC
Thank you!