-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Unable to build project #86
Comments
Hi @DirkSchueler, could you please try to update your version of Rust? Eruption requires the current stable version of |
Quiet easy solution! Thank you! |
After Pulling the current Repo Caused by: Caused by: Updating Rust to version 1.56.1 solved that, but warning: error: failed to run custom build command for |
@DirkSchueler, thanks for reporting this issue! The problem can be fixed by installing the packages |
Sorry, but sudo apt install libusb-1.0-0-dev libhidapi-dev libevdev-dev libudev-dev libdbus-1-dev and sudo apt install libusb-1.0-0-dev libhidapi-dev libevdev-dev libudev-dev libdbus-1-dev libpulse-dev luajit libluajit-5.1-dev libx11-dev libxrandr-dev libgtk-3-dev libgdk-pixbuf2.0-dev libatk1.0-dev libpango1.0-dev libcairo2-dev gtksourceview4 |
Please try to build using the following command: cargo build --release --all --no-default-features --features sensors-most This will disable the syntax highlighting in the Eruption GUI since your version of Ubuntu does not provide the package required for it. The |
build fails because it requires resolver which is nightly feature, but I can't get it to switch to nightly even though it's installed as default with rustup as a required dependency.
|
Hi @alkaris2, could you please try to update your installation of Rust (and the cargo binary) using: $ rustup self update
$ rustup update
$ rustup default nightly If the build still fails, please post the output of $ cargo -V |
Introduction
Building is documented as install.md begins with "cargo build --all --release", but leads to several
errors on my device, although it went fine a few weeks ago.
Please describe the bug
cargo build --all --release
Updating crates.io index
Downloaded wyz v0.4.0
Downloaded bitvec v0.22.3
Downloaded lockfile v0.3.0
Downloaded crc8 v0.1.1
Downloaded 4 crates (229.8 KB) in 0.48s
Compiling crc8 v0.1.1
Compiling wyz v0.4.0
Compiling lockfile v0.3.0
Compiling eruption v0.1.23 (/home/dirk/data/eruption/eruption)
Compiling chrono v0.4.19
Compiling clap v3.0.0-beta.4
Compiling rust-pulsectl v0.2.6 (https://github.com/X3n0m0rph59/pulsectl.git?branch=master#09c36e6c)
Compiling libpulse-simple-binding v2.24.1
Compiling dbus-tokio v0.7.4
error[E0658]: arbitrary expressions in key-value attributes are unstable
--> /home/dirk/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-3.0.0-beta.4/src/lib.rs:8:10
|
8 | #![doc = include_str!("../README.md")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #78835 rust-lang/rust#78835 for more information
Compiling sysinfo v0.20.3
Compiling glib-sys v0.14.0
Compiling tiff v0.6.1
Compiling bitvec v0.22.3
Compiling phf v0.9.0
error[E0710]: an unknown tool name found in scoped lint:
rustdoc::broken_intra_doc_links
--> /home/dirk/.cargo/registry/src/github.com-1ecc6299db9ec823/sysinfo-0.20.3/src/lib.rs:13:9
|
13 | #![deny(rustdoc::broken_intra_doc_links)]
| ^^^^^^^
error[E0658]: arbitrary expressions in key-value attributes are unstable
--> /home/dirk/.cargo/registry/src/github.com-1ecc6299db9ec823/sysinfo-0.20.3/src/lib.rs:10:10
|
10 | #![doc = include_str!("../README.md")]
.
.
.
.
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error[E0658]: use of unstable library feature 'osstring_ascii'
--> /home/dirk/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-3.0.0-beta.4/src/parse/matches/matched_arg.rs:130:19
|
130 | v.eq_ignore_ascii_case(val)
| ^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #70516 rust-lang/rust#70516 for more information
error: aborting due to 2 previous errors
For more information about this error, try
rustc --explain E0658
.error: build failed
To Reproduce
Steps to reproduce the behavior:
Call cargo build --all --release ....
Expected behavior
Succesfull compilation
Logs
Please provide logs:
sudo journalctl -u eruption.service -b
Screenshots (optional)
If applicable, add screenshots to help explain your problem.
Please complete the following information:
sudo lsusb
)Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: