Red Hat Bugzilla – Bug 1480585
Bug in nova specfile that prevents it from building successfully
Last modified: 2018-02-08 14:05:48 EST
Description of problem:
There appears to be a bug in the rhelosp-nova specfile that prevents it from building successfully. The error from rpmbuild/mock is:
error: can't copy 'nova/CA/.gitignore': doesn't exist or not a regular file
Cu have recreated this locally with:
git clone firstname.lastname@example.org:metacloud/rhelosp-nova.git
mock -r cisco-rhel7-osp11 --buildsrpm --spec rpm/openstack-nova.spec --sources rpm
mv /var/lib/mock/cisco.el-7-x86_64/result/openstack-nova-15.0.6-3.el7.src.rpm ~/rpmbuild/SRPMS
mock -r cisco-rhel7-osp11 --rebuild ~/rpmbuild/SRPMS/openstack-nova-15.0.6-3.el7.src.rpm
Note that the specific mock chroot configuration is irrelevant here; any mock chroot that has access to all of the BuildRequires will be able to reproduce the failure.
This failure doesn't occur with any of the other RHEL OSP components we've rebuilt in the same environment on the same infrastructure; it is unique to Nova.
We where not able to reproduce the issue on our last packages. Can you please provide more information of where the spec are coming from and reproducer?
Created attachment 1316564 [details]
build of rhos11
I just attached the result of my build.
Created attachment 1317074 [details]
That needs for to be merged on RDO master