Created attachment 916270 [details] /var/log/portage/dev-vcs:git-2.48.0:20250111-050645.log make[1]: Entering directory '/tmp/portage/dev-vcs/git-2.48.0/work/git-2.48.0' install contrib/mw-to-git//git-remote-mediawiki contrib/mw-to-git//git-mw '/tmp/portage/dev-vcs/git-2.48.0/image/usr/libexec/git-core' make[1]: Leaving directory '/tmp/portage/dev-vcs/git-2.48.0/work/git-2.48.0' make: Leaving directory '/tmp/portage/dev-vcs/git-2.48.0/work/git-2.48.0/contrib/mw-to-git' mv: cannot overwrite '/tmp/portage/dev-vcs/git-2.48.0/image//usr/lib64/perl5/vendor_perl/5.40/Git': Directory not empty * ERROR: dev-vcs/git-2.48.0::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_install * environment, line 3888: Called die * The specific snippet of code: * mv "${ED}"/usr/share/perl5/Git "${ED}/$(perl_get_vendorlib)" || die; * * If you need support, post the output of `emerge --info '=dev-vcs/git-2.48.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-vcs/git-2.48.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-vcs:git-2.48.0:20250111-050645.log'. * For convenience, a symlink to the build log is located at '/tmp/portage/dev-vcs/git-2.48.0/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/dev-vcs/git-2.48.0/temp/environment'. * Working directory: '/tmp/portage/dev-vcs/git-2.48.0/work/git-2.48.0' * S: '/tmp/portage/dev-vcs/git-2.48.0/work/git-2.48.0'
Created attachment 916271 [details] emerge --info
I'll take a look in a few.
Needs USE=mediawiki, I think.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5a52e4ff39a8485c504f1d449597b40077bf3e6 commit b5a52e4ff39a8485c504f1d449597b40077bf3e6 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-01-11 05:57:16 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-01-11 06:36:35 +0000 dev-vcs/git: fix USE=mediawiki The Makefile actually gets the Perl handling right so if we let it install first, we already have something in the correct Perl dir, and our mv fails. Just do it afterwards instead. Closes: https://bugs.gentoo.org/947845 Signed-off-by: Sam James <sam@gentoo.org> dev-vcs/git/git-2.48.0.ebuild | 8 ++++---- dev-vcs/git/git-9999-r1.ebuild | 12 ++++-------- dev-vcs/git/git-9999-r2.ebuild | 12 ++++-------- dev-vcs/git/git-9999-r3.ebuild | 12 ++++-------- 4 files changed, 16 insertions(+), 28 deletions(-)