Bug 17525

Summary: Python traceback when running gdb (should run with python3?)
Product: Mageia Reporter: Rémi Verschelde <rverschelde>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: zen25000
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: gdb CVE:
Status comment:

Description Rémi Verschelde 2016-01-18 18:51:10 CET
Hi get this Python traceback when running gdb in cauldron:

---
$ gdb
Traceback (most recent call last):
  File "/usr/share/gdb/python/gdb/__init__.py", line 144, in auto_load_packages
    __import__(modname)
  File "/usr/share/gdb/python/gdb/command/pahole.py", line 58
    print (' /* %3d %3d */' % (int (bitpos / 8), int (fieldsize / 8)), end = "")
                                                                           ^
SyntaxError: invalid syntax
---

(and then it starts and work apparently fine)

I guess it might need to run with python3 instead of python2?
Barry Jackson 2016-03-09 18:44:44 CET

CC: (none) => zen25000

Comment 1 Rémi Verschelde 2017-05-19 23:36:55 CEST
Works fine now.

Resolution: (none) => OLD
Status: NEW => RESOLVED