Quickemu currently broken

quickemu 4.9.7-1 (AUR) is currently broken:

$ quickemu --help
ERROR! QEMU 6.0.0 or newer is required, detected 10.0.0.

I have qemu* 10.0.0-1.

1 Like

Check the first two comments.

FabioLolix commented on 2025-05-18 10:33 (UTC)

@VorpalWay

VorpalWay commented on 2025-05-17 21:50 (UTC)

It would be good to bring in the patch from https://github.com/quickemu-project/quickemu/pull/1640 as currently quickemu is unusable on Arch Linux:

ERROR! QEMU 6.0.0 or newer is required, detected 10.0.0.

The other option is to switch to the git version, but in general I’d rather stick to released versions unless it is software I’m developing myself.

Read that, but we have to wait for the maintainer to implement that, I guess. I didn’t want to switch to quickemu-git.

Also https://github.com/quickemu-project/quickemu/issues/1654.

Not sure if this could be an alternative: https://github.com/lj3954/quickemu-rs

The comment shows a person who shared a fixed PKGBUILD as well as the diff of the original one, you could just read that and then install it if you trust it until the AUR PKGBUILD is fixed.

Yeah… Guess I’ll wait a few days, and then probably try to meddle with the PKGBUILD, if it doesn’t get upgraded. Fortunately, I don’t just now need it that urgently, just wanted to let you know.

1 Like

Probably too late here, but there’s an easy fix for this. Simply change one line in /usr/bin/quickemu, line 1941 or thereabouts,
QEMU_VER_SHORT=$(echo “${QEMU_VER_LONG//./}” | cut -c1-2)
to
QEMU_VER_SHORT=$(echo “${QEMU_VER_LONG//./}” | sed ‘s/.$//’)

See https://github.com/quickemu-project/quickemu/issues/1647

Worked for me.