* Applying git-2.37.2-unsafe-directory.patch ... patching file setup.c Hunk #1 FAILED at 1157. 1 out of 1 hunk FAILED -- saving rejects to file setup.c.rej [ !! ] * ERROR: dev-vcs/git-2.46.1::gentoo failed (prepare phase): * patch -p1 failed with /var/tmp/portage/dev-vcs/git-2.46.1/files/git-2.37.2-unsafe-directory.patch * * Call stack: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop-20240918-102504 UNMASKED: Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense. /etc/portage/package.unmask/60gcc:<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-10 [2] x86_64-pc-linux-gnu-15 * clang/llvm (if any): clang version 19.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/19/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/19 19.1.0 Python 3.12.6 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby32 (with Rubygems) [3] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.81.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21] 3) Eclipse Temurin JDK 8.422_p05 [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.23.1 linux/amd64 HEAD of ::gentoo commit df7990eca11a6da1a088cf31130dd7d931f5d151 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Sep 20 09:19:15 2024 +0000 2024-09-20 09:19:14 UTC emerge -qpvO =dev-vcs/git-2.46.1 [ebuild U ] dev-vcs/git-2.46.1 [2.46.0] USE="blksha1 curl gpg iconv nls pcre tk -cgi -cvs -doc -highlight -keyring -mediawiki -perforce -perl -safe-directory (-selinux) -subversion -test -webdav -xinetd" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13"
Created attachment 903415 [details] emerge-info.txt
Created attachment 903416 [details] dev-vcs:git-2.46.1:20240920-100018.log
Created attachment 903417 [details] emerge-history.txt
Created attachment 903418 [details] environment
Created attachment 903419 [details] etc.clang.tar.xz
Created attachment 903420 [details] etc.portage.tar.xz
Created attachment 903421 [details] qlist-info.txt
Created attachment 903422 [details] temp.tar.xz
BTW. This has nothing to do with gcc-15 (or any other) and is a regression in dev-vcs/git-2.46.1 vs 2.46.0 (and only when -safe-directory is in USE).
*** Bug 940362 has been marked as a duplicate of this bug. ***
Sorry, I'd forgot about this. I'll look today. Obviously, workaround is to just use default USE=safe-directory.
Linking my patch here too, as instructed on irc: https://github.com/gentoo/gentoo/pull/38802
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f989b3c750b5a59aabd83464b2177c73b0b932f3 commit f989b3c750b5a59aabd83464b2177c73b0b932f3 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-09-30 04:59:03 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-30 05:02:17 +0000 dev-vcs/git: rebase USE=-safe-directory patch Closes: https://github.com/gentoo/gentoo/pull/38802 Closes: https://bugs.gentoo.org/939895 Signed-off-by: Sam James <sam@gentoo.org> dev-vcs/git/files/git-2.46.2-unsafe-directory.patch | 14 ++++++++++++++ dev-vcs/git/git-2.46.2.ebuild | 2 +- dev-vcs/git/git-9999-r1.ebuild | 2 +- dev-vcs/git/git-9999-r2.ebuild | 2 +- dev-vcs/git/git-9999-r3.ebuild | 2 +- dev-vcs/git/git-9999.ebuild | 2 +- 6 files changed, 19 insertions(+), 5 deletions(-)