Search Criteria
Package Details: nbdkit 1.40.4-1
Package Actions
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.000348 |
First Submitted: | 2019-02-22 14:36 (UTC) |
Last Updated: | 2024-10-13 10:57 (UTC) |
Dependencies (16)
- qemu (qemu-gitAUR, qemu-headless-gitAUR, qemu-base, qemu-desktop, qemu-full) (check)
- boost (boost-gitAUR) (optional) – for libtorrent support
- curl (curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR) (optional)
- go (go-gitAUR, gcc-go-gitAUR, gcc-go-snapshotAUR, gcc-go) (optional)
- libguestfs (libguestfs-gitAUR) (optional)
- libnbd (libnbd-ocaml-gitAUR) (optional)
- libselinuxAUR (optional)
- libssh (libssh-gitAUR) (optional)
- libtorrent-rasterbar (libtorrent-rasterbar-gitAUR, libtorrent-rasterbar-1_1-gitAUR, libtorrent-rasterbar-1_2-gitAUR, libtorrent-rasterbar-2_0-gitAUR, libtorrent-rasterbar-1AUR) (optional) – for libtorrent support
- libvirt (libvirt-gitAUR, libvirt-xenAUR) (optional)
- lua (optional)
- ocaml (optional)
- perl (perl-gitAUR) (optional)
- python (python37AUR, python311AUR, python310AUR) (optional)
- rust (rust-nightlyAUR, rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rustup-stubAUR, rustup) (optional)
- tcl (tcl-fossilAUR, tcl84AUR) (optional)
Required by (5)
- libguestfs-git (optional)
- s3backer-git (optional)
- s3backer-nbd-git
- virt-p2v
- virt-v2v
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 12 Next › Last »
dreieck commented on 2024-04-28 15:09 (UTC) (edited on 2024-04-28 17:45 (UTC) by dreieck)
Ahoj,
a few tests fail for me:
tests/test-suite.log
is uploaded ↗ here. It shows:Regards!
dreieck commented on 2023-12-08 12:54 (UTC)
Thanks, great!, that solves package manager hickups.
I think you should add something like "(needs to be installed at build time)" to the comment to the optional dependency.
Regards!
t-8ch commented on 2023-12-07 19:05 (UTC)
I went with your second option. It imposes the least overhead on users not affected by this problem.
dreieck commented on 2023-12-07 14:30 (UTC) (edited on 2023-12-08 12:50 (UTC) by dreieck)
If
boost
is needed as a build dependency for rb_torrent, and it is optional after build, you should eitherboost
as make dependency and as optional dependency (orboost-libs
as optional dependency ifboost
is not needed to run rb_torrent), orboost
as optinal dependency with a descriptive text that it must be present at compile time to include the feature, and have a check inbuild()
that when it is not installed--disable-torrent
is passed so that no build error occurs.The current solution that breaks build when
boost
is not installed but not pull inboost
as a build dependency is not OK.t-8ch commented on 2023-12-05 21:46 (UTC)
boost ist only a build-dependency for libtorrent-rasterbar. Which is why the binary package does not pull it in as a dependency. Unfortunately there is proper way to express an optional builddependency with the Arch packaging tools.
We can either make it an optdepends or a makedepends. I'll add a reason for both optdepends so it's clear that they are both needed.
boost-lib is not even sufficient as we need the headers, not the libraries.
rwmjones commented on 2023-12-05 20:22 (UTC) (edited on 2023-12-05 20:25 (UTC) by rwmjones)
So ... boost isn't (or shouldn't be) a direct dependency. I think it should only come indirectly via the optional rb_torrent dependency. At least in theory rb_torrent ought to itself pull in anything it needs like boost.
However if an extra dependency for nbdkit fixes the problem then let's do that.
Edit: To give a concrete example, I know that Fedora doesn't work like Arch, but in Fedora we only depend on rb_libtorrent-devel:
https://src.fedoraproject.org/rpms/nbdkit/blob/rawhide/f/nbdkit.spec#_123
and it's that other package which depends on boost-devel:
https://src.fedoraproject.org/rpms/rb_libtorrent/blob/rawhide/f/rb_libtorrent.spec#_37
kescherAUR commented on 2023-12-05 20:19 (UTC)
Should have boost-libs as a dependency (either that, or
--disable-torrent
, but I'd prefer keeping support for that) andboost
as a make dependency.dreieck commented on 2023-11-28 16:56 (UTC)
Yes, if
/bin/sh
is hardcoded instead of/bin/bash
or justsh
(in which case$PATH
can be manipulated), then I see no easy option.I still get
With
--disable-torrent
, compilation succeeds, andcheck()
now passes pasttest-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:
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).
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 12 Next › Last »