cp should copy a file in a nonexistend directory Reproducible: Always Steps to Reproduce: emerge gproftpd Actual Results: mkdir -p -- /temp/portage/portage/net-ftp/gproftpd-8.3.2-r2/image/etc/pam.d if test -d /etc/security/console.apps; then \ cp etc/security/console.apps/gproftpd /temp/portage/portage/net-ftp/gproftpd-8.3.2-r2/image/etc/security/console.apps/; \ fi; cp: cannot create regular file '/temp/portage/portage/net-ftp/gproftpd-8.3.2-r2/image/etc/security/console.apps/': No such file or directory make[2]: *** [Makefile:828: install-data-local] Error 1 make[2]: Leaving directory '/temp/portage/portage/net-ftp/gproftpd-8.3.2-r2/work/gproftpd-8.3.2' make[1]: *** [Makefile:706: install-am] Error 2 make[1]: Leaving directory '/temp/portage/portage/net-ftp/gproftpd-8.3.2-r2/work/gproftpd-8.3.2' make: *** [Makefile:396: install-recursive] Error 1 * ERROR: net-ftp/gproftpd-8.3.2-r2::gentoo failed (install phase): * emake failed
Created attachment 716763 [details] build.log
Please provide emerge --info.
Created attachment 717189 [details] emerge --info
I can't reproduce this, I suspect it's a race condition. Try MAKEOPTS=-j1 ?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e127c6f10d177b16ef4a005e5d0fa4d61883de5d commit e127c6f10d177b16ef4a005e5d0fa4d61883de5d Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2022-12-20 16:20:01 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-12-20 16:30:21 +0000 net-ftp/gproftpd: treeclean Closes: https://bugs.gentoo.org/796647 Closes: https://bugs.gentoo.org/550524 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> net-ftp/gproftpd/Manifest | 1 - .../gproftpd/files/gproftpd-8.3.2-desktop.patch | 12 ----- .../gproftpd/files/gproftpd-8.3.2-fno-common.patch | 25 ---------- .../gproftpd/files/gproftpd-8.3.2-install.patch | 39 --------------- net-ftp/gproftpd/gproftpd-8.3.2-r3.ebuild | 56 ---------------------- net-ftp/gproftpd/metadata.xml | 5 -- profiles/package.mask | 1 - 7 files changed, 139 deletions(-)