Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 798657

Summary: sys-fabric/mstflint-4.20.0_p1 - /.../install: cannot create regular file /.../regaccess.py: File exists
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Zac Medico <zmedico>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 351559    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sys-fabric:mstflint-4.16.0_p2:20210625-045917.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-06-25 06:44:09 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-06-25 06:44:11 UTC
Created attachment 719199 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-25 06:44:12 UTC
Created attachment 719202 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-06-25 06:44:14 UTC
Created attachment 719205 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-06-25 06:44:15 UTC
Created attachment 719208 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-06-25 06:44:16 UTC
Created attachment 719211 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-25 06:44:18 UTC
Created attachment 719214 [details]
sys-fabric:mstflint-4.16.0_p2:20210625-045917.log
Comment 7 Toralf Förster gentoo-dev 2021-06-25 06:44:19 UTC
Created attachment 719217 [details]
temp.tar.bz2
Comment 8 soundbastlerlive 2021-12-18 00:17:51 UTC
I had this problem on 1 of 3 systems and weirdly, simply unemerging and reemerging (instead of updating) worked.
Comment 9 Zac Medico gentoo-dev 2022-01-11 21:27:01 UTC
I was able to suppress this with MAKEOPTS=j1 so apparently it's a parallel make issue.
Comment 10 Toralf Förster gentoo-dev 2022-02-11 15:45:21 UTC
*** Bug 820596 has been marked as a duplicate of this bug. ***
Comment 11 Toralf Förster gentoo-dev 2022-02-11 15:45:27 UTC
*** Bug 812644 has been marked as a duplicate of this bug. ***
Comment 12 Agostino Sarubbo gentoo-dev 2022-06-19 08:04:00 UTC
ci has reproduced this issue with version 4.20.0_p1 - Updating summary.
Comment 13 Christian Schmidt 2022-07-09 10:28:59 UTC
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.