Artix Linux Forum

Artix Linux => Package management => Topic started by: curvian on 12 October 2023, 15:33:11

Title: libguestfs - cannot resolve dependencies
Post by: curvian on 12 October 2023, 15:33:11
Hi,

Referring to this post (https://forum.artixlinux.org/index.php/topic,1705.0.html), it says that there should be a libguestfs in galaxy now? I can only see it in community still and getting the following when trying to install it:

Code: [Select]
resolving dependencies...
warning: cannot resolve "systemd-sysvcompat", a dependency of "libguestfs"
:: The following package cannot be upgraded due to unresolvable dependencies:
      libguestfs

What should I do?

Title: Re: libguestfs - cannot resolve dependencies
Post by: Dudemanguy on 12 October 2023, 15:46:06
It is not in galaxy. I don't remember if it ever was (guess maybe a long time ago). I will try to give importing it a shot since someone else also requested it, but this has a mess of dependencies and such so not sure if it will work.
Title: Re: libguestfs - cannot resolve dependencies
Post by: curvian on 12 October 2023, 17:38:21
I see. Well I don't know what the demand is, I only need a way to mount a VHD on this machine. Is there another way perhaps?
Title: Re: libguestfs - cannot resolve dependencies
Post by: Dudemanguy on 12 October 2023, 20:32:46
Yeah I can't get ghc to build. This quite unfortunately requires haskell which is a giant mess.
Title: Can be built with --disable-haskell
Post by: dreieck on 14 October 2023, 13:49:52
You can build with --disable-haskell. See ./configure --help.

Actually, made aur/libguestfs-git (https://aur.archlinux.org/packages/libguestfs-git) building again. A PKGBUILD that works for me on Artix is here (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libguestfs-git).
Title: Re: libguestfs - cannot resolve dependencies
Post by: Dudemanguy on 14 October 2023, 18:42:29
Thanks! The Arch PKGBUILD actually lists ghc as a make dependency so I assumed haskell was needed. However their PKGBUILD actually also uses --disable-haskell so in fact it doesn't need that as a make dependency at all. With that out of the way, I just added it to our repos.