Package: clang
Version: 2.6-2
Severity: normal

Hello,

the newly added scripts scan-build and ccc-analyzer don't work as packaged.
Both need to have the path for clang-cc adapted (I've attached my local changes
to make it work). scan-build also complains about a missing sorttable.js (and
needs scanview.css as well, I think).

Best regards,
Christian Ohm

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages clang depends on:
ii  libc6                   2.10.2-6         Embedded GNU C Library: Shared lib
ii  libffi5                 3.0.9-1          Foreign Function Interface library
ii  libgcc1                 1:4.5-20100103-1 GCC support library
ii  libstdc++6              4.5-20100103-1   The GNU Standard C++ Library v3

Versions of packages clang recommends:
ii  llvm-dev                      2.6-5      Low-Level Virtual Machine (LLVM), 

clang suggests no packages.

-- no debconf information

-- 
Like I always say -- nothing can beat the BRATWURST here in DUSSELDORF!!
--- ccc-analyzer	2009-08-14 20:20:50.000000000 +0200
+++ /usr/bin/ccc-analyzer	2010-02-26 18:27:03.000000000 +0100
@@ -395,7 +395,7 @@
 
 # Determine what clang-cc executable to use.
 my $ClangCC = $ENV{'CLANG_CC'};
-if (!defined $ClangCC) { $ClangCC = 'clang-cc'; }
+if (!defined $ClangCC) { $ClangCC = '/usr/lib/clang/1.0/clang-cc'; }
 
 # Get the HTML output directory.
 my $HtmlDir = $ENV{'CCC_ANALYZER_HTML'};
--- scan-build	2009-08-04 19:05:18.000000000 +0200
+++ /usr/bin/scan-build	2010-02-26 18:19:46.000000000 +0100
@@ -82,7 +82,7 @@
 ##----------------------------------------------------------------------------##
 
 # First, look for 'clang-cc' in libexec.
-my $ClangCCSB = Cwd::realpath("$RealBin/libexec/clang-cc");
+my $ClangCCSB = Cwd::realpath("/usr/lib/clang/1.0/clang-cc");
 # Second, look for 'clang-cc' in the same directory as scan-build.
 if (!defined $ClangCCSB || ! -x $ClangCCSB) {
   $ClangCCSB = Cwd::realpath("$RealBin/clang-cc");

Reply via email to