Package Details: nbdkit 1.24.3-3

Git Clone URL: https://aur.archlinux.org/nbdkit.git (read-only, click to copy)
Package Base: nbdkit
Description: NBD server toolkit
Upstream URL: https://github.com/libguestfs/nbdkit
Licenses: custom: BSD
Submitter: t-8ch
Maintainer: t-8ch
Last Packager: t-8ch
Votes: 1
Popularity: 0.000088
First Submitted: 2019-02-22 14:36
Last Updated: 2021-04-06 08:14

Latest Comments

1 2 3 4 Next › Last »

gdamjan commented on 2021-04-05 22:34

the package should probably depend on qemu-headless (which qemu also provides)

rwmjones commented on 2021-04-04 10:21

FWIW we disable libguestfs- and qemu-based tests on non-x86-64 in Fedora using this bit of sed magic:

https://src.fedoraproject.org/rpms/nbdkit/blob/rawhide/f/nbdkit.spec#_21 https://src.fedoraproject.org/rpms/nbdkit/blob/rawhide/f/nbdkit.spec#_741

t-8ch commented on 2021-04-03 23:22

I updated this package to the latest release. Currently the tests are broken, which should be fixed with a new libguestfs version in the arch repos.

rwmjones commented on 2021-04-01 14:48

Upstream fix: https://gitlab.com/nbdkit/nbdkit/-/commit/62e888a288fae1d7c3d3bcbb46dac90ce73cc75d

rwmjones commented on 2021-04-01 11:38

Apparently golang deliberately broke stuff in 1.16. There is a workaround detailed in the link below, but fixing this properly will take more time.

https://blog.golang.org/go116-module-changes

rwmjones commented on 2021-04-01 10:42

I can reproduce this in Fedora with golang 1.16. I'm looking to see what has changed.

The golang plugin is an entirely optional part of nbdkit (unless you want to write plugins in golang of course!) so a workaround for you could be to do:

./configure --disable-golang

svenne_k commented on 2021-04-01 10:24

fails build

cd examples/ramdisk && \
PKG_CONFIG_PATH="/home/sk/.cache/yay/nbdkit/src/nbdkit-1.24.0/server/local${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}" \
GOPATH="/home/sk/.cache/yay/nbdkit/src/nbdkit-1.24.0/plugins/golang" \
go build -o nbdkit-goramdisk-plugin.so -buildmode=c-shared
go: cannot find main module, but found .git/config in /home/sk/.cache/yay/nbdkit
    to create a module there, run:
    cd ../../../../../.. && go mod init
go: cannot find main module, but found .git/config in /home/sk/.cache/yay/nbdkit
    to create a module there, run:
    cd ../../../../../.. && go mod init
make[3]: *** [Makefile:1080: examples/disk/nbdkit-godisk-plugin.so] Error 1
make[3]: *** Waiting for unfinished jobs....
go: cannot find main module, but found .git/config in /home/sk/.cache/yay/nbdkit
    to create a module there, run:
    cd ../../../../../.. && go mod init
go: cannot find main module, but found .git/config in /home/sk/.cache/yay/nbdkit
    to create a module there, run:
    cd ../../../../../.. && go mod init
make[3]: *** [Makefile:1087: examples/dump-plugin/nbdkit-godump-plugin.so] Error 1
make[3]: *** [Makefile:1094: examples/minimal/nbdkit-gominimal-plugin.so] Error 1
make[3]: *** [Makefile:1101: examples/ramdisk/nbdkit-goramdisk-plugin.so] Error 1
make[3]: Leaving directory '/home/sk/.cache/yay/nbdkit/src/nbdkit-1.24.0/plugins/golang'
make[2]: *** [Makefile:519: all-recursive] Error 1
make[2]: Leaving directory '/home/sk/.cache/yay/nbdkit/src/nbdkit-1.24.0/plugins'
make[1]: *** [Makefile:716: all-recursive] Error 1
make[1]: Leaving directory '/home/sk/.cache/yay/nbdkit/src/nbdkit-1.24.0'
make: *** [Makefile:580: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: nbdkit

rwmjones commented on 2021-01-11 19:50

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

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

anatolik commented on 2021-01-11 17:21

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