Package Details: nbdkit 1.40.4-1

Git Clone URL: https://aur.archlinux.org/nbdkit.git (read-only, click to copy)
Package Base: nbdkit
Description: NBD server toolkit
Upstream URL: https://gitlab.com/nbdkit/nbdkit/
Licenses: custom:BSD
Submitter: t-8ch
Maintainer: t-8ch (rwmjones)
Last Packager: t-8ch
Votes: 5
Popularity: 0.000099
First Submitted: 2019-02-22 14:36 (UTC)
Last Updated: 2025-01-01 14:30 (UTC)

Latest Comments

« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 Next › Last »

rwmjones commented on 2021-01-11 19:50 (UTC) (edited on 2021-01-11 19:50 (UTC) by rwmjones)

I'm glad that you have found a fix, but I'd also say that this particular test is quite tricky. It attempts to test the nbdkit-ssh-plugin by running (temporarily) an sshd server. If you want to just skip the test entirely you could add this to your build script:

rm tests/test-ssh.sh
touch tests/test-ssh.sh
chmod +x tests/test-ssh.sh

https://libguestfs.org/nbdkit-ssh-plugin.1.html https://github.com/libguestfs/nbdkit/blob/master/tests/test-ssh.sh

anatolik commented on 2021-01-11 17:25 (UTC)

And adding 'openssh' to the checkpdepends=() fixes the issue with tests.

anatolik commented on 2021-01-11 17:21 (UTC)

Building this package in a chroot environment gives following test error:

ssh-keygen -t rsa -f ssh/ssh_host_rsa_key -N ''
make[2]: ssh-keygen: No such file or directory
make[2]: *** [Makefile:6442: stamp-ssh-host-key] Error 127

rwmjones commented on 2020-11-09 08:46 (UTC)

sh: line 5: qemu-img: command not found

Because qemu-img is not installed. See also: https://github.com/libguestfs/nbdkit/blob/master/tests/Makefile.am (search for "qemu-img").

anatolik commented on 2020-11-09 00:47 (UTC)

building in a chroot environment fails:

mv -f .deps/test_just_filter_header-test-just-filter-header.Tpo .deps/test_just_filter_header-test-just-filter-header.Po
./generate-file-data.sh file-data
Generating a 3072 bit RSA private key...
truncate -s 1048576 test-shell.img
Generating a random key for user 'qemu'
Key stored to keys.psk
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o test-just-plugin-header test_just_plugin_header-test-just-plugin-header.o   
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o test-just-filter-header test_just_filter_header-test-just-filter-header.o   
nbdkit: debug: bound to unix socket /tmp/nbdkitVrl1Nc/socket
nbdkit: debug: forked into background (new pid = 21978)
nbdkit: debug: linuxdisk: after_fork
sh: line 5: qemu-img: command not found
nbdkit: debug: linuxdisk: unload plugin
make[2]: *** [Makefile:5975: disk] Error 127
make[2]: *** Waiting for unfinished jobs...

rwmjones commented on 2020-09-18 07:45 (UTC)

Yes that fixes quite a serious bug in sfdisk (https://bugzilla.redhat.com/show_bug.cgi?id=1860461).

t-8ch commented on 2020-09-18 07:00 (UTC)

Updated, currently the tests are failing because ArchLinux is missing 4fe7f9b614e2b5bb97f6d89af02acb867cffccc1 in the util-linux package.

rwmjones commented on 2020-03-17 12:44 (UTC)

Fixed upstream in https://github.com/libguestfs/nbdkit/commit/3801317a657550624ff55c09c8b72a4c17713c98 https://github.com/libguestfs/nbdkit/commit/15d4c4f1db596b0bd4e2442f94ca908b22b7cd97 https://github.com/libguestfs/nbdkit/commit/c9f72508fe94453bfb8956953c1c00025673ba7c Fix will appear in nbdkit 1.18.2 (stable) and 1.19.3 (dev).

rwmjones commented on 2020-03-16 15:25 (UTC)

Thanks for the report. The upstream discussion is here: https://www.redhat.com/archives/libguestfs/2020-March/msg00132.html