Files
hakurei/internal/rosa/package/qemu/package.az
T
cat 054a8813d7 internal/rosa/package/qemu: disable broken tests
The copy-before-write test was failing on a Haswell machine, although it seems to work pretty reliably on the Zen 3 workstation and RK3588.

Signed-off-by: Ophestra <cat@gensokyo.uk>
2026-08-12 19:01:49 +09:00

92 lines
1.5 KiB
Go

package qemu {
description = "a generic and open source machine emulator and virtualizer";
website = "https://www.qemu.org";
anitya = 13607;
version# = "11.1.0";
source = remoteTar {
url = "https://download.qemu.org/qemu-"+version+".tar.bz2";
checksum = "nOjPiAFhPGVBnM2rYokJhMDUhFM_6ec-B2N-1-LB1wmCiLzF5_ppqSgkNESuoBFu";
compress = bzip2;
};
patches = [
"meson-colour.patch",
"iotests-zfs.patch",
"disable-mcast-test.patch",
// fails with ipv6 disabled
"disable-netdev-socket.patch",
// fails on a slower machine
"copy-before-write-spurious.patch",
];
// configure script uses source as scratch space
writable = true;
chmod = true;
early = `
# tests expect /var/tmp/ to be available
mkdir -p /var/tmp/
# https://gitlab.com/qemu-project/qemu/-/issues/3145
sed -i \
's,Input/output error,I/O error,g' \
tests/qemu-iotests/[0-9][0-9][0-9]* \
tests/qemu-iotests/tests/copy-before-write \
tests/qemu-iotests/tests/file-io-error.out
`;
exec = make {
configure = {
"disable-download";
"disable-docs";
"static";
"target-list-exclude": join {
elems = [
// fails to load firmware
"ppc-linux-user",
"ppc64-linux-user",
"ppc64le-linux-user",
"ppc-softmmu",
"ppc64-softmmu",
];
sep = ",";
};
};
check = [
"TIMEOUT_MULTIPLIER=5",
"check",
];
};
inputs = [
bash,
python-setuptools,
python-wheel,
meson,
ninja,
pkgconf,
diffutils,
openssl,
xz,
flex,
bison,
m4,
glib,
zstd,
dtc,
kernel-headers,
];
runtime = [
glib,
zstd,
];
}