Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907839 - app-editors/emacs-28.3_rc1-r2 - epg-roundtrip-{1,2} tests hang with app-crypt/gnupg-2.4*
Summary: app-editors/emacs-28.3_rc1-r2 - epg-roundtrip-{1,2} tests hang with app-crypt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-04 12:23 UTC by Toralf Förster
Modified: 2023-06-11 06:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.71 KB, text/plain)
2023-06-04 12:28 UTC, Toralf Förster
Details
app-editors:emacs-28.3_rc1-r2:20230604-071937.log.xz (app-editors:emacs-28.3_rc1-r2:20230604-071937.log.xz,27.73 KB, application/x-bzip)
2023-06-04 12:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,32.54 KB, text/plain)
2023-06-04 12:28 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,10.55 KB, application/x-bzip)
2023-06-04 12:28 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-06-04 12:23:37 UTC
since hours:

0 S portage   9137  8865  0  83   3 - 12121 -      07:21 ?        00:00:00 /usr/bin/gpg2 --no-tty --status-fd 1 --yes --homedir /var/tmp/portage/app-editors/emacs-28.3_rc1-r2/temp/epg-tests-homedirBpUqJ7 --command-fd 0 --output /var/tmp/portage/app-editors/emacs-28.3_rc1-r2/temp/epg-outputeA7Zas --symmetric
Comment 1 Toralf Förster gentoo-dev 2023-06-04 12:24:41 UTC
parent:

└─sh,8864 -c HOME=/nonexistent LANG=C EMACSLOADPATH= EMACS_TEST_DIRECTORY=/var/tmp/portage/app-editors/emacs-28.3_rc1-r2/work/emacs-28.3/test  "../src/emacs"  --no-init-file --no-site-file --no-site-l
isp -L ":."    \\\012  -l ert   --eval '(setq ert-batch-backtrace-right-margin nil)' -l lisp/epg-tests \\\012  --batch --eval '(ert-run-tests-batch-and-exit (quote (not (or (tag :expensive-test) (tag :unstable) (tag :nativecomp)))))' > lisp/epg-tests.log 2>&1 || { STAT=
$?; cat lisp/epg-tests.log; exit $STAT; }
                                                                          └─emacs,8865 --no-init-file --no-site-file --no-site-lisp -L :. -l ert --eval (setq ert-batch-backtrace-right-margin nil) -l lisp/epg-tests --batch --eval (ert-run-tests-batch-and-exit (quote (not
 (or (tag :expensive-test) (tag :unstable) (tag :nativecomp)))))
                                                                              └─gpg2,9137 --no-tty --status-fd 1 --yes --homedir /var/tmp/portage/app-editors/emacs-28.3_rc1-r2/temp/epg-tests-homedirBpUqJ7 --command-fd 0 --output /var/tmp/portage/app-editors/emacs-28.3_r
c1-r2/temp/epg-outputeA7Zas --symmetric
Comment 2 Toralf Förster gentoo-dev 2023-06-04 12:28:43 UTC
appeared recently at the tinderbox image 17.1_desktop_plasma_systemd-j5_test-20230603-114005
Comment 3 Toralf Förster gentoo-dev 2023-06-04 12:28:44 UTC
Created attachment 863224 [details]
emerge-info.txt
Comment 4 Toralf Förster gentoo-dev 2023-06-04 12:28:45 UTC
Created attachment 863225 [details]
app-editors:emacs-28.3_rc1-r2:20230604-071937.log.xz
Comment 5 Toralf Förster gentoo-dev 2023-06-04 12:28:46 UTC
Created attachment 863226 [details]
emerge-history.txt
Comment 6 Toralf Förster gentoo-dev 2023-06-04 12:28:47 UTC
Created attachment 863227 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-06-04 12:32:53 UTC
  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j5_test-20230603-114005

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.5
Python 3.11.3
Available Rust versions:
  [1]   rust-bin-1.69.0 *
php cli (if any):
go version go1.20.4 linux/amd64

  HEAD of ::gentoo
commit cd1a8d133742dfb97f9886738c45bb33292e2d2d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jun 4 07:02:00 2023 +0000

    2023-06-04 07:01:59 UTC

emerge -qpvO app-editors/emacs
[ebuild  N    ] app-editors/emacs-28.3_rc1-r2  USE="acl alsa cairo dbus gif gmp gpm gtk gui inotify jpeg lcms motif png sound ssl svg systemd threads tiff xft xpm zlib -Xaw3d (-aqua) -athena -dynamic-loading -games -gfile -gsettings -gzip-el -harfbuzz -imagemagick -jit -json -kerberos -libxml2 -livecd -m17n-lib -mailutils (-selinux) -source -toolkit-scroll-bars (-valgrind) -wide-int -xwidgets"
Comment 8 Ulrich Müller gentoo-dev 2023-06-04 17:12:53 UTC
I can reproduce the problem with gnupg-2.4.1 and -2.4.2, but not with gnupg-2.2.41.

@base-system: Any idea what has changed, that could cause the command from comment #0 to hang? (Note that Emacs tests supply their own dummy-pinentry program.)
Comment 9 Larry the Git Cow gentoo-dev 2023-06-04 19:32:24 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63c56105984d684873290190710f4fa8672d5e1b

commit 63c56105984d684873290190710f4fa8672d5e1b
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2023-06-04 19:31:30 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2023-06-04 19:32:16 +0000

    app-editors/emacs: Disable epg-tests for now
    
    Bug: https://bugs.gentoo.org/907839
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-editors/emacs/emacs-28.3_rc1-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-06 20:06:07 UTC
(In reply to Ulrich Müller from comment #8)
> I can reproduce the problem with gnupg-2.4.1 and -2.4.2, but not with
> gnupg-2.2.41.
> 
> @base-system: Any idea what has changed, that could cause the command from
> comment #0 to hang? (Note that Emacs tests supply their own dummy-pinentry
> program.)

This appears to be a real incompatibility with those gnupg versions: https://dev.gnupg.org/T6481.
Comment 11 Larry the Git Cow gentoo-dev 2023-06-10 21:02:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45c04d8fcc0b0432990e1a3e2c6ae5e0d1c4032a

commit 45c04d8fcc0b0432990e1a3e2c6ae5e0d1c4032a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-06-10 21:01:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-10 21:01:52 +0000

    app-crypt/gnupg: backport Emacs EPA fix
    
    Closes: https://bugs.gentoo.org/907839
    Signed-off-by: Sam James <sam@gentoo.org>

 app-crypt/gnupg/files/gnupg-2.4.2-fix-emacs.patch | 564 ++++++++++++++++++++++
 app-crypt/gnupg/gnupg-2.4.2-r1.ebuild             | 192 ++++++++
 2 files changed, 756 insertions(+)
Comment 12 Larry the Git Cow gentoo-dev 2023-06-11 06:34:51 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68710c12bfad2954fe4ef80a56c035139ef783b5

commit 68710c12bfad2954fe4ef80a56c035139ef783b5
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2023-06-11 06:31:15 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2023-06-11 06:34:40 +0000

    Revert "app-editors/emacs: Disable epg-tests for now"
    
    Add bug reference to comment.
    
    This reverts commit 63c56105984d684873290190710f4fa8672d5e1b.
    
    Bug: https://bugs.gentoo.org/907839
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-editors/emacs/emacs-28.3_rc1-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)