FS#68061 - [spice] incorrect version string in header

Attached to Project: Arch Linux
Opened by Toolybird (Toolybird) - Wednesday, 30 September 2020, 22:54 GMT
Last edited by Anatol Pomozov (anatolik) - Thursday, 10 December 2020, 18:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Anatol Pomozov (anatolik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Latest release tarball (0.14.3) is affected by a bug when compiled with Meson. Arch is therefore affected.

Upstream report [1]

This issue came to light when trying to build QEMU from git. If we don't don't fix it now, it will likely bite in the future.

The upstream fix does not apply cleanly therefore I propose the following:

prepare() {
cd "$pkgname-$pkgver"
sed -i "s/if not version_info.contains('git')/if version_info.length() >= 4/" server/meson.build
}

I've analysed the dependent packages (qemu and xf86-video-qxl) and AFAICT a recompile is not needed (but I could do with a second opinion here).

[1] https://gitlab.freedesktop.org/spice/spice/-/issues/46
This task depends upon

Closed by  Anatol Pomozov (anatolik)
Thursday, 10 December 2020, 18:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  spice-0.14.3-3
Comment by Ben Widawsky (bwidawsk) - Thursday, 01 October 2020, 17:35 GMT
This QEMU build as of commit 9028ab1f5b is what's broken.
Comment by Frederic Bezies (fredbezies) - Wednesday, 04 November 2020, 11:28 GMT
Just for your information, Qemu 5.2rc0 is out. 5.2 final will be available in 3 or 4 weeks from now.

https://git.qemu.org/?p=qemu.git;a=commit;h=3d6e32347a3b57dac7f469a07c5f520e69bd070a
Comment by Kevin Morris (kevr) - Thursday, 19 November 2020, 08:57 GMT
Following what Ben commented, 4bf47f3634af105b25c3c073ae53b36ba73733b4 is also screwed up, committed by the same guy :)
Comment by Frederic Bezies (fredbezies) - Tuesday, 08 December 2020, 18:23 GMT Comment by Anatol Pomozov (anatolik) - Wednesday, 09 December 2020, 02:49 GMT
spice-0.14.3-3 has added the proposed patch. It seems fixes the compilation issue with the latest QEMU. Please take a look and make sure the package works for you as well.
Comment by Frederic Bezies (fredbezies) - Wednesday, 09 December 2020, 10:12 GMT
It works for me. Thanks for the fix!

Loading...