keygen.o pipemode.o helptext.o keyserver.o photoid.o exec.o ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a -ldl -lz make[2]: Leaving directory `/var/tmp/portage/gnupg-1.0.7/work/gnupg-1.0.7/g10' Making all in keyserver make[2]: Entering directory `/var/tmp/portage/gnupg-1.0.7/work/gnupg-1.0.7/keyserver' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/gnupg-1.0.7/work/gnupg-1.0.7/keyserver' Making all in po make[2]: Entering directory `/var/tmp/portage/gnupg-1.0.7/work/gnupg-1.0.7/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/gnupg-1.0.7/work/gnupg-1.0.7/po' Making all in doc make[2]: Entering directory `/var/tmp/portage/gnupg-1.0.7/work/gnupg-1.0.7/doc' make all-am make[3]: Entering directory `/var/tmp/portage/gnupg-1.0.7/work/gnupg-1.0.7/doc' cd . \ && /bin/sh /var/tmp/portage/gnupg-1.0.7/work/gnupg-1.0.7/scripts/missing --run makeinfo \ `echo gpgv.texi | sed 's,.*/,,'` make[3]: Leaving directory `/var/tmp/portage/gnupg-1.0.7/work/gnupg-1.0.7/doc' make[2]: Leaving directory `/var/tmp/portage/gnupg-1.0.7/work/gnupg-1.0.7/doc' Making all in checks make[2]: Entering directory `/var/tmp/portage/gnupg-1.0.7/work/gnupg-1.0.7/checks' echo '#!/bin/sh' >./gpg_dearmor ./gpg_dearmor > ./secring.gpg < ./secring.asc echo "../g10/gpg --no-options --no-greeting \ --no-secmem-warning --batch --dearmor" >>./gpg_dearmor /bin/sh: ./gpg_dearmor: /bin/sh: bad interpreter: Permission denied chmod 755 ./gpg_dearmor make[2]: *** [secring.gpg] Error 126 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/gnupg-1.0.7/work/gnupg-1.0.7/checks' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnupg-1.0.7/work/gnupg-1.0.7' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -125, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/app-crypt/gnupg/gnupg-1.0.7.ebuild . It compiles on but fails with executing /bin/sh
It seems that emerging it twice did the trick .. so I got it installed now but it still failed the first time
I believe this is caused by gnupg not being emake (parallel build) ready. Changing emake to make in the ebuild fixed this for me.
I have made the compile: emake || make || die But I need testing. Either/both of you willing to do so?
The "emake || make || die" version works for me. Is this the way to go or would it be better to just stick with "make || die" until the gnupg Makefiles are made parallel build safe? From the portage Changelog: 15 Jul 2002; Daniel Robbins <drobbins@gentoo.org> emake: no longer falls back to plain old "make" if parallel make fails. I believe it's best to fix the problem (turn parallel make off in the ebuild) rather than tweak emake to avoid it.
Seems to work here to .. but don't know if its because its was already installed
*** Bug 6087 has been marked as a duplicate of this bug. ***
*** Bug 8151 has been marked as a duplicate of this bug. ***