The rebuilds of Debian with clang
HTML PHP CSS C++ Shell Assembly
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
errors
js
logs
styles
.gitignore
README
TODO
bugs.php
config.inc.php
debian.png
dump-2014-05-26.sql
footer.php
import-debian-bugs.sh
index.php
insert.php
irill.png
jquery.js
listErrors.php
pkg.css
pts.php
reimport-all.sh
results.php
revamp.css
scanlog-2.9-2011-09-11
scanlog-3.0-2012-01-12
scanlog-3.1-2012-06-23
scanlog-3.2-2013-01-28
scanlog-3.3-2013-07-14
scanlog-3.4-2014-01-14
scanlog-3.4.2-2014-06-16
scanlog-3.5.0-2014-09-03
scanlog-3.6.0-2015-03-25
scanlog-3.6.0rc1-2015-01-23
scanlog-3.8.1-2016-08-30
scanlog-3.9.1-2017-07-06
scanlog-4.0.1-2017-07-06
scanlog-5.0-2017-08-20
scanlog-6.0-2018-05-01
status.css
status.php

README

Preprocessing

1) Build with clang
2) Normal build

In some case, we get a raw list of results

cqa-compare-ref-rebuild -s /tmp/log-clang-14-06-16/ -o /tmp/log-clang-14-06-16-results -i clang

or
LIST=$(grep " Failed " res-vanilla.txt |awk '{print $1}')
grep -v " OK " res-clang3.9.txt  > res-clang3.9.failed.txt
for f in $LIST; do sed -i "/$f /d" res-clang3.9.failed.txt; done
LIST=$(awk '{print $1}' ../../res-clang3.9.failed.txt)
for f in $LIST; do cp "$f"_*log results/; done

or
mkdir clang/
mv *clang5.0.log clang
cqa-scanlogs > normal.txt
cd clang
cqa-scanlogs > clang.txt
cqa-compare-results ../normal.txt clang.txt |grep DIFFRES > fail-clang.txt
LIST=$(awk '{print $1}' fail-clang.txt)
for f in $LIST; do cp "$f"_*log results/; done



In case you need to rename the log:
for f in *clang4.0*; do git mv $f $(echo $f|sed -e "s|clang4.0|clang|g"); done

3) Generation the list of packages. It will find the error.

From the log directory, run:
cqa-scanlogs > ../../scanlog-3.1-2012-06-23

This program can be found here:
https://anonscm.debian.org/cgit/collab-maint/collab-qa-tools.git/
and Debian packages should be created

4) Import the file into the database
Edit insert.php
Update the path, the version and the date

Run, it should insert in the db

With reimport-all.sh, all previous scanlog-* are going to be reimported.
This should be done when new categories are created.

5) Update status.php to add the support of the new version
update config.inc.php for the number of packages

6) Check:
http://localhost/status.php?version=X.Y&key=NO_CAT

Check for new common error message and add then listErrors.php

7) Get the number of packages in the archive with
wget -q -O - ftp://ftp.fr.debian.org/debian/dists/sid/main/source/Sources.gz | zgrep -c '^Package: '
and update config.inc.php

Notes:
* Add &sort=true in the URL to get a SOUNDEX() sort
Example:
http://clang.debian.net/status.php?version=3.5.0&key=NO_CAT&sort=true