From 6720a0d6f2b4811062af6c92d48a9199639eb96b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 17 Oct 2015 03:05:52 +0200 Subject: reproducible arch: detect when pacman fails to install dependencies --- bin/reproducible_html_archlinux.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/reproducible_html_archlinux.sh') 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 " could not resolve dependencies" + elif [ ! -z "$(egrep 'ERROR: .pacman. failed to install missing dependencies.' $ARCHBASE/$PKG/build1.log)" ] ; then + write_page " failed to install dependencies" + else write_page " failed to build from source" fi -- cgit v1.2.3-70-g09d2