From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Allen Li Newsgroups: gmane.emacs.bugs Subject: bug#68678: 29.1; package-recompile-all should skip system packages in package-directory-list Date: Tue, 23 Jan 2024 15:48:35 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000595d25060fa59678" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6557"; mail-complaints-to="usenet@ciao.gmane.io" To: 68678@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 24 00:50:23 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rSQX8-0001V3-RI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Jan 2024 00:50:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSQWl-0000xP-Rq; Tue, 23 Jan 2024 18:49:59 -0500 Original-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 1rSQWk-0000ws-Cb for bug-gnu-emacs@gnu.org; Tue, 23 Jan 2024 18:49:58 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSQWj-00058I-Q0 for bug-gnu-emacs@gnu.org; Tue, 23 Jan 2024 18:49:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rSQWo-0007OO-AG for bug-gnu-emacs@gnu.org; Tue, 23 Jan 2024 18:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Allen Li Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Jan 2024 23:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68678 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.170605374528332 (code B ref -1); Tue, 23 Jan 2024 23:50:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Jan 2024 23:49:05 +0000 Original-Received: from localhost ([127.0.0.1]:44128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSQVs-0007Mu-Tk for submit@debbugs.gnu.org; Tue, 23 Jan 2024 18:49:05 -0500 Original-Received: from lists.gnu.org ([2001:470:142::17]:33428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSQVr-0007MO-9O for submit@debbugs.gnu.org; Tue, 23 Jan 2024 18:49:03 -0500 Original-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 1rSQVg-0000qB-Kq for bug-gnu-emacs@gnu.org; Tue, 23 Jan 2024 18:48:52 -0500 Original-Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSQVe-00053g-ME for bug-gnu-emacs@gnu.org; Tue, 23 Jan 2024 18:48:52 -0500 Original-Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-50e4e36c09cso1352455e87.1 for ; Tue, 23 Jan 2024 15:48:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=felesatra-moe.20230601.gappssmtp.com; s=20230601; t=1706053727; x=1706658527; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=FcNDn1vKHee6c3lP+mwyBFjWoPWy3SI14/f+gcKUcrE=; b=vQa1tmwPfdRedRvf4lQCtYWhmUCIUxC+KPeIP2fldqlmgQT4Q8j1jZwalMGQi8h0vz 2LQ9z3kbYElFFV7KMUxRCPqSrzIo0p4zW1yuVfaGjCubPAoq5KTVwrMzxM7tdRTh/Crz Wj9fpfiH7rPbnSH2xLKT+lqjCvRkafjeLrZlStIPVbMfrcnQfYX6GBD5KqbyIAt7phL3 uUNY5exliiBXo+ikNhdmmtr9jjcZd+tk5e1Srge9EHmy8vxP67azRtCoYAhl7DVOh/g4 ITfRWJ2HjEETLG8D1c1i8m+YgATUhTM2VpyeR7UJj2upMekA0V40pRx1vn9Q6L5/TN09 s74A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706053727; x=1706658527; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FcNDn1vKHee6c3lP+mwyBFjWoPWy3SI14/f+gcKUcrE=; b=WyGJYNETa9yERSx8yuYjqIUrELTVuJay3/WwayKux1mhCp89SOugJR/pc4ZPg0nTNr Y3hlEneSAihW6mObgUFMiQECg7VFE5j/iAfRcNXB50yMLRHRfKO7GPNbGb332YoXR//J uhbeuDa3AyMZJn+2xo/2BlcsElWGb/sLooSRBaNLvZJ1Y9tqJQFYZ5W0b6z6k/ifBgXP iTA99pdtQTS1+WU/P3Ox8ZXI43gKCpYEZSHc+UqpkdTnSP2a3KZrlPu63uagS+PKI11t +SaISXm4E3WMKGOil9S8chNy6lddQi0DVZp5NQimGOjET/ZOBHwBQ45jJc3XVUG2rJkH +dfA== X-Gm-Message-State: AOJu0YwTmg3r+diasN/VUj7D2s8JhQodDHKo6HrsP6Bcbi2bP9biQeNC 35/ekZhXrkfM35mPc4rreMv6vFdisiFsAUjzrHwnw7tfMefxMU1R0zmKuEciqadVBjOR7bgDoCk Kl3rC3Tz+n09kbrD7lreRdNXVB9mztwJ6/Ga1QVNuZDCKssvE0yuyyA== X-Google-Smtp-Source: AGHT+IG9FA8FrfWlai7ONCxTU1Qz6YIqPX4XVgr5AJFUebX2anCSUd9uN3IdMkkIJbCFJtAlP9nJsIwXev9fe20B8nY= X-Received: by 2002:a19:4f10:0:b0:510:c55:a407 with SMTP id d16-20020a194f10000000b005100c55a407mr378131lfb.4.1706053726717; Tue, 23 Jan 2024 15:48:46 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::12b; envelope-from=darkfeline@felesatra.moe; helo=mail-lf1-x12b.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278750 Archived-At: --000000000000595d25060fa59678 Content-Type: text/plain; charset="UTF-8" package-recompile-all currently attempts to recompile all packages, including the system packages listed in package-directory-list. System packages are generally byte compiled as part of installation, and are not writeable by normal users. package-recompile-all attempts to recompile these, which will almost certainly error out due to this. It would be better if package-recompile-all only tries user installed packages (in package-user-dir), which are more likely to need recompilation. Perhaps as a prefix arg option? In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0) of 2023-09-03, modified by Debian built on kokoro-ubuntu System Description: Debian GNU/Linux rodete --000000000000595d25060fa59678 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
package-recompile-all currently attempts to recompile all = packages,
including the system packages listed in package-directory-list= .

System packages are generally byte compiled as part of installatio= n, and
are not writeable by normal users.

package-recompile-all a= ttempts to recompile these, which will almost
certainly error out due to= this.

It would be better if package-recompile-all only tries user i= nstalled
packages (in package-user-dir), which are more likely to needrecompilation.=C2=A0 Perhaps as a prefix arg option?

In GNU Emacs= 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37,
=C2=A0cairo v= ersion 1.16.0) of 2023-09-03, modified by Debian built on
=C2=A0kokoro-u= buntu
System Description: Debian GNU/Linux rodete
--000000000000595d25060fa59678--