rust-cargo-c: FTBFS on Plucky

Bug #2089065 reported by Zixing Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rust-cargo-c (Ubuntu)
Fix Released
High
Zixing Liu

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.

Related branches

Revision history for this message
Zixing Liu (liushuyu-011) wrote (last edit ):
Adrien Nader (adrien)
tags: added: update-excuse
Changed in rust-cargo-c (Ubuntu):
assignee: nobody → Zixing Liu (liushuyu-011)
importance: Undecided → Critical
importance: Critical → High
Simon Quigley (tsimonq2)
Changed in rust-cargo-c (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.