Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540014 - www-apps/rt: Parallel Builds Fail
Summary: www-apps/rt: Parallel Builds Fail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords:
: 543126 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-02-13 20:32 UTC by Daniel
Modified: 2015-05-19 15:50 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,5.53 KB, text/plain)
2015-02-13 20:33 UTC, Daniel
Details
build log (www-apps:rt-4.2.9-r1:20150213-201821.log,23.07 KB, text/plain)
2015-02-13 20:33 UTC, Daniel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2015-02-13 20:32:11 UTC
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
Comment 1 Daniel 2015-02-13 20:33:12 UTC
Created attachment 396410 [details]
emerge --info
Comment 2 Daniel 2015-02-13 20:33:57 UTC
Created attachment 396412 [details]
build log
Comment 3 Daniel 2015-02-16 12:15:44 UTC
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.
Comment 4 Aaron W. Swenson gentoo-dev 2015-05-14 17:55:38 UTC
This failure is actually related to parallel builds. I've got a patch made which should resolve this bug, and will upload it shortly.
Comment 5 Aaron W. Swenson gentoo-dev 2015-05-14 17:56:14 UTC
*** Bug 543126 has been marked as a duplicate of this bug. ***
Comment 6 Aaron W. Swenson gentoo-dev 2015-05-19 15:50:41 UTC
*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.