From b2c6a97839ddc6ac74ea7e7fbe46e99f5149e4ef Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 26 Sep 2015 13:24:14 +0200 Subject: reproducible: debug some more --- bin/reproducible_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/reproducible_build.sh') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 375ac124..fe27adef 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -388,6 +388,7 @@ choose_package() { fi rm -f $BAD_BUILDS # mark build attempt, first test if none else marked a build attempt recently + set -x echo "ok, let's check if $SRCPACKAGE is building anywhere yet…" RESULT=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT date_build_started FROM schedule WHERE package_id='$SRCPKGID'") if [ -z "$RESULT" ] ; then @@ -395,7 +396,6 @@ choose_package() { # try to update the schedule with our build attempt, then check no else did it, if so, abort sqlite3 -init $INIT ${PACKAGES_DB} "UPDATE schedule SET date_build_started='$DATE', builder='$BUILDER' WHERE package_id='$SRCPKGID' AND date_build_started='' AND (builder='' OR builder='TBD')" sleep 2 - set -x local UPDATERESULT=$(sqlite3 -init $INIT ${PACKAGES_DB} "SELECT date_build_started FROM schedule WHERE package_id='$SRCPKGID' AND date_build_started='$DATE' AND builder='$BUILDER'") if [ -z "$UPDATERESULT" ] ; then echo "hm, seems $SRCPACKAGE is building somewhere… failed to update the schedule table with our build ($SRCPKGID, $DATE, $BUILDER)." -- cgit v1.2.3-54-g00ecf