Description of problem: $ scan-build makescan-build: error: Cannot find an executable 'clang' relative to scan-build. Consider using --use-analyzer to pick a version of 'clang' to use for static analysis. It seems that Fedora 18 is also affected by: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698352 Workaround is to use scan-build --use-analyzer=/usr/bin/clang make Version-Release number of selected component (if applicable): clang-analyzer-3.2-2.fc18.x86_64
Same here on the i686 hosts. Karel, thanks for the workaround!
Fixed in 3.3.
It doesn't seem to be fixed in Fedora 19. $ rpm -q clang-analyzer clang-analyzer-3.3-0.6.rc3.fc19.i686 $ scan-build make scan-build: error: Cannot find an executable 'clang' relative to scan-build. Consider using --use-analyzer to pick a version of 'clang' to use for static analysis.
Seems to still be present in F20 beta. $ rpm -q clang-analyzer clang-analyzer-3.3-0.10.rc3.fc20.x86_64
*** This bug has been marked as a duplicate of bug 982645 ***