From unknown Thu Jun 19 14:14:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57771: 28.2; =?UTF-8?Q?=E2=80=99uninstall=E2=80=99?= make target does not remove .eln native compiled files Resent-From: Alfredo Finelli Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Sep 2022 14:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57771 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 57771@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166307817914977 (code B ref -1); Tue, 13 Sep 2022 14:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Sep 2022 14:09:39 +0000 Received: from localhost ([127.0.0.1]:52267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oY6ba-0003tT-0u for submit@debbugs.gnu.org; Tue, 13 Sep 2022 10:09:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:43136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oY1db-0004eJ-KA for submit@debbugs.gnu.org; Tue, 13 Sep 2022 04:51:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY1db-00036b-F2 for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2022 04:51:23 -0400 Received: from www125.your-server.de ([88.198.176.247]:38178) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY1dY-0006za-TJ for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2022 04:51:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=computationes.de; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=gWkbHushGCEUEVBF0JXRHf9ecSuT1JTS+hdO2yapKSE=; b=OX4HSbm0hQ333tyZJEqp/u3gFR fGMZHaNDfKiNnbpQTeB+46hr1Tx1WZLLFke153EgysqJrN0Y3AEmR3QxDbON8RJs8vSKerBuAS+Vq L0C6xh2grRN+w+ifVEuKwqztNggl+jFZ2mElgxAFTY+vum419WIYhqZXg9c0+QyImDNEzVetOXmPN ZU8Wq1Q+0qH5Pt5sgp7Rh4AAkk85x8CyuypwBk1deT6dmjmq+tUqlVcQCicYayhBTVIrra4rPwFGO XYJxgTZ5O1TzLl1O3Jl5mov88IhR/ohOQbmnAvTccBhRtRy9TPsKFdXHIbkPAr9P3t9p5S8S2+j4d bcHUZCJQ==; Received: from sslproxy06.your-server.de ([78.46.172.3]) by www125.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oY1dR-000NsH-MV for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2022 10:51:13 +0200 Received: from [2003:e8:2719:4800:aeed:5cff:fe24:12ba] (helo=computationes.de) by sslproxy06.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oY1dR-000N54-Ir for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2022 10:51:13 +0200 From: Alfredo Finelli User-Agent: Notmuch/0.37 (https://notmuchmail.org) Date: Tue, 13 Sep 2022 10:51:12 +0200 Message-ID: <87r10fmzcv.fsf@computationes.de> MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Sender: alf@computationes.de X-Virus-Scanned: Clear (ClamAV 0.103.7/26656/Mon Sep 12 09:55:26 2022) Received-SPF: pass client-ip=88.198.176.247; envelope-from=alf@computationes.de; helo=www125.your-server.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Tue, 13 Sep 2022 10:09:36 -0400 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 (--) While building emacs to upgrade it from version 28.1 to 28.2 I noticed that the "uninstall" make target leaves native compiled .eln files behind in the installation target directory. The same happens with the development version 29 from git, altough with less .eln files. This is how to reproduce the bug by installing emacs to an new empty directory; cwd is a regular emacs 28.2 source tree: $ mkdir /tmp/emacs-28.2 $ ./configure --with-native-compilation --prefix=/tmp/emacs-28.2/ [... snip] $ make -j4 [... snip] $ make install [... snip] $ make uninstall [... snip] $ find /tmp/emacs-28.2/ /tmp/emacs-28.2/ /tmp/emacs-28.2/share /tmp/emacs-28.2/share/info /tmp/emacs-28.2/share/info/dir /tmp/emacs-28.2/share/man /tmp/emacs-28.2/share/man/man1 /tmp/emacs-28.2/share/applications /tmp/emacs-28.2/share/applications/emacsclient.desktop /tmp/emacs-28.2/share/applications/emacs-mail.desktop /tmp/emacs-28.2/share/applications/emacsclient-mail.desktop /tmp/emacs-28.2/share/metainfo /tmp/emacs-28.2/share/icons /tmp/emacs-28.2/share/icons/hicolor /tmp/emacs-28.2/share/icons/hicolor/128x128 /tmp/emacs-28.2/share/icons/hicolor/128x128/apps /tmp/emacs-28.2/share/icons/hicolor/16x16 /tmp/emacs-28.2/share/icons/hicolor/16x16/apps /tmp/emacs-28.2/share/icons/hicolor/24x24 /tmp/emacs-28.2/share/icons/hicolor/24x24/apps /tmp/emacs-28.2/share/icons/hicolor/32x32 /tmp/emacs-28.2/share/icons/hicolor/32x32/apps /tmp/emacs-28.2/share/icons/hicolor/48x48 /tmp/emacs-28.2/share/icons/hicolor/48x48/apps /tmp/emacs-28.2/share/icons/hicolor/scalable /tmp/emacs-28.2/share/icons/hicolor/scalable/apps /tmp/emacs-28.2/share/icons/hicolor/scalable/mimetypes /tmp/emacs-28.2/share/emacs /tmp/emacs-28.2/share/emacs/site-lisp /tmp/emacs-28.2/share/emacs/site-lisp/subdirs.el /tmp/emacs-28.2/lib /tmp/emacs-28.2/lib/systemd /tmp/emacs-28.2/lib/systemd/user /tmp/emacs-28.2/lib/emacs /tmp/emacs-28.2/lib/emacs/28.2 /tmp/emacs-28.2/lib/emacs/28.2/native-lisp /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/bindings-d30713c5-1ec0133a.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/buff-menu-da4b0b04-65a249b6.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/case-table-3a8e2808-be7656d4.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/button-747c9d6e-948de613.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/abbrev-2af30c9a-81a91c7e.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/cus-face-74f1689e-1f20b9c1.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/cus-start-26315480-6f2c6ee4.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/disp-table-375616aa-5c285770.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/dnd-12d90309-f8c52779.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/dos-fns-6e9410f2-9e80dcb2.eln [... CUT .... 133 other native compiled .eln files ....] /tmp/emacs-28.2/include /tmp/emacs-28.2/bin /tmp/emacs-28.2/libexec /tmp/emacs-28.2/libexec/emacs Best regards. From unknown Thu Jun 19 14:14:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#57771: 28.2; =?UTF-8?Q?=E2=80=99uninstall=E2=80=99?= make target does not remove .eln native compiled files Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Sep 2022 16:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57771 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Alfredo Finelli Cc: 57771@debbugs.gnu.org Received: via spool by 57771-submit@debbugs.gnu.org id=B57771.166308502228434 (code B ref 57771); Tue, 13 Sep 2022 16:04:01 +0000 Received: (at 57771) by debbugs.gnu.org; 13 Sep 2022 16:03:42 +0000 Received: from localhost ([127.0.0.1]:52703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oY8Ny-0007OY-4N for submit@debbugs.gnu.org; Tue, 13 Sep 2022 12:03:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oY8Nw-0007OL-Ci for 57771@debbugs.gnu.org; Tue, 13 Sep 2022 12:03:40 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56216) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY8Nq-0001BQ-DO; Tue, 13 Sep 2022 12:03:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=qhiP/Tgu0QzIwqWIJDTazmTcSgV7ww6FcdJl3ysYKy0=; b=q/f9P+slOYXjx5XQYon7 ip3kneQpJ+2BqO8tec9gKT/gjTR2gkGCYPtH2/4qHFW4YaKlSWSrnK2FU1eVt1KAeh5IkZx3BNCbz AbPYgGIjN0eRVcEexkd+JVEyAJG4LVb9dWq4CbsNK/Hxp51JptXDo/xNtbpW6PGE3SGoJcsgUzdOw TuoGFLG2ePbIEFUiPDkPlRjbm64jALfa2LjB5GjttibS8Zmr24yjXY2WMBd9+hRv/+ou61AJIte9c TrDbsbG+hl83WsqUiv4S1gcvhcxbVoQoHaASgslM0iflclAzHFGmr1usNxseaf/RppAxlhJzEcijx ZjYcGNfxDGv9ww==; Received: from [87.69.77.57] (port=1201 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 1oY8Ni-0000TC-NT; Tue, 13 Sep 2022 12:03:33 -0400 Date: Tue, 13 Sep 2022 19:03:13 +0300 Message-Id: <83czbz45z2.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87r10fmzcv.fsf@computationes.de> (message from Alfredo Finelli on Tue, 13 Sep 2022 10:51:12 +0200) References: <87r10fmzcv.fsf@computationes.de> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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: Alfredo Finelli > Date: Tue, 13 Sep 2022 10:51:12 +0200 > > While building emacs to upgrade it from version 28.1 to 28.2 I noticed > that the "uninstall" make target leaves native compiled .eln files behind > in the installation target directory. The same happens with the > development version 29 from git, altough with less .eln files. Thank you for your report. Does the patch below give good results? diff --git a/Makefile.in b/Makefile.in index d288bac..3f811ea 100644 --- a/Makefile.in +++ b/Makefile.in @@ -844,7 +844,7 @@ uninstall: rm -f "$(DESTDIR)$(includedir)/emacs-module.h" $(MAKE) -C lib-src uninstall -unset CDPATH; \ - for dir in "$(DESTDIR)${lispdir}" "$(DESTDIR)${etcdir}" ; do \ + for dir in "$(DESTDIR)${lispdir}" "$(DESTDIR)${etcdir}" "$(ELN_DESTDIR)" ; do \ if [ -d "$${dir}" ]; then \ case `cd "$${dir}" ; /bin/pwd` in \ "`cd ${srcdir} ; /bin/pwd`"* ) ;; \ From unknown Thu Jun 19 14:14:41 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Alfredo Finelli Subject: bug#57771: closed (Re: bug#57771: 28.2; =?UTF-8?Q?=E2=80=99uninstall=E2=80=99?= make target does not remove .eln native compiled files) Message-ID: References: <83fsgu2lqv.fsf@gnu.org> <87r10fmzcv.fsf@computationes.de> X-Gnu-PR-Message: they-closed 57771 X-Gnu-PR-Package: emacs Reply-To: 57771@debbugs.gnu.org Date: Wed, 14 Sep 2022 12:19:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1663157942-31139-1" This is a multi-part message in MIME format... ------------=_1663157942-31139-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #57771: 28.2; =E2=80=99uninstall=E2=80=99 make target does not remove .eln = native compiled files which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 57771@debbugs.gnu.org. --=20 57771: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57771 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1663157942-31139-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 57771-done) by debbugs.gnu.org; 14 Sep 2022 12:18:09 +0000 Received: from localhost ([127.0.0.1]:54022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYRLE-000850-JC for submit@debbugs.gnu.org; Wed, 14 Sep 2022 08:18:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYRLC-00084Y-IY for 57771-done@debbugs.gnu.org; Wed, 14 Sep 2022 08:18:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYRL3-0004q7-00; Wed, 14 Sep 2022 08:18:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=cB5Sa9n2Qk3cKISQ7bIF2GFI75zJ2Jxjn5Ymy/fGHRs=; b=H7p8suis//7S4ssjA5xU FYZmPIdu7ou2PbrMEnRw+nmwyS1S1xM3wKtHRmND8eQjPiNBiH9gRxSwgeoa+ssCrT2rZylnr9Gmp cjJBwxUNh7FAFhgJ2bf+GUWTE60FtyVL3r12pGJ0n5SaTeWwSHOUtz7PzZgK8gVpB/OQ5P9PppCCd lzDlDCUq6H/04Vt8U9SjlaiRKBw/U9V2y1OE4AsBNrVV/GJHPnzwm+Ivo1l8Q9rt8rgTUaUlocMfd uFMzcxqGHXdIUANYZ9V7kvph33DBXFXjijgjK4JvGR9vod6rswuxRMAl46siLhubxK2uNAmqO9ZZg UWeFcLNyTp0ByA==; Received: from [87.69.77.57] (port=4858 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 1oYRL1-0000ZH-G3; Wed, 14 Sep 2022 08:17:56 -0400 Date: Wed, 14 Sep 2022 15:17:44 +0300 Message-Id: <83fsgu2lqv.fsf@gnu.org> From: Eli Zaretskii To: Alfredo Finelli In-Reply-To: <87k0669zp2.fsf@computationes.de> (message from Alfredo Finelli on Wed, 14 Sep 2022 09:34:33 +0200) Subject: Re: bug#57771: 28.2; =?utf-8?B?4oCZdW5pbnN0YWxs4oCZ?= make target does not remove .eln native compiled files References: <87r10fmzcv.fsf@computationes.de> <83czbz45z2.fsf@gnu.org> <87k0669zp2.fsf@computationes.de> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57771-done Cc: 57771-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: -3.3 (---) > From: Alfredo Finelli > Cc: 57771@debbugs.gnu.org > Date: Wed, 14 Sep 2022 09:34:33 +0200 > > Eli Zaretskii writes: > > > Does the patch below give good results? > > > > diff --git a/Makefile.in b/Makefile.in > > index d288bac..3f811ea 100644 > > --- a/Makefile.in > > +++ b/Makefile.in > > @@ -844,7 +844,7 @@ uninstall: > > rm -f "$(DESTDIR)$(includedir)/emacs-module.h" > > $(MAKE) -C lib-src uninstall > > -unset CDPATH; \ > > - for dir in "$(DESTDIR)${lispdir}" "$(DESTDIR)${etcdir}" ; do \ > > + for dir in "$(DESTDIR)${lispdir}" "$(DESTDIR)${etcdir}" "$(ELN_DESTDIR)" ; do \ > > if [ -d "$${dir}" ]; then \ > > case `cd "$${dir}" ; /bin/pwd` in \ > > "`cd ${srcdir} ; /bin/pwd`"* ) ;; \ > > Thank you for your prompt reply! After testing it I can confirm that the > patch solves the problem. Thanks, installed on the emacs-28 branch, and closing the bug report. ------------=_1663157942-31139-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Sep 2022 14:09:39 +0000 Received: from localhost ([127.0.0.1]:52267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oY6ba-0003tT-0u for submit@debbugs.gnu.org; Tue, 13 Sep 2022 10:09:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:43136) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oY1db-0004eJ-KA for submit@debbugs.gnu.org; Tue, 13 Sep 2022 04:51:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY1db-00036b-F2 for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2022 04:51:23 -0400 Received: from www125.your-server.de ([88.198.176.247]:38178) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY1dY-0006za-TJ for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2022 04:51:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=computationes.de; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=gWkbHushGCEUEVBF0JXRHf9ecSuT1JTS+hdO2yapKSE=; b=OX4HSbm0hQ333tyZJEqp/u3gFR fGMZHaNDfKiNnbpQTeB+46hr1Tx1WZLLFke153EgysqJrN0Y3AEmR3QxDbON8RJs8vSKerBuAS+Vq L0C6xh2grRN+w+ifVEuKwqztNggl+jFZ2mElgxAFTY+vum419WIYhqZXg9c0+QyImDNEzVetOXmPN ZU8Wq1Q+0qH5Pt5sgp7Rh4AAkk85x8CyuypwBk1deT6dmjmq+tUqlVcQCicYayhBTVIrra4rPwFGO XYJxgTZ5O1TzLl1O3Jl5mov88IhR/ohOQbmnAvTccBhRtRy9TPsKFdXHIbkPAr9P3t9p5S8S2+j4d bcHUZCJQ==; Received: from sslproxy06.your-server.de ([78.46.172.3]) by www125.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oY1dR-000NsH-MV for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2022 10:51:13 +0200 Received: from [2003:e8:2719:4800:aeed:5cff:fe24:12ba] (helo=computationes.de) by sslproxy06.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oY1dR-000N54-Ir for bug-gnu-emacs@gnu.org; Tue, 13 Sep 2022 10:51:13 +0200 From: Alfredo Finelli To: bug-gnu-emacs@gnu.org Subject: 28.2; =?utf-8?B?4oCZdW5pbnN0YWxs4oCZ?= make target does not remove .eln native compiled files User-Agent: Notmuch/0.37 (https://notmuchmail.org) Date: Tue, 13 Sep 2022 10:51:12 +0200 Message-ID: <87r10fmzcv.fsf@computationes.de> MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Sender: alf@computationes.de X-Virus-Scanned: Clear (ClamAV 0.103.7/26656/Mon Sep 12 09:55:26 2022) Received-SPF: pass client-ip=88.198.176.247; envelope-from=alf@computationes.de; helo=www125.your-server.de 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 13 Sep 2022 10:09:36 -0400 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 (--) While building emacs to upgrade it from version 28.1 to 28.2 I noticed that the "uninstall" make target leaves native compiled .eln files behind in the installation target directory. The same happens with the development version 29 from git, altough with less .eln files. This is how to reproduce the bug by installing emacs to an new empty directory; cwd is a regular emacs 28.2 source tree: $ mkdir /tmp/emacs-28.2 $ ./configure --with-native-compilation --prefix=/tmp/emacs-28.2/ [... snip] $ make -j4 [... snip] $ make install [... snip] $ make uninstall [... snip] $ find /tmp/emacs-28.2/ /tmp/emacs-28.2/ /tmp/emacs-28.2/share /tmp/emacs-28.2/share/info /tmp/emacs-28.2/share/info/dir /tmp/emacs-28.2/share/man /tmp/emacs-28.2/share/man/man1 /tmp/emacs-28.2/share/applications /tmp/emacs-28.2/share/applications/emacsclient.desktop /tmp/emacs-28.2/share/applications/emacs-mail.desktop /tmp/emacs-28.2/share/applications/emacsclient-mail.desktop /tmp/emacs-28.2/share/metainfo /tmp/emacs-28.2/share/icons /tmp/emacs-28.2/share/icons/hicolor /tmp/emacs-28.2/share/icons/hicolor/128x128 /tmp/emacs-28.2/share/icons/hicolor/128x128/apps /tmp/emacs-28.2/share/icons/hicolor/16x16 /tmp/emacs-28.2/share/icons/hicolor/16x16/apps /tmp/emacs-28.2/share/icons/hicolor/24x24 /tmp/emacs-28.2/share/icons/hicolor/24x24/apps /tmp/emacs-28.2/share/icons/hicolor/32x32 /tmp/emacs-28.2/share/icons/hicolor/32x32/apps /tmp/emacs-28.2/share/icons/hicolor/48x48 /tmp/emacs-28.2/share/icons/hicolor/48x48/apps /tmp/emacs-28.2/share/icons/hicolor/scalable /tmp/emacs-28.2/share/icons/hicolor/scalable/apps /tmp/emacs-28.2/share/icons/hicolor/scalable/mimetypes /tmp/emacs-28.2/share/emacs /tmp/emacs-28.2/share/emacs/site-lisp /tmp/emacs-28.2/share/emacs/site-lisp/subdirs.el /tmp/emacs-28.2/lib /tmp/emacs-28.2/lib/systemd /tmp/emacs-28.2/lib/systemd/user /tmp/emacs-28.2/lib/emacs /tmp/emacs-28.2/lib/emacs/28.2 /tmp/emacs-28.2/lib/emacs/28.2/native-lisp /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/bindings-d30713c5-1ec0133a.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/buff-menu-da4b0b04-65a249b6.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/case-table-3a8e2808-be7656d4.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/button-747c9d6e-948de613.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/abbrev-2af30c9a-81a91c7e.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/cus-face-74f1689e-1f20b9c1.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/cus-start-26315480-6f2c6ee4.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/disp-table-375616aa-5c285770.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/dnd-12d90309-f8c52779.eln /tmp/emacs-28.2/lib/emacs/28.2/native-lisp/28.2-418cd9aa/preloaded/dos-fns-6e9410f2-9e80dcb2.eln [... CUT .... 133 other native compiled .eln files ....] /tmp/emacs-28.2/include /tmp/emacs-28.2/bin /tmp/emacs-28.2/libexec /tmp/emacs-28.2/libexec/emacs Best regards. ------------=_1663157942-31139-1--