FS#34303 - [glib2] - shouldn't install incompatible gdb scripts
Attached to Project:
Arch Linux
Opened by Pierre Carru (pierrec) - Wednesday, 13 March 2013, 22:43 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 03 April 2013, 13:54 GMT
Opened by Pierre Carru (pierrec) - Wednesday, 13 March 2013, 22:43 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 03 April 2013, 13:54 GMT
|
Details
glib2 2.34.3-1
Description: The glib2 package installs gdb scripts that are incompatible with our gdb version. It generates import errors when debugging binaries linked to glib2. Example gdb output: Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3400.3-gdb.py", line 9, in <module> from gobject import register File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module> import gdb.backtrace ImportError: No module named backtrace Gdb doesn't document these backtrace APIs http://sourceware.org/gdb/onlinedocs/gdb/Python-API.html A simple solution is not to install these python scripts $ pacman -Ql glib2 | grep /usr/share/gdb/ glib2 /usr/share/gdb/ glib2 /usr/share/gdb/auto-load/ glib2 /usr/share/gdb/auto-load/usr/ glib2 /usr/share/gdb/auto-load/usr/lib/ glib2 /usr/share/gdb/auto-load/usr/lib/libglib-2.0.so.0.3400.3-gdb.py glib2 /usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.3400.3-gdb.py A possible patch: --- PKGBUILD 2013-03-13 23:32:10.768152428 +0100 +++ PKGBUILD_ 2013-03-13 23:31:59.008266388 +0100 @@ -32,2 +32,3 @@ make completiondir=/usr/share/bash-completion/completions DESTDIR="$pkgdir" install + rm -rf $pkgdir/usr/share/gdb/ |
This task depends upon
Closed by Jan de Groot (JGC)
Wednesday, 03 April 2013, 13:54 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in gnome-unstable.
Wednesday, 03 April 2013, 13:54 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in gnome-unstable.