Package: clang-3.9 Version: 1:3.9-1 Severity: normal Hello,
scan-view-3.9 fails to find the needed python modules: $ scan-view-3.9 scan-build-master/ Traceback (most recent call last): File "/usr/bin/scan-view-3.9", line 143, in <module> main() File "/usr/bin/scan-view-3.9", line 140, in main run(port, args, args.root) File "/usr/bin/scan-view-3.9", line 70, in run import ScanView ImportError: No module named ScanView the problem is that os.path.dirname(__file__) is /usr/bin and not /usr/share/clang/scan-view-3.9/bin as expected by the script. A quick way to fix that is to hardcode the scan-view dir: $ diff -u ../bin/scan-view.old ../bin/scan-view --- ../bin/scan-view.old 2016-09-22 16:31:01.209052200 +0200 +++ ../bin/scan-view 2016-09-22 16:39:19.383579819 +0200 @@ -22,6 +22,8 @@ kDefaultPort = 8181 kMaxPortsToTry = 100 +BASE_DIR = '/usr/share/clang/scan-view-3.9' + ### @@ -61,7 +63,7 @@ def run(port, options, root): # Prefer to look relative to the installed binary - share = os.path.dirname(__file__) + "/../share/" + share = os.path.join(BASE_DIR, 'share') if not os.path.isdir(share): # Otherwise look relative to the source share = os.path.dirname(__file__) + "/../../scan-view/share" -- System Information: Debian Release: stretch/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages clang-3.9 depends on: ii binutils 2.27-8 ii libc6 2.24-3 ii libc6-dev 2.24-3 ii libclang-common-3.9-dev 1:3.9-1 ii libclang1-3.9 1:3.9-1 ii libgcc-6-dev 6.2.0-4 ii libgcc1 1:6.2.0-4 ii libjsoncpp1 1.7.4-3 ii libllvm3.9 1:3.9-1 ii libobjc-6-dev 6.2.0-4 ii libstdc++-6-dev 6.2.0-4 ii libstdc++6 6.2.0-4 Versions of packages clang-3.9 recommends: ii llvm-3.9-dev 1:3.9-1 ii python 2.7.11-2 Versions of packages clang-3.9 suggests: pn clang-3.9-doc <none> pn gnustep <none> pn gnustep-devel <none> -- no debconf information