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

Simon Quigley 2089065 at bugs.launchpad.net
Fri Dec 20 20:58:51 UTC 2024


** Changed in: rust-cargo-c (Ubuntu)
       Status: New => Fix Released

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

Title:
  rust-cargo-c: FTBFS on Plucky

Status in rust-cargo-c package in Ubuntu:
  Fix Released

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-cargo-c/+bug/2089065/+subscriptions




More information about the Ubuntu-sponsors mailing list