[Pkg-libvirt-maintainers] Bug#980334: libvirt FTCBFS: uses the build architecture compiler via dtrace

Helmut Grohne helmut at subdivi.de
Sun Jan 17 21:58:39 GMT 2021


Source: libvirt
Version: 6.9.0-1
User: debian-cross at lists.debian.org
Usertags: ftcbfs

We're getting closer to making libvirt cross buildable. A lot of
libvirt's dependencies have been fixed. One aspect that resides in
libvirt is dtrace. dtrace runs a compiler and defaults to the build
architecture compiler. As such it'll fail finding host architecture
headers and that happens to break the build. When running dtrace, one
must export the CC variable with a suitable value. Implementing this
with meson is not entirely trivial due to
https://github.com/mesonbuild/meson/issues/266. The attached patch
therefore implements the suggested workaround. Please consider applying
it to bring libvirt one step closer to being cross buildable.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 1521 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20210117/687ad779/attachment.patch>


More information about the Pkg-libvirt-maintainers mailing list