Hi! Emerge of gpgme on amd64 fails with: [...] if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gpgme -march=k8 -O2 -pipe -funroll-loops -fPIC -I../assuan/ -MT t-genkey.o -MD -MP -MF ".deps/t-genkey.Tpo" -c -o t-genkey.o t-genkey.c; \ then mv -f ".deps/t-genkey.Tpo" ".deps/t-genkey.Po"; else rm -f ".deps/t-genkey.Tpo"; exit 1; fi srcdir=. ./mkdemodirs gpg: can't create `secdemo.gpg': Permission denied gpg: no valid OpenPGP data found. gpg: dearmoring failed: file create error make[3]: *** [Alpha/Secret.gpg] Error 2 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/gpgme-1.0.2/work/gpgme-1.0.2/tests/gpg' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gpgme-1.0.2/work/gpgme-1.0.2/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gpgme-1.0.2/work/gpgme-1.0.2' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge gpgme 2. 3. Actual Results: make phase of emerge fails with the above log. Expected Results: emerged package Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.10-gentoo-r7 x86_64) ================================================================= System uname: 2.6.10-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 23 2005, 09:35:24)] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r6 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe -funroll-loops -fPIC" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -funroll-loops -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages sandbox userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi alsa amd64 apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 caps cddb cdparanoia cdr crypt cups curl dar64 directfb divx4linux doc dvd dvdr dvdread emul-linux-x86 encode esd fam fbcon flac font-server foomaticdb fortran gdbm gif gimpprint gnome gnutls gpm gstreamer gtk gtk2 gtkhtml hal haskell i8x0 ieee1394 imagemagick imlib innodb ipv6 java jikes jp2 jpeg jpeg2k kde kdeenablefinal kdexdeltas koffice-plugin lcms libwww lm_sensors logitech-mouse lzo lzw lzw-tiff mad mmap mmqt motif mozdevelop mozilla mozsvg mp3 mpeg multilib mysql ncurses nls noamazon nptl nvidia oggvorbis openexr opengl oss pam pcre pda perl php pic png ppds pslib python qt readline ruby sasl scanner slang speex spell sqlite ssl svg tcltk tcpd tetex theora tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales vim-with-x wxwindows xface xine xml xml2 xmms xpm xprint xrandr xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL
*** Bug 87389 has been marked as a duplicate of this bug. ***
I had this exact problem on x86. I worked around it by setting *both* 'userpriv' and 'usersandbox' in FEATURES. I originally had only 'userpriv' set, like the example. The tests that are failing are supposed to be disabled, but they aren't and never appear to have been. I believe the tests fail because they aren't run with root permissions. See 'Bugzilla Bug 86613' for an alternative workround and fix. Hope this helps, cheers, John Popplewell.
I can't replicate this bug in x86 even when deliberately breaking my FEATURES to mimmick the problem.
Hi! <quote> I had this exact problem on x86. I worked around it by setting *both* 'userpriv' and 'usersandbox' in FEATURES. I originally had only 'userpriv' set, like the example. ... Hope this helps, </quote> Thank you. Emmerging with: FEATURES="usersandbox" emerge -v gpgme (i.e. adding 'usersandbox' as a feature) did the trick. Sincerely, Gour
Should this bug be closed?
(In reply to comment #5) > Should this bug be closed? Yes. Sincerely, Gour
as per OP request