rdlibtool: install: /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c libreg_access.a /var/tmp/portage/sys-fabric/mstflint-4.16.0_p2/image/usr/lib64 /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 regaccess.py '/var/tmp/portage/sys-fabric/mstflint-4.16.0_p2/image/usr/lib64/mstflint/python_tools/' /usr/bin/install: cannot create regular file '/var/tmp/portage/sys-fabric/mstflint-4.16.0_p2/image/usr/lib64/mstflint/python_tools/regaccess.py': File exists make[2]: *** [Makefile:521: install-dist_reg_access_pylibDATA] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/sys-fabric/mstflint-4.16.0_p2/work/mstflint-4.16.0-2/reg_access' make[1]: *** [Makefile:660: install-am] Error 2 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-j3-20210621-104403 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.1.0 * clang version 12.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.0 Python 3.9.5 Available Rust versions: [1] rust-bin-1.53.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit 57a30e6f5a59615c1c08d926430ccba453bfd3b1 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Jun 25 02:21:38 2021 +0000 2021-06-25 02:21:37 UTC emerge -qpvO sys-fabric/mstflint [ebuild N ] sys-fabric/mstflint-4.16.0_p2 USE="ssl -adb-generic-tools -inband"
Created attachment 719199 [details] emerge-info.txt
Created attachment 719202 [details] emerge-history.txt
Created attachment 719205 [details] environment
Created attachment 719208 [details] etc.portage.tar.bz2
Created attachment 719211 [details] logs.tar.bz2
Created attachment 719214 [details] sys-fabric:mstflint-4.16.0_p2:20210625-045917.log
Created attachment 719217 [details] temp.tar.bz2
I had this problem on 1 of 3 systems and weirdly, simply unemerging and reemerging (instead of updating) worked.
I was able to suppress this with MAKEOPTS=j1 so apparently it's a parallel make issue.
*** Bug 820596 has been marked as a duplicate of this bug. ***
*** Bug 812644 has been marked as a duplicate of this bug. ***
ci has reproduced this issue with version 4.20.0_p1 - Updating summary.
I have a the bug bug (different file though): /bin/mkdir -p '/tmp/portage/portage/sys-fabric/mstflint-4.20.0_p1/image/usr/lib64/mstflint/python_tools/' /bin/mkdir -p '/tmp/portage/portage/sys-fabric/mstflint-4.20.0_p1/image/usr/lib64/mstflint/python_tools/' /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c -m 644 mtcr.py '/tmp/portage/portage/sys-fabric/mstflint-4.20.0_p1/image/usr/lib64/mstflint/python_tools/' /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c -m 644 cmtcr.so mtcr.py '/tmp/portage/portage/sys-fabric/mstflint-4.20.0_p1/image/usr/lib64/mstflint/python_tools/' /usr/bin/install: cannot create regular file '/tmp/portage/portage/sys-fabric/mstflint-4.20.0_p1/image/usr/lib64/mstflint/python_tools/mtcr.py': File exists make[2]: *** [Makefile:413: install-mtcr_pylibDATA] Error 1 make[2]: Leaving directory '/tmp/portage/portage/sys-fabric/mstflint-4.20.0_p1/work/mstflint-4.20.0-1/mtcr_py' make[1]: *** [Makefile:484: install-am] Error 2 make[1]: Leaving directory '/tmp/portage/portage/sys-fabric/mstflint-4.20.0_p1/work/mstflint-4.20.0-1/mtcr_py' make: *** [Makefile:552: install-recursive] Error 1 As others have mentioned, running the install phase through ebuild without sourcing make.conf for higher -j options makes the install work.