Package Details: b3sum 0.3.5-1

Git Clone URL: (read-only, click to copy)
Package Base: b3sum
Description: Command line implementation of the BLAKE3 hash function
Upstream URL:
Licenses: Apache
Submitter: polyzen
Maintainer: polyzen
Last Packager: polyzen
Votes: 10
Popularity: 1.10
First Submitted: 2020-01-10 03:32
Last Updated: 2020-07-10 21:01

Latest Comments

andrius4669 commented on 2020-05-28 20:44

@oconnor663 looks like that was my issue, thanks. sorta forgot I was even using rustup instead of packaged stuff. tests could have more descriptive warning/error messages in that regard though.

oconnor663 commented on 2020-05-26 22:08

@andrius4669 the tests require Rust 1.43. You might need to rustup update.

andrius4669 commented on 2020-05-26 21:41

got error during check:

==> Starting check()...
   Compiling getrandom v0.1.14
   Compiling ppv-lite86 v0.2.8
   Compiling remove_dir_all v0.5.2
   Compiling once_cell v1.4.0
   Compiling shared_child v0.3.4
   Compiling os_pipe v0.9.1
   Compiling duct v0.13.4
   Compiling rand_core v0.5.1
   Compiling rand_chacha v0.2.2
   Compiling rand v0.7.3
   Compiling tempfile v3.1.0
   Compiling b3sum v0.3.4 (/home/anon/.cache/pikaur/build/b3sum/src/b3sum-0.3.4)
error: environment variable `CARGO_BIN_EXE_b3sum` not defined
 --> tests/
8 |     env!("CARGO_BIN_EXE_b3sum").into()
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

error: could not compile `b3sum`.
warning: build failed, waiting for other jobs to finish...
error: build failed
==> ERROR: A failure occurred in check().

oconnor663 commented on 2020-04-28 19:19

The upstream GitHub project now attaches prebuilt binaries to release tags. If we wanted to do a -bin variant package, that's an option.

oconnor663 commented on 2020-02-27 17:39

Ok that makes sense. I'll try to be more hygienic with my future uploads.

polyzen commented on 2020-02-27 17:28

We use --locked for reproducible builds.

oconnor663 commented on 2020-02-27 14:44

Interesting, I just noticed that the untarred files from include a Cargo.lock file, and that lockfile pins blake3 0.2.1 (rather than 0.2.2). This is probably an artifact of me publishing both crates at the same time without cleaning the repo in between. cargo install b3sum ignores that lockfile by default, but running cargo build inside the untarred source tree respects it. I'm not sure what the right thing to do is here. Maybe delete the lockfile before the build? There could be important security updates for dependencies, and it's possible that b3sum itself might not publish an update for a long time.

oconnor663 commented on 2020-01-13 20:30

The build probably depends on GCC, since the "c_avx512" feature is enabled by default in this crate, though I haven't tested it on a system without a C compiler yet.

oconnor663 commented on 2020-01-13 18:28

Thank you for putting this up so quickly!