From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Klausner Newsgroups: gmane.emacs.devel Subject: Re: broken (or missing) packages after 'error in process sentinel: async-handle-result: End of file during parsing' Date: Thu, 9 Mar 2023 11:27:52 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1857"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: chad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 09 11:28:35 2023 Return-path: Envelope-to: ged-emacs-devel@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 1paDVj-0000GO-65 for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Mar 2023 11:28:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paDVD-0004I4-Nl; Thu, 09 Mar 2023 05:28: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 1paDVA-0004Hs-VJ for emacs-devel@gnu.org; Thu, 09 Mar 2023 05:28:00 -0500 Original-Received: from gatalith.at ([2a03:4000:48:421::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paDV8-0004vq-26 for emacs-devel@gnu.org; Thu, 09 Mar 2023 05:28:00 -0500 Original-Received: from yt.nih.at (2a02-8388-0bc1-1580-92d1-0456-cebc-330d.cable.dynamic.v6.surfer.at [IPv6:2a02:8388:bc1:1580:92d1:456:cebc:330d]) by gatalith.at (Postfix) with ESMTPSA id BAC07390E00; Thu, 9 Mar 2023 11:27:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gatalith.at; s=dkim; t=1678357674; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JPVaNFxuTvNFZQ3m2XxN4bRLVZPn/eiSpHYqq/RNCOk=; b=lFQaLLgm50+mMpdAWHYWduJV2Iem5QXLUfx5VYUiFsLp/EjMMD2pOuadu6BYhTPFOhReP0 XS7AVvG4d0dMgNJpYzQVXchQFWE5yak3BatfUCIiBS/mqHcfIUUpN5xGhX/xohHA4HlFwZ NnYWXDqStuRxErPjA/kD5QJ13xUtEMI= Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=2a03:4000:48:421::1; envelope-from=wiz@gatalith.at; helo=gatalith.at 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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:304182 Archived-At: On Tue, Mar 07, 2023 at 03:57:24PM -0500, chad wrote: > This used to happen to me pretty often when I would update emacs, relaunch > it, and then immediately update packages. What I saw was that async native > compile would schedule/start a file, package.el would update that elpa > package with new code, and then async-jit-native-compile would try to > compile the since-replaced file. > It went away when I started giving the new emacs a little time to catch up > before running package-list-packages; I would sometimes manually work > around the problem with package-recompile-all. > > I started a bug report and then stopped, because it was very closely tied > to the developer-centric behavior -- I didn't see it if I let the new emacs > "settle" for a few minutes of normal use. Thanks for the suggestion. I just tried: start emacs (wait 10 minutes) M-x list-packages U x and I still got the failure: Importing package-keyring.gpg...done Package refresh done Packages that can be upgraded: 2; type ‘U’ to mark for upgrading. Packages marked for upgrading: 2 Packages to upgrade: 2 (cmake-mode-20230308.1904 helm-core-20230308.857). Proceed? (y or n) y Operation [ Upgrade 2 ] started Contacting host: melpa.org:443 [2 times] Parsing tar file...done Extracting...done INFO Scraping files for loaddefs... Note: standard-indent adjusted to 2 Note: indent-tabs-mode adjusted to nil [5 times] INFO Scraping files for loaddefs...done GEN helm-core-autoloads.el Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Package ‘helm-core’ installed. Contacting host: melpa.org:443 INFO Scraping files for loaddefs... Note: standard-indent adjusted to 2 Note: indent-tabs-mode adjusted to nil INFO Scraping files for loaddefs...done GEN cmake-mode-autoloads.el Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Package ‘cmake-mode’ installed. Package ‘cmake-mode-20230301.1443’ deleted. Package ‘helm-core-20230227.649’ deleted. Package ‘helm-core-20230308.857’ deleted. Operation finished. Packages that are no longer needed: 1. Type ‘M-x package-autoremove’ to remove them error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing Loading /home/wiz/.emacs.d/recentf...done So just waiting after startup does not work around this for me. I also tried package-recompile-all, but that doesn't seem to work at all, I found the following in the message buffer: Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async-bytecomp.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done Loading /home/wiz/.emacs.d/elpa/async-20230216.559/async.el (source)...done error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing error in process sentinel: if: End of file during parsing error in process sentinel: End of file during parsing Yes, repeated this many times for one call of the recompile. Does the async package, or my installation of it, have problems? Thomas