Search Criteria
Package Details: nbdkit 1.38.1-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.045483 |
First Submitted: | 2019-02-22 14:36 (UTC) |
Last Updated: | 2024-04-28 15:45 (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-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-c-aresAUR, curl-gitAUR) (optional)
- go (go-gitAUR, gcc-go-gitAUR, 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_2-gitAUR, libtorrent-rasterbar-1_1-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, rust-nightly-binAUR, rust-gitAUR, rustup-gitAUR, rustup) (optional)
- tcl (tcl84AUR, tcl-fossilAUR) (optional)
Required by (4)
- libguestfs-git (optional)
- s3backer-git (optional)
- s3backer-nbd-git
- virt-v2v
Latest Comments
1 2 3 4 5 6 .. 10 Next › Last »
rwmjones commented on 2024-04-29 08:38 (UTC) (edited on 2024-04-29 08:41 (UTC) by rwmjones)
This is a kernel bug, discussed in: https://lore.kernel.org/lkml/20240417150810.GA7636@redhat.com/
The fix is: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=682886ec69d22363819a83ddddd5d66cb5c791e1
solsticedhiver commented on 2024-04-28 22:26 (UTC)
I am running the linux-lts61 kernel (from AUR) version 6.1.88-1-lts61 and I am seeing the same error and stack trace: https://0x0.st/XHUu.log
t-8ch commented on 2024-04-28 15:56 (UTC) (edited on 2024-04-28 15:56 (UTC) by t-8ch)
@dreieck:
The kernel trace looks like https://lore.kernel.org/lkml/3iccc6vjl5gminut3lvpl4va2lbnsgku5ei2d7ylftoofy3n2v@gcfdvtsq6dx2/
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.1 2 3 4 5 6 .. 10 Next › Last »