Your message dated Thu, 04 May 2023 22:20:01 +0000
with message-id <[email protected]>
and subject line Bug#1024504: fixed in libvirt 9.3.0-1
has caused the Debian Bug report #1024504,
regarding libvirt FTCBFS: misdetects linux/kvm.h
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.)


-- 
1024504: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024504
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libvirt
Version: 8.9.0-1
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs

libvirt fails to cross build from source when building on amd64 for
armhf or armel. It uses meson's has_header to figure out whether
linux/kvm.h exists and due to linux-libc-dev:amd64 being installed,
/usr/include/linux/kvm.h exists. has_header is able to figure this out
without actually including it. When libvirt actually #includes it,
asm/kvm.h is missing as that's a multiarch headers. Thus linux headers
should be tested with check_header, which actually #includes it. While
has_header may seem relatively useless at this point, it is far quicker
than check_header. Thus I'm proposing to only employ check_header for
linux headers. I'm attaching a patch for your convenience.

Helmut
--- libvirt-8.9.0.orig/meson.build
+++ libvirt-8.9.0/meson.build
@@ -623,7 +623,7 @@
 endif
 
 foreach name : headers
-  if cc.has_header(name)
+  if name.startswith('linux/') ? cc.check_header(name) : cc.has_header(name)
     conf.set('WITH_@0@'.format(name.underscorify().to_upper()), 1)
   endif
 endforeach

--- End Message ---
--- Begin Message ---
Source: libvirt
Source-Version: 9.3.0-1
Done: Andrea Bolognani <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libvirt, 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.
Andrea Bolognani <[email protected]> (supplier of updated libvirt 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: Thu, 04 May 2023 22:44:31 +0200
Source: libvirt
Architecture: source
Version: 9.3.0-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Libvirt Maintainers 
<[email protected]>
Changed-By: Andrea Bolognani <[email protected]>
Closes: 1024504
Changes:
 libvirt (9.3.0-1) experimental; urgency=medium
 .
   * [45efa38] New upstream version 9.3.0
     - Closes: #1024504
Checksums-Sha1:
 7f66516a329b6d939bd20636bd7a4324ca0e3775 5699 libvirt_9.3.0-1.dsc
 a74d29417f482a23a4c0bf65ef9947c38b625e80 9246292 libvirt_9.3.0.orig.tar.xz
 bd0c4f6df3cf8f66b83a38b3cb0bade8fabd9355 833 libvirt_9.3.0.orig.tar.xz.asc
 7a7f0a8b4b5796476b515eb62e016163810b3e2a 83284 libvirt_9.3.0-1.debian.tar.xz
 53772a2be5d47dda41a54bfe73f7378e454fdcea 14433 libvirt_9.3.0-1_source.buildinfo
Checksums-Sha256:
 1b95cb788dbb16d92333c514c87dc68ca24a0d6a6840ddf3e4f6df0dcb7f507a 5699 
libvirt_9.3.0-1.dsc
 751179b08e5a73b6cfd93200d110df199eaa3973f3554ba2ebcbd71e272bebe1 9246292 
libvirt_9.3.0.orig.tar.xz
 ff1c248f271a0de3fe9811b679f857cb9d2b4bf6a3ef667a7d795811d1cecd96 833 
libvirt_9.3.0.orig.tar.xz.asc
 7cd0bfcb557552e5b27a8b34ff02f75f1be156cbb0194b6ade01f94a875ffa4b 83284 
libvirt_9.3.0-1.debian.tar.xz
 6e9661761d61c2992b8febfcddf3c469276211f742d704807c0a3d26e59a3e18 14433 
libvirt_9.3.0-1_source.buildinfo
Files:
 ff8a154528e89e648129b634f9e99fec 5699 libs optional libvirt_9.3.0-1.dsc
 93cfc515e2a02d72b43e70a63dee45e9 9246292 libs optional 
libvirt_9.3.0.orig.tar.xz
 2fd4c436a1c11b5aead7f5a6d8b7c377 833 libs optional 
libvirt_9.3.0.orig.tar.xz.asc
 8e2dc1daa2bdb29285a7e0d7dcf40f77 83284 libs optional 
libvirt_9.3.0-1.debian.tar.xz
 ffec8cbc68545acb7d458c113c149e81 14433 libs optional 
libvirt_9.3.0-1_source.buildinfo

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

iQJDBAEBCgAtFiEEO48t9niVypx3EjLf954fxUKFg6wFAmRUKW0PHGVvZkBraXl1
a28ub3JnAAoJEPeeH8VChYOsD3oQAJveBeA0J2ZJl8R3i01MbxXxiR1+3PumjvGM
Za4dmnID8wtkKp+IB1e321ePTmY1g5RnfYXPiPTflGNHbFI59ofH6JIUDo6He3HI
vWtEpVca2GMHxW5Jfqplse6qtpMfeDy9NKBhPTZeKvDqTeUKOXzjv/1Y1hVcMP2W
qW/Wi3Y9yogdZGe41aT/nl6bYZw2sbNWbzPtBoKvQ5DY9XP3aO3bA+xXnbZ1tXDd
S9Ll9MODO8vGH+9dnXGqNrUDPEkpiJIxzYR6/JchaVIgv152NXuyCUwuYXBaY3Jl
ENQuvvnnLbW575s+CjYFEZsdnzXjGFnM9esi+U+0D9cIulgAWOFq50qNwPMTV0I3
akhvkskZ/M9FFqXdxAMkCG6B3mEPelTJi9hkXB7Cymtzw2TMQz4BnxEn8ca6Za8b
+I01D7VhlqopNcPbXxxgbBRRwfFGovBhHC+mu6dtvJOzbfhuThKTlE/sTOR4RZJe
6e7IaumjBwqg63VcuCqZQyyfk3DDfZ5S0sLGD3Q49Tcd+AMTW4jNuLNR2+rHZCBp
FuNhUkGEgqqoQR7RezyiMpH7vDwxjHH58HEBsFyQ4b/edYZ3gJv2gudD8gaFVcyb
iTazses5AFSPwLsZFstbyGnam5qo795K+cCMmrc60AIy4n0RSkJENYQqXghTiR2Q
6OSQ7lfC
=6Yed
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to