Note: emacs-nox seems also to be affected, as I get a similar error when
installing the build-dependencies of gettext:
Setting up emacs-nox (1:28.1+1-1) ...
update-alternatives: using /usr/bin/emacs-nox to provide /usr/bin/emacs
(emacs) in auto mode
Install emacsen-common for emacs
emacsen-common: Handling install of emacsen flavor emacs
Fatal error 11: Segmentation fault
Backtrace:
emacs(+0xeb0d1)[0x5603f8ce40d1]
emacs(+0x3109e)[0x5603f8c2a09e]
emacs(+0x3156c)[0x5603f8c2a56c]
emacs(+0xe93dd)[0x5603f8ce23dd]
emacs(+0xe9459)[0x5603f8ce2459]
/lib/x86_64-linux-gnu/libc.so.6(+0x3daf0)[0x7fdd7ecfbaf0]
emacs(+0x12d20e)[0x5603f8d2620e]
emacs(+0x12d510)[0x5603f8d26510]
emacs(+0x175315)[0x5603f8d6e315]
emacs(+0x178cf8)[0x5603f8d71cf8]
emacs(+0x1799ba)[0x5603f8d729ba]
emacs(+0x14f322)[0x5603f8d48322]
emacs(+0x14f5f0)[0x5603f8d485f0]
emacs(+0x14f7bf)[0x5603f8d487bf]
emacs(+0x174a75)[0x5603f8d6da75]
emacs(+0x175453)[0x5603f8d6e453]
emacs(+0x178cf8)[0x5603f8d71cf8]
emacs(+0x1799ba)[0x5603f8d729ba]
emacs(+0x14f322)[0x5603f8d48322]
emacs(+0x14f5f0)[0x5603f8d485f0]
emacs(+0x14f7bf)[0x5603f8d487bf]
emacs(+0x174a75)[0x5603f8d6da75]
emacs(+0x175453)[0x5603f8d6e453]
emacs(+0x178cf8)[0x5603f8d71cf8]
emacs(+0x1799ba)[0x5603f8d729ba]
emacs(+0x14f322)[0x5603f8d48322]
emacs(+0x14f5f0)[0x5603f8d485f0]
emacs(+0x14f7bf)[0x5603f8d487bf]
emacs(+0x174a75)[0x5603f8d6da75]
emacs(+0x175453)[0x5603f8d6e453]
emacs(+0x178cf8)[0x5603f8d71cf8]
emacs(+0x1799ba)[0x5603f8d729ba]
emacs(+0x14f322)[0x5603f8d48322]
emacs(+0x14f5f0)[0x5603f8d485f0]
emacs(+0x14f7bf)[0x5603f8d487bf]
emacs(+0x174a75)[0x5603f8d6da75]
emacs(+0x175453)[0x5603f8d6e453]
emacs(+0x178cf8)[0x5603f8d71cf8]
emacs(+0x1799ba)[0x5603f8d729ba]
emacs(+0x14f322)[0x5603f8d48322]
emacs(+0x14f5f0)[0x5603f8d485f0]
...
Segmentation fault
ERROR: install script from emacsen-common package failed
dpkg: error processing package emacs-nox (--configure):
installed emacs-nox package post-installation script subprocess
returned error exit status 1
Thanks.