From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: gnupg-2.2.42-r2 [Was: Emacs master: Some tests are hanging.] Date: Fri, 16 Feb 2024 12:29:20 +0000 Message-ID: References: <87bk8hcsdd.fsf@gentoo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26035"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Sam James Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 16 13:30:35 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 1raxMR-0006YJ-BE for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Feb 2024 13:30:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raxLO-00035X-3t; Fri, 16 Feb 2024 07:29:30 -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 1raxLM-00035M-ON for emacs-devel@gnu.org; Fri, 16 Feb 2024 07:29:28 -0500 Original-Received: from mail.muc.de ([193.149.48.3]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raxLJ-0001cO-3s for emacs-devel@gnu.org; Fri, 16 Feb 2024 07:29:27 -0500 Original-Received: (qmail 32879 invoked by uid 3782); 16 Feb 2024 13:29:21 +0100 Original-Received: from acm.muc.de (p4fe15b4d.dip0.t-ipconnect.de [79.225.91.77]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 16 Feb 2024 13:29:21 +0100 Original-Received: (qmail 22717 invoked by uid 1000); 16 Feb 2024 12:29:20 -0000 Content-Disposition: inline In-Reply-To: <87bk8hcsdd.fsf@gentoo.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.3; envelope-from=acm@muc.de; helo=mail.muc.de 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, 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:316248 Archived-At: Hello, Sam. On Thu, Feb 15, 2024 at 21:40:17 +0000, Sam James wrote: > 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? Yes, I'll do that. Though I don't think I'll be raising an Emacs bug for this, since the issue is already known. > > 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". OK, I didn't know that, thanks! > > 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). As I said, I see the bug with gnupg-2.2.42-r2. I can get by with 2.2.41 for now, until 2.4.4 gets stabilised in Gentoo. -- Alan Mackenzie (Nuremberg, Germany).