Bug#942826: python-clang-9 should be merged with python3-clang-9

Andre Woebbeking Woebbeking at web.de
Tue Oct 22 07:15:48 BST 2019


Package: python-clang-9
Version: 1:9-1
Severity: important

Dear Maintainer,

I wanted to use lldb-9 (and before lldb-8) to debug my code with Qt Creator but
Qt Creator can't start lldb-9 (and lldb-8). It works with lldb-7.

After consulting Google I found the following reasons:

- lldb switched to python3
- so there is no need for python2 stuff from python-clang-9
- python3-clang-9 lacks some things for python3 which python-clang-9 provides (for python2)

I created the links from python-clang-9 myself:
- in /usr/lib/llvm-9/lib/python3.7/site-packages/lldb/ I created
  _lldb.so
  libLLVM-9.so.1 and libLLVM-9.0.0.so.1
- in /usr/lib/python3.7/dist-packages I created a link to
  ../../llvm-9/lib/python3.7/site-packages/lldb

After that Qt Creator worked as expected. OK, you need Qt Creator 4.10.1 as older versions
aren't compatible with python3.

So please merge python-clang-9 with python3-clang-9.

Cheers,
André

-- System Information:
Debian Release: testing
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.2.0-2-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python-clang-9 depends on:
ii  libclang-9-dev  1:9-1
ii  python3         3.7.5-1

python-clang-9 recommends no packages.

python-clang-9 suggests no packages.


More information about the Pkg-llvm-team mailing list