if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gpgme -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -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 /bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -I../assuan/ -o t-genkey t-genkey.o ../../gpgme/libgpgme.la i686-pc-linux-gnu-gcc -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -I../assuan/ -o .libs/t-genkey t-genkey.o ../../gpgme/.libs/libgpgme.so creating t-genkey srcdir=. ./mkdemodirs ACCESS DENIED open_wr: /mnt/Dati/Gentoo/tmp/portage/gpgme-1.1.0/work/gpgme-1.1.0/tests/gpg/secdemo.gpg gpg: impossibile creare `secdemo.gpg': Permission denied gpg: Non sono stati trovati dati OpenPGP validi. gpg: rimozione dell'armatura fallita: errore durante la creazione del file make[3]: *** [Alpha/Secret.gpg] Error 2 make[3]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/gpgme-1.1.0/work/gpgme-1.1.0/tests/gpg' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/gpgme-1.1.0/work/gpgme-1.1.0/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/gpgme-1.1.0/work/gpgme-1.1.0' make: *** [all] Error 2 !!! ERROR: app-crypt/gpgme-1.1.0 failed. !!! Function src_compile, Line 53, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-app-crypt_-_gpgme-1.1.0-8093.log" open_wr: /mnt/Dati/Gentoo/tmp/portage/gpgme-1.1.0/work/gpgme-1.1.0/tests/gpg/secdemo.gpg --------------------------------------------------------------------------------
emerge --info, please. You have some pretty non-standard PORTAGE_TMPDIR settings, it seems, also looks like the permissions are not really correct there, so include the output of 'ls -la /mnt/Dati/Gentoo/tmp/portage/' as well.
emerge info Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-rc2-git4 i686) ================================================================= System uname: 2.6.14-rc2-git4 i686 Pentium III (Katmai) Gentoo Base System version 1.12.0_pre9 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config /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/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/run/dspam" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ngi.it http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/" LANG="it_IT@euro" LC_ALL="it_IT@euro" LINGUAS="it" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X X509 Xaw3d a52 aac aalib accessibility acl acpi activefilter adns alsa apache2 apm arts audiofile avi bash-completion berkdb bidi bitmap-fonts bonobo bootsplash browserplugin caps cdda cddb cdio cdparanoia cdr cgi chroot clamav cli client codecs crypt css cups curl dba dbus dga dhcp directfb djbfft dri edl eds emboss encode ethereal exif extraengine faac faad fam fbcon ffmpeg fftw flac flash foomaticdb foreign-package fortran freetds gcj gd gdbm geometry ggi gif gimp gimpprint glx gnokii gnome gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile hal iconv idea imagemagick imap imlib innodb irda irmc jack java javascript jikes jit joystick jpeg jpeg2k junit justify kde kdeenablefinal kerberos kqemu lcd ldap libcaca libclamav libg++ libgda libusb libwww lirc live lm_sensors lzo mad mailwrapper matroska md5sum mdb mikmod mime mmx mmx2 mmxext mng mono motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network nls nntp no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly nsplugin oav odbc ogg oggvorbis opengl operanom2 oss pam pcre pda pdf pdflib pdo pear perl png pnp postgres ppds pthreads python qemu-fast qhull qt quicktime quotas readline real rrdtool rtc ruby samba scanner sdl server session sftplogging sguil slang slp snortsam soap sockets socks5 softmmu softquota spamassassin speex spell sqlite3 sse ssl subject-rewrite svg svga tcltk tcpd tetex tga theora tiff tokenizer truetype truetype-fonts trusted type1-fonts udev usb userlocales vidix vorbis win32codecs wsconvert wxwindows xanim xchatdccserver xchattext xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvm xvmc zlib linguas_it userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS the directory is good. all works perfectly.
Uhm, sorry, but I've asked you to post *real* emerge --info output... > open_wr: /mnt/Dati/Gentoo/tmp/portage/gpgme-1.1.0/work/gpgme-1.1.0/tests/gpg/secdemo.gpg and yet your PORTAGE_TMPDIR is /var/tmp, according to emerge --info you've posted? Also, the "directory is good" yet you get "Permission denied"? Builds just fine here, please explain the above.
ls /var/tmp -l lrwxrwxrwx 1 root root 21 3 gen 2005 /var/tmp -> /mnt/Dati/Gentoo/tmp/ it's a symlink....no var needed so it's my real emerge info, i'm not joking! cd /mnt/Dati/Gentoo/tmp/ root@blight tmp # ls -l totale 2 drwxrwxr-x 58 portage portage 1928 31 ott 15:06 portage/ drwxr-x--- 2 root root 48 19 set 19:03 portage-pkg/ drwxr-xr-x 3 tomcat tomcat 72 21 set 19:40 tomcat-5/
i forgot to say that without sandbox it works perfectly
Patrizio can you set PORTAGE_TMPDIR="/mnt/Dati/Gentoo/tmp/" and emerge with the sandbox enabled. My guess is the gpgme test actually translates symlinks before they are used. The sandbox doesn't understand the translation and therefore misses the fact that /var/tmp is /mnt/Dati/Gentoo/tmp
ok that works. so i guess that' a bug in sandbox. will you notice the sandbox mainteiner?
like bug 96? Unless you can think of a very good reason setting PORTAGE_TMPDIR to the real portage temp directory is not a good solution, I don't think its really worth the effort. The portage/sandbox people have got lots of other bugs to worry about.
this is probably a won't fix