GNU bug report logs - #49118
28.0.50; Error: File error Opening output file

Previous Next

Package: emacs;

Reported by: Manuel Uberti <manuel.uberti <at> inventati.org>

Date: Sat, 19 Jun 2021 14:22:02 UTC

Severity: normal

Found in version 28.0.50

Done: Andrea Corallo <akrl <at> sdf.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 49118 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Uberti <manuel.uberti <at> inventati.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 49118 <at> debbugs.gnu.org
Subject: Re: bug#49118: 28.0.50; Error: File error Opening output file
Date: Sat, 19 Jun 2021 16:34:41 +0200
On 19/06/21 16:32, Eli Zaretskii wrote:
> What happens if you invoke the native-compilation like this:
> 
>    $ emacs -batch -l comp -f batch-native-compile /usr/local/share/emacs/28.0.50/lisp/time.el.gz
> 
> Does this also fail, and if so, what error message(s) do you see?

This is what I get:

manuel <at> hathaway:~$ emacs -batch -l comp -f batch-native-compile 
/usr/local/share/emacs/28.0.50/lisp/time.el.gz
uncompressing time.el.gz...
uncompressing time.el.gz...done
Debugger entered--Lisp error: (file-error 
"/usr/local/share/emacs/28.0.50/lisp/time.el.gz" "Opening output file" "Cannot 
overwrite file" "/usr/local/share/emacs/28.0.50/lisp/time.elc")
  signal(file-error ("/usr/local/share/emacs/28.0.50/lisp/time.el.gz" "Opening 
output file" "Cannot overwrite file" 
"/usr/local/share/emacs/28.0.50/lisp/time.elc"))
  comp--native-compile("/usr/local/share/emacs/28.0.50/lisp/time.el.gz")
  batch-native-compile()
  command-line-1(("-l" "comp" "-f" "batch-native-compile" 
"/usr/local/share/emacs/28.0.50/lisp/time.el.gz"))
  command-line()
  normal-top-level()

This is using sudo to invoke the same command:

manuel <at> hathaway:~$ sudo emacs -batch -l comp -f batch-native-compile 
/usr/local/share/emacs/28.0.50/lisp/time.el.gz
[sudo] password for manuel:
uncompressing time.el.gz...
uncompressing time.el.gz...done
uncompressing time.el.gz...
uncompressing time.el.gz...done

-- 
Manuel Uberti
www.manueluberti.eu




This bug report was last modified 4 years and 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.