Thanks Volker for the report.
This bug seems to be related with this patch: http://git.starlingx.io/cgit/stx-integ/tree/virt/libvirt-python/centos/meta_patches/0002-Build-python-wheel.patch recently merged.
It turns out that the "%py2_build_wheel" macro expansion causes a syntax problem when is inside a %if statement.
The macro expands to:
rpmbuild -E %py2_build_wheel \ CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic" /usr/bin/python2 setup.py bdist_wheel sleep 1
I'm wondering if that "\" is the problem
Thanks Volker for the report.
This bug seems to be related with this patch: http:// git.starlingx. io/cgit/ stx-integ/ tree/virt/ libvirt- python/ centos/ meta_patches/ 0002-Build- python- wheel.patch recently merged.
It turns out that the "%py2_build_wheel" macro expansion causes a syntax problem when is inside a %if statement.
The macro expands to:
rpmbuild -E %py2_build_wheel FORTIFY_ SOURCE= 2 -fexceptions -fstack- protector- strong --param= ssp-buffer- size=4 -grecord- gcc-switches -m64 -mtune=generic" /usr/bin/python2 setup.py bdist_wheel
\
CFLAGS="-O2 -g -pipe -Wall -Wp,-D_
sleep 1
I'm wondering if that "\" is the problem