From unknown Wed Aug 20 01:18:11 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#47169 <47169@debbugs.gnu.org> To: bug#47169 <47169@debbugs.gnu.org> Subject: Status: 28.0.50; [feature/native-comp] native-compiler-error-empty-byte when batch-native-compiling is confusing to users Reply-To: bug#47169 <47169@debbugs.gnu.org> Date: Wed, 20 Aug 2025 08:18:11 +0000 retitle 47169 28.0.50; [feature/native-comp] native-compiler-error-empty-by= te when batch-native-compiling is confusing to users reassign 47169 emacs submitter 47169 Mauricio Collares severity 47169 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 15 13:35:32 2021 Received: (at submit) by debbugs.gnu.org; 15 Mar 2021 17:35:32 +0000 Received: from localhost ([127.0.0.1]:36830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLr7q-0003qE-O0 for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:35:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:57938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLr7p-0003q7-S1 for submit@debbugs.gnu.org; Mon, 15 Mar 2021 13:35:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLr7o-0008Ee-EI for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2021 13:35:28 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:50831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLr7b-0005Jb-QC for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2021 13:35:28 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 37C2A5C0195 for ; Mon, 15 Mar 2021 13:35:08 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 15 Mar 2021 13:35:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=collares.org; h= from:to:subject:date:message-id:mime-version:content-type; s= fm2; bh=BG17+ktT1LHgcO4OMmWtYZaogWeqaWhPcA0xM8jGJVI=; b=i/WvFo/R a68lmm1d/uVyEmX6Y5HydE2r8amzTwUC3MrJuj0AkttOKOVMhSxYBoGK39Skmx/W Sz9dqYTfNFHmU99Wn4UlnMotUIPYsheeRU9KsXk30jYvCBxBlvChLsjTK8kC55ge ly3/Zt9+JjFtG8PrGgj3wGouG4SqoleKxe+ud+Z/kibrVLaSvvAOJi6TqwZCeBJT tCkrOehHI4mFLXxPdicqzGWvxKnf0YVcAOoidrv6eGm2O0ZatlPWhWf/l5YSSJWn WKt1VRNro7oJoTCfaWm3k4bvEZ9TrYHQzIqNs9DMwAFu0c2YNeICVUgN21L6ljz+ CXWobzrTWCaiBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=BG17+ktT1LHgcO4OMmWtYZaogWeqa WhPcA0xM8jGJVI=; b=AEasXiZyaSBZH6aPz3DK1EP4FrgqOW+VarKSb73cRwuJp rCFYGfJ3F/yBxtM5lFOK/agd2DFCMqMHc5o5wC/ooqb1mPUh83RGKal1slk92zVM ajwWQkyDTpn0k9SjzWZBMeY0crDS7/v/gTEsjaIKoBrOgpxCfNuQF9d3CB5+44N8 H3B5f9MNmMf8zgP2TJkXx0NbiYC1hCcEbMKUaF1xRG5EJYG9goiVq5bd80R5Jx3p XyCSDauS8SVDqqzkGPxJnNlzwX7Nvbwjn+y1/jyQPYuW9LTWNZZPtOhqGkBua5wx oXNvMeK3CWIBjr5GufGBWMfFQH3IfnBbeuD6VVV8A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddvledguddtgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttd dttdenucfhrhhomhepofgruhhrihgtihhoucevohhllhgrrhgvshcuoehmrghurhhitghi ohestgholhhlrghrvghsrdhorhhgqeenucggtffrrghtthgvrhhnpedtjeekjeelieehte ehgfdtkefhleeigfffjedujeetiefhueefieefffetveetgeenucffohhmrghinhepghhi thhhuhgsrdgtohhmnecukfhppeduledurddukeehrdefgedrvdduheenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghurhhitghiohestgho lhhlrghrvghsrdhorhhg X-ME-Proxy: Received: from asus (unknown [191.185.34.215]) by mail.messagingengine.com (Postfix) with ESMTPA id CF1BC108005C for ; Mon, 15 Mar 2021 13:35:06 -0400 (EDT) From: Mauricio Collares To: bug-gnu-emacs@gnu.org Subject: 28.0.50; [feature/native-comp] native-compiler-error-empty-byte when batch-native-compiling is confusing to users Date: Mon, 15 Mar 2021 14:34:51 -0300 Message-ID: <871rcgiamc.fsf@collares.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.25; envelope-from=mauricio@collares.org; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, 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.6 (-) 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.6 (--) Some packages contain valid .el files such that batch-byte-compiling them does not produce an .elc file, for example because they set "no-byte-compile" to t. Running batch-byte-compile on such a file exits successfully (without outputting any .elc file, of course) but running batch-native-compile exits with native-compiler-error-empty-byte. In the Nix package manager, we native-compile packages at installation time, and we do so by calling batch-native-compile for each .el file in the package separately. So in our use case .el files as described above shouldn't trigger error messages. We can work around this on the Nix side, but I was wondering if it would be better to turn the error into a warning (or even not emit a warning at all, since technically everything went well). Step to reproduce: batch-native-compile a file that sets no-byte-compile to t. (Reporting this on behalf of a user, see https://github.com/nix-community/emacs-overlay/issues/120) Best, Mauricio From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 15 16:15:04 2021 Received: (at 47169) by debbugs.gnu.org; 15 Mar 2021 20:15:04 +0000 Received: from localhost ([127.0.0.1]:37274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLtcG-0008G5-2H for submit@debbugs.gnu.org; Mon, 15 Mar 2021 16:15:04 -0400 Received: from mx.sdf.org ([205.166.94.24]:53677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLtcD-0008FO-DK for 47169@debbugs.gnu.org; Mon, 15 Mar 2021 16:15:03 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12FKEtS9008256 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 15 Mar 2021 20:14:55 GMT From: Andrea Corallo To: Mauricio Collares Subject: Re: bug#47169: 28.0.50; [feature/native-comp] native-compiler-error-empty-byte when batch-native-compiling is confusing to users References: <871rcgiamc.fsf@collares.org> Date: Mon, 15 Mar 2021 20:14:55 +0000 In-Reply-To: <871rcgiamc.fsf@collares.org> (Mauricio Collares's message of "Mon, 15 Mar 2021 14:34:51 -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: 47169 Cc: Eli Zaretskii , 47169@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 (-) Mauricio Collares writes: > Some packages contain valid .el files such that batch-byte-compiling > them does not produce an .elc file, for example because they set > "no-byte-compile" to t. Running batch-byte-compile on such a file exits > successfully (without outputting any .elc file, of course) but running > batch-native-compile exits with native-compiler-error-empty-byte. > > In the Nix package manager, we native-compile packages at installation > time, and we do so by calling batch-native-compile for each .el file in > the package separately. So in our use case .el files as described above > shouldn't trigger error messages. We can work around this on the Nix > side, but I was wondering if it would be better to turn the error into a > warning (or even not emit a warning at all, since technically everything > went well). > > Step to reproduce: batch-native-compile a file that sets no-byte-compile > to t. > > (Reporting this on behalf of a user, see > https://github.com/nix-community/emacs-overlay/issues/120) > > Best, > Mauricio Hi Mauricio, thanks for the report. I think we have two option: 1- Assume that `no-byte-compile' implies also `no-native-compile' so that we don't produce the .eln and we don't complain when `no-byte-compile' is non-nil. 2- Manually add `no-native-compile' to all files we don't want to be compiled. I'll vote for 1, Eli WDYT? Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 15 23:26:08 2021 Received: (at 47169) by debbugs.gnu.org; 16 Mar 2021 03:26:08 +0000 Received: from localhost ([127.0.0.1]:37712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM0LP-0003cV-Oi for submit@debbugs.gnu.org; Mon, 15 Mar 2021 23:26:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM0LN-0003c1-JW for 47169@debbugs.gnu.org; Mon, 15 Mar 2021 23:26:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59016) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lM0LI-0007ZX-74; Mon, 15 Mar 2021 23:26:00 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3501 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lM0LC-00084W-8E; Mon, 15 Mar 2021 23:25:56 -0400 Date: Tue, 16 Mar 2021 05:26:08 +0200 Message-Id: <83tupbeq3z.fsf@gnu.org> From: Eli Zaretskii To: Andrea Corallo In-Reply-To: (message from Andrea Corallo on Mon, 15 Mar 2021 20:14:55 +0000) Subject: Re: bug#47169: 28.0.50; [feature/native-comp] native-compiler-error-empty-byte when batch-native-compiling is confusing to users References: <871rcgiamc.fsf@collares.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47169 Cc: mauricio@collares.org, 47169@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.7 (-) > From: Andrea Corallo > Cc: 47169@debbugs.gnu.org, Eli Zaretskii > Date: Mon, 15 Mar 2021 20:14:55 +0000 > > 1- Assume that `no-byte-compile' implies also `no-native-compile' so > that we don't produce the .eln and we don't complain when > `no-byte-compile' is non-nil. > > 2- Manually add `no-native-compile' to all files we don't want to be > compiled. > > I'll vote for 1, Eli WDYT? I agree. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 16 04:27:34 2021 Received: (at 47169) by debbugs.gnu.org; 16 Mar 2021 08:27:37 +0000 Received: from localhost ([127.0.0.1]:38099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM52z-0000Um-Sy for submit@debbugs.gnu.org; Tue, 16 Mar 2021 04:27:33 -0400 Received: from mx.sdf.org ([205.166.94.24]:59288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM52m-0000Rf-5e for 47169@debbugs.gnu.org; Tue, 16 Mar 2021 04:27:18 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12G8R38c007688 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 16 Mar 2021 08:27:05 GMT From: Andrea Corallo To: Eli Zaretskii Subject: Re: bug#47169: 28.0.50; [feature/native-comp] native-compiler-error-empty-byte when batch-native-compiling is confusing to users References: <871rcgiamc.fsf@collares.org> <83tupbeq3z.fsf@gnu.org> Date: Tue, 16 Mar 2021 08:27:03 +0000 In-Reply-To: <83tupbeq3z.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Mar 2021 05:26:08 +0200") 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: 47169 Cc: mauricio@collares.org, 47169@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: Andrea Corallo >> Cc: 47169@debbugs.gnu.org, Eli Zaretskii >> Date: Mon, 15 Mar 2021 20:14:55 +0000 >> >> 1- Assume that `no-byte-compile' implies also `no-native-compile' so >> that we don't produce the .eln and we don't complain when >> `no-byte-compile' is non-nil. >> >> 2- Manually add `no-native-compile' to all files we don't want to be >> compiled. >> >> I'll vote for 1, Eli WDYT? > > I agree. Okay f3abb17118 should implement this. Mauricio could you try if this works for you? Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 16 13:17:17 2021 Received: (at 47169) by debbugs.gnu.org; 16 Mar 2021 17:17:18 +0000 Received: from localhost ([127.0.0.1]:40921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMDJl-0004N2-L4 for submit@debbugs.gnu.org; Tue, 16 Mar 2021 13:17:17 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:45791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMDJh-0004Mn-M3 for 47169@debbugs.gnu.org; Tue, 16 Mar 2021 13:17:16 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 984805C0051; Tue, 16 Mar 2021 13:17:08 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 16 Mar 2021 13:17:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=collares.org; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm2; bh=xpxy3idUT1T0aPrVz+uBrzNB+h LOLX8GEgiQKr99xGg=; b=MM7esMa973PG/WspFz8p43FRJN5O4p/4sXD05rl+R0 iXBH2skbEr1FWqDZpx1OWRfrRYuyXSbhJsgr6bkcVDRyengzGH1QAHHEN033l33D 1PwvccmJgKENWB0vl8NSGkHdvkO0+KwUrNmn6fOp2GGqxgp5Qq/4ksBTcJmlcAki AQSmWN0TdCUAJOtFhQntI8TrQn1NsXOCnzVF29qEVLL5sEBnEuUnRgAUdbnmuRIY MupMLsoWf1uKMOasdE/q/Ni7g2ICzalt8YZWKdadPx5U7NhY6/2XPSHd0NyerzC6 vX6IRf5MxGaKhgKQppIDrvJreqRcAhHfwzi+pv7LWBeQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=xpxy3i dUT1T0aPrVz+uBrzNB+hLOLX8GEgiQKr99xGg=; b=BKxSsP2rB8CJ4lY8tpWdr8 KHLCSPi2KPlpK0bvH38KsEZfJBHDlbz3CbspclfpFeZFrN3M6GelgV0XLSy91xHQ QP9Ef2shirVx5lQ8nLA5oqzNhAykW3z6dI9TUj/f4mv9Q2j2QDMQU9KAMrLFtTUq mNixG28mKrfIZI+CVzi/TyKhPAQPKuWPHiOdQTvBsJg9DQHLL4QoAILn7BmKB4Qr N03QPzTh52UKWr4corslpp9C4qViagpCnh3kOjlUZ8rXMCZtBjAg2K+lUBVtaS7X ORTH/bvpwctd1XAmHP+IhhPOc+lRTNUVXFAY/RKQbuzAhSlXyC2AfmngzTPAsoVA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefvddguddtudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehffgfhvffujgffkfggtgesthdtredttdertdenucfhrhhomhepofgruhhr ihgtihhoucevohhllhgrrhgvshcuoehmrghurhhitghiohestgholhhlrghrvghsrdhorh hgqeenucggtffrrghtthgvrhhnpeeuffevhfeujeelhfeuueehheffgeejueekffefgfdu leeiffevgeevheeljeegvdenucfkphepudeluddrudekhedrfeegrddvudehnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgruhhrihgtihho segtohhllhgrrhgvshdrohhrgh X-ME-Proxy: Received: from asus (unknown [191.185.34.215]) by mail.messagingengine.com (Postfix) with ESMTPA id BC024108005F; Tue, 16 Mar 2021 13:17:05 -0400 (EDT) References: <871rcgiamc.fsf@collares.org> <83tupbeq3z.fsf@gnu.org> User-agent: mu4e 1.4.15; emacs 28.0.50 From: Mauricio Collares To: Andrea Corallo Subject: Re: bug#47169: 28.0.50; [feature/native-comp] native-compiler-error-empty-byte when batch-native-compiling is confusing to users In-reply-to: Date: Tue, 16 Mar 2021 14:17:00 -0300 Message-ID: <87sg4vvx0z.fsf@collares.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47169 Cc: Eli Zaretskii , 47169@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.7 (-) Andrea Corallo writes: > > Okay f3abb17118 should implement this. > > Mauricio could you try if this works for you? Hi Andrea, Thanks for taking a look at this! Making no-byte-compile imply no-native-compile is a good idea. However, I think the bug is still present: I just tested f3abb17118 by running batch-native-compile on a file whose first line is ";;; -*- no-byte-compile: t -*-", and I still see native-compiler-error-empty-byte being signaled. Best, Mauricio From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 16 14:04:24 2021 Received: (at 47169) by debbugs.gnu.org; 16 Mar 2021 18:04:24 +0000 Received: from localhost ([127.0.0.1]:40983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lME3L-0005Yw-6G for submit@debbugs.gnu.org; Tue, 16 Mar 2021 14:04:24 -0400 Received: from mx.sdf.org ([205.166.94.24]:51815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lME3H-0005Yl-Oj for 47169@debbugs.gnu.org; Tue, 16 Mar 2021 14:04:21 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12GI4DHJ013392 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 16 Mar 2021 18:04:13 GMT From: Andrea Corallo To: Mauricio Collares Subject: Re: bug#47169: 28.0.50; [feature/native-comp] native-compiler-error-empty-byte when batch-native-compiling is confusing to users References: <871rcgiamc.fsf@collares.org> <83tupbeq3z.fsf@gnu.org> <87sg4vvx0z.fsf@collares.org> Date: Tue, 16 Mar 2021 18:04:13 +0000 In-Reply-To: <87sg4vvx0z.fsf@collares.org> (Mauricio Collares's message of "Tue, 16 Mar 2021 14:17:00 -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: 47169 Cc: Eli Zaretskii , 47169@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 (-) Mauricio Collares writes: > Andrea Corallo writes: >> >> Okay f3abb17118 should implement this. >> >> Mauricio could you try if this works for you? > > Hi Andrea, > > Thanks for taking a look at this! Making no-byte-compile imply > no-native-compile is a good idea. However, I think the bug is still > present: I just tested f3abb17118 by running batch-native-compile on a > file whose first line is ";;; -*- no-byte-compile: t -*-", and I still > see native-compiler-error-empty-byte being signaled. Hi Mauricio, sorry for the sloppy/untested patch, 3e133cc050 works for me please have a try. Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 16 17:38:38 2021 Received: (at 47169) by debbugs.gnu.org; 16 Mar 2021 21:38:38 +0000 Received: from localhost ([127.0.0.1]:41229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMHOg-0004Nj-76 for submit@debbugs.gnu.org; Tue, 16 Mar 2021 17:38:38 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:38293) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMHOe-0004NU-19 for 47169@debbugs.gnu.org; Tue, 16 Mar 2021 17:38:37 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id E508EC18; Tue, 16 Mar 2021 17:38:29 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 16 Mar 2021 17:38:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=collares.org; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm2; bh=YzYiI2QwAsoqDo/E3TYK+uEj7C CBL2qpdkgzBYeyR/k=; b=NE9AdiWHlQElvyzudO/WQqSrwmuVQphEN2gkJi1ZdC LGxQ8kzHtUPWrXPyzBZJdCesirY89tDaD5VhTh1Lq24ugWBtje+zzPE69S9lNEaE p8Y2DQjuCz3LR9dJMXGpH8KB+49NhIWdWC326UdQv2UxPydVQPnyrMFV5ltiWY+t UGIy5f9x9BxpcCAD5MJDo8QsPva2oGyoWD5Gzj7ak2PXLdYbkeO1g9izFuYnKEpG p9Nv2yGeuJaRfG7urHNX/8/rUngP5zUOD1v9tZeKGegdOyGBsRPT4x/baDZexGY+ e9jnqTLRpAuS3MQrwZvwPwTaYkYqSRagIpOt3TSdWwmA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=YzYiI2 QwAsoqDo/E3TYK+uEj7CCBL2qpdkgzBYeyR/k=; b=SsY6HKSoJiuHg9Q679o5wy /ZWuHXo6ST5o2xF1zqFBO7+7gxXJ119xZ8uRr0o/fUQIurxxewCX9W0kQuwS8g2x /Zj1IjFS5MBS9M05XbOszFoviAXA5mAuAKGJxe7JXLkbD5sM9Fo+WUvwx/Ym/T+x VceBVsRYbMfDjybAe4mxVo9NA/NBcjOjoyJT+TpberXyovsdoQQW+YERQSn1xsHJ 8cmkt4XbhDiMFCafJiwBQluSYlzLxz+loiijqe/knwkyawkDo48NWx6t50XWXPwn jRQ3Sx35a9SRWv+00jlJI/pFGTcxLWRp2JJUD36UCh21kIvFB6Si8wCv+7sqB71A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefvddgudehgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehffgfhvffujgffkfggtgesthdtredttdertdenucfhrhhomhepofgruhhr ihgtihhoucevohhllhgrrhgvshcuoehmrghurhhitghiohestgholhhlrghrvghsrdhorh hgqeenucggtffrrghtthgvrhhnpeeuffevhfeujeelhfeuueehheffgeejueekffefgfdu leeiffevgeevheeljeegvdenucfkphepudeluddrudekhedrfeegrddvudehnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgruhhrihgtihho segtohhllhgrrhgvshdrohhrgh X-ME-Proxy: Received: from asus (unknown [191.185.34.215]) by mail.messagingengine.com (Postfix) with ESMTPA id 05AF5108005C; Tue, 16 Mar 2021 17:38:27 -0400 (EDT) References: <871rcgiamc.fsf@collares.org> <83tupbeq3z.fsf@gnu.org> <87sg4vvx0z.fsf@collares.org> User-agent: mu4e 1.4.15; emacs 28.0.50 From: Mauricio Collares To: Andrea Corallo Subject: Re: bug#47169: 28.0.50; [feature/native-comp] native-compiler-error-empty-byte when batch-native-compiling is confusing to users In-reply-to: Date: Tue, 16 Mar 2021 18:38:19 -0300 Message-ID: <87o8fiwzhw.fsf@collares.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47169 Cc: Eli Zaretskii , 47169@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.7 (-) Andrea Corallo writes: > > Hi Mauricio, > > sorry for the sloppy/untested patch, 3e133cc050 works for me please have > a try. Hi Andrea, I can confirm that I no longer see native-compiler-error-empty-byte being signaled in such cases. Many thanks for the fix! Best, Mauricio From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 16 17:46:50 2021 Received: (at 47169-done) by debbugs.gnu.org; 16 Mar 2021 21:46:50 +0000 Received: from localhost ([127.0.0.1]:41237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMHWc-0004a4-9A for submit@debbugs.gnu.org; Tue, 16 Mar 2021 17:46:50 -0400 Received: from mx.sdf.org ([205.166.94.24]:51020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMHWX-0004Zr-KY for 47169-done@debbugs.gnu.org; Tue, 16 Mar 2021 17:46:48 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12GLkc8c002192 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 16 Mar 2021 21:46:38 GMT From: Andrea Corallo To: Mauricio Collares Subject: Re: bug#47169: 28.0.50; [feature/native-comp] native-compiler-error-empty-byte when batch-native-compiling is confusing to users References: <871rcgiamc.fsf@collares.org> <83tupbeq3z.fsf@gnu.org> <87sg4vvx0z.fsf@collares.org> <87o8fiwzhw.fsf@collares.org> Date: Tue, 16 Mar 2021 21:46:38 +0000 In-Reply-To: <87o8fiwzhw.fsf@collares.org> (Mauricio Collares's message of "Tue, 16 Mar 2021 18:38:19 -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: 47169-done Cc: 47169-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 (-) Mauricio Collares writes: > Andrea Corallo writes: >> >> Hi Mauricio, >> >> sorry for the sloppy/untested patch, 3e133cc050 works for me please have >> a try. > > Hi Andrea, > > I can confirm that I no longer see native-compiler-error-empty-byte > being signaled in such cases. Many thanks for the fix! Super, thanks for reporting. Closing, thanks! Andrea From unknown Wed Aug 20 01:18:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 14 Apr 2021 11:24:06 +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