Hi Tom,
I've been trying to get the vagrant VM build for Centos 7
(VPP_VAGRANT_DISTRO=centos7) to work in .../vpp/extras/vagrant. It
currently fails with the following error:
---- %< ----
make[2]: Leaving directory `/vpp/extras/rpm/vpp-17.10/build-root'
+ cd /vpp/extras/rpm/vpp-17.10/build-root/../src/vpp-api/python
+ %py2_build
/var/tmp/rpm-tmp.Ndv7bp: line 31: fg: no job control
error: Bad exit status from /var/tmp/rpm-tmp.Ndv7bp (%build)
---- %< ----
After some research, I discovered that this issue is caused because the
%py2_build macro is missing from python-devel. This bug report says
that it is fixed in python-2.7.5-55.el7:
https://bugzilla.redhat.com/show_bug.cgi?id=1297522
Neither %py_build or %py2_build appear to be installed in the centos
vagrant box (puppetlabs/centos-7.2-64-nocm):
---- %< ----
[vagrant@localhost vpp]$ rpm --eval %{py2_build}
%{py2_build}
[vagrant@localhost vpp]$ rpm --eval %{py_build}
%{py_build}
---- %< ----
I also noticed that the Linux Foundation minions are running Centos 7.3,
so I tried the using the following vagrant box which appears to be the
corresponding centos 7.3 box: alltiersolutions/centos-7.3-64-nocm
How do I install the %py2_build on either Centos 7.2 or 7.3?
Thanks,
-daw-
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev