On Sat, Nov 24, 2012 at 10:47:19AM +0100, Andreas Beckmann wrote: > 1m4.7s ERROR: FAIL: Package purging left files on system: > /root/.gnupg/ not owned > /root/.gnupg/gpg.conf not owned > /root/.gnupg/pubring.gpg not owned > /root/.gnupg/secring.gpg not owned
This is emacs running 'gpg --with-colons --list-config' during byte-compilation. This can be fixed by setting the GNUPGHOME variable, see attached patch. Berto
diff --git a/debian/gnus.emacsen-install b/debian/gnus.emacsen-install index 855b75f..3e43288 100644 --- a/debian/gnus.emacsen-install +++ b/debian/gnus.emacsen-install @@ -46,10 +46,12 @@ case "$FLAVOUR" in fi cd $ELDIR/lisp + export GNUPGHOME=`mktemp -d /tmp/tmp.XXXXXX` LOG=$ELCDIR/install.log.new - trap "test ! -f $LOG || mv -f $LOG $ELCDIR/install.log > /dev/null 2>&1" EXIT + trap "rm -rf $GNUPGHOME ; test ! -f $LOG || mv -f $LOG $ELCDIR/install.log > /dev/null 2>&1" EXIT make EMACS=/usr/bin/$FLAVOUR > $LOG 2>&1 ; + rm -rf $GNUPGHOME COMPILED=$(ls -1 *.elc) if [ "X$COMPILED" = "X" ]; then echo >&2 "No compiled files exist!!"