From unknown Tue Aug 19 05:26:27 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#49118 <49118@debbugs.gnu.org> To: bug#49118 <49118@debbugs.gnu.org> Subject: Status: 28.0.50; Error: File error Opening output file Reply-To: bug#49118 <49118@debbugs.gnu.org> Date: Tue, 19 Aug 2025 12:26:27 +0000 retitle 49118 28.0.50; Error: File error Opening output file reassign 49118 emacs submitter 49118 Manuel Uberti severity 49118 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 19 10:21:25 2021 Received: (at submit) by debbugs.gnu.org; 19 Jun 2021 14:21:25 +0000 Received: from localhost ([127.0.0.1]:60229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lubqe-0004S7-4M for submit@debbugs.gnu.org; Sat, 19 Jun 2021 10:21:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:35922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lubqc-0004S0-Jv for submit@debbugs.gnu.org; Sat, 19 Jun 2021 10:21:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lubqc-0001hv-DP for bug-gnu-emacs@gnu.org; Sat, 19 Jun 2021 10:21:22 -0400 Received: from confino.investici.org ([212.103.72.250]:22289) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lubqZ-0004t9-B5 for bug-gnu-emacs@gnu.org; Sat, 19 Jun 2021 10:21:22 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4G6dJ444hKz10wl for ; Sat, 19 Jun 2021 14:21:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1624112468; bh=PQsLS9CpOS7Bnlihn43PBQwC3OdWnYa2t3LukU1QZnI=; h=To:Subject:From:Date:From; b=GgBEMTfJoJjGGOGVAZIfyycqgugs8YUfQ1SfbYKTdrDz3/8dI4ylUglPJ/RQDFST9 w7nl29AMhAzIEurfch/pGbFZZqRZ8G1aVrrV4hKUj3zC34ix6ZUWjYVL0BAcy4F6NI adDIPQjHBsiZ3gx1Jq+Y75mieip7cXmYEa4ivf5k= Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: manuel.uberti@inventati.org) by localhost (Postfix) with ESMTPSA id 4G6dJ43XSbz10wJ for ; Sat, 19 Jun 2021 14:21:08 +0000 (UTC) To: bug-gnu-emacs@gnu.org Subject: 28.0.50; Error: File error Opening output file From: Manuel Uberti Message-ID: Date: Sat, 19 Jun 2021 16:21:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.103.72.250; envelope-from=manuel.uberti@inventati.org; helo=confino.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi, the following is a recipe to reproduce the problem: - I built Emacs master (commit: b9f339e8f8f6194001ca2f00d9d172851ca482bd) using these build options: --with-harfbuzz --with-native-compilation - emacs -Q - M-x emacs-init-time The *Warnings* buffer pops up with the following contents: Warning (comp): /usr/local/share/emacs/28.0.50/lisp/time.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/cconv.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/cl-lib.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): seq.el.gz:397:16: Warning: ‘seq-contains’ is an obsolete generic function (as of 27.1); use ‘seq-contains-p’ instead. Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/seq.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/bytecomp.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/gv.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/byte-opt.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/cl-extra.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/help-mode.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/cl-seq.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/rx.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/cl-macs.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/warnings.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/subr-x.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/comp-cstr.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/comp.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/mail/rfc2045.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/mail/ietf-drums.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/gnus/mm-util.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/mail/mail-utils.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/mail/rfc2047.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/mail/sendmail.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/mail/mailheader.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/gnus/gmm-utils.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/mail/mailabbrev.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/mail/rfc2231.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/gnus/mm-encode.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/gnus/mm-bodies.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/gnus/mm-decode.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/calendar/time-date.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/text-property-search.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/map.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/gnus/gnus-util.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/password-cache.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/json.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/eieio.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/eieio-core.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/auth-source.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/mail/rmail.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/epg-config.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/derived.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/epa.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/epg.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/gnus/mml-sec.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/gnus/mml.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/mail/rfc822.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/net/puny.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/rmc.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/dired.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/mail/emacsbug.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/gnus/message.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/mail/mail-extr.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/shadow.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/sort.el.gz: Error: File error Opening output file Disable showing Disable logging Warning (comp): /usr/local/share/emacs/28.0.50/lisp/emacs-lisp/pp.el.gz: Error: File error Opening output file Disable showing Disable logging In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.18, cairo version 1.16.0) of 2021-06-19 built on hathaway Repository revision: b9f339e8f8f6194001ca2f00d9d172851ca482bd Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12009000 System Description: Ubuntu 20.04 LTS Configured using: 'configure --with-harfbuzz --with-native-compilation' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LC_MESSAGES: en_GB.UTF-8 value of $LC_MONETARY: it_IT.UTF-8 value of $LC_NUMERIC: it_IT.UTF-8 value of $LC_TIME: it_IT.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs password-cache json map text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time comp comp-cstr warnings subr-x rx cl-seq cl-macs cl-extra help-mode seq byte-opt gv cl-loaddefs cl-lib bytecomp byte-compile cconv iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 69687 9172) (symbols 48 7861 1) (strings 32 21496 4730) (string-bytes 1 729373) (vectors 16 17054) (vector-slots 8 221381 14504) (floats 8 32 115) (intervals 56 226 0) (buffers 992 13)) -- Manuel Uberti www.manueluberti.eu From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 19 10:32:45 2021 Received: (at 49118) by debbugs.gnu.org; 19 Jun 2021 14:32:45 +0000 Received: from localhost ([127.0.0.1]:60251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luc1d-0004jv-LM for submit@debbugs.gnu.org; Sat, 19 Jun 2021 10:32:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luc1b-0004ji-8N for 49118@debbugs.gnu.org; Sat, 19 Jun 2021 10:32:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37536) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luc1V-0005lF-Ln; Sat, 19 Jun 2021 10:32:37 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1659 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luc1V-0008Ki-4K; Sat, 19 Jun 2021 10:32:37 -0400 Date: Sat, 19 Jun 2021 17:32:47 +0300 Message-Id: <83a6nlx6uo.fsf@gnu.org> From: Eli Zaretskii To: Manuel Uberti In-Reply-To: (message from Manuel Uberti on Sat, 19 Jun 2021 16:21:07 +0200) Subject: Re: bug#49118: 28.0.50; Error: File error Opening output file References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49118 Cc: 49118@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Manuel Uberti > Date: Sat, 19 Jun 2021 16:21:07 +0200 > > the following is a recipe to reproduce the problem: > > - I built Emacs master (commit: > b9f339e8f8f6194001ca2f00d9d172851ca482bd) using these build options: > --with-harfbuzz --with-native-compilation > - emacs -Q > - M-x emacs-init-time > > The *Warnings* buffer pops up with the following contents: > > Warning (comp): /usr/local/share/emacs/28.0.50/lisp/time.el.gz: Error: File > error Opening output file Disable showing Disable logging Maybe the same as bug#49099? 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? From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 19 10:34:47 2021 Received: (at 49118) by debbugs.gnu.org; 19 Jun 2021 14:34:47 +0000 Received: from localhost ([127.0.0.1]:60255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luc3b-0004mn-0H for submit@debbugs.gnu.org; Sat, 19 Jun 2021 10:34:47 -0400 Received: from confino.investici.org ([212.103.72.250]:48007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luc3Y-0004md-2C for 49118@debbugs.gnu.org; Sat, 19 Jun 2021 10:34:45 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4G6dbk2PSFz10yg; Sat, 19 Jun 2021 14:34:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1624113282; bh=RFsJCIwCE+M9EkH0m6WrGILcAOrRPHsqB162k5l/wQc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=LLJhiG69WcyBWV9GUq0JunWcbWyIrhgWyvQk8QtQAwgSc5C3+f+7Go9zoBjkCVKpk 89Yw0KZrf0ccirbJxET1vwtv+OhciSM/P8+p5DnBQSiwPTFjhVYPcWunpjjaEFd+wr LZHWETXcSHjbnHxw5zz4qd3WyJ6IYUeBfaZqKIm8= Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: manuel.uberti@inventati.org) by localhost (Postfix) with ESMTPSA id 4G6dbk18fJz10yV; Sat, 19 Jun 2021 14:34:42 +0000 (UTC) Subject: Re: bug#49118: 28.0.50; Error: File error Opening output file To: Eli Zaretskii References: <83a6nlx6uo.fsf@gnu.org> From: Manuel Uberti Message-ID: Date: Sat, 19 Jun 2021 16:34:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <83a6nlx6uo.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 49118 Cc: 49118@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.2 (-) 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@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@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 From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 19 10:55:41 2021 Received: (at 49118) by debbugs.gnu.org; 19 Jun 2021 14:55:41 +0000 Received: from localhost ([127.0.0.1]:60263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lucNp-0005GC-1h for submit@debbugs.gnu.org; Sat, 19 Jun 2021 10:55:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lucNn-0005Fx-Bb for 49118@debbugs.gnu.org; Sat, 19 Jun 2021 10:55:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37692) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lucNg-0007dW-1U; Sat, 19 Jun 2021 10:55:32 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3096 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lucNf-0008Uy-M8; Sat, 19 Jun 2021 10:55:32 -0400 Date: Sat, 19 Jun 2021 17:55:39 +0300 Message-Id: <838s35x5sk.fsf@gnu.org> From: Eli Zaretskii To: Manuel Uberti , Andrea Corallo In-Reply-To: (message from Manuel Uberti on Sat, 19 Jun 2021 16:34:41 +0200) Subject: Re: bug#49118: 28.0.50; Error: File error Opening output file References: <83a6nlx6uo.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49118 Cc: 49118@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 49118@debbugs.gnu.org > From: Manuel Uberti > 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@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() Thanks. Andrea, this means bug#48978 was not entirely fixed: we are still trying to write the *.elc files when native-compiling. Your last change prevented Emacs from trying to create a temporary file under /usr/share/emacs, but it didn't prevent the rest of byte-compile-file from trying to overwrite the original .elc file, which here causes us to signal an error. We need to avoid writing the .elc file entirely in this case, I think. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 21 06:21:31 2021 Received: (at 49118) by debbugs.gnu.org; 21 Jun 2021 10:21:31 +0000 Received: from localhost ([127.0.0.1]:35509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvH3b-0004Ne-Cp for submit@debbugs.gnu.org; Mon, 21 Jun 2021 06:21:31 -0400 Received: from mx.sdf.org ([205.166.94.24]:58193) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvH3Y-0004NT-Pw for 49118@debbugs.gnu.org; Mon, 21 Jun 2021 06:21:29 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 15LALPsV019937 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 21 Jun 2021 10:21:25 GMT From: Andrea Corallo To: Eli Zaretskii Subject: Re: bug#49118: 28.0.50; Error: File error Opening output file References: <83a6nlx6uo.fsf@gnu.org> <838s35x5sk.fsf@gnu.org> Date: Mon, 21 Jun 2021 10:21:25 +0000 In-Reply-To: <838s35x5sk.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 19 Jun 2021 17:55:39 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 49118 Cc: Manuel Uberti , 49118@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> Cc: 49118@debbugs.gnu.org >> From: Manuel Uberti >> 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@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() > > Thanks. > > Andrea, this means bug#48978 was not entirely fixed: we are still > trying to write the *.elc files when native-compiling. Your last > change prevented Emacs from trying to create a temporary file under > /usr/share/emacs, but it didn't prevent the rest of byte-compile-file > from trying to overwrite the original .elc file, which here causes us > to signal an error. We need to avoid writing the .elc file entirely > in this case, I think. Hi Eli, agreed, hopefully a4fb5811fa does a better job at this, please have a look. Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 21 06:33:33 2021 Received: (at 49118) by debbugs.gnu.org; 21 Jun 2021 10:33:33 +0000 Received: from localhost ([127.0.0.1]:35538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvHFF-0005BE-HA for submit@debbugs.gnu.org; Mon, 21 Jun 2021 06:33:33 -0400 Received: from latitanza.investici.org ([82.94.249.234]:61715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvHFC-0005B1-Nr for 49118@debbugs.gnu.org; Mon, 21 Jun 2021 06:33:31 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4G7m8T0d7VzGp3W; Mon, 21 Jun 2021 10:33:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1624271609; bh=y7X8rCU6cxyihdrHzm2Pf7nROmlqCIFCfXPDIRGsUEw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=EjQS9BRIt0sRFnJGrPTp5wiIi2zUW7IuxlTW6Kuq2VPbRShqxzlhyYZLTabn4zcPi 6PguWAjVSeRXk77X7BhZ/I9TpCmq0iOYYqNv3Xv+S6Xp40JFxBZau/r/MnvjOcR6GT Oc4Fi06o9uFxXly7MdMQEI8HnIUAT0eE5+Rjv9ko= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: manuel.uberti@inventati.org) by localhost (Postfix) with ESMTPSA id 4G7m8S6t0QzGp3M; Mon, 21 Jun 2021 10:33:28 +0000 (UTC) Subject: Re: bug#49118: 28.0.50; Error: File error Opening output file To: Andrea Corallo References: <83a6nlx6uo.fsf@gnu.org> <838s35x5sk.fsf@gnu.org> From: Manuel Uberti Message-ID: Date: Mon, 21 Jun 2021 12:33:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 49118 Cc: 49118@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 21/06/21 12:21, Andrea Corallo wrote: > Hi Eli, > > agreed, hopefully a4fb5811fa does a better job at this, please have a > look. Hi Andrea, I just wanted to let you know that I tried building with your commit and I don't see the above mentioned error any more. I only see this in *Warnings*: Warning (comp): seq.el.gz:397:16: Warning: ‘seq-contains’ is an obsolete generic function (as of 27.1); use ‘seq-contains-p’ instead. But it's not related to this ticket. I know it's up to Eli to decide, but meanwhile thank you for the fix. -- Manuel Uberti www.manueluberti.eu From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 21 08:20:27 2021 Received: (at 49118) by debbugs.gnu.org; 21 Jun 2021 12:20:27 +0000 Received: from localhost ([127.0.0.1]:35707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvIuh-0003tY-5e for submit@debbugs.gnu.org; Mon, 21 Jun 2021 08:20:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvIue-0003tK-Rk for 49118@debbugs.gnu.org; Mon, 21 Jun 2021 08:20:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40742) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvIuY-0007Yy-8e; Mon, 21 Jun 2021 08:20:18 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3408 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvIuX-0000xZ-T1; Mon, 21 Jun 2021 08:20:18 -0400 Date: Mon, 21 Jun 2021 15:19:59 +0300 Message-Id: <83pmwftno0.fsf@gnu.org> From: Eli Zaretskii To: Manuel Uberti In-Reply-To: (message from Manuel Uberti on Mon, 21 Jun 2021 12:33:28 +0200) Subject: Re: bug#49118: 28.0.50; Error: File error Opening output file References: <83a6nlx6uo.fsf@gnu.org> <838s35x5sk.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 49118 Cc: 49118@debbugs.gnu.org, akrl@sdf.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Manuel Uberti > Date: Mon, 21 Jun 2021 12:33:28 +0200 > Cc: 49118@debbugs.gnu.org > > On 21/06/21 12:21, Andrea Corallo wrote: > > Hi Eli, > > > > agreed, hopefully a4fb5811fa does a better job at this, please have a > > look. > > Hi Andrea, > > I just wanted to let you know that I tried building with your commit and I don't > see the above mentioned error any more. Thanks for testing. The change LGTM. Thanks, Andrea. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 21 08:34:58 2021 Received: (at 49118-done) by debbugs.gnu.org; 21 Jun 2021 12:34:58 +0000 Received: from localhost ([127.0.0.1]:35756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvJ8j-0006aT-PP for submit@debbugs.gnu.org; Mon, 21 Jun 2021 08:34:57 -0400 Received: from mx.sdf.org ([205.166.94.24]:61794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lvJ8f-0006aF-LP for 49118-done@debbugs.gnu.org; Mon, 21 Jun 2021 08:34:55 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 15LCYqfO012270 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 21 Jun 2021 12:34:52 GMT From: Andrea Corallo To: Eli Zaretskii Subject: Re: bug#49118: 28.0.50; Error: File error Opening output file References: <83a6nlx6uo.fsf@gnu.org> <838s35x5sk.fsf@gnu.org> <83pmwftno0.fsf@gnu.org> Date: Mon, 21 Jun 2021 12:34:52 +0000 In-Reply-To: <83pmwftno0.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 21 Jun 2021 15:19:59 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 49118-done Cc: Manuel Uberti , 49118-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> From: Manuel Uberti >> Date: Mon, 21 Jun 2021 12:33:28 +0200 >> Cc: 49118@debbugs.gnu.org >> >> On 21/06/21 12:21, Andrea Corallo wrote: >> > Hi Eli, >> > >> > agreed, hopefully a4fb5811fa does a better job at this, please have a >> > look. >> >> Hi Andrea, >> >> I just wanted to let you know that I tried building with your commit and I don't >> see the above mentioned error any more. > > Thanks for testing. The change LGTM. Thanks, Andrea. Nice, closing then. Thanks all Andrea From unknown Tue Aug 19 05:26:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 20 Jul 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator