[sr-dev] [kamailio/kamailio] RPM mock build under Oracle Enterprise Linux 7.2 x86_64 failure (no modules in modules_k directory) (#586)

Konstantin S. Vishnivetsky notifications at github.com
Wed Apr 27 11:25:13 CEST 2016


Hi, People.

SPEC used: [https://github.com/kamailio/kamailio/blob/4.4/pkg/kamailio/rpm/kamailio.spec.SuSE](https://github.com/kamailio/kamailio/blob/4.4/pkg/kamailio/rpm/kamailio.spec.SuSE)
BRANCH: 4.4
I tried to build kamailio with mock and got errors on files to RPM packaging stage:
```
Processing files: kamailio-4.4.0-0.x86_64
error: File not found: /builddir/build/BUILDROOT/kamailio-4.4.0-0.x86_64/usr/share/doc/kamailio/modules_k/README.acc
...
File not found: /builddir/build/BUILDROOT/kamailio-4.4.0-0.x86_64/usr/share/doc/kamailio/modules_k/README.acc
...
```

Build command:
`mock --no-cleanup --no-cleanup-after -r oracle-7-x86_64 --configdir=. --resultdir=./mock-result /home/developer/rpmbuild/SRPMS/kamailio-4.4.0-0.src.rpm`

Here goes mock configuration file(without yum configuration section):

```
config_opts['basedir'] = '/home/developer/mock/base'
config_opts['cache_topdir'] = '/home/developer/mock/cache'

config_opts['root'] = 'oracle-7-x86_64'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)
config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build Development'
config_opts['dist'] = 'el7'  # only useful for --resultdir variable subst
config_opts['macros']['%dist'] = '.el7'
config_opts['macros']['%el7'] = '1'
config_opts['macros']['%rhel'] = '7'

```


---
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/586
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160427/42bc44d2/attachment-0001.html>


More information about the sr-dev mailing list