** No longer affects: gcc-4.9 (Ubuntu Trusty) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gcc-4.8 in Ubuntu. https://bugs.launchpad.net/bugs/1256419
Title: libstdc++ pretty-printers don't work with Python 3 Status in gcc: Unknown Status in gcc-4.8 package in Ubuntu: Fix Released Status in gcc-4.9 package in Ubuntu: Fix Released Status in gcc-4.8 source package in Trusty: Fix Released Status in gcc-4.8 package in Debian: Fix Released Status in gcc-4.9 package in Debian: Fix Released Bug description: Ubuntu builds gdb's Python support against Python 3, but the STL pretty-printers shipped with libstdc++ don't support Python 3: (gdb) python >import os, sys >stldir = '/usr/share/gcc-4.7/python/' >if os.path.isdir(stldir): > sys.path.insert(0, stldir) > from libstdcxx.v6.printers import register_libstdcxx_printers > register_libstdcxx_printers (None) >end Traceback (most recent call last): File "<string>", line 5, in <module> File "/usr/share/gcc-4.7/python/libstdcxx/v6/printers.py", line 45 raise ValueError, "Cannot find type %s::%s" % (str(orig), name) ^ SyntaxError: invalid syntax Error while executing Python code. ProblemType: Bug DistroRelease: Ubuntu 13.10 Package: gcc-4.8 4.8.1-10ubuntu9 ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6 Uname: Linux 3.11.0-13-generic x86_64 ApportVersion: 2.12.5-0ubuntu2.1 Architecture: amd64 Date: Fri Nov 29 15:06:03 2013 InstallationDate: Installed on 2012-12-02 (362 days ago) InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5) MarkForUpload: True SourcePackage: gcc-4.8 UpgradeStatus: Upgraded to saucy on 2013-10-19 (41 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/1256419/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp