[sr-dev] [kamailio/kamailio] Cannot be packaged into RPM master and 5.2 branch (#1709)

sergey-safarov notifications at github.com
Tue Nov 6 15:43:35 CET 2018


Issue related to [`share_prefix=%{_prefix}`](https://github.com/kamailio/kamailio/blob/master/pkg/kamailio/obs/kamailio.spec#L979) options of `make cfg`
When this options is not used then `make install` command is executed properly but later packaging is failed by `rpath` check error.
```
+ /usr/lib/rpm/check-buildroot
Binary file /home/build/rpmbuild/BUILDROOT/kamailio-5.2.0-0.el7.centos.x86_64/usr/lib64/kamailio/modules/db_redis.so matches
Found '/home/build/rpmbuild/BUILDROOT/kamailio-5.2.0-0.el7.centos.x86_64' in installed files; aborting
error: Bad exit status from /var/tmp/rpm-tmp.BKXKDY (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.BKXKDY (%install)
[build at node0 SPECS]$ 
```
As options we can disable build of `db_redis` and delete `share_prefix=%{_prefix}` options of `make cfg`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1709#issuecomment-436276398
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181106/86be1f11/attachment-0001.html>


More information about the sr-dev mailing list