Bug#825101: clang-3.8: scan-view don't work
Alexis La Goutte
alexis.lagoutte at gmail.com
Mon May 23 15:06:20 UTC 2016
Package: clang-3.8
Version: 1:3.8-2
Severity: normal
Tags: patch
Dear Maintainer,
When running scan-view-3.8 after a scan-build, there is always the traceback :
Traceback (most recent call last):
File "/usr/bin/scan-view-3.8", line 143, in <module>
main()
File "/usr/bin/scan-view-3.8", line 140, in main
run(port, args, args.root)
File "/usr/bin/scan-view-3.8", line 70, in run
import ScanView
ImportError: No module named ScanView
After check, there is the wrong path on scan-view-3.8
a quick fix :
--- /usr/share/clang/scan-view-3.8/bin/scan-view.old 2016-05-23 15:27:03.278422015 +0200
+++ /usr/share/clang/scan-view-3.8/bin/scan-view 2016-05-23 15:34:30.517953399 +0200
@@ -61,7 +61,7 @@
def run(port, options, root):
# Prefer to look relative to the installed binary
- share = os.path.dirname(__file__) + "/../share/scan-view"
+ share = os.path.dirname(__file__) + "/../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 testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.5.0-2-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages clang-3.8 depends on:
ii binutils 2.26-9
ii libc6 2.22-9
ii libc6-dev 2.22-9
ii libclang-common-3.8-dev 1:3.8-2
ii libclang1-3.8 1:3.8-2
ii libgcc-5-dev 5.3.1-19
ii libgcc1 1:6.1.1-3
ii libllvm3.8 1:3.8-2
ii libobjc-5-dev 5.3.1-19
ii libstdc++-5-dev 5.3.1-19
ii libstdc++6 6.1.1-3
Versions of packages clang-3.8 recommends:
ii llvm-3.8-dev 1:3.8-2
ii python 2.7.11-1
Versions of packages clang-3.8 suggests:
pn clang-3.8-doc <none>
pn gnustep <none>
pn gnustep-devel <none>
-- no debconf information
More information about the Pkg-llvm-team
mailing list