Created attachment 265456 [details] kamailio.patch Update to 6.0.4 Changelog: https://www.kamailio.org/pub/kamailio/6.0.4/ChangeLog
Hi Robert, plz check the patch after ports r45ed4e04d4447e42e47e9d91bdc3061e65d4395e https://cgit.freebsd.org/ports/commit/?id=45ed4e04d4447e42e47e9d91bdc3061e65d4395e
Please submit future patches as produced by "git format-patch" against the ports repository if possible.
Build fails on armv7 FreeBSD 14.3: ===> Configuring for kamailio-6.0.4 ===> Performing out-of-source build /bin/mkdir -p /wrkdirs/usr/ports/net/kamailio/work/.build -- The C compiler identification is Clang 19.1.7 -- The CXX compiler identification is Clang 19.1.7 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/local/libexec/ccache/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/local/libexec/ccache/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- PROJECT_VERSION: 6.0.4 -- RELEASE: 6.0.4 -- VERSIONVAL: 6000004 -- OS: FreeBSD -- OS version: 14.3-RELEASE-p4 -- Host Processor: armv7 -- Target Processor: armv7 -- Target Processor Alias: arm -- Fast lock available: USE_FAST_LOCK=YES CMake Error at cmake/compiler-specific.cmake:238 (message): Unsupported compiler (Clang) for arm. Try GCC. Call Stack (most recent call first): cmake/defs.cmake:340 (include) CMakeLists.txt:67 (include) Please check and resubmit.
(In reply to Robert Clausecker from comment #3) Thx. I'm trying to fix this at https://github.com/kamailio/kamailio/issues/4333 .
Created attachment 265528 [details] kamailio.patch (In reply to Robert Clausecker from comment #3) Try the new patch, plz.
Testing...
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7b519a5940632147ff073292dd182c52fa834edd commit 7b519a5940632147ff073292dd182c52fa834edd Author: Boris Korzun <drtr0jan@yandex.ru> AuthorDate: 2025-11-16 23:20:50 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2025-11-22 16:01:29 +0000 net/kamailio: update to 6.0.4 - add a patch to fix the build on armv7 Changelog: https://www.kamailio.org/pub/kamailio/6.0.4/ChangeLog PR: 291047 net/kamailio/Makefile | 2 +- net/kamailio/distinfo | 6 +-- .../files/extra-patch-cmake_modules-docs.cmake | 25 ++++++----- net/kamailio/files/extra-patch-src_CMakeLists.txt | 7 +-- .../patch-cmake_compiler-specific.cmake (new) | 51 ++++++++++++++++++++++ net/kamailio/files/patch-cmake_defs.cmake (gone) | 11 ----- 6 files changed, 72 insertions(+), 30 deletions(-)
Thank you for your contribution.