summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-17 03:05:52 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-17 03:05:52 +0200
commit6720a0d6f2b4811062af6c92d48a9199639eb96b (patch)
tree711dbd8c10ccac13f2de157e8092c76d4c7da934 /bin
parent6488fee754b55beebc95cb70a930cb27220c895e (diff)
downloadjenkins.debian.net-6720a0d6f2b4811062af6c92d48a9199639eb96b.tar.xz
reproducible arch: detect when pacman fails to install dependencies
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_archlinux.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh
index 771f04dc..9aee0734 100755
--- a/bin/reproducible_html_archlinux.sh
+++ b/bin/reproducible_html_archlinux.sh
@@ -50,6 +50,9 @@ for PKG in $(find $ARCHBASE/* -maxdepth 1 -type d -exec basename {} \;) ; do
if [ -z "$(cd $ARCHBASE/$PKG/ ; ls *.pkg.tar.xz.html 2>/dev/null)" ] ; then
if [ ! -z "$(grep 'ERROR: Could not resolve all dependencies' $ARCHBASE/$PKG/build1.log)" ] ; then
write_page " <td>could not resolve dependencies</td>"
+ elif [ ! -z "$(egrep 'ERROR: .pacman. failed to install missing dependencies.' $ARCHBASE/$PKG/build1.log)" ] ; then
+ write_page " <td>failed to install dependencies</td>"
+
else
write_page " <td>failed to build from source</td>"
fi