Created attachment 273809 [details] Patch for jsoncpp * Change install dir to match other major (Linux) distros * Some small adjustments port Makefile to closer follow Porters Handbook Compile and runtime tested on FreeBSD 15.1-RELEASE (amd64) (make, make check-plist) Poudriere testport OK 15.1-RELEASE (amd64) Poudriere testport OK 14.4-RELEASE (i386) Poudriere testport OK 14.4-RELEASE (amd64) Mini-exp run looks fine
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9d1b7732976723160adfd2c6c4240e34555ac30c commit 9d1b7732976723160adfd2c6c4240e34555ac30c Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2026-08-30 20:49:55 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2026-08-30 20:54:35 +0000 devel/jsoncpp: Update to 1.9.8 * Change install dir to match other major (Linux) distros * Some small adjustments port Makefile to closer follow Porters Handbook * Import patch from Debian, prefer shared library over static Changelog: https://github.com/open-source-parsers/jsoncpp/releases/tag/1.9.8 Reference: https://sources.debian.org/patches/libjsoncpp/1.9.8-2/0001-Prefer-shared-library-for-namespaced-target.patch/ PR: 297570 Approved by: maintainer timeout, 2+ weeks devel/jsoncpp/Makefile | 12 ++++++----- devel/jsoncpp/distinfo | 6 +++--- .../patch-jsoncpp-namespaced-targets.cmake (new) | 18 +++++++++++++++++ .../patch-jsoncppConfig.cmake.meson.in (gone) | 23 ---------------------- devel/jsoncpp/pkg-plist | 22 ++++++++++----------- 5 files changed, 39 insertions(+), 42 deletions(-)
(In reply to commit-hook from comment #1) Please bump consumer ports as pointed out by sunpoet@ at dev-commits-ports-main ML. https://lists.freebsd.org/archives/dev-commits-ports-main/2026-August/208660.html This upgrade bumps shlib version of libjsoncpp.so from lib/libjsoncpp.so.26 to lib/libjsoncpp.so.27, causing poudriere builds with -S optionto fail. At the same time, upgrades with any bare-metal upgrading tools that doesn't preserve old libraries by default should cause runtime breakages.
patch-jsoncpp-namespaced-targets.cmake broke graphics/openxr: https://pkg-status.freebsd.org/beefy22/data/144amd64-default/c3d47bb8f5ff/logs/openxr-1.1.62.log graphics/openxr build fine without this patch.
(In reply to Vladimir Druzenko from comment #3) I'll have a look, thanks for reporting
(In reply to Daniel Engberg from comment #4) I suppose the best option would be to force graphics/openxr to dynamically link with libjsoncpp.so instead of statically with libjsoncpp.a, but I don't understand how to do that…
(In reply to Vladimir Druzenko from comment #5) Please give https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298099 a try