Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947164 - dev-vcs/git-absorb-0.6.16 - [gcc-15] error: failed to run custom build command for libgit2-sys v0.17.0+1.8.1
Summary: dev-vcs/git-absorb-0.6.16 - [gcc-15] error: failed to run custom build comman...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-29 12:11 UTC by Toralf Förster
Modified: 2025-01-12 08:32 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.29 KB, text/plain)
2024-12-29 12:11 UTC, Toralf Förster
Details
dev-vcs:git-absorb-0.6.16:20241229-042319.log (dev-vcs:git-absorb-0.6.16:20241229-042319.log,78.21 KB, text/plain)
2024-12-29 12:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,186.75 KB, text/plain)
2024-12-29 12:11 UTC, Toralf Förster
Details
environment (environment,125.33 KB, text/plain)
2024-12-29 12:11 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-12-29 12:11 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,52.86 KB, application/x-xz)
2024-12-29 12:11 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,360.52 KB, application/x-xz)
2024-12-29 12:11 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,53.19 KB, application/x-xz)
2024-12-29 12:11 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.67 KB, application/x-xz)
2024-12-29 12:11 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-12-29 12:11:06 UTC
too long lines were shrinked:

     Running `/usr/lib/rust/1.83.0/bin/rustc --crate-name dirs_next --edition=2018 /var/tmp/portage/dev-vcs/git-absorb-0.6.16/work/cargo_home/gentoo/dirs-next-2.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link
     Running `/var/tmp/portage/dev-vcs/git-absorb-0.6.16/work/git-absorb-0.6.16/target/release/build/libgit2-sys-dd44916b15245bb2/build-script-build`
The following warnings were emitted during compilation:

warning: libgit2-sys@0.17.0+1.8.1: failed to probe system libgit2: 

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

Caused by:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20241225-070506

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.6
llvm-config: 19.1.6
Python 3.12.8
go version go1.23.4 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.83.0
  [3]   rust-1.83.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 8973eae8f2f199761ab312a76ae1d107071b4a95
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 29 03:33:20 2024 +0000

    2024-12-29 03:33:20 UTC

emerge -qpvO =dev-vcs/git-absorb-0.6.16
Comment 1 Toralf Förster gentoo-dev 2024-12-29 12:11:07 UTC
Created attachment 915435 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-12-29 12:11:08 UTC
Created attachment 915436 [details]
dev-vcs:git-absorb-0.6.16:20241229-042319.log
Comment 3 Toralf Förster gentoo-dev 2024-12-29 12:11:09 UTC
Created attachment 915437 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-12-29 12:11:11 UTC
Created attachment 915438 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-12-29 12:11:11 UTC
Created attachment 915439 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-12-29 12:11:12 UTC
Created attachment 915440 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-12-29 12:11:14 UTC
Created attachment 915441 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-12-29 12:11:15 UTC
Created attachment 915442 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-12-29 12:11:16 UTC
Created attachment 915443 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-01-12 03:08:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1d2d73894d83adaa84e748cb1ed9534a6885491

commit c1d2d73894d83adaa84e748cb1ed9534a6885491
Author:     Yixun Lan <dlan@gentoo.org>
AuthorDate: 2025-01-12 03:01:41 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2025-01-12 03:08:02 +0000

    dev-vcs/git-absorb: fix libgit2 dep
    
    Closes: https://bugs.gentoo.org/947164
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 .../{git-absorb-0.6.16.ebuild => git-absorb-0.6.16-r1.ebuild}          | 3 ++-
 .../{git-absorb-0.6.17.ebuild => git-absorb-0.6.17-r1.ebuild}          | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
Comment 11 Ferenc Erki 2025-01-12 08:09:49 UTC
Thanks for working on this! Unfortunately building =dev-vcs/git-absorb-0.6.17-r1 still fails with:

  cargo:warning=failed to probe system libgit2:
  pkg-config exited with status code 1
  > PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 x86_64-pc-linux-gnu-pkg-config --libs --cflags libgit2 libgit2 >= 1.9.0 libgit2 < 1.10.0

  The system library `libgit2` required by crate `libgit2-sys` was not found.

It apparently requires at least >=dev-libs/libgit2-1.9:= and the commit above still sets the minimum dependency to 1.8:=
Comment 12 Yixun Lan archtester gentoo-dev 2025-01-12 08:32:12 UTC
(In reply to Ferenc Erki from comment #11)
> Thanks for working on this! Unfortunately building
...
> 
> It apparently requires at least >=dev-libs/libgit2-1.9:= and the commit
> above still sets the minimum dependency to 1.8:=

sorry, I failed to update, will fix