[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:28:02 CET 2018
### Description
I testing package `master` and `5.2` branch int RPM. but cannot.
Build and packaging logs is [here](https://build.opensuse.org/build/home:sergey-safarov:v5.2.x-rpms/CentOS_6/x86_64/kamailio52/_log)
Is happens because `make install-share` goal is try create folder `/usr/share/kamailio/` instead of `/home/build/rpmbuild/BUILDROOT/kamailio-5.2.0-0.el7.centos.x86_64/usr/share/kamailio/`.
### Troubleshooting
#### Reproduction
please look above
#### Debugging Data
NA.
#### Log Messages
```
[build at node0 kamailio-5.2.0]$ pwd
/home/build/rpmbuild/BUILD/kamailio-5.2.0
[build at node0 kamailio-5.2.0]$ make -C src install-share
make: Entering directory `/home/build/rpmbuild/BUILD/kamailio-5.2.0/src'
mkdir -p /usr/share/kamailio/
mkdir: cannot create directory ‘/usr/share/kamailio/’: Permission denied
make: *** [/usr/share/kamailio/] Error 1
make: Leaving directory `/home/build/rpmbuild/BUILD/kamailio-5.2.0/src'
[build at node0 kamailio-5.2.0]$
```
#### SIP Traffic
NA
### Possible Solutions
Not known
### Additional Information
tested current master and 5.2 branch
* **Operating System**:
CentOS 7
```
Linux node0.docker.rcsnet.ru 4.14.13-300.fc27.x86_64 #1 SMP Thu Jan 11 04:00:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
```
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181106/104d7025/attachment.html>
More information about the sr-dev
mailing list