Bug 291047 - net/kamailio: Update to 6.0.4
Summary: net/kamailio: Update to 6.0.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Robert Clausecker
URL: https://www.kamailio.org/w/2025/11/ka...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-16 19:59 UTC by Boris Korzun
Modified: 2025-11-22 16:08 UTC (History)
1 user (show)

See Also:


Attachments
kamailio.patch (3.60 KB, patch)
2025-11-16 19:59 UTC, Boris Korzun
drtr0jan: maintainer-approval-
Details | Diff
kamailio.patch (6.76 KB, patch)
2025-11-20 13:12 UTC, Boris Korzun
drtr0jan: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Korzun 2025-11-16 19:59:54 UTC
Created attachment 265456 [details]
kamailio.patch

Update to 6.0.4

Changelog: https://www.kamailio.org/pub/kamailio/6.0.4/ChangeLog
Comment 1 Boris Korzun 2025-11-16 20:04:15 UTC
Hi Robert,

plz check the patch after ports r45ed4e04d4447e42e47e9d91bdc3061e65d4395e

https://cgit.freebsd.org/ports/commit/?id=45ed4e04d4447e42e47e9d91bdc3061e65d4395e
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2025-11-16 23:20:23 UTC
Please submit future patches as produced by "git format-patch" against the ports repository if possible.
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2025-11-17 00:13:20 UTC
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.
Comment 4 Boris Korzun 2025-11-17 08:28:08 UTC
(In reply to Robert Clausecker from comment #3)

Thx. I'm trying to fix this at https://github.com/kamailio/kamailio/issues/4333 .
Comment 5 Boris Korzun 2025-11-20 13:12:54 UTC
Created attachment 265528 [details]
kamailio.patch

(In reply to Robert Clausecker from comment #3)

Try the new patch, plz.
Comment 6 Robert Clausecker freebsd_committer freebsd_triage 2025-11-20 14:15:08 UTC
Testing...
Comment 7 commit-hook freebsd_committer freebsd_triage 2025-11-22 16:02:14 UTC
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(-)
Comment 8 Robert Clausecker freebsd_committer freebsd_triage 2025-11-22 16:08:13 UTC
Thank you for your contribution.