cosmic-utils / clipboard-manager

Clipboard manager for COSMIC™
GNU General Public License v3.0
55 stars 7 forks source link

pop alpha 3 can't install it from GitHub script #100

Closed Stradios closed 2 weeks ago

Stradios commented 2 weeks ago

Bug Description pop alpha 3

just build-release

Expected Result

Steps to Reproduce

Possible Solutions (optional)

Possible Additional Information (optional)

Logs (optional)

cargo build --release Compiling serde v1.0.210 Compiling bytemuck v1.18.0 Compiling thiserror v1.0.64 Compiling tracing v0.1.40 Compiling smithay-client-toolkit v0.19.2 Compiling siphasher v0.3.11 Compiling raw-window-handle v0.6.2 error: failed to run custom build command for smithay-client-toolkit v0.19.2 note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by: process didn't exit successfully: /home/stradios/Downloads/clipboard-manager/target/release/build/smithay-client-toolkit-47b13e4afcf21a64/build-script-build (exit status: 101) --- stdout cargo:rerun-if-env-changed=XKBCOMMON_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=XKBCOMMON_STATIC cargo:rerun-if-env-changed=XKBCOMMON_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 /home/stradios/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smithay-client-toolkit-0.19.2/build.rs:3:49: called Result::unwrap() on an Err value: "\npkg-config exited with status code 1\n> PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags xkbcommon\n\nThe system library xkbcommon required by crate smithay-client-toolkit was not found.\nThe file xkbcommon.pc needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.\nThe PKG_CONFIG_PATH environment variable is not set.\n\nHINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing xkbcommon.pc.\n" stack backtrace: 0: rust_begin_unwind 1: core::panicking::panic_fmt 2: core::result::unwrap_failed 3: build_script_build::main 4: core::ops::function::FnOnce::call_once note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace. warning: build failed, waiting for other jobs to finish... error: Recipe build-release failed on line 27 with exit code 101

Stradios commented 2 weeks ago

sudo just install install -Dm0755 target/release/cosmic-ext-applet-clipboard-manager /usr/bin/cosmic-ext-applet-clipboard-manager install: cannot stat 'target/release/cosmic-ext-applet-clipboard-manager': No such file or directory error: Recipe install failed on line 30 with exit code 1

uiYzzi commented 2 weeks ago

me too

wiiznokes commented 2 weeks ago

sudo apt install just libxkbcommon-dev I still need to add this to the readme... #66