someguynamedjosh / audiobench

Open source modular synthesizer
https://someguynamedjosh.github.io/audiobench/
GNU General Public License v3.0
77 stars 2 forks source link

Build errors on Debian Buster #28

Closed tank-trax closed 3 years ago

tank-trax commented 3 years ago

unable to build AudioBench locally

  Compiling tracing v0.1.23
   Compiling want v0.3.0
   Compiling flate2 v1.0.14
   Compiling quote v1.0.9
error[E0658]: use of unstable library feature 'manually_drop_take'
   --> /home/studio/.cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.20.1/src/boxed.rs:309:27
    |
309 |             .with_box(|b| unsafe { ManuallyDrop::take(b) })
    |                                    ^^^^^^^^^^^^^^^^^^
    |
    = note: for more information, see https://github.com/rust-lang/rust/issues/55422

error: aborting due to 129 previous errors

Some errors have detailed explanations: E0046, E0599, E0658.
For more information about an error, try `rustc --explain E0046`.
error: could not compile `bitvec`.
warning: build failed, waiting for other jobs to finish...
error: build failed
ERROR: The command "cargo build -p audiobench_clib --release" failed with exit code 101.
someguynamedjosh commented 3 years ago

What version of the Rust compiler are you using? (rustc --version)

tank-trax commented 3 years ago
rustc --version
rustc 1.41.1
someguynamedjosh commented 3 years ago

Rewinding my own compiler to that version reproduces the error. Try running rustup update to get a more recent toolchain.

tank-trax commented 3 years ago

thanks for the suggestion

I uninstalled rustc and cargo from Debian

and ran this

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

and use source $HOME/.cargo/env as an ENVIRONMENT variable and looks to be building :-)

however still inconsistencies, segfaults and missing examples :-(

someguynamedjosh commented 3 years ago

@tank-trax Can you elaborate on the problems you are still experiencing?

tank-trax commented 3 years ago

I am going to close this ticket

my apologies... unfortunately the process to compile the synths sends CPU to 100%