Looks like this package has some dependency issues relating to systemd.
The package is needed for me to use the virt-manager frontend for qemu/kvm
My attempts so far.
1) Attempted install from Binary:
# pacman -S libguestfs --noconfirm --needed
resolving dependencies...
warning: cannot resolve "systemd-sysvcompat", a dependency of "libguestfs"
:: The following package cannot be upgraded due to unresolvable dependencies:
libguestfs
2) Attempted install from AUR (libguestfs-git) using Octopi/Trizen, and ended up with:
--- Checking the appliance and its dependencies ---
checking if we should build the appliance... yes
checking for supermin... /usr/bin/supermin
checking for --with-supermin-packager-config option... not set
checking for --with-supermin-extra-options option... not set
checking supermin is new enough... 5.2
checking which Linux distro for package names... configure: error: /etc/os-release not available, please specify the distro using --with-distro=DISTRO
==> ERROR: A failure occurred in build().
Aborting...
:: Unable to build libguestfs-git - makepkg exited with code: 4
=>> Try again? [y/N]: n
=>> Exit now? [Y/n]
(Compiling stopped at this point)
I even tried compiling it (as libguestfs-git) from the AUR github source as follows
$ git clone https://aur.archlinux.org/libguestfs-git.git
$cd liguestfs-git
$makepkg -s
Same result.
The AUR results also appear to be systemd related:
https://manpages.debian.org/jessie/systemd/os-release.5.en.html
(The "os-release" package presumably installs to /etc/os-release /usr/lib/os-release folders...)
-------------------------------------------------------
If I try to reolve the "systemd dependency" issue with packages like systemd-sysvcompat-git, they all seem to conflict with elogind.
So at the very least it looks like the source code needs some editing, but not sure where to look if this is even the right approach. The AUR page at https://aur.archlinux.org/packages/libguestfs-git/ and PKGBUILd file as such make no reference to any systemd-related package as a dependency. For the libguestfs binary https://www.archlinux.org/packages/community/x86_64/libguestfs/ refers specifically to systemd-sysvcompat as per 1) above...
Any suggestions appreciated obviously.