Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202696 - app-misc/detox-1.2.0_rc3 fails in src_install
Summary: app-misc/detox-1.2.0_rc3 fails in src_install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-18 14:14 UTC by Ulrich Müller
Modified: 2007-12-18 21:33 UTC (History)
0 users

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


Attachments
detox-1.2.0_rc3-install.patch (detox-1.2.0_rc3-install.patch,1.06 KB, patch)
2007-12-18 14:16 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2007-12-18 14:14:29 UTC
Fails parallel install, not always reproducible.

>>> Install detox-1.2.0_rc3 into /var/tmp/portage/app-misc/detox-1.2.0_rc3/image/ category app-misc
/usr/bin/install -c -m 755 -d /var/tmp/portage/app-misc/detox-1.2.0_rc3/image//usr/bin
/usr/bin/install -c -m 755 -d /var/tmp/portage/app-misc/detox-1.2.0_rc3/image//usr/share/man/man1
/usr/bin/install -c -m 755 -d /var/tmp/portage/app-misc/detox-1.2.0_rc3/image//usr/share/man/man5
/usr/bin/install -c -m 755 -d /var/tmp/portage/app-misc/detox-1.2.0_rc3/image//etc
/usr/bin/install: cannot create directory `/var/tmp/portage/app-misc/detox-1.2.0_rc3/image//etc': File exists
make: *** [install-base] Error 1
make: *** Waiting for unfinished jobs....
 * 
 * ERROR: app-misc/detox-1.2.0_rc3 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_install
 *             environment, line 2032:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" install || diefunc "$FUNCNAME" "$LINENO" "$?" "emake install failed";
 *  The die message:
 *   emake install failed

After this, ${D}/etc is not a directory, but a file (namely ${S}/detoxrc).
Comment 1 Ulrich Müller gentoo-dev 2007-12-18 14:16:00 UTC
Created attachment 138817 [details, diff]
detox-1.2.0_rc3-install.patch

This should hopefully fix it.
Comment 2 Ulrich Müller gentoo-dev 2007-12-18 21:33:18 UTC
Fixed by using emake -j1, as discussed with armin76 on IRC.