Package: python3-clang-9 Severity: grave Version: 1:9.0.1-4
Hi,I just tried fixing various autopkgtests in cmake-extras. One test involves python3-clang(-9) as currently found in Debian experimental.
Importing from python3-clang-9 fails with this message: ``` [...] "demolib-include-check" start time: Jan 08 10:45 UTC Output: ---------------------------------------------------------- Traceback (most recent call last):File "/usr/share/cmake/IncludeChecker/include_checker.py", line 23, in <module>
from clang.cindex import Index ModuleNotFoundError: No module named 'clang' ```This is very very likely caused by a very defect file tree in python-clang-9 1:9.0.1-4:
``` [mike@minobo Temporary]$ dpkg -l python3-clang-9 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===============-============-============-================================= ii python3-clang-9 1:9.0.1-4 amd64 Clang Python Bindings ``` ``` [mike@minobo Temporary]$ dpkg -L python3-clang-9 /. /usr /usr/lib /usr/lib/python2.7 ^^^^^^^^^ OUCH! /usr/lib/python2.7/dist-packages /usr/lib/python2.7/dist-packages/clang /usr/lib/python2.7/dist-packages/clang/__init__.py /usr/lib/python2.7/dist-packages/clang/cindex.py /usr/lib/python2.7/dist-packages/clang/enumerations.py /usr/share /usr/share/doc /usr/share/doc/python3-clang-9 /usr/share/doc/python3-clang-9/NEWS.Debian.gz /usr/share/doc/python3-clang-9/changelog.Debian.gz /usr/share/doc/python3-clang-9/copyright ``` Greets, Mike -- mike gabriel aka sunweaver (Debian Developer) mobile: +49 (1520) 1976 148 landline: +49 (4351) 486 14 27 GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: sunwea...@debian.org, http://sunweavers.net
pgpBJiZ3KC3Cd.pgp
Description: Digitale PGP-Signatur