Andrej Krejcir <akrejcir(a)redhat.com> writes:
Hi,
I use a VM with latest CentOS to compile engine to RPM.
Steps:
- git clone repo from my dev machine to the VM
- run ovirt-engine/automation/build-artifacts.sh
This used to work, but since about 2 weeks ago the build fails with an
error message:
+ %py_byte_compile /usr/bin/python2
/root/rpmbuild/BUILDROOT/ovirt-engine-4.3.0-0.0.master.20181105130924.git58423b7.el7.x86_64/usr/share/ovirt-engine/
/var/tmp/rpm-tmp.f7B35C: line 82: fg: no job control
error: Bad exit status from /var/tmp/rpm-tmp.f7B35C (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.f7B35C (%install)
The same for me. It looks like commit c43ae91 has introduced
usage of %py_byte_compile rpm macro without adding proper build
dependency for CentOS.
Attaching the whole build log and the file
'/var/tmp/rpm-tmp.f7B35C'.
I'm not sure how to fix this. Can anyone help?
Maybe if you can find and install python-rpm-macros rpm package for
CentOS somewhere, it could help.
> Thanks,
>
> Andrej
>
> _______________________________________________
> Devel mailing list -- devel(a)ovirt.org
> To unsubscribe send an email to devel-leave(a)ovirt.org
> Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
>
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/2XF4MQDRFRY...