JojiiOfficial / LiveBudsCli

A tool to control your Galaxy buds+, Live, Buds Pro and Buds 2 Pro
https://crates.io/crates/earbuds
GNU General Public License v3.0
193 stars 16 forks source link

Failed to compile on Fedora32 #20

Closed Madeyro closed 3 years ago

Madeyro commented 3 years ago
cargo-1.48.0-1.fc32.x86_64
rust-1.48.0-1.fc32.x86_64
$ cargo install earbuds
    Updating crates.io index
  Downloaded earbuds v0.1.7
  Downloaded 1 crate (50.9 KB) in 0.72s
  Installing earbuds v0.1.7
  Downloaded async-attributes v1.1.1
  Downloaded addr2line v0.14.0
  Downloaded iovec v0.1.4
  Downloaded indexmap v1.6.1
  Downloaded num-derive v0.3.3
  Downloaded polling v2.0.2
  Downloaded parking v2.0.0
  Downloaded pkg-config v0.3.19
  Downloaded pin-project-lite v0.2.0
  Downloaded pin-utils v0.1.0
  Downloaded clap_derive v3.0.0-beta.2
  Downloaded num_cpus v1.13.0
  Downloaded object v0.22.0
  Downloaded slab v0.4.2
  Downloaded synstructure v0.12.4
  Downloaded nix v0.17.0
  Downloaded unicode-xid v0.2.1
  Downloaded derive_is_enum_variant v0.1.1
  Downloaded mpris v2.0.0-rc2
  Downloaded termcolor v1.1.2
  Downloaded unicode-width v0.1.8
  Downloaded toml v0.5.8
  Downloaded async-executor v1.4.0
  Downloaded async-mutex v1.4.0
  Downloaded autocfg v1.0.1
  Downloaded unicode-xid v0.1.0
  Downloaded failure_derive v0.1.8
  Downloaded proc-macro2 v0.3.8
  Downloaded heck v0.3.2
  Downloaded async-task v4.0.3
  Downloaded backtrace v0.3.55
  Downloaded lazy_static v1.4.0
  Downloaded futures-lite v1.11.3
  Downloaded num-traits v0.1.43
  Downloaded async-global-executor v1.4.3
  Downloaded bluetooth-serial-port-async v0.6.1
  Downloaded log v0.4.11
  Downloaded net2 v0.2.37
  Downloaded proc-macro-error-attr v1.0.4
  Downloaded version_check v0.9.2
  Downloaded textwrap v0.12.1
  Downloaded adler v0.2.3
  Downloaded waker-fn v1.1.0
  Downloaded libpulse-sys v1.16.2
  Downloaded atty v0.2.14
  Downloaded atomic-waker v1.0.0
  Downloaded cfg-if v0.1.10
  Downloaded async-io v1.3.1
  Downloaded blurz v0.4.0
  Downloaded cfg-if v1.0.0
  Downloaded cache-padded v1.1.1
  Downloaded blocking v1.0.2
  Downloaded miniz_oxide v0.4.3
  Downloaded vec-arena v1.0.0
  Downloaded concurrent-queue v1.2.2
  Downloaded crossbeam-utils v0.8.1
  Downloaded error-chain v0.11.0
  Downloaded fastrand v1.4.0
  Downloaded error-chain v0.12.4
  Downloaded glob v0.3.0
  Downloaded itoa v0.4.6
  Downloaded kv-log-macro v1.0.7
  Downloaded futures-io v0.3.8
  Downloaded rustc-demangle v0.1.18
  Downloaded quote v0.5.2
  Downloaded clap_generate v3.0.0-beta.2
  Downloaded libdbus-sys v0.2.1
  Downloaded hex v0.3.2
  Downloaded once_cell v1.5.2
  Downloaded proc-macro-error v1.0.4
  Downloaded serde v1.0.118
  Downloaded serde_json v1.0.60
  Downloaded syn v0.11.11
  Downloaded failure v0.1.8
  Downloaded darling_core v0.5.0
  Downloaded quote v0.3.15
  Downloaded from_variants v0.4.0
  Downloaded unicode-xid v0.0.4
  Downloaded ident_case v1.0.1
  Downloaded ryu v1.0.5
  Downloaded proc-macro2 v1.0.24
  Downloaded quote v1.0.8
  Downloaded galaxy_buds_live_rs v0.1.6
  Downloaded proc-macro2 v0.2.3
  Downloaded strsim v0.10.0
  Downloaded enum-kinds v0.4.1
  Downloaded async-channel v1.5.1
  Downloaded ofiles v0.2.0
  Downloaded nb-connect v1.0.2
  Downloaded enum_primitive v0.1.1
  Downloaded event-listener v2.5.1
  Downloaded memchr v2.3.4
  Downloaded quote v0.4.2
  Downloaded void v1.0.2
  Downloaded futures-core v0.3.8
  Downloaded num-traits v0.2.14
  Downloaded notify-rust v4.0.0
  Downloaded os_str_bytes v2.4.0
  Downloaded unicode-segmentation v1.7.1
  Downloaded synom v0.11.3
  Downloaded serde_derive v1.0.118
  Downloaded darling v0.5.0
  Downloaded rust-pulsectl v0.2.6
  Downloaded darling_macro v0.5.0
  Downloaded bitflags v1.2.1
  Downloaded vec_map v0.8.2
  Downloaded hashbrown v0.9.1
  Downloaded mio v0.6.23
  Downloaded from_variants_impl v0.4.0
  Downloaded dbus v0.8.4
  Downloaded dbus v0.6.5
  Downloaded libpulse-binding v2.21.0
  Downloaded async-std v1.8.0
  Downloaded clap v3.0.0-beta.2
  Downloaded syn v0.13.11
  Downloaded syn v1.0.55
  Downloaded syn v0.12.15
  Downloaded nix v0.13.1
  Downloaded nix v0.19.1
  Downloaded libc v0.2.81
  Downloaded gimli v0.23.0
  Downloaded 121 crates (5.8 MB) in 3.91s
   Compiling libc v0.2.81
   Compiling autocfg v1.0.1
   Compiling proc-macro2 v1.0.24
   Compiling unicode-xid v0.2.1
   Compiling syn v1.0.55
   Compiling cfg-if v0.1.10
   Compiling version_check v0.9.2
   Compiling pkg-config v0.3.19
   Compiling unicode-xid v0.1.0
   Compiling bitflags v1.2.1
   Compiling log v0.4.11
   Compiling memchr v2.3.4
   Compiling cache-padded v1.1.1
   Compiling futures-core v0.3.8
   Compiling waker-fn v1.1.0
   Compiling pin-project-lite v0.2.0
   Compiling fastrand v1.4.0
   Compiling parking v2.0.0
   Compiling cfg-if v1.0.0
   Compiling futures-io v0.3.8
   Compiling once_cell v1.5.2
   Compiling async-task v4.0.3
   Compiling event-listener v2.5.1
   Compiling lazy_static v1.4.0
   Compiling ident_case v1.0.1
   Compiling unicode-segmentation v1.7.1
   Compiling vec-arena v1.0.0
   Compiling void v1.0.2
   Compiling adler v0.2.3
   Compiling gimli v0.23.0
   Compiling slab v0.4.2
   Compiling nix v0.13.1
   Compiling failure_derive v0.1.8
   Compiling serde v1.0.118
   Compiling atomic-waker v1.0.0
   Compiling unicode-xid v0.0.4
   Compiling rustc-demangle v0.1.18
   Compiling error-chain v0.11.0
   Compiling ryu v1.0.5
   Compiling hashbrown v0.9.1
   Compiling object v0.22.0
   Compiling unicode-width v0.1.8
   Compiling quote v0.3.15
   Compiling pin-utils v0.1.0
   Compiling nix v0.17.0
   Compiling serde_json v1.0.60
   Compiling serde_derive v1.0.118
   Compiling os_str_bytes v2.4.0
   Compiling vec_map v0.8.2
   Compiling strsim v0.10.0
   Compiling termcolor v1.1.2
   Compiling itoa v0.4.6
   Compiling glob v0.3.0
   Compiling hex v0.3.2
   Compiling proc-macro2 v0.3.8
   Compiling proc-macro2 v0.2.3
   Compiling concurrent-queue v1.2.2
   Compiling proc-macro-error-attr v1.0.4
   Compiling proc-macro-error v1.0.4
   Compiling error-chain v0.12.4
   Compiling num-traits v0.2.14
   Compiling crossbeam-utils v0.8.1
   Compiling miniz_oxide v0.4.3
   Compiling indexmap v1.6.1
   Compiling async-mutex v1.4.0
   Compiling libdbus-sys v0.2.1
   Compiling libpulse-sys v1.16.2
   Compiling synom v0.11.3
   Compiling heck v0.3.2
   Compiling textwrap v0.12.1
   Compiling quote v0.5.2
   Compiling quote v0.4.2
   Compiling async-channel v1.5.1
error: failed to run custom build command for `libdbus-sys v0.2.1`

Caused by:
  process didn't exit successfully: `/tmp/cargo-install8lyLwQ/release/build/libdbus-sys-ad0b11745ec19ce1/build-script-build` (exit code: 101)
  --- stdout
  cargo:rerun-if-env-changed=DBUS_1_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=DBUS_1_STATIC
  cargo:rerun-if-env-changed=DBUS_1_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"dbus-1\" \"dbus-1 >= 1.6\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package dbus-1 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `dbus-1.pc\'\nto the PKG_CONFIG_PATH environment variable\nPackage \'dbus-1\', required by \'virtual:world\', not found\nPackage \'dbus-1\', required by \'virtual:world\', not found\n" } }', /home/makopec/.cargo/registry/src/github.com-1ecc6299db9ec823/libdbus-sys-0.2.1/build.rs:6:70
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to compile `earbuds v0.1.7`, intermediate artifacts can be found at `/tmp/cargo-install8lyLwQ`

Caused by:
  build failed
JojiiOfficial commented 3 years ago

This issue should have been answered here

Madeyro commented 3 years ago

Installing dbus-devel solved that.

However it now failed on building rust-pulsectl. Installing python3-pulsectl pulseaudio-libs-devel have not helped.

Compiling rust-pulsectl v0.2.6
error[E0308]: mismatched types
   --> /home/makopec/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-pulsectl-0.2.6/src/controllers/types.rs:204:20
    |
204 |             flags: item.flags,
    |                    ^^^^^^^^^^ expected struct `SinkFlagSet`, found struct `SourceFlagSet`

error[E0277]: the trait bound `Code: From<PAErr>` is not satisfied
 --> /home/makopec/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-pulsectl-0.2.6/src/errors.rs:7:32
  |
7 |         let code: Code = error.into();
  |                                ^^^^ the trait `From<PAErr>` is not implemented for `Code`
  |
  = help: the following implementations were found:
            <Code as From<libpulse_sys::error::pa_error_code_t>>
  = note: required because of the requirements on the impl of `Into<Code>` for `PAErr`

error: aborting due to 2 previous errors

Some errors have detailed explanations: E0277, E0308.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `rust-pulsectl`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `earbuds v0.1.7`, intermediate artifacts can be found at `/tmp/cargo-install3KuOfG`

Caused by:
  build failed
JojiiOfficial commented 3 years ago

Could you try to use the latest git commit instead? Simply clone this repo into a folder and run cargo build --release inside of it.

Madeyro commented 3 years ago

That got me through rust-pulsectl \o/

Then it failed on linking. I do not know Rust language, so I am afraid I can not help you with this part either:

 Compiling earbuds v0.1.7 (/home/makopec/Repositories/other/LiveBudsCli)
     Running `rustc --crate-name earbuds --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="pulse-sink"' --cfg 'feature="rust-pulsectl-fork"' -C metadata=e0e0ea226cbc43da -C extra-filename=-e0e0ea226cbc43da --out-dir /home/makopec/Repositories/other/LiveBudsCli/target/release/deps -L dependency=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps --extern async_std=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libasync_std-27d196e2276f098e.rlib --extern bluetooth_serial_port_async=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libbluetooth_serial_port_async-f57828d5fcebbb0a.rlib --extern blurz=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libblurz-040ddbd997f7d26a.rlib --extern clap=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libclap-cd80e0b6dd77d6cd.rlib --extern clap_generate=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libclap_generate-3205b146096769f4.rlib --extern galaxy_buds_live_rs=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libgalaxy_buds_live_rs-f9b85dafd6280f49.rlib --extern mpris=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libmpris-0294bf002483ebae.rlib --extern nix=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libnix-6acb9809b46f5240.rlib --extern notify_rust=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libnotify_rust-d7badfa3eea1f294.rlib --extern ofiles=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libofiles-35afaa0b1db0a51a.rlib --extern pulsectl=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libpulsectl-d86f6307fccc1e4e.rlib --extern serde=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libserde-0462c2bad6d446b7.rlib --extern serde_derive=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libserde_derive-ca9ca3c17109ac4f.so --extern serde_json=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libserde_json-287ead8db929e707.rlib --extern toml=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libtoml-49193966ab1960fe.rlib -L native=/usr/lib64 -L native=/usr/lib64`
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.earbuds.dx1wr0fn-cgu.0.rcgu.o" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.earbuds.dx1wr0fn-cgu.1.rcgu.o" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.earbuds.dx1wr0fn-cgu.10.rcgu.o" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.earbuds.dx1wr0fn-cgu.11.rcgu.o" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.earbuds.dx1wr0fn-cgu.12.rcgu.o" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.earbuds.dx1wr0fn-cgu.13.rcgu.o" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.earbuds.dx1wr0fn-cgu.14.rcgu.o" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.earbuds.dx1wr0fn-cgu.15.rcgu.o" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.earbuds.dx1wr0fn-cgu.2.rcgu.o" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.earbuds.dx1wr0fn-cgu.3.rcgu.o" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.earbuds.dx1wr0fn-cgu.4.rcgu.o" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.earbuds.dx1wr0fn-cgu.5.rcgu.o" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.earbuds.dx1wr0fn-cgu.6.rcgu.o" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.earbuds.dx1wr0fn-cgu.7.rcgu.o" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.earbuds.dx1wr0fn-cgu.8.rcgu.o" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.earbuds.dx1wr0fn-cgu.9.rcgu.o" "-o" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/earbuds-e0e0ea226cbc43da.401g5lmgk7b7txbk.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps" "-L" "/usr/lib64" "-L" "/usr/lib64" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libnix-6acb9809b46f5240.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libofiles-35afaa0b1db0a51a.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libnix-8e8c499f6fc5be0a.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libglob-7acc99bb20b470ee.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/liberror_chain-b2bbc6915fc1eaa9.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libserde_json-287ead8db929e707.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libryu-aaa4c369cda484d3.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libitoa-54cf3005fa7f974e.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libtoml-49193966ab1960fe.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libclap_generate-3205b146096769f4.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libserde-0462c2bad6d446b7.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libbluetooth_serial_port_async-f57828d5fcebbb0a.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libnix-b8de48c158800c63.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libvoid-eecda0227aac6edf.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libmio-aef429058f751570.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libiovec-1590cd3a9e5200f9.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libnet2-ac0fdc2be036fe1e.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libenum_primitive-d09734bfacf82c9c.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libnum_traits-953b802bfdc6bd04.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libnotify_rust-d7badfa3eea1f294.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libmpris-0294bf002483ebae.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libdbus-d08e584598645693.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libfrom_variants-558f4b3171c7f052.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libfailure-101af13f2cd8319a.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libbacktrace-6f97355858d5356b.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libminiz_oxide-4dc71cc579b4f9d5.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libadler-4afbbb53a80beb7d.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libobject-57e976a2e51fe649.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libaddr2line-c1826c135fec6025.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libgimli-4a074d5bd342abf8.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/librustc_demangle-993a54ba85e716e7.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libpulsectl-d86f6307fccc1e4e.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/liblibpulse_binding-e7439a80576f24ca.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/liblibpulse_sys-ff145578df2bd313.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libnum_traits-088ac7e6e3317152.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libasync_std-27d196e2276f098e.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libblocking-f1e8858adce4b2b0.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libatomic_waker-2008340946a974c0.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libasync_channel-e719db99d4e79e1c.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libasync_global_executor-3c32cf49f519b042.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libnum_cpus-e482db720da15687.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libasync_executor-3c24e50ed9b07741.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libasync_task-01c7f57d6cb9c256.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libasync_io-afa0170c8c73174e.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libnb_connect-4e81365796f8cddd.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libvec_arena-c30f15d69234ef52.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libpolling-5399c3b3dab3dc30.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libconcurrent_queue-0872abc4d1c912eb.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libcache_padded-c57b1c1db5e36744.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libonce_cell-e80e14747210a11f.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libfutures_lite-6eb843ca84e78d5b.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libmemchr-26ab100be30ddee2.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libfastrand-ba03f9a0c332a3f2.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libwaker_fn-a7e8bf064de893a3.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libparking-e44bd99837f1b62e.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libpin_project_lite-71595a562ac3cf8f.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libfutures_io-f96caa8923a6acca.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libslab-119d929e4052b880.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libcrossbeam_utils-b8965f13a1810683.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libcfg_if-96f58c8109d0efff.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libasync_mutex-b1d23eec6c651324.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libevent_listener-551c8e624d0ddf08.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libpin_project_lite-8eb8c844e35e08d6.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libfutures_core-1d0b75418d1d2cd2.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libkv_log_macro-ea895544bda328f3.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/liblog-02f9beeb1f55c3e6.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libcfg_if-063a0e9836069c2e.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libgalaxy_buds_live_rs-f9b85dafd6280f49.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libblurz-040ddbd997f7d26a.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libhex-05ce4315e45dcb61.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libdbus-722d8106420ca2f3.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/liblibdbus_sys-6fdfea8d2d32000c.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libclap-cd80e0b6dd77d6cd.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libstrsim-644fc7176ef2187b.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libatty-dd698d9a2439af52.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/liblibc-94caf51c31b42a23.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libtextwrap-2701836082c9e77c.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libvec_map-93aed1355d29afc6.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libos_str_bytes-3a8d3a3bf0b87e37.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libtermcolor-cc2df04134942e96.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libunicode_width-02519ea195267e84.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libindexmap-fb7462f1de6ec08b.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libhashbrown-4034c5e0d488bcb6.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libbitflags-93db106485a958f2.rlib" "/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/liblazy_static-80f053945d636af3.rlib" "-Wl,--start-group" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e308acd64a735422.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-6373360638ae4a7b.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-62b491dd0fb71d43.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-afaed6dd33eac302.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-674b7f664aa0d8ca.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-5a90c4f1cec4253d.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-650697cad334857c.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-eec175d6f98c3103.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-b93aa1232a79f32e.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-89fb63718b122997.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1bbbd4bb236b3c6d.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-494d2f0452ec97a9.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-21d8a721ca265d9a.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9b5e1c4558c4c8d8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-c8dd4b919e77ff00.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-031a537a21c363cf.rlib" "-Wl,--end-group" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-50812d04086b17a6.rlib" "-Wl,-Bdynamic" "-lbluetooth" "-lbluetooth" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-lpulse" "-ldbus-1" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil"
  = note: /usr/bin/ld: cannot find -lbluetooth
          /usr/bin/ld: cannot find -lbluetooth
          collect2: error: ld returned 1 exit status

error: aborting due to previous error

error: could not compile `earbuds`

Caused by:
  process didn't exit successfully: `rustc --crate-name earbuds --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="pulse-sink"' --cfg 'feature="rust-pulsectl-fork"' -C metadata=e0e0ea226cbc43da -C extra-filename=-e0e0ea226cbc43da --out-dir /home/makopec/Repositories/other/LiveBudsCli/target/release/deps -L dependency=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps --extern async_std=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libasync_std-27d196e2276f098e.rlib --extern bluetooth_serial_port_async=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libbluetooth_serial_port_async-f57828d5fcebbb0a.rlib --extern blurz=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libblurz-040ddbd997f7d26a.rlib --extern clap=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libclap-cd80e0b6dd77d6cd.rlib --extern clap_generate=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libclap_generate-3205b146096769f4.rlib --extern galaxy_buds_live_rs=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libgalaxy_buds_live_rs-f9b85dafd6280f49.rlib --extern mpris=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libmpris-0294bf002483ebae.rlib --extern nix=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libnix-6acb9809b46f5240.rlib --extern notify_rust=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libnotify_rust-d7badfa3eea1f294.rlib --extern ofiles=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libofiles-35afaa0b1db0a51a.rlib --extern pulsectl=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libpulsectl-d86f6307fccc1e4e.rlib --extern serde=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libserde-0462c2bad6d446b7.rlib --extern serde_derive=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libserde_derive-ca9ca3c17109ac4f.so --extern serde_json=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libserde_json-287ead8db929e707.rlib --extern toml=/home/makopec/Repositories/other/LiveBudsCli/target/release/deps/libtoml-49193966ab1960fe.rlib -L native=/usr/lib64 -L native=/usr/lib64` (exit code: 1)
Madeyro commented 3 years ago

So I fixed the last error by installing bluez-libs-devel \o/

Thank you very much for your help.

JojiiOfficial commented 3 years ago

I probably should make a new release and add a more detailed dependency info to the readme. I'm glad I could help.