[Pkg-libvirt-maintainers] Bug#1032504: libguestfs: minor cross build improvements

Helmut Grohne helmut at subdivi.de
Wed Mar 8 08:26:58 GMT 2023


Source: libguestfs
Version: 1:1.48.6-2
Severity: minor
Tags: patch
User: debian-cross at lists.debian.org
Usertags: cross-satisfiability

libguestfs Build-Depends on binutils. This dependency is implied by
build-essential for native builds and unsatisfiable during cross builds.
Please drop it. I've also noticed that libguestfs builds a perl
extension. In this case, it should depend on perl-xs-dev. While it has
tons of more cross satisfiability issues, these are fairly obvious
incremental fixes. I'm attaching a patch for your convenience. Please
close this bug when applying the patch.

Helmut
-------------- next part --------------
diff --minimal -Nru libguestfs-1.48.6/debian/changelog libguestfs-1.48.6/debian/changelog
--- libguestfs-1.48.6/debian/changelog	2023-03-06 15:29:41.000000000 +0100
+++ libguestfs-1.48.6/debian/changelog	2023-03-08 09:22:43.000000000 +0100
@@ -1,3 +1,12 @@
+libguestfs (1:1.48.6-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Improve Build-Depends for cross builds: (Closes: #-1)
+    + Drop binutils dependency implied in build-essential.
+    + Add perl-xs-dev for building a perl extension.
+
+ -- Helmut Grohne <helmut at subdivi.de>  Wed, 08 Mar 2023 09:22:43 +0100
+
 libguestfs (1:1.48.6-2) unstable; urgency=medium
 
   * Add Brazilian Portuguese debconf translation, thanks to
diff --minimal -Nru libguestfs-1.48.6/debian/control libguestfs-1.48.6/debian/control
--- libguestfs-1.48.6/debian/control	2023-03-06 15:29:01.000000000 +0100
+++ libguestfs-1.48.6/debian/control	2023-03-08 09:22:34.000000000 +0100
@@ -36,6 +36,7 @@
   dh-python,
   default-jdk,
   gem2deb, rake, libjs-jquery,
+  perl-xs-dev,
   libmodule-build-perl,
   libtest-pod-coverage-perl, libextutils-command-perl, libintl-perl, libtest-pod-perl,
   libstring-shellquote-perl,
@@ -60,7 +61,6 @@
 #-# appliance start
   acl,
   attr,
-  binutils,
   bsdextrautils | bsdmainutils,
   btrfs-progs,
   bzip2,


More information about the Pkg-libvirt-maintainers mailing list