On 20/06/2022 12.54, Michael Tokarev wrote:
20.06.2022 13:31, Thomas Huth write:
On 30/04/2022 16.11, Michael Tokarev wrote:
Hello!
Previously, it was possible to build qemu tools (such as qemu-img, or
qemu-ga)
on an unsupported cpu/architecture. In a hackish way, by specifying
--enable-tcg-interpreter on the ./configure line.
Today (with 7.0), it does not work anymore, with the following error
during configure:
common-user/meson.build:1:0: ERROR: Include dir host/unknown does not
exist.
Did you ever send a patch for this? I something like this should do the job:
diff a/common-user/meson.build b/common-user/meson.build
--- a/common-user/meson.build
+++ b/common-user/meson.build
@@ -1,3 +1,7 @@
+if not have_user
+ subdir_done()
+endif
+
https://salsa.debian.org/qemu-team/qemu/-/blob/master/debian/patches/common-user-no-user.patch
I dunno which one is right - "have_user" or "have_linux_user & have_bsd_user".
Both should be fine - have_user is just a shortcut:
$ grep have_user meson.build
have_user = have_linux_user or have_bsd_user
...
Could you send it as a proper patch? (otherwise I could assemble a patch,
too, if you prefer that)
Thanks,
Thomas