[Bug 2089065] [NEW] rust-cargo-c: FTBFS on Plucky

Launchpad Bug Tracker 2089065 at bugs.launchpad.net
Tue Nov 19 22:16:57 UTC 2024


You have been subscribed to a public bug by Zixing Liu (liushuyu-011):

Doesn't build on Plucky using libgit2 1.8:

  pkg-config exited with status code 1
  > PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags libgit2 libgit2 >= 1.7.1 libgit2 < 1.8.0

  The system library `libgit2` required by crate `libgit2-sys` was not found.
  The file `libgit2.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 `libgit2.pc`.


  --- stderr
  thread 'main' panicked at /<<PKGBUILDDIR>>/vendor/libgit2-sys/build.rs:39:13:
  The environment variable `LIBGIT2_NO_VENDOR` has been set but no compatible system libgit2 could be found.
  The build is now aborting. To disable, unset the variable or use `LIBGIT2_NO_VENDOR=0`.

  stack backtrace:
     0: std::panicking::begin_panic
               at /build/rustc-1.80-R0vcdR/rustc-1.80-1.80.1+dfsg0ubuntu1/library/std/src/panicking.rs:693:12
     1: build_script_build::main
               at ./build.rs:39:13
     2: core::ops::function::FnOnce::call_once
               at /build/rustc-1.80-R0vcdR/rustc-1.80-1.80.1+dfsg0ubuntu1/library/core/src/ops/function.rs:250:5
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

** Affects: rust-cargo-c (Ubuntu)
     Importance: Undecided
         Status: New

-- 
rust-cargo-c: FTBFS on Plucky
https://bugs.launchpad.net/bugs/2089065
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list