Created attachment 255046 [details] Patch to fix pkg-fallout on Current after clang19 was merged Hi, After the base system compiler was updated to Clang 19, the port fails to build. (The specific bug is in its version of sol2 included in this port). To fix this, I've added a patch that uses the default version of Clang on FreeBSD-Current after the update to clang 19 was applied. It's a bit heavy-handed, but at least it gets the port building again on Current until I can find some time to make a more permanent fix for the library. All the best, Peter. P.S.: Yes, I am the port maintainer for this port. I'm not quite sure what flags to set for this, so please guide me. P.P.S.: I hope the patch does not mess up the formatting of the Makefile - it's a bit tricky with the current screen reader to check whether the file is formatted properly. I've run portfmt and portclippy on the Makefile, so hope that's good enough.
Check if you can unbundle sol2 in the future. OPTIONS_DEFINE cannot be set after .include <bsd.port.options.mk>. Is the DEBUG option still needed? I don't see it doing anything. I'll fix this error on commit.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=dd668bbfb7dc3e9255ba26347b7cc48106f70c0b commit dd668bbfb7dc3e9255ba26347b7cc48106f70c0b Author: Peter Laursen <freebsd@mosedal.net> AuthorDate: 2024-11-11 13:19:41 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2024-11-14 08:43:23 +0000 www/osrm-backend: fix build post LLVM 19 import After the base system compiler was updated to Clang 19, the port failed to build. (The specific bug is in its version of sol2 included in this port). To fix this, I've added a patch that uses an older version of Clang on FreeBSD-CURRENT after the update to clang 19 was applied. It's a bit heavy-handed, but at least it gets the port building again on CURRENT until I can find some time to make a more permanent fix for the library. PR: 282641 www/osrm-backend/Makefile | 7 +++++++ 1 file changed, 7 insertions(+)
Thank you for your contribution.