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

error: failed to run custom build command for relm4-icons v0.8.2 #14

Open
lewisHeart opened this issue Apr 11, 2024 · 3 comments
Open

Comments

@lewisHeart
Copy link

lewisHeart commented Apr 11, 2024

on cargo run return this error

error: failed to run custom build command for `relm4-icons v0.8.2`

Caused by:
  process didn't exit successfully: `/home/user/dev/program/target/debug/build/relm4-icons-b8881cef220bc5e9/build-script-build` (exit status:
 101)
  --- stderr
  Canonical manifest dir: "/home/user/dev/program/target/debug/build/relm4-icons-38946ca3132a2567/out"
  thread 'main' panicked at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/relm4-icons-0.8.2/build.rs:75:36:
  called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
@AaronErhardt
Copy link
Member

Do you have an icons.toml file next to your Cargo.toml?

@matejvrba
Copy link

matejvrba commented May 19, 2024

Just had the same issue, adding empty icons.toml fixed it.

I'm willing to fix this, but I need to know if you want build.rs to ignore the missing file or create empty icons.toml file

@hwittenborn
Copy link
Member

hwittenborn commented Jun 3, 2024

This should now be fixed from #16 (at least the error message part, if that was the source of problems in the original issue).

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

4 participants