sergey-safarov created an issue (kamailio/kamailio#4255)
### Description
I now make testing `cmake` packaging and see this error
```
RPM build errors:
Directory not found: /root/rpmbuild/BUILDROOT/kamailio-6.1.0-dev1.0.el10.centos.x86_64/usr/share/kamailio/postgres
File not found: /root/rpmbuild/BUILDROOT/kamailio-6.1.0-dev1.0.el10.centos.x86_64/usr/share/kamailio/postgres/*
```
### Troubleshooting
#### Reproduction
I use this module list for build
https://github.com/sergey-safarov/kamailio/blob/master/pkg/kamailio/obs/kam…
@xkaraman could you look?
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4255
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4255(a)github.com>
Module: kamailio
Branch: master
Commit: c7fcdfdb13aeec9aeae726a9cc1ccaeda557e7bb
URL: https://github.com/kamailio/kamailio/commit/c7fcdfdb13aeec9aeae726a9cc1ccae…
Author: Xenofon Karamanos <xk(a)gilawa.com>
Committer: Xenofon Karamanos <xk(a)gilawa.com>
Date: 2025-05-23T11:10:13Z
cmake: Add some check for finding group name if using non K-variants of group names
---
Modified: cmake/groups.cmake
---
Diff: https://github.com/kamailio/kamailio/commit/c7fcdfdb13aeec9aeae726a9cc1ccae…
Patch: https://github.com/kamailio/kamailio/commit/c7fcdfdb13aeec9aeae726a9cc1ccae…
---
diff --git a/cmake/groups.cmake b/cmake/groups.cmake
index a41560f17fc..c629ee49f93 100644
--- a/cmake/groups.cmake
+++ b/cmake/groups.cmake
@@ -764,6 +764,20 @@ function(find_group_name module)
""
PARENT_SCOPE
)
+ # This was need due to the dbschema.cmake
+ # If one select one of these option as group
+ # we want the group name to match instead of the actual group it belongs to
+ if(MODULE_GROUP_NAME STREQUAL "ALL"
+ OR MODULE_GROUP_NAME STREQUAL "DEFAULT"
+ OR MODULE_GROUP_NAME STREQUAL "STANDARD"
+ OR MODULE_GROUP_NAME STREQUAL "COMMON"
+ )
+ set(group_name
+ "${MODULE_GROUP_NAME}"
+ PARENT_SCOPE
+ )
+ return()
+ endif()
# message(WARNING "groups to search in" ${MODULE_GROUP_PACKAGE_GROUPS})
# Get all variable names in the current CMake context
foreach(group IN LISTS MODULE_GROUP_PACKAGE_GROUPS)
@@ -776,6 +790,8 @@ function(find_group_name module)
"${group}"
PARENT_SCOPE
)
+ return()
endif()
endforeach()
+ message((STATUS "module ${module} not found in any group"))
endfunction()
Module: kamailio
Branch: master
Commit: 0fb182720428b276793899debb210279a0b5ec97
URL: https://github.com/kamailio/kamailio/commit/0fb182720428b276793899debb21027…
Author: Xenofon Karamanos <xk(a)gilawa.com>
Committer: Xenofon Karamanos <xk(a)gilawa.com>
Date: 2025-05-23T11:10:13Z
cmake: Add missing package KSTANDARD
- When `ALL_PACKAGED` is used, KSTANDARD should be built as well, but not KMINI which is a subset of it.
- Fix RTP_MEDIA group name
---
Modified: cmake/groups.cmake
---
Diff: https://github.com/kamailio/kamailio/commit/0fb182720428b276793899debb21027…
Patch: https://github.com/kamailio/kamailio/commit/0fb182720428b276793899debb21027…
---
diff --git a/cmake/groups.cmake b/cmake/groups.cmake
index 90c47413d22..a41560f17fc 100644
--- a/cmake/groups.cmake
+++ b/cmake/groups.cmake
@@ -688,6 +688,7 @@ set(MODULE_GROUP_KRTP_MEDIA_SERVER ${MOD_LIST_RTP_MEDIA_SERVER})
set(STATIC_MODULES "")
set(MODULE_GROUP_PACKAGE_GROUPS
+ KSTANDARD
KPCRE
KMYSQL
KPOSTGRES
@@ -748,7 +749,7 @@ set(MODULE_GROUP_PACKAGE_GROUPS
KNGHTTP2
KGCRYPT
KSECSIPID
- KRT_MEDIA_SERVER
+ KRTP_MEDIA_SERVER
)
# Add group names to available group and provide "ALL_PACKAGED" as well
Hello,
I have noticed that the git tag for release 5.7.7 was missing, I've just set it.
The 5.7.7-bullseye docker image is also missing from https://github.com/kamailio/kamailio-docker/pkgs/container/kamailio
Not sure if this is done automatically, if not - please can somebody please trigger the workflow to create it?
Thank you,
Henning