Your message dated Tue, 21 Sep 2021 19:50:45 +0000
with message-id <[email protected]>
and subject line Bug#989638: fixed in qemu-web-desktop 21.08.10-3
has caused the Debian Bug report #989638,
regarding qemu-kvm dependency isn't available on all Architecture: any
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
989638: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989638
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: qemu-web-desktop
Version: 21.05.03-1

Hi,
I've seen that this is blocked migrating in Debian and Ubuntu due to
missing dependencies.

Debian:
qemu-web-desktop/mips64el has unsatisfiable dependency
qemu-web-desktop/mipsel has unsatisfiable dependency
qemu-web-desktop/s390x has unsatisfiable dependency
Ubuntu:
qemu-web-desktop/riscv64 has unsatisfiable dependency

That is due to the explicit listing of qemu-kvm
This package is most likely no more the right package to depend on anyway.
Usually it is expected to depend on just the right qemu-system-$arch
that you'd need - and if you really can't decide at all then qemu-system
which depends on all the others.

qemu-kvm doesn't exist anymore as a package, you only see old ones:
qemu-kvm   | 1:2.1+dfsg-12+deb8u6 | oldoldstable | amd64, i386
qemu-kvm   | 1:2.8+dfsg-6+deb9u9  | oldstable    | amd64, i386
qemu-kvm   | 1:3.1+dfsg-8+deb10u8 | stable       | amd64, i386
But the newer qemu-system-$arch have a provides

root@d10-sid:~# apt-cache show qemu-system-x86 | grep '^Provides'
Provides: qemu-kvm, qemu-system-i386, qemu-system-x86-64

The description of the also old "qemu" outlines it the best IMHO:
142  If you want full system emulation of some architecture, install one or more
143  of qemu-system-ARCH packages. If you want user-mode emulation, install
144  qemu-user or qemu-user-static package. If you need utilities, use
qemu-utils
145  package.

So what does qemu-web-desktop actually use:
$ grep -Hrn qemu-system
README.md:173:qemu-system-x86_64  -m 4096 -smp 4 -hda machine1.qcow2
-name MySuperbVM -boot d -cdrom file.iso -enable-kvm -cpu host -vga
qxl -net user -net nic,model=ne2k_pci
README.md:378:qemu-system-x86_64: -device
vfio-pci,host=0000:4c:00.0,multifunction=on: VFIO_MAP_DMA: -12
README.md:379:qemu-system-x86_64: -device
vfio-pci,host=0000:4c:00.0,multifunction=on:
vfio_dma_map(0x55966269d230, 0x100000, 0xbff00000, 0x7f55b7f00000) =
-12 (Cannot allocate memory)
README.md:411:qemu-system-x86_64  -m 8192 -smp 4 -hda
machine1-snapshot.qcow2 -device ich9-ahci,id=ahci -enable-kvm -cpu
host -vga qxl -netdev user,id=mynet0 -device virtio-net,netdev=mynet0
-device virtio-balloon
src/config.pl:63:$config{qemu_exec}                = "qemu-system-x86_64";

So the default is x86 only, there is nothing in d/rules that overwrites this.

Thereby chances are quite high that this was only ever tested and meant for
x86_64 anyway. Therefore the simple and most reasonable short term fix
would IMHO be:

--- qemu-web-desktop-21.05.03/debian/control 2021-05-17 18:51:33.000000000 +0200
+++ qemu-web-desktop-21.05.03/debian/control 2021-06-09 09:43:35.000000000 +0200
@@ -10,7 +10,7 @@
 Homepage: 
https://gitlab.com/soleil-data-treatment/soleil-software-projects/remote-desktop

 Package: qemu-web-desktop
-Architecture: any
+Architecture: amd64
 Depends: ${shlibs:Depends}, ${misc:Depends},
   apache2,
   libapache2-mod-perl2,

If you want to really support other architectures then you'd most likely want
to
1. overwrite the default in config.pl at build time per architecture
2. select the architectures you really expect to work (e.g. there is no system
   emulation at all for risscv yet) and mark it only for those
3. depend on the matching qemu-system-$arch
4. after having done so have at least a quick try if it works there at all
   before moving it out of experimental

!Untested! example for this more complex solution:

diff -Nru qemu-web-desktop-21.05.03/debian/control
qemu-web-desktop-21.05.03/debian/control
--- qemu-web-desktop-21.05.03/debian/control 2021-05-17 18:51:33.000000000 +0200
+++ qemu-web-desktop-21.05.03/debian/control 2021-06-09 09:43:44.000000000 +0200
@@ -10,13 +10,15 @@
 Homepage: 
https://gitlab.com/soleil-data-treatment/soleil-software-projects/remote-desktop

 Package: qemu-web-desktop
-Architecture: any
+Architecture: amd64 ppc64el arm64
 Depends: ${shlibs:Depends}, ${misc:Depends},
   apache2,
   libapache2-mod-perl2,
   libapache2-mpm-itk,
   websockify,
-  qemu-kvm,
+  qemu-system-x86 [amd64],
+  qemu-system-arm [arm64],
+  qemu-system-ppc [ppc64el],
   bridge-utils,
   qemu,
   iptables,
diff -Nru qemu-web-desktop-21.05.03/debian/rules
qemu-web-desktop-21.05.03/debian/rules
--- qemu-web-desktop-21.05.03/debian/rules 2021-05-03 17:06:35.000000000 +0200
+++ qemu-web-desktop-21.05.03/debian/rules 2021-06-09 09:43:44.000000000 +0200
@@ -1,10 +1,19 @@
 #!/usr/bin/make -f

+SYSEMULATOR=qemu-system-x86_64
+ifeq ($(DEB_HOST_ARCH),arm64)
+  SYSEMULATOR=qemu-system-aarch64
+endif
+ifeq ($(DEB_HOST_ARCH),ppc64el)
+  SYSEMULATOR=qemu-system-ppc64
+endif
+
 %:
  dh $@ --with apache2 --with sysuser

 override_dh_auto_build:
  mkdir build
+ sed -e 's/qemu-system-x86_64/$(SYSEMULATOR)/' src/config.pl
  cp src/apache.conf build/qemu-web-desktop.conf
  pandoc -s -o build/qwdctl.1 src/qwdctl.md


-- 
Christian Ehrhardt
Staff Engineer, Ubuntu Server
Canonical Ltd

--- End Message ---
--- Begin Message ---
Source: qemu-web-desktop
Source-Version: 21.08.10-3
Done: Roland Mas <[email protected]>

We believe that the bug you reported is fixed in the latest version of
qemu-web-desktop, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Roland Mas <[email protected]> (supplier of updated qemu-web-desktop package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 21 Sep 2021 21:32:11 +0200
Source: qemu-web-desktop
Binary: qemu-web-desktop
Architecture: source amd64
Version: 21.08.10-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Roland Mas <[email protected]>
Description:
 qemu-web-desktop - Remote desktop service with virtual machines in a browser.
Closes: 989638 992950
Changes:
 qemu-web-desktop (21.08.10-3) unstable; urgency=medium
 .
   * Remove dependency on qemu, but suggest qemu-system for users that need
     full flexibility (closes: #989638, #992950).
Checksums-Sha1:
 18a8e6cc63c4c45081bdf034213504783db0a0b0 2233 qemu-web-desktop_21.08.10-3.dsc
 19a095762b2e7274d4695bec7d110bcd22240e73 13972 
qemu-web-desktop_21.08.10-3.debian.tar.xz
 86d93535e71ec649f62d719326f21e6bab97123c 6860 
qemu-web-desktop_21.08.10-3_amd64.buildinfo
 6aa88d1ebb5f9617bc489aed26346ee1efc0a3f7 1070900 
qemu-web-desktop_21.08.10-3_amd64.deb
Checksums-Sha256:
 e52cae7d186a3f47e8362a8bdc0d842f637434c950aff057088fd6a26c88caf1 2233 
qemu-web-desktop_21.08.10-3.dsc
 82f2762b384ef0c77df23abad409b84bcb18fd586e16fd2ad825a31e8fe7fa51 13972 
qemu-web-desktop_21.08.10-3.debian.tar.xz
 4b2919998f5fc104626cea3e9115ad5fc166aa4c6d3dbc2fa14a68113d6637ef 6860 
qemu-web-desktop_21.08.10-3_amd64.buildinfo
 1fe03fd3ab50fb5fc46ad422faea71d256a3b25a01e7c9055cd2e31acf7d85ac 1070900 
qemu-web-desktop_21.08.10-3_amd64.deb
Files:
 7dc33dd8e49ec0e0b529ff0317d0450d 2233 science optional 
qemu-web-desktop_21.08.10-3.dsc
 e99fcc29f1064fd63418feb59a85c7f0 13972 science optional 
qemu-web-desktop_21.08.10-3.debian.tar.xz
 df24d5e601ae246c165306f1a74e350b 6860 science optional 
qemu-web-desktop_21.08.10-3_amd64.buildinfo
 b32bfada8da57021ca01b9f45e30c846 1070900 science optional 
qemu-web-desktop_21.08.10-3_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEtBU2D1kett1zr/uD0w3s0lmTIvwFAmFKM8UACgkQ0w3s0lmT
IvxQFA/8Dm6X9RpcoUE5OR3oc/ApmpILpQyG26KXrPm5KJ6FO3Ryz2VpfLkv2yZ8
QppmLqHQ801g3fBJS900/3UZyv2xaWD966+z0+RyzEJV0HlbnVj0UEa6m0JqzhWq
w/B5/5Y/Wmoipi++J55XDy4kuq2RlRNs8/R5qKPF/5IOI3a0DUYImjwgYF2UBIDP
GrI+/iDO+KNo6X+2TgVOdpELzX9dKIV1dDcq+LlOL3qeEiDKEIZL6+lkzSiF8DFC
pq/sdK5nZY9EIO9jlu0ncQmhyZ+7eEG9LUbGfPZW3IArdXKcvMaXsFL4cG31OKqf
h2mrq2ypMuubWttsiiD8KHriW3qwT+FVEdB4brCgyCDxh7C4Nrzs/8K2+uyzbQpf
I3ciQwtE0II3ds7dmQhI2vAH3Ksr1hxh+tvLBVcKHKBptYNSj8PZfLvg0kJ5LaUp
J3pClgCNm7KLLbZWpsgXhO06PM13dyPoS8aryZrVdNEtny+NX4C79pNdLvnI6BDw
RnM9whFZEtj8g1AMJ3JS1uPgbo4IZtOXmY+tCab8C2j3mxf9SnsfURlVodiZLNop
k9+jjVHkoLsg4/nV3oQBUTgc5bd0/djNd1DUrxcUr/f5+qHUwyWF7T5Hr82S6+7O
bkLBmW3Pj5D2ktbLcaQAcY3pphGmG0kHkkysSI3jVDvjtn79ixI=
=pC1h
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to