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.000273
First Submitted: 2019-02-22 14:36 (UTC)
Last Updated: 2025-01-01 14:30 (UTC)

Latest Comments

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

t-8ch commented on 2021-06-05 09:04 (UTC)

@rwmjones

Unfortunately these steps are not enough as the Makefile will also try to create the ssh-keys for testing. These need ssh-keygen installed. The key generation is gated on HAVE_SSH which checks if libssh is present. In Arch the libssh package does not include the ssh-keygen tool.

For now I'll add openssh as a dependency for nbdkit and look for a proper solution in the coming days. The ssh-keygen detection should also be part of nbdkit proper IMO.

rwmjones commented on 2021-06-05 07:23 (UTC)

I still think it would be easier to disable the test that needs openssh, see my earlier comment: https://aur.archlinux.org/packages/nbdkit/#comment-785652

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