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 ?