Rajaram, > Classification: Confidential
If so, perhaps you shouldn't send to a public archived mailing list? ;-) > Hi VPP team, > > While compiling using “make pkg-rpm”, I am getting following in the file > mentioned above. > > sr/lib/python3.6 using /usr/bin/python3.6 > Compiling > /root/rajaram/vpp/build-root/rpmbuild/BUILDROOT/vpp-22.06-rc0~83_g794599b.x86_64/usr/share/vpp/vppapigen_c.py > ... > File "/usr/share/vpp/vppapigen_c.py", line 1213 > output += f" return sizeof(*a)" > > ======================================================= > > Bytecompiling .py files below > /root/rajaram/vpp/build-root/rpmbuild/BUILDROOT/vpp-22.06-rc0~92_gd37328e.x86_64/usr/lib/python3.6 > using /usr/bin/python3.6 > Compiling > /root/rajaram/vpp/build-root/rpmbuild/BUILDROOT/vpp-22.06-rc0~92_gd37328e.x86_64/usr/share/vpp/vppapigen_c.py > ... > File "/usr/share/vpp/vppapigen_c.py", line 1219 > raise (f"Unexpected length '0' for alias {o}") > ^ > SyntaxError: invalid syntax > > error: Bad exit status from /var/tmp/rpm-tmp.1eJIUm (%install) > > > In the same file, this error is coming in 4 or 5 places. Please tell me how > can I resolve this issue. f-strings in Python should be supported in Python 3.6. Could you try with a newer version of Python, e.g. 3.7 or 3.8? Best regards, Ole
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#20869): https://lists.fd.io/g/vpp-dev/message/20869 Mute This Topic: https://lists.fd.io/mt/89154851/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-