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

Bug#661385: libstdc++6-4.6-dbg: libstdcxx Python package installed in the wrong place



Package: libstdc++6-4.6-dbg
Version: 4.6.2-15
Severity: normal

gdb wants Python extensions installed under /usr/share/gdb/python, but
libstdc++6-4.6-dbg is putting them under /usr/share/gcc-4.6/python instead.
Thus, you get an obnoxious error message every time you debug a C++ program:

    from libstdcxx.v6.printers import register_libstdcxx_printers
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    ImportError: No module named libstdcxx.v6.printers

and, more seriously, the STL pretty-printing feature does not work.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (501, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages libstdc++6-4.6-dbg depends on:
ii  gcc-4.6-base  4.6.2-15
ii  libc6         2.13-26
ii  libgcc1       1:4.6.2-15
ii  libgcc1-dbg   1:4.6.2-15
ii  libstdc++6    4.6.2-15

Versions of packages libstdc++6-4.6-dbg recommends:
ii  libstdc++6-4.6-dev  4.6.2-15

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

-- no debconf information



Reply to: