[Midnightbsd-cvs] [MidnightBSD/mports] 76c3cf: print/ghostscript10: bump PORTREVISION to rebuild ...
Lucas Holt
noreply at github.com
Sun Sep 6 16:12:56 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: 76c3cfaf45e1e32d364ad0cad7567230294ee6f0
https://github.com/MidnightBSD/mports/commit/76c3cfaf45e1e32d364ad0cad7567230294ee6f0
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-09-06 (Sun, 06 Sep 2026)
Changed paths:
M print/ghostscript10/Makefile
Log Message:
-----------
print/ghostscript10: bump PORTREVISION to rebuild against libidn 1.43 (#845)
`dns/libidn` 1.43 ships `libidn.so.12` with **no ELF symbol versioning
at all**. A ghostscript built against an earlier libidn therefore
carries a requirement nothing can satisfy, and every invocation dies
before `main()`:
```
$ gs --version
ld-elf.so.1: /usr/local/lib/libidn.so.12: version LIBIDN_1.0 required by
/usr/local/lib/libgs.so.10 not defined
```
Ghostscript is effectively broken for anyone who installed it before the
libidn update. Nothing in the port needs to change — it just needs
rebuilding — so this is a bare `PORTREVISION` bump.
### How it surfaced
`graphics/graphviz` failed to build: it renders its PDF manuals with
`ps2pdf`, which is ghostscript. After rebuilding ghostscript, `gs
--version` returns `10.03.1` and graphviz builds cleanly.
### Testing
Rebuilt and reinstalled on amd64 (MidnightBSD 4.1); `gs --version`
works, `graphics/graphviz` then built, staged and packaged successfully.
### Note
This is one instance of a general pattern: a library dropping symbol
versioning silently breaks every already-installed consumer.
`textproc/libxml2` 2.15.4 appears to have done the same thing —
`graphics/evince` currently fails with `libxml2.so.2: version
LIBXML2_2.4.30 required by libevdocument3.so.4 not defined`. That is
being handled separately.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01RfjmwisLNPFuZeaQCUJn4A
## Summary by Sourcery
Bug Fixes:
- Rebuild ghostscript10 against the unversioned libidn 1.43 ABI so
existing installations no longer fail at startup due to an unsatisfied
LIBIDN_1.0 requirement.
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list