Dear Ondřej, On Donnerstag, 8. Dezember 2016 21:17:54 Ondřej Súkup wrote:
add _constraints file .. with desired minimal limits for buildhost
Thanks for your idea, but libqt5-qtbase has a _constraints already. How do you think will these _constraints parameter change the way, BS evaluates the spec file for opensuse version conditionals? Here's the story: libqt5-qtbase as of Qt5.7 has grown a new lib libQt5EglFsKmsSupport.so*, which only builds with a more current Mesa library, that is missing for 13.2. The build for 13.2 succeeds, but when it comes to package the built files, BS bails out due to the missing lib, while it shouldn't, because the opensuse version conditional should exclude this glob from any packaging attempt at all. While this works fine on all local build facilities including kvm, it fails consistently on BS. This last fact makes me think, that something with the spec file evaluator, that is running on BS, is fishy, but only since the last couple of weeks, because I've used such excludes every now and then since ages with no adverse effects before. Pete
http://openbuildservice.org/help/manuals/obs-reference-guide/cha.obs.build_j ob_constraints.html On 8 December 2016 at 21:07, Hans-Peter Jansen
wrote: On Dienstag, 6. Dezember 2016 17:03:36 Hans-Peter Jansen wrote:
On Dienstag, 6. Dezember 2016 11:13:35 Andreas Schwab wrote:
On Dez 06 2016, Hans-Peter Jansen
wrote: Giving kvm enough memory is not enough to build Qt 5.7.1, because it runs out of filesystem space. I tried to adopt some hints, e.g.:
dd if=/dev/zero of=/var/tmp/build-root/img bs=1M count=16384 mkfs.ext3 /var/tmp/build-root/img
but this preparation is reverted by build:
Running build VM_IMAGE: /var/tmp/build-root/img, VM_SWAP: /var/tmp/build-root/swap Resizing /var/tmp/build-root/img (4096M)
Adjust build-vmdisk-rootsize in .oscrc.
Okay, thanks. Now it successfully builds the libqt5-qtbase package with kvm.
Hence this issue boils down to: builds perfectly on local facilities, but fails consistently on BS just for 13.2 due to not performing the exclude correctly.
Hmm.
Any ideas, anybody?
This issue is still pending. I know, everybody is busy, and nobody cares about fossils like 13.2, but doesn't this point to some BS spec evaluator issues?!?
Meanwhile, I tried this approach:
%if 0%{?suse_version} == 1315 || 0%{?suse_version} > 1320 %{libqt5_libdir}/libQt5EglFsKmsSupport.so.* %endif
but again, BS tries to package for 13.2:
[...]usr/lib64/libQt5EglFsKmsSupport.so.*
No fun, Pete
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org