[vpp-dev] Reg Failure in make pkg-rpm with stable/2206 branch
Hi Team, I am compiling vpp on centos 7 machine . Gcc version is 9.3.1. I am facing the below issue when I issue "make pkg-rpm" . Kindly advise what needs to be done. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /data/archana/vpp_code/vpp/build-root/rpmbuild/BUILDROOT/vpp-22.06-release.x86_64/usr/lib/python3.6 using /usr/bin/python3.6 Compiling /data/archana/vpp_code/vpp/build-root/rpmbuild/BUILDROOT/vpp-22.06-release.x86_64/usr/share/vpp/vppapigen_c.py ... File "/usr/share/vpp/vppapigen_c.py", line 1298 output += f" return sizeof(*a)" ^ SyntaxError: invalid syntax error: Bad exit status from /var/tmp/rpm-tmp.8XvMf6 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.8XvMf6 (%install) make[1]: *** [Makefile:54: RPM] Error 1 make[1]: Leaving directory '/data/archana/vpp_code/vpp/extras/rpm' make: *** [Makefile:619: pkg-rpm] Error 2 Thanks & Regards, Archana -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21601): https://lists.fd.io/g/vpp-dev/message/21601 Mute This Topic: https://lists.fd.io/mt/92105557/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Reg Failure in make pkg-rpm with stable/2206 branch
Hi Archana, Unfortunately the RPM package builds have been unsupported for several years and CentOS CI jobs removed a few releases ago. Thus you are essentially on your own unless someone else who have been building rpm packages locally has any pointers. Thanks, -daw- On 7/1/22 6:32 AM, Archana Sampath wrote: Hi Team, I am compiling vpp on centos 7 machine . Gcc version is 9.3.1. I am facing the below issue when I issue "make pkg-rpm" . Kindly advise what needs to be done. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /data/archana/vpp_code/vpp/build-root/rpmbuild/BUILDROOT/vpp-22.06-release.x86_64/usr/lib/python3.6 using /usr/bin/python3.6 Compiling /data/archana/vpp_code/vpp/build-root/rpmbuild/BUILDROOT/vpp-22.06-release.x86_64/usr/share/vpp/vppapigen_c.py ... File "/usr/share/vpp/vppapigen_c.py", line 1298 output += f" return sizeof(*a)" ^ SyntaxError: invalid syntax error: Bad exit status from /var/tmp/rpm-tmp.8XvMf6 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.8XvMf6 (%install) make[1]: *** [Makefile:54: RPM] Error 1 make[1]: Leaving directory '/data/archana/vpp_code/vpp/extras/rpm' make: *** [Makefile:619: pkg-rpm] Error 2 Thanks & Regards, Archana -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21639): https://lists.fd.io/g/vpp-dev/message/21639 Mute This Topic: https://lists.fd.io/mt/92105557/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] Reg Failure in make pkg-rpm with stable/2206 branch
The default python version of centos is python2, you need to link python to python3, then you need to change some config so that you can use yum normarly. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21641): https://lists.fd.io/g/vpp-dev/message/21641 Mute This Topic: https://lists.fd.io/mt/92105557/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-