Received: (at 78521) by debbugs.gnu.org; 7 Jun 2025 08:38:48 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 07 04:38:47 2025 Received: from localhost ([127.0.0.1]:46802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uNp4f-0005Xb-PD for submit <at> debbugs.gnu.org; Sat, 07 Jun 2025 04:38:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54846) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uNp4d-0005XH-Le for 78521 <at> debbugs.gnu.org; Sat, 07 Jun 2025 04:38:44 -0400 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 <eliz@HIDDEN>) id 1uNp4Y-00056q-9L; Sat, 07 Jun 2025 04:38:38 -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=UcPIzQyzJZEn0j4ttXvp410KO/E6r2z3pTFZqlS20ss=; b=CreTSHqlwYC1kwTfoBHZ 2N/3p8EhafNQQk3Fj3PovjJ0KOICNB0RRS+mIsN0CfuqAdoQjCsKjNdgDhcAi4/16hBu+MiB5N1CK L9pGbGugbJaiIEy5ZHsyTmrj2XCWd3fhAMLk2HDegaX+cnDlMAyf6tdNQMGHR3rmkptsZnl3u+A5D PA1Z09CSbgQHwzwh0I/N+fSYMp6kyfKKRFbN42KAnErj25dPSjh9EUreXKyW+1q9hMWh8BsK6P9hF uiTXBiPXdfHRUDVwPnKY2M/JrC0fFB72gK/PHh6b/TVrwThzCu7eUOTiBMISwiixH9ixT62o6Mhax ldFXQc58S9jPVw==; Date: Sat, 07 Jun 2025 11:38:36 +0300 Message-Id: <86zfekhroz.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: philipk@HIDDEN, Jen-Chieh Shen <jcs090218@HIDDEN> In-Reply-To: <CAMiGhTNUFu_ZO47nM6cQgquR4ngTYWMZdZ5FUR78SuOZAOur2w@HIDDEN> (message from Jen-Chieh Shen on Mon, 26 May 2025 05:58:11 -0700) Subject: Re: bug#78521: Error: No package in XXX with `package-install-file` References: <CAMiGhTOug+T09Fmpkq4_dYrizhqNkGWMknjz4aO=8p0w48yVjw@HIDDEN> <864ixd6jz1.fsf@HIDDEN> <87ecwgdiu5.fsf@HIDDEN> <CAMiGhTN-btdunrQLXx+ZQ=i5za9WeVpYEWkaUx-P2nhFXwQgOQ@HIDDEN> <87tt58locz.fsf@HIDDEN> <CAMiGhTNUFu_ZO47nM6cQgquR4ngTYWMZdZ5FUR78SuOZAOur2w@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78521 Cc: 78521 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Ping! Any further comments or suggestions? > From: Jen-Chieh Shen <jcs090218@HIDDEN> > Date: Mon, 26 May 2025 05:58:11 -0700 > Cc: Eli Zaretskii <eliz@HIDDEN>, 78521 <at> debbugs.gnu.org > > > What I cannot deduce from this snippet, is if the Dired buffer at PATH was previously > > opened or had any marked files in it. > > It wasn't previously opened. > > > Could you check that (dired-get-marked-files) returns nil or call (dired-unmark-all-marks) > > before invoking `package-dir-info`? > > (dired-get-marked-files) doesn't return nil. I tried using (dired-unmark-all-marks), > but (dired-get-marked-files) still returns the file—in this case, the path to the Eask file. > > The latest test code: > > ```elisp > (with-temp-buffer > (dired path) > (dired-unmark-all-marks) > (eask--unsilent > (message "? %s" (dired-get-marked-files)) ; This returns the Eask-file path for some reason. > (eask-ignore-errors-silent (package-dir-info)))) ; still fail > ``` > > The latest output: > > ``` > 0 marks removed > 9? (/home/runner/work/cli/cli/test/jest/install/foo-mode/Eask) > 10Package lacks a file header > ``` > > Thanks! > > On Sun, May 25, 2025 at 8:08 AM Philip Kaludercic <philipk@HIDDEN> wrote: > > Jen-Chieh Shen <jcs090218@HIDDEN> writes: > > > Hi, Philip. > > > > The error was covered by my error message. After going one level deep, the > > real error message is `Package lacks a file header `. > > It occurred with the following code, not `package-install-file` (sorry for > > the confusion). > > > > ``elisp > > (with-temp-buffer > > (dired path) > > (ignore-errors (package-dir-info))) ; error occurred this line > > ``` > > Right, I was expecting something like this. We recently added a change > that allows marking files in Dired and having `package-dir-info' respect > this by only considering these files IF the current buffer is in > dired-mode /and/ the Dired buffer has marked files. What I cannot > deduce from this snippet, is if the Dired buffer at PATH was previously > opened or had any marked files in it. Could you check that > (dired-get-marked-files) returns nil or call (dired-unmark-all-marks) > before invoking `package-dir-info`? > > > The test package I'm trying to install is located at > > https://github.com/emacs-eask/cli/tree/master/test/jest/install/foo-mode. > > > > Thanks! > > Thank you for your cooperation! > > > On Thu, May 22, 2025 at 3:45 AM Philip Kaludercic <philipk@HIDDEN> > > wrote: > > > >> Eli Zaretskii <eliz@HIDDEN> writes: > >> > >> >> From: Jen-Chieh Shen <jcs090218@HIDDEN> > >> >> Date: Tue, 20 May 2025 17:08:38 -0700 > >> >> > >> >> I recently encountered an error, No package in XXX, when using the > >> package-install-file function in > >> >> the latest Emacs snapshot. This function was working correctly as of > >> May 5, 2025, but started failing > >> >> sometime after May 8, 2025. I suspect there may have been a breaking > >> change introduced. > >> >> > >> >> This issue only affects the snapshot build—my CI tests cover Emacs > >> versions 26.3, 27.2, 28.2, 29.4, 30.1, > >> >> and the snapshot, and all versions except the snapshot pass. You can > >> view the test results here: > >> >> https://github.com/emacs-eask/cli/actions/runs/14904371642. > >> > > >> > Philip, could you please take a look at this issue? > >> > >> Can you elaborate what the tests are doing? package-install-file works > >> fine for me on my end. > >>
bug-gnu-emacs@HIDDEN
:bug#78521
; Package emacs
.
Full text available.Received: (at 78521) by debbugs.gnu.org; 26 May 2025 12:58:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 26 08:58:33 2025 Received: from localhost ([127.0.0.1]:55924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uJXPV-0004wN-27 for submit <at> debbugs.gnu.org; Mon, 26 May 2025 08:58:33 -0400 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:49245) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <jcs090218@HIDDEN>) id 1uJXPQ-0004vv-HV for 78521 <at> debbugs.gnu.org; Mon, 26 May 2025 08:58:29 -0400 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-3105ef2a06cso20333421fa.2 for <78521 <at> debbugs.gnu.org>; Mon, 26 May 2025 05:58:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748264302; x=1748869102; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Gl7eVTekRRqvj0lP+1Ju2u7EAbiQ9Ad6GtpukstnY0Y=; b=FApaO6NuO5P56dLt4VQAlmC+wdgA7LwXBmW25P12UwEiqfX4J2CXR3jRUKuLK48Zrn aEuLN+7c1fnHLbRPIeogRV7Be/O7cWB8O79VGehoavFwzgqh44pj+biNUaAZ4Iy6jDgj EHKsQ7k5Znz1Bd8cNb6aJ4we6BvE9xego07GEzcR22H+bG8GA5kjhNAqxCjxgtDGtGKV JaVfnH3YovAn/Hz9driPEn4aZXj/to1I3i2CUm3/cHOvtFKPi0Z3BY7xAfNZVpj2BFDR 4iPsMJgtDIrGBLsK5PEceFPC6fv6mNjiTumqrMLVAhKQTS4717H7av7scSmGRNiWgFoj uktA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748264302; x=1748869102; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Gl7eVTekRRqvj0lP+1Ju2u7EAbiQ9Ad6GtpukstnY0Y=; b=km79X9HaX/9V7FJUp38flq/ADKmBW/mzx5jLpzX0TP6lVoUDnHcMEhbIQu3cZ9Waii +NgCDchudqP+sknLHbYx+OfZNdFedEBER1eRKGVVDkK+Zt0mipA7f2ri+E7LwUGd2iFU /UmzFqyprt5E7+fr3ah3TCsFCva0Kz8nHy4F33YDIOzYRm9wnrcCTjgCoGcHSCn5Ufci pocek5NUy/bZnOJDjYtaqAlZvREgL63NmgLm6YlkKhsfwx+JCTDo8V3NxGN4Pq1sLaGM /QxhoAYh9eGFr3IfZj7dbptt9yOBvrZVSLPha5WuhWyFsLShyiiJBeqi05JJBzEhTGLm CZwQ== X-Forwarded-Encrypted: i=1; AJvYcCVwm5QANu6Au8aII+gdzSutiVFruMER1oBUsLSKFIelx8PBSJsGQ36pRCgH/0MrQM5p89+Jyg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwDkyE789veWl7NqeI0RsJVGNv5WXXkUOxfgftbDWYRFlD64h8y U4nOMm0s+Y1SorPdQI34vNI+a8ZIsYCITBdj5hWd7l4SBv5jBIl3S/nThgnK+gJGJ7/lck6Rab4 z3aTgInKuc8xKoKLh6aDvLzxsEnAhfTk= X-Gm-Gg: ASbGncsOevI2VXRtMx5cuUeBbjLjmpPhM8r4ITZL6sWTSfe6gsL+inKJetV3U1bSDt3 aa+00B4ZxRoSzlK42Kk9DRVlZ0eI5U6p1ElN/PyWE9/C+t8ufKHtLuzGotgQ1pfM0Gk7xePLyOB Q0lSyTBY7cT9Uh2Qd5856LB953nBbf1/iHiiTgFfRmFjqtPkBgMwyn8IvHeAJaiWzwNg== X-Google-Smtp-Source: AGHT+IEZq6vNv4oWj/7ikMZ5nsACT/jU+IqjXOVq+kWJe/wVMRJkXqbPhZfD7Smlivm8gNlTi7IFX1zHOF89YjSLPhE= X-Received: by 2002:a05:651c:1541:b0:328:1364:7754 with SMTP id 38308e7fff4ca-3295b9c8e02mr21368241fa.24.1748264301605; Mon, 26 May 2025 05:58:21 -0700 (PDT) MIME-Version: 1.0 References: <CAMiGhTOug+T09Fmpkq4_dYrizhqNkGWMknjz4aO=8p0w48yVjw@HIDDEN> <864ixd6jz1.fsf@HIDDEN> <87ecwgdiu5.fsf@HIDDEN> <CAMiGhTN-btdunrQLXx+ZQ=i5za9WeVpYEWkaUx-P2nhFXwQgOQ@HIDDEN> <87tt58locz.fsf@HIDDEN> In-Reply-To: <87tt58locz.fsf@HIDDEN> From: Jen-Chieh Shen <jcs090218@HIDDEN> Date: Mon, 26 May 2025 05:58:11 -0700 X-Gm-Features: AX0GCFtgoysQn0koDkNm8EPh_JH2qErc0R-CKzOyJs_gKZniz_MX861glmBHYKk Message-ID: <CAMiGhTNUFu_ZO47nM6cQgquR4ngTYWMZdZ5FUR78SuOZAOur2w@HIDDEN> Subject: Re: bug#78521: Error: No package in XXX with `package-install-file` To: Philip Kaludercic <philipk@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000abb73806360980ef" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 78521 Cc: Eli Zaretskii <eliz@HIDDEN>, 78521 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) --000000000000abb73806360980ef Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > What I cannot deduce from this snippet, is if the Dired buffer at PATH was previously > opened or had any marked files in it. It wasn't previously opened. > Could you check that (dired-get-marked-files) returns nil or call (dired-unmark-all-marks) > before invoking `package-dir-info`? (dired-get-marked-files) doesn't return nil. I tried using (dired-unmark-all-marks), but (dired-get-marked-files) still returns the file=E2=80=94in this case, t= he path to the Eask file. The latest test code: ```elisp (with-temp-buffer (dired path) (dired-unmark-all-marks) (eask--unsilent (message "? %s" (dired-get-marked-files)) ; This returns the Eask-file path for some reason. (eask-ignore-errors-silent (package-dir-info)))) ; still fail ``` The latest output: ``` 0 marks removed 9 <https://github.com/emacs-eask/cli/actions/runs/15254500319/job/42898768686= ?pr=3D324#step:6:10>? (/home/runner/work/cli/cli/test/jest/install/foo-mode/Eask) 10 <https://github.com/emacs-eask/cli/actions/runs/15254500319/job/42898768686= ?pr=3D324#step:6:11>Package lacks a file header ``` Thanks! On Sun, May 25, 2025 at 8:08=E2=80=AFAM Philip Kaludercic <philipk@HIDDEN= et> wrote: > Jen-Chieh Shen <jcs090218@HIDDEN> writes: > > > Hi, Philip. > > > > The error was covered by my error message. After going one level deep, > the > > real error message is `Package lacks a file header `. > > It occurred with the following code, not `package-install-file` (sorry > for > > the confusion). > > > > ``elisp > > (with-temp-buffer > > (dired path) > > (ignore-errors (package-dir-info))) ; error occurred this line > > ``` > > Right, I was expecting something like this. We recently added a change > that allows marking files in Dired and having `package-dir-info' respect > this by only considering these files IF the current buffer is in > dired-mode /and/ the Dired buffer has marked files. What I cannot > deduce from this snippet, is if the Dired buffer at PATH was previously > opened or had any marked files in it. Could you check that > (dired-get-marked-files) returns nil or call (dired-unmark-all-marks) > before invoking `package-dir-info`? > > > The test package I'm trying to install is located at > > https://github.com/emacs-eask/cli/tree/master/test/jest/install/foo-mod= e > . > > > > Thanks! > > Thank you for your cooperation! > > > On Thu, May 22, 2025 at 3:45=E2=80=AFAM Philip Kaludercic <philipk@post= eo.net> > > wrote: > > > >> Eli Zaretskii <eliz@HIDDEN> writes: > >> > >> >> From: Jen-Chieh Shen <jcs090218@HIDDEN> > >> >> Date: Tue, 20 May 2025 17:08:38 -0700 > >> >> > >> >> I recently encountered an error, No package in XXX, when using the > >> package-install-file function in > >> >> the latest Emacs snapshot. This function was working correctly as o= f > >> May 5, 2025, but started failing > >> >> sometime after May 8, 2025. I suspect there may have been a breakin= g > >> change introduced. > >> >> > >> >> This issue only affects the snapshot build=E2=80=94my CI tests cove= r Emacs > >> versions 26.3, 27.2, 28.2, 29.4, 30.1, > >> >> and the snapshot, and all versions except the snapshot pass. You ca= n > >> view the test results here: > >> >> https://github.com/emacs-eask/cli/actions/runs/14904371642. > >> > > >> > Philip, could you please take a look at this issue? > >> > >> Can you elaborate what the tests are doing? package-install-file work= s > >> fine for me on my end. > >> > --000000000000abb73806360980ef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">> What I cannot deduce from this snippet, is if the Dir= ed buffer at PATH was previously=C2=A0<div>> opened or had any marked fi= les in it.</div><div><br></div><div>It wasn't previously opened.=C2=A0<= /div><div><br></div><div>>=C2=A0 Could you check that (dired-get-marked-= files) returns nil or call (dired-unmark-all-marks)</div>> before invoki= ng `package-dir-info`?<div><br></div><div><code>(dired-get-marked-files)</c= ode> doesn't return <code>nil</code>. I tried using <code>(dired-unmark= -all-marks)</code>,=C2=A0</div><div>but <code>(dired-get-marked-files)</cod= e> still returns the file=E2=80=94in this case, the path to the Eask file.= =C2=A0=C2=A0</div><div><br></div><div>The latest test code:</div><div><br><= /div><div>```elisp</div><div>(with-temp-buffer<br>=C2=A0 (dired path)<br>= =C2=A0 (dired-unmark-all-marks)<br>=C2=A0 (eask--unsilent<br>=C2=A0 =C2=A0 = (message "? %s" (dired-get-marked-files))=C2=A0 ; This returns th= e Eask-file path for some reason.<br>=C2=A0 =C2=A0 (eask-ignore-errors-sile= nt (package-dir-info))))=C2=A0 ; still fail</div><div>```</div><div><br></d= iv><div>The latest output:</div><div><br></div><div>```</div><div><div styl= e=3D"box-sizing:border-box;color:rgb(209,215,224);font-family:ui-monospace,= SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono&quo= t;,monospace;font-size:12px;background-color:rgb(21,27,35)"><div class=3D"g= mail-js-check-step-line gmail-CheckStep-line gmail-d-flex gmail-log-line-pl= ain" style=3D"box-sizing:border-box;line-height:20px;display:flex"><span cl= ass=3D"gmail-CheckStep-line-content gmail-d-inline-block gmail-flex-auto gm= ail-ml-3 gmail-js-check-line-content" style=3D"box-sizing:border-box;overfl= ow-x:auto;margin-left:16px;display:inline-block"><span class=3D"gmail-" sty= le=3D"box-sizing:border-box">0 marks removed </span></span></div></div><div style=3D"box-sizing:border-box;color:rgb(209= ,215,224);font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo= ,Consolas,"Liberation Mono",monospace;font-size:12px;background-c= olor:rgb(21,27,35)"><div class=3D"gmail-js-check-step-line gmail-CheckStep-= line gmail-d-flex gmail-log-line-plain" style=3D"box-sizing:border-box;line= -height:20px;display:flex"><a class=3D"gmail-CheckStep-line-number gmail-co= lor-fg-muted gmail-d-inline-block gmail-text-mono gmail-text-normal gmail-f= lex-shrink-0" href=3D"https://github.com/emacs-eask/cli/actions/runs/152545= 00319/job/42898768686?pr=3D324#step:6:10" style=3D"box-sizing:border-box;ba= ckground-color:transparent;text-decoration-line:none;width:48px;overflow:hi= dden;text-align:right;text-overflow:ellipsis;color:rgb(145,152,161);display= :inline-block">9</a><span class=3D"gmail-CheckStep-line-content gmail-d-inl= ine-block gmail-flex-auto gmail-ml-3 gmail-js-check-line-content" style=3D"= box-sizing:border-box;overflow-x:auto;margin-left:16px;display:inline-block= "><span class=3D"gmail-" style=3D"box-sizing:border-box">? (/home/runner/wo= rk/cli/cli/test/jest/install/foo-mode/Eask) </span></span></div></div><div style=3D"box-sizing:border-box;color:rgb(209= ,215,224);font-family:ui-monospace,SFMono-Regular,"SF Mono",Menlo= ,Consolas,"Liberation Mono",monospace;font-size:12px;background-c= olor:rgb(21,27,35)"><div class=3D"gmail-js-check-step-line gmail-CheckStep-= line gmail-d-flex gmail-log-line-plain" style=3D"box-sizing:border-box;line= -height:20px;display:flex"><a class=3D"gmail-CheckStep-line-number gmail-co= lor-fg-muted gmail-d-inline-block gmail-text-mono gmail-text-normal gmail-f= lex-shrink-0" href=3D"https://github.com/emacs-eask/cli/actions/runs/152545= 00319/job/42898768686?pr=3D324#step:6:11" style=3D"box-sizing:border-box;ba= ckground-color:transparent;text-decoration-line:none;width:48px;overflow:hi= dden;text-align:right;text-overflow:ellipsis;color:rgb(145,152,161);display= :inline-block">10</a><span class=3D"gmail-CheckStep-line-content gmail-d-in= line-block gmail-flex-auto gmail-ml-3 gmail-js-check-line-content" style=3D= "box-sizing:border-box;overflow-x:auto;margin-left:16px;display:inline-bloc= k"><span class=3D"gmail-ansifg-r" style=3D"box-sizing:border-box;color:rgb(= 255,123,114)">Package lacks a file header</span></span></div></div></div><d= iv>```</div><div><br></div><div>Thanks!</div><div><br></div></div><br><div = class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail= _attr">On Sun, May 25, 2025 at 8:08=E2=80=AFAM Philip Kaludercic <<a hre= f=3D"mailto:philipk@HIDDEN">philipk@HIDDEN</a>> wrote:<br></div>= <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex">Jen-Chieh Shen <<a hre= f=3D"mailto:jcs090218@HIDDEN" target=3D"_blank">jcs090218@HIDDEN</a>&= gt; writes:<br> <br> > Hi, Philip.<br> ><br> > The error was covered by my error message. After going one level deep,= the<br> > real error message is `Package lacks a file header `.<br> > It occurred with the following code, not `package-install-file` (sorry= for<br> > the confusion).<br> ><br> > ``elisp<br> > (with-temp-buffer<br> >=C2=A0 =C2=A0(dired path)<br> >=C2=A0 =C2=A0(ignore-errors (package-dir-info)))=C2=A0 ; error occurred= this line<br> > ```<br> <br> Right, I was expecting something like this.=C2=A0 We recently added a chang= e<br> that allows marking files in Dired and having `package-dir-info' respec= t<br> this by only considering these files IF the current buffer is in<br> dired-mode /and/ the Dired buffer has marked files.=C2=A0 What I cannot<br> deduce from this snippet, is if the Dired buffer at PATH was previously<br> opened or had any marked files in it.=C2=A0 Could you check that<br> (dired-get-marked-files) returns nil or call (dired-unmark-all-marks)<br> before invoking `package-dir-info`?<br> <br> > The test package I'm trying to install is located at<br> > <a href=3D"https://github.com/emacs-eask/cli/tree/master/test/jest/ins= tall/foo-mode" rel=3D"noreferrer" target=3D"_blank">https://github.com/emac= s-eask/cli/tree/master/test/jest/install/foo-mode</a>.<br> ><br> > Thanks!<br> <br> Thank you for your cooperation!<br> <br> > On Thu, May 22, 2025 at 3:45=E2=80=AFAM Philip Kaludercic <<a href= =3D"mailto:philipk@HIDDEN" target=3D"_blank">philipk@HIDDEN</a>>= <br> > wrote:<br> ><br> >> Eli Zaretskii <<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank= ">eliz@HIDDEN</a>> writes:<br> >><br> >> >> From: Jen-Chieh Shen <<a href=3D"mailto:jcs090218@gmai= l.com" target=3D"_blank">jcs090218@HIDDEN</a>><br> >> >> Date: Tue, 20 May 2025 17:08:38 -0700<br> >> >><br> >> >> I recently encountered an error, No package in XXX, when = using the<br> >> package-install-file function in<br> >> >> the latest Emacs snapshot. This function was working corr= ectly as of<br> >> May 5, 2025, but started failing<br> >> >> sometime after May 8, 2025. I suspect there may have been= a breaking<br> >> change introduced.<br> >> >><br> >> >> This issue only affects the snapshot build=E2=80=94my CI = tests cover Emacs<br> >> versions 26.3, 27.2, 28.2, 29.4, 30.1,<br> >> >> and the snapshot, and all versions except the snapshot pa= ss. You can<br> >> view the test results here:<br> >> >> <a href=3D"https://github.com/emacs-eask/cli/actions/runs= /14904371642" rel=3D"noreferrer" target=3D"_blank">https://github.com/emacs= -eask/cli/actions/runs/14904371642</a>.<br> >> ><br> >> > Philip, could you please take a look at this issue?<br> >><br> >> Can you elaborate what the tests are doing?=C2=A0 package-install-= file works<br> >> fine for me on my end.<br> >><br> </blockquote></div> --000000000000abb73806360980ef--
bug-gnu-emacs@HIDDEN
:bug#78521
; Package emacs
.
Full text available.Received: (at 78521) by debbugs.gnu.org; 25 May 2025 15:08:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 25 11:08:43 2025 Received: from localhost ([127.0.0.1]:46687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uJCxu-0003Zi-Cg for submit <at> debbugs.gnu.org; Sun, 25 May 2025 11:08:42 -0400 Received: from mout02.posteo.de ([185.67.36.66]:57129) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <philipk@HIDDEN>) id 1uJCxn-0003Yg-Jd for 78521 <at> debbugs.gnu.org; Sun, 25 May 2025 11:08:36 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8DE8E240101 for <78521 <at> debbugs.gnu.org>; Sun, 25 May 2025 17:08:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1748185709; bh=/3CwbS72A3rmgPDaHnkLToQ1b3YHP+NMjygW7nexXVQ=; h=From:To:Cc:Subject:Autocrypt:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:Content-Transfer-Encoding:From; b=Z6AeaGtqQSICGLgsdmgcHNF4Cxt5SDTPIG+xh+b9FE/clI6CAMIInpEfTR9cnHYw9 ZGCCLxHotZrN6lXSblFyowxUww0FBtBuFFZaa+tFF1Nf7/RH34RWRq/ahFNVx9Qttx NRLaN6aHi0crfI9GD9gRHCenFyVo+Fd33tAtytr+hORnW0dOHLVBJPB87sNuUTZ0KL ITQIYZyZVvVSYiq0gWuNvU19+RDq/4VSauDqvHaMa18R5xgMSio16P4LX4HSlJSJ+1 zVVyXclnV3qS5hEzM2E8wGh4qXBzUb+C00mw4M98pWfa87au2d5Q3ZU05GxfgtmQAW CHefDFn1kkUPw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4b52Mx0zf7z6twJ; Sun, 25 May 2025 17:08:28 +0200 (CEST) From: Philip Kaludercic <philipk@HIDDEN> To: Jen-Chieh Shen <jcs090218@HIDDEN> Subject: Re: bug#78521: Error: No package in XXX with `package-install-file` In-Reply-To: <CAMiGhTN-btdunrQLXx+ZQ=i5za9WeVpYEWkaUx-P2nhFXwQgOQ@HIDDEN> References: <CAMiGhTOug+T09Fmpkq4_dYrizhqNkGWMknjz4aO=8p0w48yVjw@HIDDEN> <864ixd6jz1.fsf@HIDDEN> <87ecwgdiu5.fsf@HIDDEN> <CAMiGhTN-btdunrQLXx+ZQ=i5za9WeVpYEWkaUx-P2nhFXwQgOQ@HIDDEN> Autocrypt: addr=philipk@HIDDEN; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66; url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66"; preference=signencrypt Date: Sun, 25 May 2025 15:08:28 +0000 Message-ID: <87tt58locz.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 78521 Cc: Eli Zaretskii <eliz@HIDDEN>, 78521 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.3 (----) Jen-Chieh Shen <jcs090218@HIDDEN> writes: > Hi, Philip. > > The error was covered by my error message. After going one level deep, the > real error message is `Package lacks a file header `. > It occurred with the following code, not `package-install-file` (sorry for > the confusion). > > ``elisp > (with-temp-buffer > (dired path) > (ignore-errors (package-dir-info))) ; error occurred this line > ``` Right, I was expecting something like this. We recently added a change that allows marking files in Dired and having `package-dir-info' respect this by only considering these files IF the current buffer is in dired-mode /and/ the Dired buffer has marked files. What I cannot deduce from this snippet, is if the Dired buffer at PATH was previously opened or had any marked files in it. Could you check that (dired-get-marked-files) returns nil or call (dired-unmark-all-marks) before invoking `package-dir-info`? > The test package I'm trying to install is located at > https://github.com/emacs-eask/cli/tree/master/test/jest/install/foo-mode. > > Thanks! Thank you for your cooperation! > On Thu, May 22, 2025 at 3:45=E2=80=AFAM Philip Kaludercic <philipk@posteo= .net> > wrote: > >> Eli Zaretskii <eliz@HIDDEN> writes: >> >> >> From: Jen-Chieh Shen <jcs090218@HIDDEN> >> >> Date: Tue, 20 May 2025 17:08:38 -0700 >> >> >> >> I recently encountered an error, No package in XXX, when using the >> package-install-file function in >> >> the latest Emacs snapshot. This function was working correctly as of >> May 5, 2025, but started failing >> >> sometime after May 8, 2025. I suspect there may have been a breaking >> change introduced. >> >> >> >> This issue only affects the snapshot build=E2=80=94my CI tests cover = Emacs >> versions 26.3, 27.2, 28.2, 29.4, 30.1, >> >> and the snapshot, and all versions except the snapshot pass. You can >> view the test results here: >> >> https://github.com/emacs-eask/cli/actions/runs/14904371642. >> > >> > Philip, could you please take a look at this issue? >> >> Can you elaborate what the tests are doing? package-install-file works >> fine for me on my end. >>
bug-gnu-emacs@HIDDEN
:bug#78521
; Package emacs
.
Full text available.Received: (at 78521) by debbugs.gnu.org; 25 May 2025 01:58:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 24 21:58:15 2025 Received: from localhost ([127.0.0.1]:39264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uJ0cx-0001gX-7y for submit <at> debbugs.gnu.org; Sat, 24 May 2025 21:58:15 -0400 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:51483) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <jcs090218@HIDDEN>) id 1uJ0cn-0001fN-UO for 78521 <at> debbugs.gnu.org; Sat, 24 May 2025 21:58:11 -0400 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-30effbfaf4aso12902361fa.3 for <78521 <at> debbugs.gnu.org>; Sat, 24 May 2025 18:58:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748138278; x=1748743078; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=rU5inqCFlx+R6jyixOo5WFvFkTw/nkcP3gm52NfXHco=; b=EmG51z4ruZFKsVUvVurQy2fBVkpkrWaqr0jZ7w6IZdy0XOCPUpVe8I5NFSkhC3QIOi 8n4Nu9IoJm1SyCTlrFwxwTru+hCc9Ie6GyC6TsSVGX/O6eRsB93uNKfofscMH1xhuSaP NZn4EyJh3iQb+kZMddJ2o0jUGQ+HuYywga42CSqeO/8wVmFa3defmtw+4iqi8Y8Ys8UU EhWOfRvHw6gKHi0+0hbq5S/vUClfOq5GGfkqjNFJp99MZoMTOOilF/gOqVjVYIQJqFZ/ gXn5VpmpXDM2wlhUp9SUhpz/a2BpcFBFdOcjsFOFhlatZYZf0XMZi/sCkTN4Z5KJREd9 t0Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748138278; x=1748743078; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rU5inqCFlx+R6jyixOo5WFvFkTw/nkcP3gm52NfXHco=; b=iUwJ8djk31mUAEx0vYDNgnnzjZ5ytdoeNz8MbpKE8tHdNGiXgnw4II9Rs8O+v8fUe+ DSXPg4aFmdizBf71x/846wEGPT4yVjgVa19luBjgnGkL+VOME6mzLW/Y1wXqBb+kPSoO 72uQ+5nZGKzuo69rmi7yfCmjf78uHkODL6uclW23KQqkafBlD0pgn3S8pGWXkRQmbO0z +3lLFxQkyXdxDg2e+SLZpvMQRnPN1dsTjkLA+IqoPt9bbl3uBbwoW7qr0VtQMdT1L/SM qq1s1OM1fjsTqWP5NV8G2VK0DyIA4wcOLVU/O2zG0i1FVx328Ss2X4lX9Am7CYORxSgU MsaA== X-Forwarded-Encrypted: i=1; AJvYcCXwydXLkfSBi2ZtVfmOTwE5zUoTNg5Dl+pv9EU7XLtCINIkau30Jqz65rSSYT6IQfTobdVJjg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyxAkXLebGCaSoOYL96ogLF806BwQmxmJ2M6AvrHYBUrYkTuHGE rk/ukjC+svHdsGTf1avkXNaUA00rrHteFic1qTjJo9bU21sY/PKadwg0idl5ZZXC87SugZ5rfR9 STmKsG4Z65aiFsj3o3WCUC9BSMUph+8I= X-Gm-Gg: ASbGnculSKla2puqndKAiol9/bI6ZTV6aHEKVTfLjuyD+u+sN5owWdjLncs6kqTcJbh uIWSY1lhNu6ZbVsb8tG+IXiaxLio3aCxfqbTBlou9CuQfoW7vTpylW1Fb8JOKVktHdPHr8V0ulU nBipvJVDlqqJn4NKVkIIy/zCtWoqB0kPA3f350b+1LE+p0wwwmNGstnMKdNdJ619Aw1w== X-Google-Smtp-Source: AGHT+IH9FBnzQQ3kfEiqzQPxBZpgDIaCDw76sSXrv/uJQMmwGPfOMpiRL+fv0fTq1u2AHirLmTnZEi+3v5Ip2b4QHeM= X-Received: by 2002:a05:651c:b2a:b0:30c:50fd:925e with SMTP id 38308e7fff4ca-3295b991e5dmr12610381fa.3.1748138277651; Sat, 24 May 2025 18:57:57 -0700 (PDT) MIME-Version: 1.0 References: <CAMiGhTOug+T09Fmpkq4_dYrizhqNkGWMknjz4aO=8p0w48yVjw@HIDDEN> <864ixd6jz1.fsf@HIDDEN> <87ecwgdiu5.fsf@HIDDEN> In-Reply-To: <87ecwgdiu5.fsf@HIDDEN> From: Jen-Chieh Shen <jcs090218@HIDDEN> Date: Sat, 24 May 2025 18:57:46 -0700 X-Gm-Features: AX0GCFt8zFnsAWhr9HhFMFv0VCwniWynCAQ2HFSnEWCIPLRpEsTM8XS9DLwHX9I Message-ID: <CAMiGhTN-btdunrQLXx+ZQ=i5za9WeVpYEWkaUx-P2nhFXwQgOQ@HIDDEN> Subject: Re: bug#78521: Error: No package in XXX with `package-install-file` To: Philip Kaludercic <philipk@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000000ec8120635ec2972" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 78521 Cc: Eli Zaretskii <eliz@HIDDEN>, 78521 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) --0000000000000ec8120635ec2972 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Philip. The error was covered by my error message. After going one level deep, the real error message is `Package lacks a file header `. It occurred with the following code, not `package-install-file` (sorry for the confusion). ``elisp (with-temp-buffer (dired path) (ignore-errors (package-dir-info))) ; error occurred this line ``` The test package I'm trying to install is located at https://github.com/emacs-eask/cli/tree/master/test/jest/install/foo-mode. Thanks! On Thu, May 22, 2025 at 3:45=E2=80=AFAM Philip Kaludercic <philipk@HIDDEN= et> wrote: > Eli Zaretskii <eliz@HIDDEN> writes: > > >> From: Jen-Chieh Shen <jcs090218@HIDDEN> > >> Date: Tue, 20 May 2025 17:08:38 -0700 > >> > >> I recently encountered an error, No package in XXX, when using the > package-install-file function in > >> the latest Emacs snapshot. This function was working correctly as of > May 5, 2025, but started failing > >> sometime after May 8, 2025. I suspect there may have been a breaking > change introduced. > >> > >> This issue only affects the snapshot build=E2=80=94my CI tests cover E= macs > versions 26.3, 27.2, 28.2, 29.4, 30.1, > >> and the snapshot, and all versions except the snapshot pass. You can > view the test results here: > >> https://github.com/emacs-eask/cli/actions/runs/14904371642. > > > > Philip, could you please take a look at this issue? > > Can you elaborate what the tests are doing? package-install-file works > fine for me on my end. > --0000000000000ec8120635ec2972 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hi, Philip.=C2=A0</div><div><br></div>The error was c= overed by my error message. After going one level deep, the real error mess= age is `<span style=3D"color:rgb(255,123,114);font-family:ui-monospace,SFMo= no-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",m= onospace;font-size:12px;background-color:rgb(21,27,35)">Package lacks a fil= e header</span>=C2=A0`.<div>It occurred with the following code, not `packa= ge-install-file` (sorry for the confusion).</div><div><br></div><div>``elis= p</div><div>(with-temp-buffer<br>=C2=A0 (dired path)<br>=C2=A0 (ignore-erro= rs (package-dir-info)))=C2=A0 ; error occurred this line</div><div>```</div= ><div><div><br></div><div>The test package I'm trying to install is loc= ated at=C2=A0<a href=3D"https://github.com/emacs-eask/cli/tree/master/test/= jest/install/foo-mode" target=3D"_blank">https://github.com/emacs-eask/cli/= tree/master/test/jest/install/foo-mode</a>.</div><div><br></div><div>Thanks= !</div></div></div><br><div class=3D"gmail_quote gmail_quote_container"><di= v dir=3D"ltr" class=3D"gmail_attr">On Thu, May 22, 2025 at 3:45=E2=80=AFAM = Philip Kaludercic <<a href=3D"mailto:philipk@HIDDEN">philipk@posteo.= net</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"marg= in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e= x">Eli Zaretskii <<a href=3D"mailto:eliz@HIDDEN" target=3D"_blank">eliz= @gnu.org</a>> writes:<br> <br> >> From: Jen-Chieh Shen <<a href=3D"mailto:jcs090218@HIDDEN" ta= rget=3D"_blank">jcs090218@HIDDEN</a>><br> >> Date: Tue, 20 May 2025 17:08:38 -0700<br> >> <br> >> I recently encountered an error, No package in XXX, when using the= package-install-file function in<br> >> the latest Emacs snapshot. This function was working correctly as = of May 5, 2025, but started failing<br> >> sometime after May 8, 2025. I suspect there may have been a breaki= ng change introduced.<br> >> <br> >> This issue only affects the snapshot build=E2=80=94my CI tests cov= er Emacs versions 26.3, 27.2, 28.2, 29.4, 30.1,<br> >> and the snapshot, and all versions except the snapshot pass. You c= an view the test results here:<br> >> <a href=3D"https://github.com/emacs-eask/cli/actions/runs/14904371= 642" rel=3D"noreferrer" target=3D"_blank">https://github.com/emacs-eask/cli= /actions/runs/14904371642</a>.<br> ><br> > Philip, could you please take a look at this issue?<br> <br> Can you elaborate what the tests are doing?=C2=A0 package-install-file work= s<br> fine for me on my end.<br> </blockquote></div> --0000000000000ec8120635ec2972--
bug-gnu-emacs@HIDDEN
:bug#78521
; Package emacs
.
Full text available.Received: (at 78521) by debbugs.gnu.org; 22 May 2025 10:46:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 22 06:46:11 2025 Received: from localhost ([127.0.0.1]:60635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uI3RD-0008Av-2m for submit <at> debbugs.gnu.org; Thu, 22 May 2025 06:46:11 -0400 Received: from mout02.posteo.de ([185.67.36.66]:56873) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <philipk@HIDDEN>) id 1uI3R6-00089B-I9 for 78521 <at> debbugs.gnu.org; Thu, 22 May 2025 06:46:07 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 48120240101 for <78521 <at> debbugs.gnu.org>; Thu, 22 May 2025 12:45:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1747910755; bh=W8pYOOYyx7TBOeV1i+amGc4TUhkt1Mf0jtfhfB+frxc=; h=From:To:Cc:Subject:Autocrypt:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:Content-Transfer-Encoding:From; b=V+s9rIkRjvvM8skAiJPQex2RG/PZyJn9DMzIjAvjdjh/tCaPlLBOwo3zHpN/GXj71 iNx0CSNK32W2U2LofGLwZXvAGsg2Jzjqp7k3dYkU+dVa9abP0njiZPM4v2dH2UU9mf 53hqo7bAATXc8CsDvwNoDin3omdAYnyU9ur+2hKiKz4iBt/9I3UI86WPCJhDyC/IaI OnIhKArK4xM7Tc+/PJJ0Tlb1VZHvhVNlBgNFCOfAEgS+cDb3zIk0aUMWM9m5fmqZOd Fvk2ECmngUbHcfh3Va/GngzdWriC2X21kZ+/FQYRRYh5lPbiu58zb2vdTzrORKA6J9 VVi8Q13laIMug== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4b34hL3RV8z9rxN; Thu, 22 May 2025 12:45:54 +0200 (CEST) From: Philip Kaludercic <philipk@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#78521: Error: No package in XXX with `package-install-file` In-Reply-To: <864ixd6jz1.fsf@HIDDEN> References: <CAMiGhTOug+T09Fmpkq4_dYrizhqNkGWMknjz4aO=8p0w48yVjw@HIDDEN> <864ixd6jz1.fsf@HIDDEN> Autocrypt: addr=philipk@HIDDEN; keydata= mDMEZBBQQhYJKwYBBAHaRw8BAQdAHJuofBrfqFh12uQu0Yi7mrl525F28eTmwUDflFNmdui0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiWBBMWCAA+FiEEDg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwMFCQHhM4AFCwkI BwIGFQoJCAsCBBYCAwECHgECF4AACgkQ8xYDWXahwulikAEA77hloUiSrXgFkUVJhlKBpLCHUjA0 mWZ9j9w5d08+jVwBAK6c4iGP7j+/PhbkxaEKa4V3MzIl7zJkcNNjHCXmvFcEuDgEZBBQQhIKKwYB BAGXVQEFAQEHQI5NLiLRjZy3OfSt1dhCmFyn+fN/QKELUYQetiaoe+MMAwEIB4h+BBgWCAAmFiEE Dg7HY17ghYlni8XN8xYDWXahwukFAmQQUEICGwwFCQHhM4AACgkQ8xYDWXahwukm+wEA8cml4JpK NeAu65rg+auKrPOP6TP/4YWRCTIvuYDm0joBALw98AMz7/qMHvSCeU/hw9PL6u6R2EScxtpKnWof z4oM OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66; url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66"; preference=signencrypt Date: Thu, 22 May 2025 10:45:54 +0000 Message-ID: <87ecwgdiu5.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78521 Cc: Jen-Chieh Shen <jcs090218@HIDDEN>, 78521 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Jen-Chieh Shen <jcs090218@HIDDEN> >> Date: Tue, 20 May 2025 17:08:38 -0700 >>=20 >> I recently encountered an error, No package in XXX, when using the packa= ge-install-file function in >> the latest Emacs snapshot. This function was working correctly as of May= 5, 2025, but started failing >> sometime after May 8, 2025. I suspect there may have been a breaking cha= nge introduced. >>=20 >> This issue only affects the snapshot build=E2=80=94my CI tests cover Ema= cs versions 26.3, 27.2, 28.2, 29.4, 30.1, >> and the snapshot, and all versions except the snapshot pass. You can vie= w the test results here: >> https://github.com/emacs-eask/cli/actions/runs/14904371642. > > Philip, could you please take a look at this issue? Can you elaborate what the tests are doing? package-install-file works fine for me on my end.
bug-gnu-emacs@HIDDEN
:bug#78521
; Package emacs
.
Full text available.Received: (at 78521) by debbugs.gnu.org; 22 May 2025 10:04:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 22 06:04:37 2025 Received: from localhost ([127.0.0.1]:60291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uI2my-0004nO-OC for submit <at> debbugs.gnu.org; Thu, 22 May 2025 06:04:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52506) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1uI2lq-0004iX-04 for 78521 <at> debbugs.gnu.org; Thu, 22 May 2025 06:03:26 -0400 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 <eliz@HIDDEN>) id 1uI2lj-0001zL-5r; Thu, 22 May 2025 06:03:19 -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=VReDpsPedsBLGHLoRQKv9S2ZW5xvq1yAmQ7NdysQoLs=; b=FKtpUhPxO2S5KzRxW9Ze 01wQrBvIbj+D0aoPE08Lb/qzbZrcIrx1QTdycRheAxp8Ifrl8x7rDwTcEvt185xi/tVwbB6cFIRkp jeiJbJ7RhOIw2lznd7xr+KgaAnaHmY8aWjCYe9U4D1pjeZKGgBPnYFGhSpjcH+DvSfBhsi776nxrH dAhR5ENf6eWSNS3y4ni9IiTmtkgEO05iRRHQfhLiHhRxisCCfb1ILKh1hFJs540BXVWz+RZ5gNN+g OLaBRTHkNWpb0+4yVN6uQUIoLvEXzS//r9lZNmFN5l2yvsfw7e0yfPlbLyeDyHCW7zxwX28Qcvttg patVMMVcjQyOlQ==; Date: Thu, 22 May 2025 13:03:14 +0300 Message-Id: <864ixd6jz1.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Jen-Chieh Shen <jcs090218@HIDDEN>, Philip Kaludercic <philipk@HIDDEN> In-Reply-To: <CAMiGhTOug+T09Fmpkq4_dYrizhqNkGWMknjz4aO=8p0w48yVjw@HIDDEN> (message from Jen-Chieh Shen on Tue, 20 May 2025 17:08:38 -0700) Subject: Re: bug#78521: Error: No package in XXX with `package-install-file` References: <CAMiGhTOug+T09Fmpkq4_dYrizhqNkGWMknjz4aO=8p0w48yVjw@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78521 Cc: 78521 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Jen-Chieh Shen <jcs090218@HIDDEN> > Date: Tue, 20 May 2025 17:08:38 -0700 > > I recently encountered an error, No package in XXX, when using the package-install-file function in > the latest Emacs snapshot. This function was working correctly as of May 5, 2025, but started failing > sometime after May 8, 2025. I suspect there may have been a breaking change introduced. > > This issue only affects the snapshot build—my CI tests cover Emacs versions 26.3, 27.2, 28.2, 29.4, 30.1, > and the snapshot, and all versions except the snapshot pass. You can view the test results here: > https://github.com/emacs-eask/cli/actions/runs/14904371642. Philip, could you please take a look at this issue?
bug-gnu-emacs@HIDDEN
:bug#78521
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 21 May 2025 00:09:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 20 20:09:09 2025 Received: from localhost ([127.0.0.1]:39294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1uHX1B-0000qE-2o for submit <at> debbugs.gnu.org; Tue, 20 May 2025 20:09:09 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54578) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <jcs090218@HIDDEN>) id 1uHX18-0000oe-1U for submit <at> debbugs.gnu.org; Tue, 20 May 2025 20:09:06 -0400 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 <jcs090218@HIDDEN>) id 1uHX10-00071f-Rm for bug-gnu-emacs@HIDDEN; Tue, 20 May 2025 20:08:58 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <jcs090218@HIDDEN>) id 1uHX0y-0007Un-F9 for bug-gnu-emacs@HIDDEN; Tue, 20 May 2025 20:08:58 -0400 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-551ed563740so4212895e87.2 for <bug-gnu-emacs@HIDDEN>; Tue, 20 May 2025 17:08:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1747786129; x=1748390929; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=6kLYWwwDI7KqfCfuwsGfoT+YEdD1Y4hr41CdTW2iDBM=; b=mG/+vwr9iJMt8H/laAAaEs1gfCku4hhuCXAwyUX8YyGCbvtgtwlkvescw9CqjAn8Lj VGuXkb8ruvxQkzO8I8tHa0BgRHqqOWV8GAW1HskPHfLyJSkb3FaGREFyXJyoD6Wv29zX wA47qUqnZpgqXuCYrguBZ4/eqj79wU9UHkLQXh1YcvmRM63QqdYu2tnSIA3Q8Yl9WKur yo8d7YVQ6K+ReNMYSOvLCP4ptCs72L+9tCtkodunaVkrphcEN+1nkAy4mzCEYb5WaHfi FUpW35VRSn1mhDW9MT2SUG7E2hzJs7fIHpQ1ZG6lngFfZWFsToWQkCcdiSNop/XyR0GJ i6qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747786129; x=1748390929; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6kLYWwwDI7KqfCfuwsGfoT+YEdD1Y4hr41CdTW2iDBM=; b=iK5CS1lVCnwK19ciMlD7y41BBaZPcF7hRCCqYAlo0lrYZY8soYIKdQbvXn/c+LLab+ A5iQWuWlxpHEQCngV1ftsu6klbq3jwISsdVVQt0iqosDkmnwJ9rOuklKqwNrOctZWAGu bthMyL0USU3e6BwowCsOqqmaWbw5CHDn97sqmtaed9lq5j+jrwfOyNDl/ko97QAX47Yu CEfijUctO88tphFL/LmOIwFYYKwdS9m7FC/QN+hnt6bRRw/qSUyPiL8T60Q/4ArHslWu ZDg5/BXa6lp2xqQD6+F+EiQI30+X6gGOvXrahJx3R3xXQgq26wfc6LeTyAyDreXot9Bi Iqdw== X-Gm-Message-State: AOJu0YxUkLwhVyTG59WJU4XYH1upLxTav/0zDf1BxuqUo21zUZK84f20 Qe0aK0S6v76CTulgCWuYQgKu20Wt25AUoUeWpoPro0zInrXCDditWCqum+n95MoeuXg3tNba0i+ y42j8xpKFtjH13loOCO2KCPLpHqoK/bCPkKkG X-Gm-Gg: ASbGncvHhVqDwJdnLROPbPDwCs2q/EkTPjcu3DRxWSfCdpIRUM21o4++ZkvJLYHM4Ii qoMv12YZX/2pmGMzQj2qm6qL0xfemx94pn8X65ish/BpXD1EKyDXgc4DtBbNGAI0wjS2uIKed/N X3lFO9ddM8eZaCyj0FCqhjijCRNt9sGm0oOc6hfT4DZ6zHaFkNckIuem2kTgI3t0nP X-Google-Smtp-Source: AGHT+IGQrv8F6C0t9j95KQL470KqBNyxHVwG3LRBDNTvUfQA/kRhfSUjmgsUrkQZLALiEMsnR6R2I62z9YD8OC3PvkY= X-Received: by 2002:a05:6512:4508:b0:550:dea0:3491 with SMTP id 2adb3069b0e04-550e72299eemr5168679e87.39.1747786129149; Tue, 20 May 2025 17:08:49 -0700 (PDT) MIME-Version: 1.0 From: Jen-Chieh Shen <jcs090218@HIDDEN> Date: Tue, 20 May 2025 17:08:38 -0700 X-Gm-Features: AX0GCFsfyHCkBzoZSvzd3n8ag7TA10-iqDSqJrQdLslocht9PPcPH8Ek2FNIMdY Message-ID: <CAMiGhTOug+T09Fmpkq4_dYrizhqNkGWMknjz4aO=8p0w48yVjw@HIDDEN> Subject: Error: No package in XXX with `package-install-file` To: bug-gnu-emacs@HIDDEN Content-Type: multipart/alternative; boundary="0000000000005f152306359a2b9f" Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=jcs090218@HIDDEN; helo=mail-lf1-x12f.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=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.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, I recently encountered an error, No package in XXX, when using the package-install-file function in the latest Emacs snapshot. This function was working correctly as of May 5, 2025, but started failin [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (jcs090218[at]gmail.com) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (jcs090218[at]gmail.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 HTML_MESSAGE BODY: HTML included in message X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.2 (/) --0000000000005f152306359a2b9f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, I recently encountered an error, No package in XXX, when using the package-install-file function in the latest Emacs snapshot. This function was working correctly as of May 5, 2025, but started failing sometime after May 8, 2025. I suspect there may have been a breaking change introduced. This issue only affects the snapshot build=E2=80=94my CI tests cover Emacs = versions 26.3, 27.2, 28.2, 29.4, 30.1, and the snapshot, and all versions except the snapshot pass. You can view the test results here: https://github.com/emacs-eask/cli/actions/runs/14904371642. Thanks, Jen-Chieh Shen --0000000000005f152306359a2b9f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><p class=3D"gmail-">Hi,</p> <p class=3D"gmail-">I recently encountered an error, <code>No package in XX= X</code>, when using the <code>package-install-file</code> function in the = latest Emacs snapshot. This function was working correctly as of May 5, 202= 5, but started failing sometime after May 8, 2025. I suspect there may have= been a breaking change introduced.</p> <p class=3D"gmail-">This issue only affects the snapshot build=E2=80=94my C= I tests cover Emacs versions 26.3, 27.2, 28.2, 29.4, 30.1, and the snapshot= , and all versions except the snapshot pass. You can view the test results = here: <a rel=3D"noopener" class=3D"gmail-" href=3D"https://github.com/emacs= -eask/cli/actions/runs/14904371642">https://github.com/emacs-eask/cli/actio= ns/runs/14904371642</a>.</p> <p class=3D"gmail-">Thanks,<br> Jen-Chieh Shen</p></div> --0000000000005f152306359a2b9f--
Jen-Chieh Shen <jcs090218@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#78521
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.