From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sam James Newsgroups: gmane.emacs.devel Subject: Re: gnupg-2.2.42-r2 [Was: Emacs master: Some tests are hanging.] Date: Thu, 15 Feb 2024 21:40:17 +0000 Organization: Gentoo Message-ID: <87bk8hcsdd.fsf@gentoo.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30030"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.8; emacs 30.0.50 Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 15 22:48:08 2024 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 1rajaS-0007bM-Eh for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Feb 2024 22:48:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rajZl-00065h-79; Thu, 15 Feb 2024 16:47:25 -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 1rajZj-00065Q-9m for emacs-devel@gnu.org; Thu, 15 Feb 2024 16:47:23 -0500 Original-Received: from woodpecker.gentoo.org ([140.211.166.183] helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rajZg-0005k2-Eo for emacs-devel@gnu.org; Thu, 15 Feb 2024 16:47:23 -0500 In-reply-to: Received-SPF: pass client-ip=140.211.166.183; envelope-from=sam@gentoo.org; helo=smtp.gentoo.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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: 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:316244 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Alan Mackenzie writes: > Hello, Emacs. > > On Thu, Feb 15, 2024 at 15:53:12 +0000, Alan Mackenzie wrote: >> With the Emacs master, updated today: > >> On a Gentoo GNU/Linux system, when I do > >> make -j17 check > >> , the tests don't finish. This happens both on a Linux console and in X >> Windows on xfce-4-terminal. > >> The tests which hang are >> (i) test/lisp/epg-tests.el (epg-roundtrip-1). >> (ii) test/lisp/gnus/mml-sec-tests.el (unknown sub-test). > >> The hang in (i) is caused by a sub-process running gpg failing to >> finish, or to finish cleanly. > We can try compare the output of the failing command with old/new, as fortunately for debugging, gpg's protocol is simple. See below but it's probably another subtle state machine change :( >> I have been seeing this for quite some time (?2 or 3 weeks at least), so >> it isn't anything which has just been committed. > >> Before I raise a proper bug report, has anybody else experienced this? Can you CC me on anything you end up filing? > > Right after posting the original post, I tried going back to the > previous version of gnupg, namely gnupg-2.2.41. All tests then worked > on master, with no hangs. > > The version which doesn't work well together with Emacs is > gnupg-2.2.42-r2. (I've a feeling that the "-r2" there is a purely > Gentoo label). Yeah, it's "ebuild revision". > > So it seems that some interface to gnupg has changed, possibly > unintentionally. > > I don't know this part of Emacs at all well, that is gnupg and > sub-processes, so would anybody help me on sorting out what's going > wrong, here? Thanks! Ugh. We previously had https://bugs.gentoo.org/907839 and https://dev.gnupg.org/T6481 but I wasn't aware of new issues again (AFAIK those issues only affected 2.4.x and we backported a fix for it in Gentoo). > >> --=20 >> Alan Mackenzie (Nuremberg, Germany). --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iOUEARYKAI0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCZc6GXl8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MA8cc2FtQGdlbnRv by5vcmcACgkQc4QJ9SDfkZA11QD/YQQoG5lu2Z87hubs725FixU/ExZ0KtgCZrtb XRmqEeEBAOOVOU2VsNUYNhuRof+D+xnINP/Ak4DrGWwx82aVgCIP =Eulj -----END PGP SIGNATURE----- --=-=-=--