Bug#1017798: emacs-common can't be installed: segfault in postinst
Package: emacs-common Version: 1:28.1+1-1 Severity: grave Justification: renders package unusable X-Debbugs-Cc: d...@shallowsky.com Dear Maintainer, Emacs can't be updated as of the current sid version, because of a segfault during postinst: Preparing to unpack .../emacs-gtk_1%3a28.1+1-1_amd64.deb ... Unpacking emacs-gtk (1:28.1+1-1) ... Setting up emacs-gtk (1:28.1+1-1) ... update-alternatives: using /usr/bin/emacs-gtk to provide /usr/bin/emacs (emacs) in auto mode tsort: -: input contains a loop: tsort: elpa-org tsort: emacsen-common tsort: -: input contains a loop: tsort: elpa-htmlize tsort: elpa-org tsort: emacsen-common Install elpa-htmlize for emacs install/htmlize-1.56: Handling install of emacsen flavor emacs install/htmlize-1.56: byte-compiling for emacs Fatal error 11: Segmentation fault Backtrace: emacs(+0x153d71)[0x560ec9351d71] emacs(+0x48902)[0x560ec9246902] emacs(+0x48dcf)[0x560ec9246dcf] emacs(+0x15209d)[0x560ec935009d] emacs(+0x152119)[0x560ec9350119] /lib/x86_64-linux-gnu/libc.so.6(+0x3daf0)[0x7f4d7663daf0] emacs(+0x194c30)[0x560ec9392c30] emacs(+0x19a1ca)[0x560ec93981ca] emacs(+0x1b87b5)[0x560ec93b67b5] emacs(+0x1b88df)[0x560ec93b68df] emacs(+0x1deff5)[0x560ec93dcff5] emacs(+0x1df9d3)[0x560ec93dd9d3] emacs(+0x1e3278)[0x560ec93e1278] emacs(+0x1e3f3a)[0x560ec93e1f3a] emacs(+0x1b8442)[0x560ec93b6442] emacs(+0x1b8710)[0x560ec93b6710] emacs(+0x1b88df)[0x560ec93b68df] emacs(+0x1deff5)[0x560ec93dcff5] emacs(+0x1df9d3)[0x560ec93dd9d3] emacs(+0x1e3278)[0x560ec93e1278] emacs(+0x1e3f3a)[0x560ec93e1f3a] emacs(+0x1b8442)[0x560ec93b6442] emacs(+0x1b8710)[0x560ec93b6710] emacs(+0x1b88df)[0x560ec93b68df] emacs(+0x1deff5)[0x560ec93dcff5] emacs(+0x1df9d3)[0x560ec93dd9d3] emacs(+0x1e3278)[0x560ec93e1278] emacs(+0x1e3f3a)[0x560ec93e1f3a] emacs(+0x1b8442)[0x560ec93b6442] emacs(+0x1b8710)[0x560ec93b6710] emacs(+0x1b88df)[0x560ec93b68df] emacs(+0x1deff5)[0x560ec93dcff5] emacs(+0x1df9d3)[0x560ec93dd9d3] emacs(+0x1e3278)[0x560ec93e1278] emacs(+0x1e3f3a)[0x560ec93e1f3a] emacs(+0x1b8442)[0x560ec93b6442] emacs(+0x1b8710)[0x560ec93b6710] emacs(+0x1b88df)[0x560ec93b68df] emacs(+0x1deff5)[0x560ec93dcff5] emacs(+0x1df9d3)[0x560ec93dd9d3] emacs(+0x1e3278)[0x560ec93e1278] ... Segmentation fault ERROR: install script from elpa-htmlize package failed dpkg: error processing package emacs-gtk (--configure): installed emacs-gtk package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of emacs: emacs depends on emacs-gtk (>= 1:27.1) | emacs-lucid (>= 1:27.1) | emacs-nox (>= 1:27.1); however: Package emacs-gtk is not configured yet. Package emacs-lucid is not installed. Package emacs-nox is not installed. dpkg: error processing package emacs (--configure): dependency problems - leaving unconfigured Processing triggers for man-db (2.10.2-2) ... Processing triggers for mailcap (3.70+nmu1) ... Processing triggers for desktop-file-utils (0.26-1) ... Errors were encountered while processing: emacs-gtk emacs E: Sub-process /usr/bin/dpkg returned an error code (1) This happens regardless of whether emacs-gtk, emacs-lucid or emacs-nox is used. This might be the same segfault as bug #1017779, but that bug has severity normal, while this causes all emacs packages to be unusable so it should be grave according to the definitions reportbug shows me, and a new bug is the only way I know to do that. I tried to downgrade to emacs-common=1:27.1+1-3.1 by pointing to https://snapshot.debian.org/archive/debian/20210328T030002Z/ but it looks like that sort of downgrade requires manually chasing all the dependencies' versions and dates and then finding a snapshot that has all of them, and I gave up after a few tries. -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (600, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.18.0-4-amd64 (SMP w/8 CPU threads; PREEMPT) Kernel taint flags: TAINT_WARN Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages emacs-common depends on: ii emacsen-common 3.0.4 ii init-system-helpers 1.64 ii install-info 6.8-6 Versions of packages emacs-common recommends: pn emacs-el Versions of packages emacs-common suggests: ii emacs-common-non-dfsg 1:27.1+1-2 ii ncurses-term 6.3+20220423-2 -- no debconf information
Bug#1014841: workaround
Since this has persisted for a couple days and prevents any security updates, here's a workaround (for people who find this bug report after a web search): dpkg --purge --force-all libguvcview-2.0-2 apt --fix-broken install
Bug#851192: reportbug: All UIs depend on python3 webbrowser which is failing with Bad magic number
Package: reportbug Version: 6.6.3 Severity: grave Justification: renders package unusable Dear Maintainer, Note: this concerns reportbug on TESTING, even though I am reporting it from stable because reportbug on testing won't run at all. Running reportbug fails immediately with: $ reportbug reportbug ~/outsrc/stable-grep/grep-2.20/src Traceback (most recent call last): File "/usr/bin/reportbug", line 43, in from reportbug import utils File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 43, in from .urlutils import open_url File "/usr/lib/python3/dist-packages/reportbug/urlutils.py", line 33, in import webbrowser ImportError: bad magic number in 'webbrowser': b'\x03\xf3\r\n' Obviously this is a bug in python3's webbrowser module (import webbrowser from the python3 console also fails). However, it's also a reportbug bug, because it makes reportbug completely unusable with any UI. No matter whether I run reportbug with -u text, -u gtk, or -u urwid, it dies with the same error. Why is the text interface trying to call up the webbrowser module? *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** -- Package-specific info: ** Environment settings: EDITOR="vim" INTERFACE="text" ** /home/akkana/.reportbugrc: reportbug_version "3.31" This is the version on stable. On testing, reportbug --version just fails with the same webbrowser error, but aptitude show says it's version 7.1.2. mode standard ui text email "akkzi...@shallowsky.com" -- System Information: The system where the bug happens is Debian GNU/Linux testing (stretch) and I just did a dist-upgrade today to make sure I wasn't missing any updated packages. python3 --version gives Python 3.5.2+ libpython3.5-stdlib is 3.5.2-9 libpython3.4-stdlib is also installed and is 3.4.4-3 Info below is for the stable release where I'm reporting this. Debian Release: 8.6 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages reportbug depends on: ii apt 1.0.9.8.4 ii python2.7.9-1 ii python-reportbug 6.6.3 pn python:any reportbug recommends no packages. Versions of packages reportbug suggests: pn claws-mail pn debconf-utils pn debsums pn dlocate pn emacs23-bin-common | emacs24-bin-common ii file 1:5.22+15-2+deb8u2 ii gnupg1.4.18-7+deb8u3 ii postfix [mail-transport-agent] 2.11.3-1 pn python-gtk2 pn python-gtkspell pn python-urwid pn python-vte pn xdg-utils Versions of packages python-reportbug depends on: ii apt 1.0.9.8.4 ii python-debian 0.1.27 ii python-debianbts 1.12 pn python:any python-reportbug suggests no packages. -- no debconf information
Bug#847975: python-matplotlib: All attempts to plot fail with "OverflowError: Python int too large to convert to C long"
Package: python-matplotlib Version: 1.5.3-1 Severity: grave Justification: renders package unusable Every Python script I have that uses matplotlib or pylab is now failing on Stretch with the following stack trace: Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1545, in __call__ return self.func(*args) File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 283, in resize self.show() File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_tkagg.py", line 355, in draw tkagg.blit(self._tkphoto, self.renderer._renderer, colormode=2) File "/usr/lib/python2.7/dist-packages/matplotlib/backends/tkagg.py", line 26, in blit _tkagg.tkinit(tk.interpaddr(), 1) OverflowError: Python int too large to convert to C long These scripts all work fine on Jessie, and used to work until quite recently on Stretch/Sid. Here's a short test program that will demonstrate the problem: = import pylab distances = [0, 0.0011970407617050934, 0.0050796062254631295, 0.007303941153223762, 0.007303941153223762, 0.008232870398475445, 0.008232870398475445, 0.012806461740481582, 0.016651523629144134, 0.021047330616832543] elevations = [6404.2, 6410.76, 6400.92, 6410.76, 6423.88, 6423.88, 6453.41, 6410.76, 6427.17, 6420.6] pylab.plot(distances, elevations) pylab.show() = -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 4.3.0-1-686 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python-matplotlib depends on: ii libatk1.0-0 2.22.0-1 ii libc6 2.24-7 ii libcairo2 1.14.6-1.1 ii libfontconfig12.11.0-6.7 ii libfreetype6 2.6.3-3+b1 ii libgcc1 1:6.2.1-5 ii libgdk-pixbuf2.0-02.36.0-1 ii libglib2.0-0 2.50.2-2 ii libgtk2.0-0 2.24.31-1 ii libjs-jquery 3.1.1-1 ii libjs-jquery-ui 1.12.1+dfsg-2 ii libpango-1.0-01.40.3-3 ii libpangocairo-1.0-0 1.40.3-3 ii libpangoft2-1.0-0 1.40.3-3 ii libpng16-16 1.6.26-2 ii libstdc++66.2.1-5 ii python2.7.11-2 ii python-cycler 0.10.0-1 ii python-dateutil 2.5.3-2 ii python-matplotlib-data1.5.3-1 ii python-numpy [python-numpy-abi9] 1:1.11.2-1 ii python-pyparsing 2.1.10+dfsg1-1 ii python-tz 2016.7-0.2 pn python:any Versions of packages python-matplotlib recommends: ii python-glade2 2.24.0-5.1 ii python-imaging 3.4.2-1 ii python-tk 2.7.11-2 Versions of packages python-matplotlib suggests: pn dvipng ii ffmpeg 7:3.2.2-1 ii ghostscript9.20~dfsg-1 ii gir1.2-gtk-3.0 3.22.4-1 ii inkscape 0.91-12 ii ipython5.1.0-3 ii librsvg2-common2.40.16-1 pn python-cairocffi ii python-configobj 5.0.6-2 pn python-excelerator ii python-gobject 3.22.0-1 ii python-gtk22.24.0-5.1 pn python-matplotlib-doc ii python-nose1.3.7-2 ii python-qt4 4.11.4+dfsg-2 ii python-scipy 0.18.1-2 ii python-sip 4.18.1+dfsg-1 pn python-tornado pn python-traits ii python-wxgtk3.03.0.2.0+dfsg-3 pn texlive-extra-utils pn texlive-latex-extra pn ttf-staypuft -- no debconf information