David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
libguestfs


Commits:
488ca1b5 by David Runge at 2026-07-13T08:53:49+02:00
Add documentation on honoring the requirements for guestfsd

Our current tooling is not able to extract the requirements from
`/usr/bin/guestfsd` in `/usr/lib/guestfs/supermin.d/daemon.tar.gz`,
which are needed during runtime e.g. when using guestfish.

Signed-off-by: David Runge <[email protected]>

- - - - -
f56e9661 by David Runge at 2026-07-13T10:00:48+02:00
Move rpm-tools to run-time dependencies of libguestfs

The guestfsd executable in /usr/lib/guestfs/supermin.d/daemon.tar.gz
links against it.

Related-to: https://github.com/libguestfs/libguestfs/issues/377
Signed-off-by: David Runge <[email protected]>

- - - - -
7bed9642 by David Runge at 2026-07-13T10:01:29+02:00
upgpkg: 1.60.0-3

Rebuild to add rpm-tools to the list of run-time dependencies.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = libguestfs
        pkgdesc = Access and modify virtual machine disk images
        pkgver = 1.60.0
-       pkgrel = 2
+       pkgrel = 3
        url = https://libguestfs.org/
        arch = x86_64
        license = GPL-2.0-or-later
@@ -57,7 +57,6 @@ pkgbase = libguestfs
        makedepends = pciutils
        makedepends = procps-ng
        makedepends = psmisc
-       makedepends = rpm-tools
        makedepends = rsync
        makedepends = squashfs-tools
        makedepends = strace
@@ -83,6 +82,7 @@ pkgbase = libguestfs
        makedepends = pcre2
        makedepends = qemu
        makedepends = readline
+       makedepends = rpm-tools
        makedepends = sleuthkit
        makedepends = supermin
        makedepends = systemd-libs
@@ -119,6 +119,7 @@ pkgname = libguestfs
        depends = pcre2
        depends = qemu
        depends = readline
+       depends = rpm-tools
        depends = sleuthkit
        depends = supermin
        depends = systemd-libs
@@ -159,7 +160,6 @@ pkgname = libguestfs
        optdepends = pciutils: for PCI bus support in the VM appliance
        optdepends = procps-ng: for system monitoring support in the VM 
appliance
        optdepends = psmisc: for procfs support in the VM appliance
-       optdepends = rpm-tools: for librpm support in the VM appliance
        optdepends = rsync: for rsync support in the VM appliance
        optdepends = squashfs-tools: for squashfs support in the VM appliance
        optdepends = strace: for tracing support in the VM appliance


=====================================
PKGBUILD
=====================================
@@ -18,7 +18,7 @@ pkgname=(
   ruby-libguestfs
 )
 pkgver=1.60.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Access and modify virtual machine disk images"
 arch=(x86_64)
 url="https://libguestfs.org/";
@@ -55,7 +55,6 @@ _appliancedeps=(
   pciutils
   procps-ng
   psmisc
-  rpm-tools
   rsync
   squashfs-tools
   strace
@@ -68,6 +67,10 @@ _appliancedeps_essential=(
   btrfs-progs
   dosfstools
 )
+# NOTE: The dependencies of the `guestfsd` executable in 
`/usr/lib/guestfs/supermin.d/daemon.tar.gz` need to honored here as well!
+# Use e.g. the following in a temporary location to inspect the hard 
dependencies:
+# tar --force-local --extract --gzip --file=daemon.tar.gz
+# readelf -d usr/bin/guestfsd | grep NEEDED
 _libguest_deps=(
   acl
   augeas
@@ -87,6 +90,7 @@ _libguest_deps=(
   pcre2
   qemu
   readline
+  rpm-tools
   sleuthkit
   supermin
   systemd-libs
@@ -164,11 +168,11 @@ build() {
 
 check() {
   export SKIP_TEST_DISCARD_PL=1  # 
https://github.com/libguestfs/libguestfs/issues/140
-  export SKIP_TEST_EXPAND_GPT_PL=1  # 
https://github.com/libguestfs/libguestfs/issues/155
   export SKIP_RHBZ1011907_1165785_SH=1 # Prevent: 'umount: /sysroot: target is 
busy.', unrelated to ocaml rebuild: Need to investigate
   export SKIP_TEST_SYSLINUX_PL=1  # 
https://github.com/libguestfs/libguestfs/issues/291
   export SKIP_TEST_CHARSET_FIDELITY=1  # 
https://github.com/libguestfs/libguestfs/issues/357
   export SKIP_TEST_VFS_MINIMUM_SIZE_3=1  # 
https://github.com/libguestfs/libguestfs/issues/371
+  export SKIP_TEST_EXPAND_GPT_PY=1  # 
https://github.com/libguestfs/libguestfs/issues/376
   LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 make -k check -C $pkgname-$pkgver
 }
 
@@ -221,7 +225,6 @@ package_libguestfs() {
     'pciutils: for PCI bus support in the VM appliance'
     'procps-ng: for system monitoring support in the VM appliance'
     'psmisc: for procfs support in the VM appliance'
-    'rpm-tools: for librpm support in the VM appliance'
     'rsync: for rsync support in the VM appliance'
     'squashfs-tools: for squashfs support in the VM appliance'
     'strace: for tracing support in the VM appliance'



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libguestfs/-/compare/6f91f596c5ed7726eedd372766dc79d252cd9e83...7bed9642794fb8bd3b8463e42e45f05219db558f

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libguestfs/-/compare/6f91f596c5ed7726eedd372766dc79d252cd9e83...7bed9642794fb8bd3b8463e42e45f05219db558f
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to