opencollab/clang.debian.net
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
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
use the script
$ bash -v process-log.sh res.unstable scanlog-8-2020-02-24 logs/2020-02-24-8 8
you might need to run
for f in *gz; do gunzip $f; 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://salsa.debian.org/lucas/collab-qa-tools
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
8) Refresh the list of maintainers
bash -v generate-dd-list.sh 9.0.1 2020-02-24
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
To compute:
grep -v " OK " scanlog-12.0.1-2021-10-25 > scanlog-12.0.1-2021-10-25.res
if you have only the .diff, you can try
LIST=$(grep "OK Failed DIFFRES" diff.clang13.txt|awk '{print $1}')
for f in $LIST; do
F=$(ls "$f"_*log)
echo "Copy of $F"
cp "$F" results/
done
About
The rebuilds of Debian with clang
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published