FS#63307 - [lldb] scripting broken

Attached to Project: Arch Linux
Opened by Russell Greene (russelltg) - Sunday, 28 July 2019, 22:40 GMT
Last edited by Evangelos Foutras (foutrelis) - Tuesday, 30 July 2019, 08:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
Scripting seems to be broken in the lldb packaged by arch (I have 8.0.1-1).

I think it's related to building with swig 4, when lldb only supports swig 3.

Steps to reproduce:
$ run lldb
$ (lldb) script
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/lldb/__init__.py", line 1481, in <module>
class SBAddress(object):
File "/usr/lib/python2.7/site-packages/lldb/__init__.py", line 1647, in SBAddress
__swig_getmethods__["module"] = GetModule
NameError: name '__swig_getmethods__' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_python_interpreter' is not defined
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Tuesday, 30 July 2019, 08:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  lldb 8.0.1-2
Comment by Anatolii Sakhnik (sakhnik) - Monday, 29 July 2019, 05:08 GMT
That's an upstream bug: https://bugs.llvm.org/show_bug.cgi?id=42284
Need to rebuild lldb when a new version is out.

Loading...