Package Details: guestfs-tools 1.48.2-1

Git Clone URL: https://aur.archlinux.org/guestfs-tools.git (read-only, click to copy)
Package Base: guestfs-tools
Description: Tools for accessing and modifying guest disk images
Upstream URL: http://libguestfs.org/
Licenses: GPL2, LGPL2.1
Submitter: thurstylark
Maintainer: pancho (thurstylark)
Last Packager: pancho
Votes: 11
Popularity: 1.22
First Submitted: 2021-11-04 03:15 (UTC)
Last Updated: 2022-07-29 06:58 (UTC)

Pinned Comments

g4c commented on 2022-04-16 00:35 (UTC)

If you're using yay to build/install, you can add the flags --mflags "--nocheck" to instruct makepkg to skip the check() step. No commenting necessary.

Example: yay -S --mflags "--nocheck" guestfs-tools

Technically the quotes aren't necessary, but it creeps me out not visually signalling that's not a yay flag, but one being passed to makepkg via --mflags. ;)

pancho commented on 2022-03-25 07:15 (UTC) (edited on 2022-03-25 07:15 (UTC) by pancho)

CAVEAT EMPTOR: If you are building within a chroot, the tests will fail. So, either comment out check() on PKGBUILD, or try to map /dev/kvm and /dev/fuse within the chroot (and share how you did it!).

Thanks, @wioo!.

thurstylark commented on 2021-11-04 03:22 (UTC)

Context for the reason this package exists: https://bugs.archlinux.org/task/72591

Thanks to Toolybird for the PKGBUILD!

Latest Comments

1 2 3 4 5 Next › Last »

saltedcoffii commented on 2022-07-30 00:22 (UTC) (edited on 2022-07-30 12:15 (UTC) by saltedcoffii)

the latest version of guestfs-tools is not building for me.

https://pastebin.mozilla.org/Wxe8vawX

UPDATE: Arch Linux pushed some updates and I'm no longer having this issue.

pancho commented on 2022-07-29 07:05 (UTC)

@Alireza: I've just updated the package to 1.48.2, and also skipped the failing test. Let me know if it keeps bugging you.

@saltedcoffii: Thanks for reporting the info on the missing deps for building the translated docs. Unfortunately, I can't find ocaml-gettext packaged, unlike po4a, which is. Until a package is available, not much I can do, I'm afraid :(

Alireza commented on 2022-07-27 12:22 (UTC)

Hi, I got this

make[3]: Leaving directory '/home/$HOME/.cache/yay/guestfs-tools/src/guestfs-tools-1.48.0/format'
make[2]: Leaving directory '/home/$HOME/.cache/yay/guestfs-tools/src/guestfs-tools-1.48.0/format'
make[1]: Leaving directory '/home/$HOME/.cache/yay/guestfs-tools/src/guestfs-tools-1.48.0/format'
Making check in inspector
make[1]: Entering directory '/home/$HOME/.cache/yay/guestfs-tools/src/guestfs-tools-1.48.0/inspector'
make  check-TESTS
make[2]: Entering directory '/home/$HOME/.cache/yay/guestfs-tools/src/guestfs-tools-1.48.0/inspector'
make[3]: Entering directory '/home/$HOME/.cache/yay/guestfs-tools/src/guestfs-tools-1.48.0/inspector'
PASS: test-virt-inspector-docs.sh
SKIP: test-virt-inspector.sh
FAIL: test-virt-inspector-luks-on-lvm.sh
SKIP: test-virt-inspector-lvm-on-luks.sh
PASS: test-xmllint.sh
============================================================================
Testsuite summary for guestfs-tools 1.48.0
============================================================================
# TOTAL: 5
# PASS:  2
# SKIP:  2
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See inspector/test-suite.log
============================================================================
make[3]: *** [Makefile:1077: test-suite.log] Error 1
make[3]: Leaving directory '/home/$HOME/.cache/yay/guestfs-tools/src/guestfs-tools-1.48.0/inspector'
make[2]: *** [Makefile:1185: check-TESTS] Error 2
make[2]: Leaving directory '/home/$HOME/.cache/yay/guestfs-tools/src/guestfs-tools-1.48.0/inspector'
make[1]: *** [Makefile:1285: check-am] Error 2
make[1]: Leaving directory '/home/$HOME/.cache/yay/guestfs-tools/src/guestfs-tools-1.48.0/inspector'
make: *** [Makefile:860: check-recursive] Error 1
==> ERROR: A failure occurred in check().
    Aborting...
 -> error making: guestfs-tools

saltedcoffii commented on 2022-06-06 22:23 (UTC)

guestfs-tools seems to be missing make dependencies for po4a and ocaml-gettext to properly build documentation

stef204 commented on 2022-05-26 15:15 (UTC) (edited on 2022-05-27 12:51 (UTC) by stef204)

@ivdok I can confirm this issue--same situation over here; even with 1.48.2 which seems to build. Not sure what the fix should be. yara seems up-to-date so some patching probably required.
Edit: the official libguestfs was just updated and it now runs successfully. (tested virt-sparsify with 1.48.2.)
(To build 1.48.2, just modify the version inside the PKGBUILD here, should build.)

ivdok commented on 2022-05-22 21:13 (UTC)

Currently broken due to libyara:

+ date
Sun May 22 21:09:19 UTC 2022
+ echo -n 'clocksource: '
clocksource: + cat /sys/devices/system/clocksource/clocksource0/current_clocksource
kvm-clock
+ echo -n 'uptime: '
uptime: + cat /proc/uptime
1.12 0.33
+ cmd=guestfsd
++ grep -Eo 'guestfs_channel=[^[:space:]]+' /proc/cmdline
+ eval
+ test x '!=' x
+ test 1 = 1
+ cmd='guestfsd --verbose'
+ test '' = 1
+ false
+ test '' = 1
+ echo guestfsd --verbose
guestfsd --verbose
+ guestfsd --verbose
guestfsd: error while loading shared libraries: libyara.so.8: cannot open shared object file: No such file or directory
+ sync
+ test '' = 1
+ reboot -f
Rebooting.

g4c commented on 2022-04-16 00:35 (UTC)

If you're using yay to build/install, you can add the flags --mflags "--nocheck" to instruct makepkg to skip the check() step. No commenting necessary.

Example: yay -S --mflags "--nocheck" guestfs-tools

Technically the quotes aren't necessary, but it creeps me out not visually signalling that's not a yay flag, but one being passed to makepkg via --mflags. ;)

kido007 commented on 2022-04-15 18:25 (UTC) (edited on 2022-04-15 18:27 (UTC) by kido007)

PASS: test-virt-sparsify-docs.sh

FAIL: test-virt-sparsify-in-place.sh

FAIL: test-virt-sparsify.sh

PASS: test-virt-sparsify-in-place-fstrim-unsupported.sh

==== Testsuite summary for guestfs-tools 1.48.0 =====

TOTAL: 4
PASS: 2
SKIP: 0
XFAIL: 0
FAIL: 2
XPASS: 0
ERROR: 0

========== See sparsify/test-suite.log =======

make[3]: *** [Makefile:1082: test-suite.log] Error 1

make[3]: Leaving directory '/home/user/.cache/yay/guestfs-tools/src/guestfs-tools-1.48.0/sparsify'

make[2]: *** [Makefile:1190: check-TESTS] Error 2

make[2]: Leaving directory '/home/user/.cache/yay/guestfs-tools/src/guestfs-tools-1.48.0/sparsify'

make[1]: *** [Makefile:1283: check-am] Error 2

make[1]: Leaving directory '/home/user/.cache/yay/guestfs-tools/src/guestfs-tools-1.48.0/sparsify'

make: *** [Makefile:860: check-recursive] Error 1

==> ERROR: A failure occurred in check().

Aborting...

-> error making: guestfs-tools

pancho commented on 2022-03-25 07:15 (UTC) (edited on 2022-03-25 07:15 (UTC) by pancho)

CAVEAT EMPTOR: If you are building within a chroot, the tests will fail. So, either comment out check() on PKGBUILD, or try to map /dev/kvm and /dev/fuse within the chroot (and share how you did it!).

Thanks, @wioo!.

wioo commented on 2022-03-24 21:20 (UTC) (edited on 2022-03-24 21:22 (UTC) by wioo)

@pancho Maybe pinned comment about chroot builds and lack of /dev/* files would suffice. Affected users can edit PKGBUILD accordingly (ie. disable check) or map /dev/kvm.