Package Details: nbdkit 1.42.2-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: BSD-3-Clause
Submitter: t-8ch
Maintainer: t-8ch (rwmjones)
Last Packager: t-8ch
Votes: 5
Popularity: 0.000038
First Submitted: 2019-02-22 14:36 (UTC)
Last Updated: 2025-04-02 10:49 (UTC)

Latest Comments

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

anatolik commented on 2021-06-04 21:30 (UTC)

Please add missing 'openssh' to the checkpdepends=()

gdamjan commented on 2021-04-05 22:34 (UTC)

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

rwmjones commented on 2021-04-04 10:21 (UTC)

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 (UTC)

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 (UTC)

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

rwmjones commented on 2021-04-01 11:38 (UTC)

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 (UTC)

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 (UTC)

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 (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