Control: found -1 1:28.2+1-1 Hi Sean,
Sean Whitton wrote: > On Sun 21 Aug 2022 at 02:46PM +02, Axel Beckert wrote: > > Version: 1:28.1+1-2 […] > > upgrading emacs respectively emacs-gtk from 27.1 to 28.1 causes an > > endless fork loops during package configuration time: > > Are you able to reproduce this with what's in sid at present? Oh, a new upstream release! Let's try… :-) Nothing obvious in the output of apt: Setting up emacs-el (1:28.2+1-1) ... Setting up emacs-common (1:28.2+1-1) ... Setting up emacs-bin-common (1:28.2+1-1) ... Setting up emacs-gtk (1:28.2+1-1) ... Deep recursion on subroutine "main::generate_relevant_tsort_dependencies_internals" at /usr/lib/emacsen-common/lib.pl line 127. Install a2ps for emacs Install develock-el for emacs Install ecb for emacs Install emacsen-common for emacs emacsen-common: Handling install of emacsen flavor emacs Install haml-elisp for emacs Skipping byte-compilation for emacs: Not supported Install post-el for emacs Install pylint for emacs Install quilt-el for emacs Install ratpoison for emacs Install rdtool-elisp for emacs Install sawfish for emacs Install whizzytex for emacs Install elpa-gitignore-mode for emacs install/gitignore-mode-1.4.0: Handling install of emacsen flavor emacs install/gitignore-mode-1.4.0: byte-compiling for emacs But unfortunately, it's still reproducible: 11054 root 20 0 2724 960 864 S 0.0 0.0 0:00.00 │ │ │ └─ /bin/sh /var/lib/dpkg/info/emacs-gtk.postinst configure 1:27.1+1-3.1+b1 11058 root 20 0 20372 14448 4916 S 0.0 0.0 0:00.29 │ │ │ └─ /usr/bin/perl -w /usr/lib/emacsen-common/emacs-install emacs 11377 root 20 0 0 0 0 Z 0.0 0.0 0:00.00 │ │ │ ├─ emacs-install 11438 root 20 0 2724 960 864 S 0.0 0.0 0:00.00 │ │ │ └─ /bin/sh /usr/lib/emacsen-common/packages/install/elpa-gitignore-mode emacs 11439 root 20 0 2724 956 864 S 0.0 0.0 0:00.00 │ │ │ └─ /bin/sh /usr/lib/dh-elpa/helper/install emacs gitignore-mode 1.4.0 11442 root 20 0 2724 112 0 S 0.0 0.0 0:00.00 │ │ │ └─ /bin/sh /usr/lib/dh-elpa/helper/install emacs gitignore-mode 1.4.0 11443 root 20 0 168M 58500 36544 S 0.0 0.1 0:00.58 │ │ │ └─ emacs --quick --batch -l package --eval (setq package-user-dir "/nonexistent") --eval (add-to-list 'package-directory-list "/usr/share/emacs/site-lisp/elpa-src") -f package-initialize -f batch-byte-compile gitignore-mode-aut 11444 root 20 0 170M 61168 36708 S 0.0 0.1 0:02.24 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-63616c6c2d696e7465726163746976656c79_call_interactively_0-VtJDks.el 11448 root 20 0 170M 60524 36284 S 0.0 0.1 0:01.97 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-Wu7AW4.el 11449 root 20 0 170M 61244 36792 S 0.0 0.1 0:02.01 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-XKbTq1.el 11450 root 20 0 170M 61200 36744 S 0.0 0.1 0:02.07 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-2Zc2GB.el 11453 root 20 0 170M 61176 36728 S 0.0 0.1 0:02.02 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-Ro5jje.el 11454 root 20 0 170M 61308 36852 S 0.0 0.1 0:02.14 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-2uNzTS.el 11461 root 20 0 170M 61192 36736 S 0.0 0.1 0:02.01 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-Ex5VpA.el 11462 root 20 0 170M 60696 36456 S 0.0 0.1 0:02.03 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-Q91LV9.el 11463 root 20 0 170M 61228 36776 S 0.0 0.1 0:02.01 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-boXgPR.el 11469 root 20 0 170M 61184 36724 S 0.0 0.1 0:02.00 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-vCqXrN.el 11472 root 20 0 170M 61004 36552 S 0.0 0.1 0:02.19 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-MyjTqN.el 11476 root 20 0 170M 61248 36800 S 0.0 0.1 0:02.10 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-9Z5cOC.el 11479 root 20 0 170M 60268 36032 S 0.0 0.1 0:02.14 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-HgvBHk.el 11481 root 20 0 170M 60628 36392 S 0.0 0.1 0:02.18 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-2fO744.el 11483 root 20 0 170M 60524 36284 S 0.0 0.1 0:02.01 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-XSIoh9.el 11489 root 20 0 170M 61160 36704 S 0.0 0.1 0:01.90 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-ydO0Tb.el 11490 root 20 0 170M 61180 36724 S 0.0 0.1 0:01.91 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-5tsVHV.el 11491 root 20 0 170M 60944 36488 S 0.0 0.1 0:02.00 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-oSCsn0.el 11494 root 20 0 170M 61256 36800 S 0.0 0.1 0:02.04 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-R4vAuS.el 11502 root 20 0 170M 61088 36628 S 0.0 0.1 0:01.93 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-skuvXu.el 11503 root 20 0 170M 61180 36724 S 0.0 0.1 0:01.96 │ │ │ └─ /usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr--trampoline-64656c6574652d6672616d65_delete_frame_0-GngxW5.el And just for the record: This only happens on some of my hosts. I have several hosts (also with a lot of elpa plugins, but probably still not as many as on the host where it happens reproducibly) where the upgrade from 27.x to 28.x worked fine on the first run. It seems that those hosts with this issue are desktops or laptops with emacs-gtk installed while others are VMs or Raspberry Pi based servers where I only install emacs-lucid or emacs-nox and also no unnecessary desktop bloat like dbus, etc. P.S.: My way to clean this up is to run in another root shell this endless loop: # while sleep 12; do ps auxwww | fgrep '/usr/bin/emacs --batch -l /tmp/emacs-int-comp-subr' | fgrep -v grep | awk '{print $2}' | xargs -r kill -TERM; done Regards, Axel -- ,''`. | Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE