6 if [ $1 = "x32" ]; then
7 grep -Ev "(uname\(release\)|-multilib-|\/eclipse\/|statifier|kernel-nopae-source-|kernel-tools-perf-vdso|libreoffice|iceape|iceweasel|icedove|nodejs)"
9 grep -Ev "(uname\(release\)|-multilib-|\/eclipse\/|statifier|kernel-nopae-source-|kernel-tools-perf-vdso)"
13 # group errors by same error kind
17 sed -ne 's/.*req \(.*\) not found.*/\1/p' $t | sort -u | while read dep; do
18 grep -F "req $dep not found" $t
23 # convert pkg name to src.rpm name
32 # create list of N-V-R.A.rpm -> src-N pairs 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 | \
35 xargs -d '\n' poldek --noignore -Q "$@" --cmd ls -q -s | \
36 sed -rne "s/^([^\t ]+)[\t ]+(.+)-[^-]+-[^-]+\.src\.rpm$/\1\t\2/p" >$t3
38 local pkg error message srpm
39 while read error pkg message; do
40 # error: arcconf-7.0.18786-1: req libstdc++.so.5()(64bit) not found
41 srpm=$(awk -vpkg="${pkg%:}" '$1 == pkg {printf("%s.spec", $2)}' $t3)
42 if [ -z "$srpm" ]; then
43 echo >&2 "srpms: No match for [${pkg%:}]"
45 echo "$error [$srpm] $pkg $message"
55 poldek -O "auto directory dependencies = yes" \
56 --ignore "*-debuginfo-*" \
57 --ignore "opera-plugin32-*" \
58 --ignore "nspluginwrapper-*" \
59 --ignore "mbrola-voice-*" \
62 --ignore "kde4-kdenetwork-kopete-protocol-skype-*.x86_64" \
63 --ignore "libpurple-protocol-skype-*.x86_64" \
64 --ignore "nagios-plugin-check_cciss-*" \
66 --verify=deps -Q "$@" | filter_deps $arch | group_deps | pkg2src "$@" | sort
72 gen_list $arch -O"unique package names = yes" "$@"
77 for arch in x86_64 i686 x32 ; do
78 if [ "$arch" = x86_64 ]; then
83 gen_list $arch -s $ftpdir/PLD/$arch/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ > $t && cat $t > $HOME/www/main$outfext
84 gen_list_uniq $arch -s $ftpdir/PLD/$arch/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ -s $ftpdir/ready/$arch/RPMS/ -s $ftpdir/ready/noarch/RPMS/ > $t && cat $t > $HOME/www/main-ready$outfext
85 gen_list_uniq $arch -s $ftpdir/PLD/$arch/RPMS/ -s $ftpdir/PLD/noarch/RPMS/ -s $ftpdir/ready/$arch/RPMS/ -s $ftpdir/ready/noarch/RPMS/ -s $ftpdir/test/$arch/RPMS/ -s $ftpdir/test/noarch/RPMS/ > $t && cat $t > $HOME/www/main-ready-test$outfext
88 chmod 644 $HOME/www/*.txt