Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.4.23: Build fails with NotFound, message: "No such file or directory" #241

Open
yurivict opened this issue Jun 10, 2023 · 2 comments
Open

Comments

@yurivict
Copy link

     Running `/usr/ports/textproc/sad/work/target/release/build/sad-d56d8c2582aab3f5/build-script-build`
[sad 0.4.23] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
error: failed to run custom build command for `sad v0.4.23 (/usr/ports/textproc/sad/work/sad-0.4.23)`

Caused by:
  process didn't exit successfully: `/usr/ports/textproc/sad/work/target/release/build/sad-d56d8c2582aab3f5/build-script-build` (exit status: 1)
  --- stderr
  Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
warning: build failed, waiting for other jobs to finish...
warning: variable does not need to be mutable
   --> /usr/ports/textproc/sad/work/sad-0.4.23/cargo-crates/which-4.4.0/src/lib.rs:308:18
    |
308 |     pub fn regex(mut self, regex: Regex) -> Self {
    |                  ----^^^^
    |                  |
    |                  help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` on by default

warning: `which` (lib) generated 1 warning
*** Error code 101

rust-1.69.0
FreeBSD 13.2

@yurivict yurivict changed the title 0.4.23: Build fails with 0.4.23: Build fails with NotFound, message: "No such file or directory" Jun 10, 2023
@yurivict
Copy link
Author

The "python3" executable was missing.
The error log says nothing about the real reason of this failure.

@chenrui333
Copy link
Contributor

Seeing the same in homebrew build as well, Homebrew/homebrew-core#133223

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants