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 10:42:14AM +0100, Kusalananda Kähäri wrote:
> Hi,
> 
> This is using pkgsrc-2026Q3 on NetBSD 11.1 (amd64).  I noticed
> that if pkgtools/digest is not installed when attempting to build
> benchmarks/hyperfine, this happens:
> 
> 	% bmake package
> 	sh: /usr/pkg/bin/digest: not found
> 	sh: /usr/pkg/bin/digest: not found
> 	checksum: Checksum BLAKE2s mismatch for ahash-0.7.8.crate
> 	ERROR: Make sure the Makefile and checksum file
> 	(/usr/pkgsrc/benchmarks/hyperfine/distinfo)
> 	ERROR: are up to date.  If you want to override this check, type
> 	ERROR: "/usr/pkg/bin/bmake NO_CHECKSUM=yes [other args]".
> 	*** Error code 1
> 
> 	Stop.
> 	bmake: stopped making "package" in /usr/pkgsrc/benchmarks/hyperfine
> 	zsh: exit 1     bmake package
> 
> I had a look at the Makefile, but I can see no real differences between
> this and other Rust packages with regard to the ordering of ".include"
> statements, etc.
> 
> Manually installing pkgtools/digest first will not trigger this issue.
> 
> Andreas

This seems to also be an issue for other Rust packages with BLAKE2s
distinfo, for example textproc/jless.  Sorry, I should have checked this
before posting the above.

Andreas


Home | Main Index | Thread Index | Old Index