Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214327 - app-admin/keepassx-0.3.1 fails to emerge with FEATURES="distcc"
Summary: app-admin/keepassx-0.3.1 fails to emerge with FEATURES="distcc"
Status: RESOLVED DUPLICATE of bug 294490
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Timo Gurr (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-23 01:25 UTC by Boian Berberov
Modified: 2009-11-24 21:52 UTC (History)
1 user (show)

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


Attachments
build.log for keepassx-0.3.3 with FEATURES="distcc" MAKEOPTS="-j1" (build.log,6.57 KB, text/plain)
2008-08-28 07:59 UTC, Boian Berberov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boian Berberov 2008-03-23 01:25:21 UTC
app-admin/keepassx-0.3.1 fails to emerge when FEATURES has "distcc"  I tested on both x86 and amd64.  When FEATURES="-distcc" was used, everything worked correctly.

Reproducible: Always

Steps to Reproduce:
1. emerge app-admin/keepassx-0.3.1
2.
3.

Actual Results:  
 * Processing qmake keepass.pro ...                                                                                                                                              [ ok ]
cc1: error: ../build/keepassx: No such file or directory
cc1: error: ../build/keepassx: No such file or directory
cc1: error: ../build/keepassx: No such file or directory
distcc[8530] ERROR: compile crypto/aes_modes.c on two.local failed
make[1]: *** [../build/aes_modes.o] Error 1
make[1]: *** Waiting for unfinished jobs....
distcc[8528] ERROR: compile crypto/aescrypt.c on one.local failed
make[1]: *** [../build/aescrypt.o] Error 1
distcc[8534] ERROR: compile crypto/aestab.c on four.local failed
make[1]: *** [../build/aestab.o] Error 1
make: *** [sub-src-make_default] Error 2
 *
 * ERROR: app-admin/keepassx-0.3.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2585:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-admin/keepassx-0.3.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/keepassx-0.3.1/temp/environment'.
 *
Comment 1 Boian Berberov 2008-08-28 07:59:00 UTC
Created attachment 163964 [details]
build.log for keepassx-0.3.3 with FEATURES="distcc" MAKEOPTS="-j1"

This was requested in bug 235742 by a developer
Comment 2 Zac Medico gentoo-dev 2008-08-29 20:41:17 UTC
I've added this temporary workaround to the ebuild:

--- keepassx-0.3.3.ebuild	14 Aug 2008 21:36:28 -0000	1.1
+++ keepassx-0.3.3.ebuild	29 Aug 2008 20:27:43 -0000
@@ -29,6 +29,7 @@
 	cd "${S}"
 	use debug && myconf="DEBUG=1"
 	eqmake4 ${PN}.pro PREFIX="${D}/usr" ${myconf} || die "eqmake4 failed"
+	PATH=${PATH#/usr/lib/distcc/bin:} # workaround for bug #214327
 	emake || die "emake failed"
 }
Comment 3 Boian Berberov 2008-08-31 11:30:19 UTC
I am confirming that the workaround in comment 2 works for me.
Comment 4 Boian Berberov 2009-03-01 00:30:50 UTC
The addition of the pch USE flag in 0.4.0_beta1 makes the distcc workaround unnecessary.  I tested almost identical code with 0.3.4 and it worked.

Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-11-24 21:52:43 UTC
Closing this bug as a duplicate of bug 294490. It is technically not a dupe but bug 294490 will fix this one based on comment #4

Thanks.

*** This bug has been marked as a duplicate of bug 294490 ***