I have rebuild RPM packages using master and cmake. Now I can see error messages. ``` RPM build errors: File not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/etc/kamailio/pi_framework.xml File not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/etc/kamailio/tls.cfg Directory not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/usr/share/kamailio Directory not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/usr/share/kamailio/dbtext Directory not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/usr/share/kamailio/dbtext/kamailio File not found: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/usr/share/kamailio/dbtext/kamailio/* ``` But build log I see ``` -- Installing: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/usr/share/man/man8/kamdbctl.8 -- Installing: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/usr/sbin/kamcmd -- Installing: /root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT/usr/share/man/man8/kamcmd.8 + DESTDIR=/root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT + /usr/bin/cmake --install redhat-linux-build --component tls-cfg -- Install configuration: "Release" + DESTDIR=/root/rpmbuild/BUILD/kamailio-6.0.0-build/BUILDROOT + /usr/bin/cmake --install redhat-linux-build --component xhttp_pi-cfg -- Install configuration: "Release" ``` My expectation first two error messages should not appear.
The last messages probably relate to folder names difference in the `src/modules` folder and `utils/kamctl`. Please compare ``` [root@nout kamailio]# find ./{src,utils}/{modules,kamctl} -regextype posix-extended -regex ".*/db_?[a-z]*$|" 2> /dev/null ./src/modules/db_berkeley ./src/modules/db_cluster ./src/modules/db_flatstore ./src/modules/db_mongodb ./src/modules/db_mysql ./src/modules/db_oracle ./src/modules/db_perlvdb ./src/modules/db_postgres ./src/modules/db_redis ./src/modules/db_sqlite ./src/modules/db_text ./src/modules/db_unixodbc ./utils/kamctl/db_berkeley ./utils/kamctl/db_berkeley/kamailio/dbaliases ./utils/kamctl/db_redis ./utils/kamctl/db_redis/kamailio/dbaliases ./utils/kamctl/db_sqlite ./utils/kamctl/dbcassandra ./utils/kamctl/dbtext ./utils/kamctl/dbtext/kamailio/dbaliases ./utils/kamctl/dbtextdb ``` The present module is `db_text,` but 'dbtext' is used in the utils folder. I think that is why some `dbtext` files are not installed.