pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/52663: scan-build script from clang-static-analyzer package fails



>Number:         52663
>Category:       pkg
>Synopsis:       scan-build script from clang-static-analyzer package fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 28 13:55:00 +0000 2017
>Originator:     Andreas Gustafsson
>Release:        NetBSD 7.0
>Organization:

>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

The scan-build script from the lang/clang-static-analyzer package
fails with the message "error: action RunAnalysis not compiled in".

$ pkg_info -a|grep clang
clang-4.0.1         C language family frontend for LLVM
clang-static-analyzer-4.0.1 C language family frontend for LLVM

$ cat hello.c
#include <stdio.h>
int main(int argc, char **argv) {
   printf("hello, world\n");
}

$ rm -f hello

$ scan-build make hello
scan-build: Using '/usr/pkg/bin/clang-4.0' for static analysis
/usr/pkg/bin/../libexec/ccc-analyzer -O2   -o hello hello.c 
error: action RunAnalysis not compiled in
scan-build: 0 bugs found.
scan-build: The analyzer encountered problems on some source files.
scan-build: Preprocessed versions of these sources were deposited in '/tmp/scan-build-2017-10-28-163812-13178-1/failures'.
scan-build: Please consider submitting a bug report using these files:
scan-build:   http://clang-analyzer.llvm.org/filing_bugs.html

>How-To-Repeat:

See above.

>Fix:



Home | Main Index | Thread Index | Old Index