Make fails during "# Make upgrade scripts executable if they are in the source." chmod can't find some files. chmod: cannot access ‘/var/tmp/portage/www-apps/rt-4.2.9-r1/image/usr/share/webapps/rt/4.2.9-r1/hostroot/rt-4.2.9-r1/etc/upgrade/./split-out-cf-categories’: No such file or directory chmod: cannot access ‘/var/tmp/portage/www-apps/rt-4.2.9-r1/image/usr/share/webapps/rt/4.2.9-r1/hostroot/rt-4.2.9-r1/etc/upgrade/./upgrade-mysql-schema.pl’: No such file or directory chmod: cannot access ‘/var/tmp/portage/www-apps/rt-4.2.9-r1/image/usr/share/webapps/rt/4.2.9-r1/hostroot/rt-4.2.9-r1/etc/upgrade/./vulnerable-passwords’: No such file or director resulting in a "recipe for target 'fixperms' failed" Reproducible: Always Steps to Reproduce: emerge www-apps/rt
Created attachment 396410 [details] emerge --info
Created attachment 396412 [details] build log
As a workaround, I commented out the offending chmod line in the Makefile (#307-309), then the emerge ran OK. As, per the comment in the script, this is to "Make upgrade scripts executable" and this is not an upgrade, it probably has no bad effect on the install. But it still needs fixing, of course.
This failure is actually related to parallel builds. I've got a patch made which should resolve this bug, and will upload it shortly.
*** Bug 543126 has been marked as a duplicate of this bug. ***
*rt-4.2.11 (19 May 2015) 19 May 2015; Aaron W. Swenson <titanofold@gentoo.org> -rt-4.2.9-r1.ebuild, +rt-4.2.11.ebuild, +files/rt-makefile-serialize-install-prereqs.patch, -files/rt_apache2_fcgi.conf, -files/rt_apache2.conf: Address security bug 542882. Add patch fixing bug 540014 to serialize primary build targets while still allowing parallel building on subtargets. Remove outdated Apache configuration examples fixing bug 544566. Users should follow the online guide.