6 grep -Ev "(FileDigestParameterized|unsatisfied dependencies found|-multilib-|zsh/latest/functions|VirtualBox.*libc\.so\.6|obextool.*libc\.so\.6)" | \
7 grep -v "uname(release)" |
11 # group errors by same error kind
15 sed -ne 's/.*req \(.*\) not found.*/\1/p' $t | sort -u | while read dep; do
16 grep -F "req $dep not found" $t
21 # convert pkg name to src.rpm name
32 # create list of packages from error report
33 # error: arcconf-7.0.18786-1: req libstdc++.so.5()(64bit) not found
34 sed -ne 's/error: \(.*\): req .* not found/\1/p' $t | sort -u > $t1
36 # create list of package -> src.rpm names
37 poldek --noignore -Q "$@" --cmd ls -q -s > $t2
39 # create N-V-R -> N list
40 local pkg error message srpm out
42 pkg=$(echo "$pkg" | sed -e 's,+,\\+,g')
44 # there's no space between the columns, so need to match with known archs
45 # see https://bugs.launchpad.net/poldek/+bug/1031767
46 out=$(sed -rne "s/^($pkg)\.(x86_64|i686|noarch)(.+)-[^-]+-[^-]+\.src\.rpm$/\1\t\3/p" $t2)
47 if [ -z "$out" ]; then
48 echo >&2 "nvr: No match for [$pkg]"
53 while read error pkg message; do
54 # error: arcconf-7.0.18786-1: req libstdc++.so.5()(64bit) not found
55 srpm=$(awk -vpkg="${pkg%:}" '$1 == pkg {printf("%s.spec", $2)}' $t3)
56 if [ -z "$srpm" ]; then
57 echo >&2 "srpms: No match for [${pkg%:}]"
59 echo "$error [$srpm] $pkg $message"
67 /usr/bin/poldek -O "auto directory dependencies = yes" \
68 --ignore "*-debuginfo-*" \
69 --ignore "opera-plugin32-*" \
70 --ignore "nspluginwrapper-*" \
71 --ignore "mbrola-voice-*" \
74 --ignore "kde4-kdenetwork-kopete-protocol-skype-*.x86_64" \
75 --ignore "libpurple-protocol-skype-*.x86_64" \
76 --ignore "*-video-nvidia-legacy3-*" \
77 --verify=deps -Q "$@" | filter_deps | group_deps | sort | pkg2src "$@"
81 gen_list -O"unique package names = yes" "$@"
86 gen_list -s $ftpdir/PLD/x86_64/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ > $t && cat $t > $HOME/www/main.txt
87 gen_list_uniq -s $ftpdir/PLD/x86_64/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ -s $ftpdir/ready/x86_64/RPMS/ -s $ftpdir/ready/noarch/RPMS/ > $t && cat $t > $HOME/www/main-ready.txt
88 gen_list_uniq -s $ftpdir/PLD/x86_64/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ -s $ftpdir/ready/x86_64/RPMS/ -s $ftpdir/ready/noarch/RPMS/ -s $ftpdir/test/x86_64/RPMS/ -s $ftpdir/test/noarch/RPMS/ > $t && cat $t > $HOME/www/main-ready-test.txt
90 gen_list -s $ftpdir/PLD/i686/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ > $t && cat $t > $HOME/www/main-i686.txt
91 gen_list_uniq -s $ftpdir/PLD/i686/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ -s $ftpdir/ready/i686/RPMS/ -s $ftpdir/ready/noarch/RPMS/ > $t && cat $t > $HOME/www/main-ready-i686.txt
92 gen_list_uniq -s $ftpdir/PLD/i686/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ -s $ftpdir/ready/i686/RPMS/ -s $ftpdir/ready/noarch/RPMS/ -s $ftpdir/test/i686/RPMS/ -s $ftpdir/test/noarch/RPMS/ > $t && cat $t > $HOME/www/main-ready-test-i686.txt
94 gen_list -s $ftpdir/PLD/i486/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ > $t && cat $t > $HOME/www/main-i486.txt
95 gen_list_uniq -s $ftpdir/PLD/i486/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ -s $ftpdir/ready/i486/RPMS/ -s $ftpdir/ready/noarch/RPMS/ > $t && cat $t > $HOME/www/main-ready-i486.txt
96 gen_list_uniq -s $ftpdir/PLD/i486/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ -s $ftpdir/ready/i486/RPMS/ -s $ftpdir/ready/noarch/RPMS/ -s $ftpdir/test/i486/RPMS/ -s $ftpdir/test/noarch/RPMS/ > $t && cat $t > $HOME/www/main-ready-test-i486.txt
98 (date; $HOME/bin/ac-th-diff.py) > $t && cat $t > $HOME/www/ac-th-diff.txt
100 chmod 644 $HOME/www/*.txt