JustPaste.it

supergfxctl

caerus@tuf:~/supergfxctl$ make && sudo make install
cargo build --features "daemon cli" --release
   Compiling autocfg v1.1.0
   Compiling proc-macro2 v1.0.56
   Compiling quote v1.0.26
   Compiling unicode-ident v1.0.8
   Compiling libc v0.2.141
   Compiling cfg-if v1.0.0
   Compiling memchr v2.5.0
   Compiling syn v1.0.109
   Compiling futures-core v0.3.28
   Compiling log v0.4.17
   Compiling pin-project-lite v0.2.9
   Compiling crossbeam-utils v0.8.15
   Compiling typenum v1.16.0
   Compiling version_check v0.9.4
   Compiling hashbrown v0.12.3
   Compiling event-listener v2.5.3
   Compiling serde_derive v1.0.160
   Compiling winnow v0.4.1
   Compiling futures-io v0.3.28
   Compiling serde v1.0.160
   Compiling toml_datetime v0.6.1
   Compiling generic-array v0.14.7
   Compiling indexmap v1.9.3
   Compiling slab v0.4.8
   Compiling fastrand v1.9.0
   Compiling once_cell v1.17.1
   Compiling parking v2.1.0
   Compiling waker-fn v1.1.0
   Compiling async-lock v2.7.0
   Compiling io-lifetimes v1.0.10
   Compiling polling v2.7.0
   Compiling concurrent-queue v2.2.0
   Compiling memoffset v0.7.1
   Compiling static_assertions v1.1.0
   Compiling futures-task v0.3.28
   Compiling futures-lite v1.13.0
   Compiling rustix v0.37.11
   Compiling async-task v4.4.0
   Compiling bitflags v1.3.2
   Compiling async-channel v1.8.0
   Compiling async-fs v1.6.0
   Compiling aho-corasick v0.7.20
   Compiling async-io v1.13.0
   Compiling tokio v1.27.0
   Compiling syn v2.0.14
   Compiling linux-raw-sys v0.3.1
   Compiling atomic-waker v1.1.1
   Compiling pkg-config v0.3.26
   Compiling futures-util v0.3.28
   Compiling ppv-lite86 v0.2.17
   Compiling pin-utils v0.1.0
   Compiling regex-syntax v0.6.29
   Compiling async-trait v0.1.68
   Compiling byteorder v1.4.3
   Compiling tracing-core v0.1.30
   Compiling blocking v1.3.1
   Compiling getrandom v0.2.9
   Compiling toml_edit v0.19.8
   Compiling socket2 v0.4.9
   Compiling libudev-sys v0.1.4
   Compiling mio v0.8.6
   Compiling num_cpus v1.15.0
   Compiling rand_core v0.6.4
   Compiling crypto-common v0.1.6
   Compiling block-buffer v0.10.4
   Compiling rand_chacha v0.3.1
   Compiling dirs-sys v0.3.7
   Compiling cpufeatures v0.2.6
   Compiling futures-sink v0.3.28
   Compiling bytes v1.4.0
   Compiling digest v0.10.6
error: failed to run custom build command for `libudev-sys v0.1.4`

Caused by:
  process didn't exit successfully: `/home/caerus/supergfxctl/target/release/build/libudev-sys-79f5c66709342afb/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=LIBUDEV_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=LIBUDEV_STATIC
  cargo:rerun-if-env-changed=LIBUDEV_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: "Could not run `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=\"1\" PKG_CONFIG_ALLOW_SYSTEM_LIBS=\"1\" \"pkg-config\" \"--libs\" \"--cflags\" \"libudev\"`\nThe pkg-config command could not be found.\n\nMost likely, you need to install a pkg-config package for your OS.\nTry `apt install pkg-config`, or `yum install pkg-config`,\nor `pkg install pkg-config`, or `apk add pkgconfig` depending on your distribution.\n\nIf you've already installed it, ensure the pkg-config command is one of the\ndirectories in the PATH environment variable.\n\nIf you did not expect this build to link to a pre-installed system library,\nthen check documentation of the libudev-sys crate for an option to\nbuild the library from source, or disable features or dependencies\nthat require pkg-config."', /home/caerus/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libudev-sys-0.1.4/build.rs:38:41
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
make: *** [Makefile:77: build] Error 101