Bug#708154: clang: issues found by adequate

Jakub Wilk jwilk at debian.org
Mon May 13 22:44:41 UTC 2013


* Thorsten Glaser <tg at mirbsd.de>, 2013-05-13, 17:32:
>         │ clang-3.2: broken-symlink /usr/share/man/man1/clang++.1.gz -> clang.1.gz
>         │ clang-3.2: broken-symlink /usr/share/man/man1/llvm-clang.1.gz -> clang.1.gz
>
>root at tglase:~ # ll /usr/share/man/man1/cla*
>lrwxrwxrwx 1 root root   10 May 11 17:14 /usr/share/man/man1/clang++.1.gz -> clang.1.gz
>-rw-r--r-- 1 root root 7208 May 11 17:14 /usr/share/man/man1/clang-3.2.1.gz
>
>I think clang.1.gz -> clang-3.2.1.gz is missing.

Already reported as #707832.

>Also:
>         │ clang: missing-copyright-file /usr/share/doc/clang/copyright
>But you know that already.

Yup, that's #707838.

>And:
>         │ clang-3.2: py-file-not-bytecompiled /usr/share/clang/scan-view/startfile.py
>         │ clang-3.2: py-file-not-bytecompiled /usr/share/clang/scan-view/ScanView.py
>         │ clang-3.2: py-file-not-bytecompiled /usr/share/clang/scan-view/Reporter.py
>No idea if they should be;

My strace tell that at least some of them are imported:

open("/usr/share/clang/scan-view/ScanView.py", O_RDONLY|O_LARGEFILE) = 3
open("/usr/share/clang/scan-view/ScanView.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share/clang/scan-view/ScanView.pyc", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC|O_LARGEFILE, 0100644) = -1 EACCES (Permission denied)
open("/usr/share/clang/scan-view/Reporter.py", O_RDONLY|O_LARGEFILE) = 4
open("/usr/share/clang/scan-view/Reporter.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share/clang/scan-view/Reporter.pyc", O_WRONLY|O_CREAT|O_EXCL|O_TRUNC|O_LARGEFILE, 0100644) = -1 EACCES (Permission denied)

So yes, I believe they should be bytecompiled.

>fusionforge has this error in a template, maybe adequate needs an 
>overrides feature like lintian?

(Maybe, but this bug report is not a good place to discuss it.)

-- 
Jakub Wilk



More information about the Pkg-llvm-team mailing list