Package Details: nbdkit 1.38.1-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.043632
First Submitted: 2019-02-22 14:36 (UTC)
Last Updated: 2024-04-28 15:45 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 10 Next › Last »

dreieck commented on 2023-11-28 16:56 (UTC)

Adding dash as make dependency won't make a difference as it won't change /bin/sh. (And changing it for the test is a no-go).

Yes, if /bin/sh is hardcoded instead of /bin/bash or just sh (in which case $PATH can be manipulated), then I see no easy option.

Can you test again with the new 1.36.2 version?

I still get

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../common/include -I../../common/utils -I. -pthread -fexceptions -DTORRENT_LINKING_SHARED -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_NO_DEPRECATED -DTORRENT_USE_OPENSSL -DTORRENT_USE_LIBCRYPTO -DTORRENT_SSL_PEERS -DOPENSSL_NO_SSL2 -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -MT nbdkit_torrent_plugin_la-torrent.lo -MD -MP -MF .deps/nbdkit_torrent_plugin_la-torrent.Tpo -c torrent.cpp  -fPIC -DPIC -o .libs/nbdkit_torrent_plugin_la-torrent.o
In file included from /usr/include/libtorrent/time.hpp:36,
                 from /usr/include/libtorrent/alert.hpp:67,
                 from torrent.cpp:47:
/usr/include/libtorrent/config.hpp:52:10: fatal error: boost/config.hpp: No such file or directory
   52 | #include <boost/config.hpp>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

With --disable-torrent, compilation succeeds, and check() now passes past test-floppy.sh and finally succeeds in total. However, some earlier and later tests also need a couple of minutes (e.g. test-file-dirfd.sh, test-info-conntime.sh, test-iso.sh, test-linuxdisk.sh and many others), and this was already the case with the previous version.

Regards!

rwmjones commented on 2023-11-28 12:52 (UTC)

For the stall, if it happens even with the latest version can you look to see what test it is stalling on? There will be an associated process or processes running, looking something like:

$ ps afwwwx
3001970 pts/2    S+     0:00  |                                   \_ /bin/sh ../test-driver --test-name test-tar-xz-curl --log-file 
3001975 pts/2    Sl+    0:00  |                                   |   \_ ./test-tar-xz-curl
3001979 pts/2    Sl+    0:00  |                                   |       \_ /home/rjones/d/nbdkit/server/nbdkit -U /tmp/nbdkitHKxUI
3003125 pts/2    Sl+    0:00  |                                   |       \_ /usr/bin/qemu-kvm -global virtio-blk-pci.scsi=off -no-u
3003127 pts/2    S+     0:00  |                                   |       \_ ./test-tar-xz-curl

which should be enough information to tell which test is hanging and find the associated log file.

If nbdkit itself seems to be hanging then using gstack can often print a stack trace of the threads inside nbdkit which might be useful.

t-8ch commented on 2023-11-28 12:25 (UTC)

@dreieck:

Can you test again with the new 1.36.2 version?

Adding dash as make dependency won't make a difference as it won't change /bin/sh. (And changing it for the test is a no-go).

dreieck commented on 2023-11-28 12:11 (UTC)

OK, then maybe you need to add dash as make dependency and in the build environment of the package use that instead of bash?

dreieck commented on 2023-11-28 12:10 (UTC)

check() stalls for me after test-floppy.sh:

[...]
PASS: test-file-dir.sh
PASS: test-file-dirfd.sh
PASS: test-floppy.sh
[ stalls for more than 30 minutes now. ]

Regards!

rwmjones commented on 2023-11-28 11:52 (UTC)

rvalles means this: https://listman.redhat.com/archives/libguestfs/2023-October/032767.html

Latest version of nbdkit should be happier in some cases where /bin/sh is not bash (by skipping those tests).

dreieck commented on 2023-11-28 11:23 (UTC)

Yes, adding
--disable-torrent
to the ./configure options
makes this building for me.

@rvalles: What do you mean by "w/dash"?

Regards!

rvalles commented on 2023-11-16 09:05 (UTC)

@rwmjones current version builds fine w/dash.

rwmjones commented on 2023-11-15 15:16 (UTC)

Yes the best advice is not to use -ffast-math. It breaks the compiler. nbdkit hardly uses floating point at all, so it won't make any difference in performance.