[Starlingx-discuss] Problems building on master
Martinez Landa, Hayde
hayde.martinez.landa at intel.com
Wed Oct 24 18:31:08 UTC 2018
While trying to build on master I encountered the following issue:
17:09:42 b4: patching file SPECS/libvirt-python.spec
17:09:42 b4: ‘/localdisk/designer/haydemtzl/starlingx/cgcs-root/stx/stx-integ/virt/libvirt-python/centos/patches/0001-Fix-setup-import-to-support-building-wheel.patch’ -> ‘/localdisk/loadbuild/haydemtzl/starlingx/std/srpm_assemble/libvirt-python/rpmbuild/SOURCES/./0001-Fix-setup-import-to-support-building-wheel.patch’
17:09:42 b4: SPEC file: /localdisk/loadbuild/haydemtzl/starlingx/std/srpm_assemble/libvirt-python/rpmbuild/SPECS/libvirt-python.spec
17:09:42 b4: SRPM build directory: /localdisk/loadbuild/haydemtzl/starlingx/std/srpm_assemble/libvirt-python/rpmbuild
17:09:42 b4: TIS_PATCH_VER: 2
17:09:42 b4: error: parse error in expression
17:09:42 b4: error: /localdisk/loadbuild/haydemtzl/starlingx/std/srpm_assemble/libvirt-python/rpmbuild/SPECS/libvirt-python.spec:131: bad %if condition
17:09:42 b4: ERROR: srpm_assemble (1296): rpmbuild failed: rpmbuild -bs /localdisk/loadbuild/haydemtzl/starlingx/std/srpm_assemble/libvirt-python/rpmbuild/SPECS/libvirt-python.spec --define='%_topdir /localdisk/loadbuild/haydemtzl/starlingx/std/srpm_assemble/libvirt-python/rpmbuild' --define='_tis_dist .tis' --undefine=dist
17:09:42 b4: ERROR: build_dir_srpm (802): failed to assemble srpm for 'libvirt-python-4.7.0-1.fc28'
17:09:42 ERROR: reaper (1302): Failed to build src.rpm from source at 'b4'
17:09:42
######## Wed Oct 24 17:09:42 UTC 2018: build-srpm-parallel --std failed with rc=1
Wed Oct 24 17:09:42 UTC 2018: build-srpm-parallel --std failed with rc=1
Whit the help of Erich for debugging this,
We think it come from this change [0] that affects the specific line mentioned on the error above:
[0] https://review.openstack.org/#/c/612519/
I was able to reproduce this in 3 diff environments, including our Jenkins automation setup.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20181024/f6eed3d9/attachment-0001.html>
More information about the Starlingx-discuss
mailing list