Skip to content
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

check fail - libadwaita-sys #83

Open
ds2k5 opened this issue Sep 24, 2024 · 0 comments
Open

check fail - libadwaita-sys #83

ds2k5 opened this issue Sep 24, 2024 · 0 comments

Comments

@ds2k5
Copy link

ds2k5 commented Sep 24, 2024


$ cargo check
  Downloaded enum-ordinalize v3.1.15
  Downloaded relm4-css v0.9.0
  Downloaded libadwaita-sys v0.7.0
  Downloaded nanorand v0.7.0
  Downloaded libadwaita v0.7.0
  Downloaded poppler-sys-rs v0.24.0
  Downloaded toml_edit v0.22.22
  Downloaded relm4-macros v0.9.0
  Downloaded winnow v0.6.19
  Downloaded relm4 v0.9.0
  Downloaded educe v0.4.23
  Downloaded poppler-rs v0.24.1
  Downloaded fragile v2.0.0
  Downloaded libc v0.2.159
  Downloaded sourceview5-sys v0.9.0
  Downloaded libpanel-sys v0.5.0
  Downloaded tracing-tree v0.2.5
  Downloaded libpanel v0.5.0
  Downloaded sourceview5 v0.9.0
  Downloaded 19 crates (1.7 MB) in 1.27s
   Compiling serde v1.0.210
   Compiling hashbrown v0.14.5
   Compiling equivalent v1.0.1
   Compiling winnow v0.6.19
   Compiling heck v0.5.0
   Compiling target-lexicon v0.12.16
   Compiling smallvec v1.13.2
   Compiling pkg-config v0.3.31
   Compiling version-compare v0.2.0
   Compiling proc-macro2 v1.0.86
   Compiling autocfg v1.3.0
   Compiling unicode-ident v1.0.13
   Compiling libc v0.2.159
   Compiling indexmap v2.5.0
    Checking pin-project-lite v0.2.14
   Compiling cfg-expr v0.17.0
   Compiling slab v0.4.9
    Checking futures-core v0.3.30
    Checking futures-sink v0.3.30
    Checking memchr v2.7.4
   Compiling quote v1.0.37
   Compiling syn v2.0.77
    Checking futures-channel v0.3.30
    Checking futures-task v0.3.30
    Checking futures-io v0.3.30
    Checking pin-utils v0.1.0
    Checking bitflags v2.6.0
   Compiling gio v0.20.1
   Compiling semver v1.0.23
   Compiling memoffset v0.9.1
    Checking once_cell v1.19.0
    Checking cfg-if v1.0.0
   Compiling num-traits v0.2.19
   Compiling lock_api v0.4.12
    Checking tracing-core v0.1.32
    Checking regex-syntax v0.8.4
    Checking log v0.4.22
    Checking regex-syntax v0.6.29
   Compiling rustc_version v0.4.1
    Checking scopeguard v1.2.0
    Checking utf8parse v0.2.2
    Checking anstyle-parse v0.2.5
    Checking getrandom v0.2.15
    Checking is_terminal_polyfill v1.70.1
    Checking overload v0.1.1
   Compiling field-offset v0.3.6
    Checking anstyle v1.0.8
    Checking anstyle-query v1.1.1
   Compiling syn v1.0.109
    Checking colorchoice v1.0.2
    Checking lazy_static v1.5.0
   Compiling relm4-css v0.9.0
    Checking sharded-slab v0.1.7
   Compiling num-integer v0.1.46
    Checking anstream v0.6.15
   Compiling num-bigint v0.4.6
    Checking nu-ansi-term v0.46.0
    Checking nanorand v0.7.0
    Checking regex-automata v0.4.7
    Checking spin v0.9.8
    Checking tracing-log v0.2.0
    Checking thread_local v1.1.8
   Compiling anyhow v1.0.89
    Checking strsim v0.11.1
   Compiling serde_json v1.0.128
    Checking clap_lex v0.7.2
   Compiling toml_datetime v0.6.8
   Compiling serde_spanned v0.6.7
    Checking regex-automata v0.1.10
    Checking clap_builder v4.5.18
   Compiling toml_edit v0.22.22
    Checking flume v0.11.0
    Checking tracing-log v0.1.4
    Checking dirs-sys v0.3.7
    Checking tokio v1.40.0
    Checking matchers v0.1.0
    Checking either v1.13.0
    Checking fragile v2.0.0
    Checking ryu v1.0.18
    Checking itoa v1.0.11
    Checking itertools v0.10.5
    Checking regex v1.10.6
    Checking directories v4.0.1
    Checking mime v0.3.17
    Checking pathdiff v0.2.1
   Compiling toml v0.8.19
   Compiling proc-macro-crate v3.2.0
   Compiling futures-macro v0.3.30
   Compiling tracing-attributes v0.1.27
   Compiling system-deps v7.0.3
   Compiling serde_derive v1.0.210
   Compiling clap_derive v4.5.18
   Compiling enum-ordinalize v3.1.15
   Compiling glib-macros v0.20.3
    Checking futures-util v0.3.30
   Compiling glib-sys v0.20.2
   Compiling gobject-sys v0.20.1
   Compiling gio-sys v0.20.1
   Compiling cairo-sys-rs v0.20.0
   Compiling gdk-pixbuf-sys v0.20.1
   Compiling pango-sys v0.20.1
   Compiling gdk4-sys v0.9.0
   Compiling graphene-sys v0.20.1
   Compiling gtk4-sys v0.9.0
   Compiling gsk4-sys v0.9.0
   Compiling libadwaita-sys v0.7.0
   Compiling gtk4-macros v0.9.1
   Compiling libpanel-sys v0.5.0
    Checking tracing v0.1.40
   Compiling sourceview5-sys v0.9.0
The following warnings were emitted during compilation:

warning: libadwaita-sys@0.7.0: 

error: failed to run custom build command for `libadwaita-sys v0.7.0`

Caused by:
  process didn't exit successfully: `/home/developer/rust/fm/target/debug/build/libadwaita-sys-81416e29ad783907/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-changed=/home/developer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libadwaita-sys-0.7.0/Cargo.toml
  cargo:rerun-if-env-changed=LIBADWAITA_1_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=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
  cargo:warning=
  pkg-config exited with status code 1
  > PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags libadwaita-1 libadwaita-1 >= 1.2

  The system library `libadwaita-1` required by crate `libadwaita-sys` was not found.
  The file `libadwaita-1.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
  The PKG_CONFIG_PATH environment variable is not set.

  HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `libadwaita-1.pc`.

warning: build failed, waiting for other jobs to finish...

How to fix this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant