From unknown Thu Jun 19 14:04:14 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#74530 <74530@debbugs.gnu.org> To: bug#74530 <74530@debbugs.gnu.org> Subject: Status: 31.0.50; Emacs fails to compile cape package Reply-To: bug#74530 <74530@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:04:14 +0000 retitle 74530 31.0.50; Emacs fails to compile cape package reassign 74530 emacs submitter 74530 Osama Rebach severity 74530 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 25 10:23:15 2024 Received: (at submit) by debbugs.gnu.org; 25 Nov 2024 15:23:15 +0000 Received: from localhost ([127.0.0.1]:40036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFavi-000582-Tr for submit@debbugs.gnu.org; Mon, 25 Nov 2024 10:23:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:56556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFaiK-0004Le-GE for submit@debbugs.gnu.org; Mon, 25 Nov 2024 10:09:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tFagE-0001Zh-Dz for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2024 10:07:14 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tFagC-0007T8-0U for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2024 10:07:13 -0500 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-382378f359dso3207574f8f.1 for ; Mon, 25 Nov 2024 07:07:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732547229; x=1733152029; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=oDd11x/3f4vgei4xsUxmxPuOEEzcoKf333sFmnFqv9Y=; b=RpPjOXEShqkTRbDKvNf+BYrgWPqtG/HyNksCXi6RDjpqHE7MHhU4tWvloeNpI8F0kX EDRLa8QAC3oO5eB6A9VurF9x8GR73psjPO0eJADp5aCoolpxkT12hHKi/8L68xKEo8bi +RekIvtn0fy8gUq7fGYB9UaLSaAynxV5wgF7bjl6Y5La2V9OjUwFO2vjrOAXRcTg7YKt 9UcwLfZ/0q+V/daJPyprKdvGzKkFUqEygePiTchVGwRxyJNLy7/rm7sc9R+08RtaC7w7 KfFY89uPIYpiGI7PCM/EInokdGmxi3K7G0i85lW9CIZAvGmVrk1pZZOHG1YClvS4htLr a2rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732547229; x=1733152029; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=oDd11x/3f4vgei4xsUxmxPuOEEzcoKf333sFmnFqv9Y=; b=HnSKAmK5HSP8Mavr6tj8lqhxfYladIttaspfdO4eUqOO4bDITQz3Xfl16Ij6zHVSLQ HCDjdx1sup1Yf/r62C54kFOOX2hs97uLR33TtOqfyfSf1NHCQlwZsmc0twlTIT92dVsF Qf+Dc27P2EnHmTKoCXvFiF3HbR0ayZtz+X9P7JNzJVUVwTBg5mxapfsG6TztE1tLqb39 dNlQhWeTlz+PZBPb46wAKXl/fbcZ1om2VlzFAw7MEuzd0KqqF3lYkekUhMYZlzDy0NSP Aldk9WTbtl/BUpHtZ22aeWw4LeH5UhV5lBzouP2PwlZbWU51TPHkRN7bLa6hkBBsvfaK G1/w== X-Gm-Message-State: AOJu0Ywdtg2iCyvQigcO/wZmNihXIyyVcF8PhpcSEU2oIkhd4EPIEsHe jmhoCyR7KihQoYdHA1IrVdsEHo+ixAy1b3bJLNrTJDAmKuEi36q/ZMaoKzVLejE= X-Gm-Gg: ASbGnct1jslksdzh30+aRhF0NDNT0qM6qz6HLgFzNfUQAVcs7/uFbMclk5kE45YK7m4 4Am3imCf/oAjJ2+VaAqN0nnYTCM7GoTWzoIejVj0aSZwYeb62EOyxR5sshAtSkph/DpEaSvwGUe VBgXBWXr2e7wD+eBzom44VW2kOGN/fYQeoXBBEoR2sMCMwRw5oifRssUPbw2oj4WO5BJLpUxfUO V2KYTSHArexcflB3Wiui9Y2guIa0k/rj+/yLajBPFmPCwwqrw== X-Google-Smtp-Source: AGHT+IEWKrFonzpDcLIQhBq41YCn74Cy2LMXbyKssDkuhLiss+DnHivPYjc5GzJHP9G8dqGc4FjRlA== X-Received: by 2002:a05:6000:410d:b0:382:499c:4f3a with SMTP id ffacd0b85a97d-38260b60b8emr8473372f8f.20.1732547224514; Mon, 25 Nov 2024 07:07:04 -0800 (PST) Received: from localhost ([105.105.95.142]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fafe207sm10658398f8f.36.2024.11.25.07.07.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2024 07:07:04 -0800 (PST) From: Osama Rebach To: bug-gnu-emacs@gnu.org Subject: 31.0.50; Emacs fails to compile cape package X-Debbugs-Cc: Date: Mon, 25 Nov 2024 16:07:02 +0100 Message-ID: <87bjy3uzc9.fsf@olaptop-dell.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=osamarebach@gmail.com; helo=mail-wr1-x42e.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 25 Nov 2024 10:23:13 -0500 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.3 (--) Emacs (commit: cf3ea44eb56) fails to compile cape (url: https://github.com/minad/cape, commit: 9a7c44fe8b7). Reverting commit eb1756a8a55 solves the problem. Steps to reproduce: run: emacs -Q evaluate: (add-to-list 'load-path "/path/to/cape") (byte-compile-file "/path/to/cape/cape-char.el") results: cape-char.el:132:2: Error: Symbol's function definition is void: internal--with-suppressed-warnings I can provide the full nix build log, or more information if needed. In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) System Description: NixOS 25.05 (Warbler) Configured using: 'configure --prefix=/nix/store/yffm282zsg0bfgad74m9ihgx2w1i5x0g-emacs-pgtk-31.0.50-20241125102958-89b2f7c --disable-build-details --with-modules --with-pgtk --with-compress-install --with-toolkit-scroll-bars --with-native-compilation --without-imagemagick --with-mailutils --without-small-ja-dic --with-tree-sitter --without-xinput2 --without-xwidgets --with-dbus --with-selinux --disable-gc-mark-trace' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 25 10:59:10 2024 Received: (at 74530) by debbugs.gnu.org; 25 Nov 2024 15:59:10 +0000 Received: from localhost ([127.0.0.1]:40110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFbUT-0006fu-Q3 for submit@debbugs.gnu.org; Mon, 25 Nov 2024 10:59:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFbUR-0006fT-IF for 74530@debbugs.gnu.org; Mon, 25 Nov 2024 10:59:08 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tFbUL-0007Ot-OF; Mon, 25 Nov 2024 10:59:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ylBzPnXR8gLmzesSm6gaDqtN55TWU5viw9MT3Rf+/c0=; b=rCPDWHFqAOvE arVn/8ufdeF3sTVOHIcEASaz3GB4XCmA/ic5rbsQRWwjQKK/1zMKvKrAfJBFrFMWtAu7zXXh2WoyQ JpWBlWCMzdOL1ArFaicIavvBASXTIk+87+RkLjsnmTXxW8xS+/k/qnEdMdHESJM1J4PvWYZTd7por X8w77Qtb0K+af7s+CzGYZoGF/tuEOrWu/Er9JO8BXukGlEjhM6XJdGJrfL2itrWYOZEmXVbePudQb bQxaJXZ1WjPlZib1N1tMurYmc1HOyEkoTfOxuKATk640ArW1eZv1yNIjpx9sZBgmPM/bdlJm41qEk Rwzazpg4cmbSfoqRye6+4g==; Date: Mon, 25 Nov 2024 17:58:59 +0200 Message-Id: <868qt7i9to.fsf@gnu.org> From: Eli Zaretskii To: Osama Rebach , Sean Whitton In-Reply-To: <87bjy3uzc9.fsf@olaptop-dell.mail-host-address-is-not-set> (message from Osama Rebach on Mon, 25 Nov 2024 16:07:02 +0100) Subject: Re: bug#74530: 31.0.50; Emacs fails to compile cape package References: <87bjy3uzc9.fsf@olaptop-dell.mail-host-address-is-not-set> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74530 Cc: 74530@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: Osama Rebach > Date: Mon, 25 Nov 2024 16:07:02 +0100 > > Emacs (commit: cf3ea44eb56) fails to compile cape (url: https://github.com/minad/cape, > commit: 9a7c44fe8b7). Reverting commit eb1756a8a55 solves the problem. > > Steps to reproduce: > > run: emacs -Q > > evaluate: > (add-to-list 'load-path "/path/to/cape") > (byte-compile-file "/path/to/cape/cape-char.el") > > results: > cape-char.el:132:2: Error: Symbol's function definition is void: internal--with-suppressed-warnings > > I can provide the full nix build log, or more information if needed. Sean, any ideas? From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 25 21:10:23 2024 Received: (at 74530) by debbugs.gnu.org; 26 Nov 2024 02:10:23 +0000 Received: from localhost ([127.0.0.1]:43480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFl1z-0003L2-1L for submit@debbugs.gnu.org; Mon, 25 Nov 2024 21:10:23 -0500 Received: from sendmail.purelymail.com ([34.202.193.197]:60616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFl1w-0003Kh-2V for 74530@debbugs.gnu.org; Mon, 25 Nov 2024 21:10:21 -0500 DKIM-Signature: a=rsa-sha256; b=zBpw2t8w4ZjyGgoay1tgCNakMqFxxUczLw8BYa61/KhnfJso5RHbiPJgBmkc5Z7GZ2WYyolcMCBoqnMKubxw3OA6ZYT6kGS2JvK2CXgSSxaTJzhlJ1TBSD0wxp83j8FZH+z7J4Z3N2DomMJtLH0Z+c7fFe44y6bUNVwYWUEedzSEC2pf3T7M8MnACCWz8Wq+mTMpxDEn98eubgKAuUf88pXQfAelZUyvJiXL2uIm5efMs/Dp55mUJOCSSWkouKXwXSoqU8dweSQ2iViQxU0XlpBSznU+qMCY5NmWPw7y3TWDxYmRCKOMJVHZmH0fFscxJ7cz5SzzaWM8RZ5UOFEg7g==; s=purelymail3; d=spwhitton.name; v=1; bh=EkcSGzf7Yg7SDkExaCZbFkVF2cGHk8wD3hV82xdrzvs=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=CLAhqwFyjXGYnH15yzEXMkdSW03mSIgLxqrxv3JEVhXddc+CnFGZalD8KTSUZQBSYj8fQHMUbiytSa2mG6owIOe54ywzAAknE1jcjLdmNb20N89c/v+GKsds6/6IFCaOhHwglsuaWcztjK/mG4Cqr366RtKGsZHXR5nunF25tdGWEJNUAf771uoAMndTx1ntuRWB2hRcB6gN9VIhFcrhs2ZxYOZzpyPtSGkTQnV4DHvjfqG0QVg04w4H2HzvubT/JRqMfjgqn3L+n1FjJBQwxBtcM2V5YCsY7ehfYmTx7E5+L47TWQU2rMV9oZlCEZb2vSliYJm1LW5kKserAMPKfQ==; s=purelymail3; d=purelymail.com; v=1; bh=EkcSGzf7Yg7SDkExaCZbFkVF2cGHk8wD3hV82xdrzvs=; h=Feedback-ID:Received:Received:From:To:Subject:Date; Feedback-ID: 20115:3760:null:purelymail X-Pm-Original-To: 74530@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -549092892; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Tue, 26 Nov 2024 02:10:13 +0000 (UTC) Received: by melete.silentflame.com (Postfix, from userid 1000) id E4E197EE537; Tue, 26 Nov 2024 10:10:09 +0800 (CST) From: Sean Whitton To: Eli Zaretskii , Stefan Monnier Subject: Re: bug#74530: 31.0.50; Emacs fails to compile cape package In-Reply-To: <868qt7i9to.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 25 Nov 2024 17:58:59 +0200") References: <87bjy3uzc9.fsf@olaptop-dell.mail-host-address-is-not-set> <868qt7i9to.fsf@gnu.org> Date: Tue, 26 Nov 2024 10:10:09 +0800 Message-ID: <87jzcqvj7i.fsf@melete.silentflame.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74530 Cc: 74530@debbugs.gnu.org, Osama Rebach 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 (-) Hello, On Mon 25 Nov 2024 at 05:58pm +02, Eli Zaretskii wrote: >> From: Osama Rebach >> Date: Mon, 25 Nov 2024 16:07:02 +0100 >> >> Emacs (commit: cf3ea44eb56) fails to compile cape (url: https://github.com/minad/cape, >> commit: 9a7c44fe8b7). Reverting commit eb1756a8a55 solves the problem. >> >> Steps to reproduce: >> >> run: emacs -Q >> >> evaluate: >> (add-to-list 'load-path "/path/to/cape") >> (byte-compile-file "/path/to/cape/cape-char.el") >> >> results: >> cape-char.el:132:2: Error: Symbol's function definition is void: internal--with-suppressed-warnings >> >> I can provide the full nix build log, or more information if needed. > > Sean, any ideas? Line 132 in cape-char.el directly calls a macro which uses when-let, at top-level, so it calls the with-suppressed-warnings I added in the recent commit, again at top-level. Stefan's commit a0f60293d9 says `byte-compile-macro-environment` contains definitions which expand to code that is only understood by the rest of the byte-compiler, so using it for code which isn't being byte-compiled leads to errors such as references to non-existing function `internal--with-suppressed-warnings`. So it sounds like we are inappropriately tangling with machinery internal to the byte compiler. I used with-suppressed-warnings in a completely standard way, so I think the most likely thing is that we have uncovered a bug in the byte compiler, probably something to do with evaluating top-level forms while compiling. Adding Stefan. -- Sean Whitton From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 25 22:33:36 2024 Received: (at 74530) by debbugs.gnu.org; 26 Nov 2024 03:33:37 +0000 Received: from localhost ([127.0.0.1]:43736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFmKW-0007QQ-KB for submit@debbugs.gnu.org; Mon, 25 Nov 2024 22:33:36 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:64152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFmKU-0007QA-Iz for 74530@debbugs.gnu.org; Mon, 25 Nov 2024 22:33:35 -0500 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 8FE434451C3; Mon, 25 Nov 2024 22:24:22 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1732591461; bh=DXP9MmbD4vk/hdplucbAHo1arDr531z3AqbmV09dyT0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=MeAVfgZxeBQH6IhQbYs/IINvGayCkZu8UWZqUdgbis5PFy0L4JBGNb88HH3bOzxng 49S1IuYqDBx7yYYQ9A9fUlpdw/+8JnD47lSfGabcLGA3Qu7RNa3oWkxkMrkgmlK4PY 82G58etGWSGzWE0TFnD+3Hdr2SdsrFD2AiKtGZ5kr7fWkTakusR/fuY3shcP7/iCUO arrf58hjZM8wkcLocSE+eWTnhwGI3qCSPN5ScnFaGcdAjeeM1JCnMaswVSfTr8zI41 kbpzQ3mKCi0Jw+TODhz0cgxTd/UzoRBh7YNrRik95NLtOexnQoPNMZUd054XiBmcXH E3yVjQBko7fQw== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 7CBD34451C0; Mon, 25 Nov 2024 22:24:21 -0500 (EST) Received: from pastel (104-195-225-43.cpe.teksavvy.com [104.195.225.43]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 4306012030F; Mon, 25 Nov 2024 22:24:21 -0500 (EST) From: Stefan Monnier To: Sean Whitton Subject: Re: bug#74530: 31.0.50; Emacs fails to compile cape package In-Reply-To: <87jzcqvj7i.fsf@melete.silentflame.com> (Sean Whitton's message of "Tue, 26 Nov 2024 10:10:09 +0800") Message-ID: References: <87bjy3uzc9.fsf@olaptop-dell.mail-host-address-is-not-set> <868qt7i9to.fsf@gnu.org> <87jzcqvj7i.fsf@melete.silentflame.com> Date: Mon, 25 Nov 2024 22:24:11 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.018 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74530 Cc: Eli Zaretskii , 74530@debbugs.gnu.org, Osama Rebach 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 (---) > Stefan's commit a0f60293d9 says > > `byte-compile-macro-environment` contains definitions which expand > to code that is only understood by the rest of the byte-compiler, so > using it for code which isn't being byte-compiled leads to errors > such as references to non-existing function > `internal--with-suppressed-warnings`. > > So it sounds like we are inappropriately tangling with machinery > internal to the byte compiler. I used with-suppressed-warnings in a > completely standard way, so I think the most likely thing is that we > have uncovered a bug in the byte compiler, probably something to do with > evaluating top-level forms while compiling. Adding Stefan. My guess is that it's the `when-let` inside an `eval-and-compile` that's making us bite the dust. I'd welcome a patch to fix that problem, but in the mean time a patch that actually fixes `when-let` to not use `if-let` (and hence not use `with-suppressed-warnings` either) might be a simpler solution. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 26 21:37:39 2024 Received: (at 74530) by debbugs.gnu.org; 27 Nov 2024 02:37:39 +0000 Received: from localhost ([127.0.0.1]:56028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tG7vu-0008MR-W6 for submit@debbugs.gnu.org; Tue, 26 Nov 2024 21:37:39 -0500 Received: from sendmail.purelymail.com ([34.202.193.197]:50688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tG7vs-0008MB-Su for 74530@debbugs.gnu.org; Tue, 26 Nov 2024 21:37:38 -0500 DKIM-Signature: a=rsa-sha256; b=X+F51Qb4cgJUHcfIPmB/gOJSQnYzYEXW6tn19Wga6fRMhsnHz3gnC0NJXGu6BlA3hf9ldosiTWbhXbehzyF/ErwoQrGIySRJffZc+7H9qoyW2V2dljN74ETEMN6AcZgEqEFg1LQsY9TG2b2bEpMoBQvuEEDeVdbwVMbBk2d6LrDJWQkP5FD+0hoikkO+mWP3KPGwmliGsbZ3IJjdJ9TXfOGu/3s/A8ehbX3iTuC8pjsQMisz2i1xSQMHdOPSYMAeHRlt1rvulNhTAygeTF+xx6M5VrUKouBqgpm8Km2G9OZq+MWOEFonPb2jYn48ys/DcYk9swq8VBfBnfzs5AdlYg==; s=purelymail1; d=spwhitton.name; v=1; bh=BRGXE/N3Zgy84aILDwDHcV6c4FzdpqWraQw13D3I6oc=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=tQZn1cCbcgrf1kYRKnZAoSgB/dtv6WXrGmzJluEID3SGSqmUCNJbDYGGMV1e/B1x9CGi0wmrvuGMibeukTn7B9V+v8yDrHgJIRx8WAorhL79w5Yqdr2pmfOXAw/SL45Ee5SAqp48dnnwiDrm8pxjY7D7px5tzIv1MESQMtuTp+byq9lnRjv5pPtfNJiI11jY5ItVCW6R94YkgyjQ79jOHmi/yPb9yEKgUK2NEUliZfe9x6BY+VCbTT0UbiGLqm0LPxEFBSApojWqQ+1avtcojv0ytslmrR6TBpASPDucytcPfkaFvMI6MoVc9Imr9eMb5gVZ/ZtqZZKyNleZFZdrCw==; s=purelymail1; d=purelymail.com; v=1; bh=BRGXE/N3Zgy84aILDwDHcV6c4FzdpqWraQw13D3I6oc=; h=Feedback-ID:Received:Received:From:To:Subject:Date; Feedback-ID: 20115:3760:null:purelymail X-Pm-Original-To: 74530@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -1889271049; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 27 Nov 2024 02:37:30 +0000 (UTC) Received: by melete.silentflame.com (Postfix, from userid 1000) id C7FC67ED954; Wed, 27 Nov 2024 10:37:27 +0800 (CST) From: Sean Whitton To: Stefan Monnier Subject: Re: bug#74530: 31.0.50; Emacs fails to compile cape package In-Reply-To: (Stefan Monnier via's message of "Mon, 25 Nov 2024 22:24:11 -0500") References: <87bjy3uzc9.fsf@olaptop-dell.mail-host-address-is-not-set> <868qt7i9to.fsf@gnu.org> <87jzcqvj7i.fsf@melete.silentflame.com> Date: Wed, 27 Nov 2024 10:37:27 +0800 Message-ID: <87y1159zbs.fsf@melete.silentflame.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74530 Cc: Eli Zaretskii , 74530@debbugs.gnu.org, Osama Rebach 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 (-) Hello, On Mon 25 Nov 2024 at 10:24pm -05, Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: >> Stefan's commit a0f60293d9 says >> >> `byte-compile-macro-environment` contains definitions which expand >> to code that is only understood by the rest of the byte-compiler, so >> using it for code which isn't being byte-compiled leads to errors >> such as references to non-existing function >> `internal--with-suppressed-warnings`. >> >> So it sounds like we are inappropriately tangling with machinery >> internal to the byte compiler. I used with-suppressed-warnings in a >> completely standard way, so I think the most likely thing is that we >> have uncovered a bug in the byte compiler, probably something to do with >> evaluating top-level forms while compiling. Adding Stefan. > > My guess is that it's the `when-let` inside an `eval-and-compile` that's > making us bite the dust. > > I'd welcome a patch to fix that problem, but in the mean time a > patch that actually fixes `when-let` to not use `if-let` (and hence not > use `with-suppressed-warnings` either) might be a simpler solution. Okay, done, thanks. Osama, if you could let us know whether this fixes the original bug, we can close this. -- Sean Whitton From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 27 05:03:03 2024 Received: (at 74530) by debbugs.gnu.org; 27 Nov 2024 10:03:03 +0000 Received: from localhost ([127.0.0.1]:59322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGEsx-0004gb-7A for submit@debbugs.gnu.org; Wed, 27 Nov 2024 05:03:03 -0500 Received: from mail-wr1-f44.google.com ([209.85.221.44]:46457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGEsu-0004gA-HB for 74530@debbugs.gnu.org; Wed, 27 Nov 2024 05:03:01 -0500 Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-38232cebb0cso4960526f8f.1 for <74530@debbugs.gnu.org>; Wed, 27 Nov 2024 02:03:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732701720; x=1733306520; darn=debbugs.gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=OLBO/wIBH/S/4ftllA0W4VQ0HFoPHb4KhvIPnMMlFgA=; b=NoKlgvhKRhbGoGnjDG2oXfNdKgv2UYwtgw0Ti4f5kOPRSeACxEZCUzz18G7lJEfWtZ eOkHm+zNAxeEzJiP6/hh1mt2Fi6bMpwtH5eSlP451x62ESdl4ZHvEnoVt7j/pCtaVYrG 95/EDdhqP1JE2nzASjD99HNtK8x+XPNrxFH1zzvN0MAN2Gj1fDkdVASGShiznd3sRO4Y bnnRy4L5gzdWIyrU0D+B+LSqaUrMkp84ZLSy7vl/24TsQfB5wHR2N42xgjp+FaC0glt5 ABSrh48/R8rHlPbp6SCtXZspbGSFpHbsX+5VBTJL2DQaAJ+674TEk8LyZWng4+iY4jto dGAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732701720; x=1733306520; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OLBO/wIBH/S/4ftllA0W4VQ0HFoPHb4KhvIPnMMlFgA=; b=F9pVncNdpsFowJyZPPoh+zPaR3lFHSGuYDCn/3VpWHE/VaN91WRebYOCcdjcYfTtgC yVsEI8hBOPgOhH6gEAONuzbJlOXOXS5KGxLqnx/9kRpArFwZI/55FpLk/feyUn22//r9 9m45PYPMDvRqAIoKkeNlRAaFKzvBU5QHlGCjEPCmue5BuBMkx2v6BGOMvBYGa+/ogfdU G7gXNJo+czbfxNxruXfnu1HP/nUT+ML1MG0LpdnItS4MxQLn89KREX9fK4PatSdlrxJ4 ZObWmWbzenhrzzjtrV87IA4+yYcVRGR4sc63AFLYgpctL6kNA9tvFxjijZ0Zb+RCOFiv gH4A== X-Forwarded-Encrypted: i=1; AJvYcCWTw72NZGomYftCTJ33I+NI9z1GX0huk4pR5Zv44JsDP87o7Qkq0uPjDMPJFd/Ko1wQr+TJow==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyY9pKaNptphdz1GCAuu6VKG0b+T01fQQ1j3Gc0k0IjXuc4EzvV t/FB0CMPtNIJpStIT05mgYy05/2U+FhvrbczccgxiZpcSIykgtFB X-Gm-Gg: ASbGncvWnWeunnE/AcyHp1b094GNvVhb3pkw3JIzVrB7HD216/5bvQlZh7pwUWUiRdk AI5htqwtAKx1+5piPegMapGksLoM/YzF2qNzS5dU7+d4ddOf07qGNeGf8e5vreqEJH3L5Iprxn+ xaHTefSDLUFKDxRdF9Icguv3/eV5jvIHfm4EsDOhW6FEWFIYLgVruIqrqzEe6DTeltE7rY+DcSE iSbJRR1NmFa++LPAYGpE+ML2DHwWkCeR1D99fYrwBZP6Il0YQ== X-Google-Smtp-Source: AGHT+IENjGAWlFHZ5apGETJfvO5cS/Ero9Df0tkuQaxpsKuu+7VODONHSB03KzWJAqpNLeypchfqmg== X-Received: by 2002:a5d:64cb:0:b0:382:4a9d:28fb with SMTP id ffacd0b85a97d-385c6ee12c3mr1377375f8f.49.1732701719715; Wed, 27 Nov 2024 02:01:59 -0800 (PST) Received: from localhost ([105.97.156.124]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fbe91a6sm16149090f8f.86.2024.11.27.02.01.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Nov 2024 02:01:59 -0800 (PST) From: Osama Rebach To: Sean Whitton , Stefan Monnier Subject: Re: bug#74530: 31.0.50; Emacs fails to compile cape package In-Reply-To: <87y1159zbs.fsf@melete.silentflame.com> References: <87bjy3uzc9.fsf@olaptop-dell.mail-host-address-is-not-set> <868qt7i9to.fsf@gnu.org> <87jzcqvj7i.fsf@melete.silentflame.com> <87y1159zbs.fsf@melete.silentflame.com> Date: Wed, 27 Nov 2024 11:01:58 +0100 Message-ID: <87bjy10zc9.fsf@olaptop-dell.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74530 Cc: Eli Zaretskii , 74530@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 (-) Sean Whitton writes: > Okay, done, thanks. > > Osama, if you could let us know whether this fixes the original bug, we > can close this. Yes, the bug is now fixed and cape compile with the correct warnings. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 27 06:36:58 2024 Received: (at 74530-done) by debbugs.gnu.org; 27 Nov 2024 11:36:58 +0000 Received: from localhost ([127.0.0.1]:60785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGGLp-0000vD-UT for submit@debbugs.gnu.org; Wed, 27 Nov 2024 06:36:58 -0500 Received: from sendmail.purelymail.com ([34.202.193.197]:59694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGGLn-0000ut-H1 for 74530-done@debbugs.gnu.org; Wed, 27 Nov 2024 06:36:56 -0500 DKIM-Signature: a=rsa-sha256; b=sHltDlnXqhNkp2YPW3rsRtG3vi/9imcotO5Y3zVROz6zrM+SA3GPgZNx6Tuuvhvs9RX1OGkCku84cPWLhiYIuMfw1j9mKUFpCai0ME6zYT+ceGd3ZCbP7yycct6fQ3PnfO6xWMjMO3o0wFZCS4O5uPigRBrv8o2EM+gQZx4cHwzcIXc84Wh/T6YxceH5I4LvNCxUesiCX36T71HHNSWy5LLoYHbh5f7MUOZDNj3c1YQGQoat+U+n0TeeTiubVpu4LQo8w31+buKgWLtVKYSqXptBBp6HmqHDY1bxPcbqaOV9DPE4Tpd8m1Y68MIZ8CozDHikvwd7Bd2aSqCQmykCXQ==; s=purelymail1; d=spwhitton.name; v=1; bh=6nItWlur+ktBCyS2QjZ09nrKEDUC+xFnAqymKJ84+ig=; h=Received:Received:From:To:Subject:Date; DKIM-Signature: a=rsa-sha256; b=MaGOnovs0T68tmmc2+xuwyA6nu/7eBF1o7jHmU4IlVx92e5WrCA4hCRKletpHJ7zEgGSFWdezOjyq7DPMY0ab7cSKYF3lX7tyN49c0tMKQQLjwAhW5sTiXKY6zWm9nC6jpIyUs+ZFGRkn5Rn8XlNeR0eMKpeY15neNQxg86HYIngElMl7WJfvO7YLYLuTgtHiTkSZPwAW3MMljStnzAzctop0qb8Jc0xq4sS/HoUvshxsCA90P0ALiouOTl97GqUVxeREf0eJ1EXDgiMzL8s0n5dI3dsKvMcNz44LgKdiKzzBH7nbjoxhBcZyuf/6bATQmTIkTpUWYvgAR2dqAMCQw==; s=purelymail1; d=purelymail.com; v=1; bh=6nItWlur+ktBCyS2QjZ09nrKEDUC+xFnAqymKJ84+ig=; h=Feedback-ID:Received:Received:From:To:Subject:Date; Feedback-ID: 20115:3760:null:purelymail X-Pm-Original-To: 74530-done@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1872393998; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 27 Nov 2024 11:36:49 +0000 (UTC) Received: by melete.silentflame.com (Postfix, from userid 1000) id 95FE87ED954; Wed, 27 Nov 2024 19:36:45 +0800 (CST) From: Sean Whitton To: Osama Rebach Subject: Re: bug#74530: 31.0.50; Emacs fails to compile cape package In-Reply-To: <87bjy10zc9.fsf@olaptop-dell.mail-host-address-is-not-set> (Osama Rebach's message of "Wed, 27 Nov 2024 11:01:58 +0100") References: <87bjy3uzc9.fsf@olaptop-dell.mail-host-address-is-not-set> <868qt7i9to.fsf@gnu.org> <87jzcqvj7i.fsf@melete.silentflame.com> <87y1159zbs.fsf@melete.silentflame.com> <87bjy10zc9.fsf@olaptop-dell.mail-host-address-is-not-set> Date: Wed, 27 Nov 2024 19:36:45 +0800 Message-ID: <87plmgaoxe.fsf@melete.silentflame.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74530-done Cc: Eli Zaretskii , 74530-done@debbugs.gnu.org, Stefan Monnier 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 (-) Hello, Thanks for confirming. -- Sean Whitton From unknown Thu Jun 19 14:04:14 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, 25 Dec 2024 12: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