I have tried this commit and now see
-- Set runtime path of "/root/rpmbuild/BUILDROOT/kamailio-6.1.0-dev0.0.el9.centos.x86_64/usr/lib64/kamailio/modules/xmpp.so" to "/usr/lib64/kamailio" -- Installing: /root/rpmbuild/BUILDROOT/kamailio-6.1.0-dev0.0.el9.centos.x86_64/usr/share/doc/kamailio/modules/README.xmpp -- Installing: /root/rpmbuild/BUILDROOT/kamailio-6.1.0-dev0.0.el9.centos.x86_64/usr/lib64/kamailio/kamctl/kamctl.dbtext -- Installing: /root/rpmbuild/BUILDROOT/kamailio-6.1.0-dev0.0.el9.centos.x86_64/usr/lib64/kamailio/kamctl/kamdbctl.dbtext CMake Error at redhat-linux-build/src/modules/db_text/cmake_install.cmake:54 (file): file INSTALL cannot find "/root/rpmbuild/BUILD/kamailio-6.1.0-dev0/src/modules/db_text/dbtextdb/dbtextdb.py": No such file or directory.
Should be fixed as well in f1d9af8306fcd5b2d82f6688f16572ccd598ec51.
Sorry for the troubles.