[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#739449: marked as done (libstdc++6-4.8-dbg: Python pretty-printers fail to load)



Your message dated Mon, 19 May 2014 11:53:26 +0200
with message-id <5379D496.5000501@debian.org>
and subject line Re: libstdc++6-4.8-dbg: Python pretty-printers fail to load
has caused the Debian Bug report #739449,
regarding libstdc++6-4.8-dbg: Python pretty-printers fail to load
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
739449: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739449
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libstdc++6-4.8-dbg
Version: 4.8.2-15
Severity: normal

Dear Maintainer,

This package contains python scripts which should allow gdb to
pretty-print C++ types. But these scripts fail to load:

    File "/usr/lib/debug/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module>
      from libstdcxx.v6.printers import register_libstdcxx_printers
  ImportError: No module named libstdcxx.v6.printers

I found this was caused by an incorrect Python search path (it contains
one "../" too many):

  (gdb) python print sys.path
  ['/usr/lib/x86_64-linux-gnu/../../../share/gcc-4.8/python', ...

This path is calculated by the libstdc++.so.6.0.19-gdb.py script which
contains the following hack for multiarch systems:

    if not os.path.basename(os.path.dirname(__file__)).startswith('lib'):
        backdirs += 1 # multiarch subdir

This extra backdir is not necessary however because the libdir
definition at the top of the script already contains the multiarch
prefix:

  libdir = '/usr/lib/x86_64-linux-gnu'

So I deleted the two line if-statement from the script and that fixed
the problem for me.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libstdc++6-4.8-dbg depends on:
ii  gcc-4.8-base  4.8.2-15
ii  libc6         2.17-97
ii  libgcc1       1:4.8.2-15
ii  libgcc1-dbg   1:4.8.2-15
ii  libstdc++6    4.8.2-15

Versions of packages libstdc++6-4.8-dbg recommends:
ii  libstdc++-4.8-dev  4.8.2-15

libstdc++6-4.8-dbg suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
that should be fixed now in unstable.

--- End Message ---

Reply to: