pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: "pkgtools/digest" not installed when building "benchmarks/hyperfine"
On Tue, Nov 10, 2026 at 12:18:43PM +0100, Thomas Klausner wrote:
> On Tue, Nov 10, 2026 at 11:09:46AM +0100, Jonathan Perkin wrote:
> > Ah ok, I misunderstood. In that case I believe the correct fix is to change
> > it to "digest:bootstrap" so that it is available at the correct time - can
> > you both confirm this works?
>
> Works for me.
>
> Thank you!
> Thomas
Hmm... You mean
-USE_TOOLS+= bsdtar digest
+USE_TOOLS+= bsdtar digest:bootstrap
in lang/rust/cargo.mk, or did I misunderstand? For benchmark/hyperfine,
this gives later errors:
[...]
=> Build dependency rust>=1.88.0: found rust-1.96.1nb2
===> Checking for vulnerabilities in hyperfine-1.20.0
===> Overriding tools for hyperfine-1.20.0
===> Extracting for hyperfine-1.20.0
=> Extracting local cargo crates
===> Patching for hyperfine-1.20.0
===> Creating toolchain wrappers for hyperfine-1.20.0
ERROR: libunwind>=21.1.0 is not installed; can't buildlink files.
*** Error code 1
Stop.
bmake[1]: stopped making "package" in /usr/pkgsrc/benchmarks/hyperfine
*** Error code 1
Stop.
bmake: stopped making "package" in /usr/pkgsrc/benchmarks/hyperfine
zsh: exit 1 bmake package
Likewise for textproc/jless:
[...]
=> Returning to build of jless-0.9.0nb2
===> Checking for vulnerabilities in jless-0.9.0nb2
===> Overriding tools for jless-0.9.0nb2
===> Extracting for jless-0.9.0nb2
=> Extracting local cargo crates
===> Patching for jless-0.9.0nb2
===> Creating toolchain wrappers for jless-0.9.0nb2
ERROR: libunwind>=21.1.0 is not installed; can't buildlink files.
*** Error code 1
Stop.
bmake[1]: stopped making "package" in /usr/pkgsrc/textproc/jless
*** Error code 1
Stop.
bmake: stopped making "package" in /usr/pkgsrc/textproc/jless
zsh: exit 1 bmake package
Hmm... I don't know what got messed up now, because restoring crate.mk
to its original state doesn't seem to fix this, even if I manually
install "digest" and ensure all work directories are removed. But it
work a few hours ago, and I *did* build hyperfine; I just can't rebuild
it now. Is there some Rust/crate packages that hold some form of state
that isn't cleared?
Andreas
Home |
Main Index |
Thread Index |
Old Index