Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927452 - dev-util/cargo-c-0.9.30 - error: failed to run custom build command for libgit2-sys v0.16.2+1.7.2
Summary: dev-util/cargo-c-0.9.30 - error: failed to run custom build command for libgi...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-21 18:51 UTC by Toralf Förster
Modified: 2024-11-13 21:29 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.07 KB, text/plain)
2024-03-21 18:51 UTC, Toralf Förster
Details
dev-util:cargo-c-0.9.30:20240321-055840.log (dev-util:cargo-c-0.9.30:20240321-055840.log,168.54 KB, text/plain)
2024-03-21 18:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,177.02 KB, text/plain)
2024-03-21 18:51 UTC, Toralf Förster
Details
environment (environment,150.25 KB, text/plain)
2024-03-21 18:51 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,972 bytes, application/x-xz)
2024-03-21 18:51 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,36.77 KB, application/x-xz)
2024-03-21 18:51 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,22.38 KB, application/x-xz)
2024-03-21 18:51 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,47.69 KB, application/x-xz)
2024-03-21 18:51 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,38.98 KB, application/x-xz)
2024-03-21 18:51 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-03-21 18:51:00 UTC
too long lines were shrinked:

     Running `rustc --crate-name elliptic_curve --edition=2021 /var/tmp/portage/dev-util/cargo-c-0.9.30/work/cargo_home/gentoo/elliptic-curve-0.13.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 
     Running `/var/tmp/portage/dev-util/cargo-c-0.9.30/work/cargo-c-0.9.30/target/release/build/libgit2-sys-9c3882dfd1792922/build-script-build`
The following warnings were emitted during compilation:

warning: libgit2-sys@0.16.2+1.7.2: failed to probe system libgit2: 

error: failed to run custom build command for `libgit2-sys v0.16.2+1.7.2`

Caused by:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd_merged_usr-20240318-012534

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.2
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.76.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.1 linux/amd64

  HEAD of ::gentoo
commit d3d1d2da0c411a609e57d4f39096c21be96c1d6d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Mar 21 05:49:00 2024 +0000

    2024-03-21 05:48:59 UTC

emerge -qpvO dev-util/cargo-c
[ebuild   R   ] dev-util/cargo-c-0.9.30  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2024-03-21 18:51:01 UTC
Created attachment 888072 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-03-21 18:51:02 UTC
Created attachment 888073 [details]
dev-util:cargo-c-0.9.30:20240321-055840.log
Comment 3 Toralf Förster gentoo-dev 2024-03-21 18:51:04 UTC
Created attachment 888074 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-03-21 18:51:05 UTC
Created attachment 888075 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-03-21 18:51:06 UTC
Created attachment 888076 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-03-21 18:51:07 UTC
Created attachment 888077 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-03-21 18:51:08 UTC
Created attachment 888078 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-03-21 18:51:09 UTC
Created attachment 888079 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-03-21 18:51:10 UTC
Created attachment 888080 [details]
temp.tar.xz
Comment 10 Vincent de Phily 2024-09-22 10:15:45 UTC
I'm hitting this too, now that cargo-c-0.10.4 got marked stable. It seems to requires a newer libgit2 (that I can't install yet due to other packages on my system):

    PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 x86_64-pc-linux-gnu-pkg-config --libs --cflags libgit2 libgit2 >= 1.8.1 libgit2 < 1.9.0

OTOH, cargo-c-0.10.0 compiles fine with both libgit2-1.7.2 and rust-1.80.1


So the fix might be to:
* depend on libgt2 >= 1.8.1 in cargo-c-0.10.4
* stabilize cargo-c-0.10.0


Thanks
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-13 18:36:53 UTC
(In reply to Vincent de Phily from comment #10)
> I'm hitting this too, now that cargo-c-0.10.4 got marked stable. It seems to
> requires a newer libgit2 (that I can't install yet due to other packages on
> my system):
> 
>     PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
> x86_64-pc-linux-gnu-pkg-config --libs --cflags libgit2 libgit2 >= 1.8.1
> libgit2 < 1.9.0
> 
> OTOH, cargo-c-0.10.0 compiles fine with both libgit2-1.7.2 and rust-1.80.1
> 
> 
> So the fix might be to:
> * depend on libgt2 >= 1.8.1 in cargo-c-0.10.4
> * stabilize cargo-c-0.10.0
> 
> 
> Thanks

Filed bug 943391, thanks.
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-13 21:29:34 UTC
(In reply to Vincent de Phily from comment #10)
> * depend on libgt2 >= 1.8.1 in cargo-c-0.10.4

It already does?