[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: deal with yet another way to build unreproducible packages…

Holger Levsen holger at layer-acht.org
Fri Dec 15 11:26:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit f0fc959edfabe1466858b872bc64f5da91887b9e
Author: Holger Levsen <holger at layer-acht.org>
Date:   Fri Dec 15 11:24:47 2017 +0000

    reproducible Arch Linux: deal with yet another way to build unreproducible packages…
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_build_archlinux_pkg.sh | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index 2c2fd51..abce91f 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -413,6 +413,17 @@ if [ ! -z "$(ls $TMPDIR/b1/$SRCPACKAGE/*.pkg.tar.xz 2>/dev/null|| true)" ] ; the
 			DIFFOSCOPE="$(schroot --directory /tmp -c source:jenkins-reproducible-${DBDSUITE}-diffoscope diffoscope -- --version 2>&1)"
 			echo "$(date -u) - Running $DIFFOSCOPE now..."
 			call_diffoscope $SRCPACKAGE $ARTIFACT
+		else
+			# some packages define the package version based on the build date
+			# so our two builds end up with different package versions…
+			echo "$(date -u) - something is fishy with $SRCPACKAGE/$ARTIFACT."
+			ls $TMPDIR/b1/$SRCPACKAGE
+			ls $TMPDIR/b2/$SRCPACKAGE
+			( echo "<html><body><p>$SRCPACKAGE/$ARTIFACT built in a strange unreproducible way:<br />"
+			ls $TMPDIR/b1/$SRCPACKAGE
+			ls $TMPDIR/b2/$SRCPACKAGE
+			echo "</p></body>"
+			) > "$BASE/archlinux/$REPOSITORY/$SRCPACKAGE/$ARTIFACT.html"
 		fi
 		# publish page
 		if [ -f $TMPDIR/$SRCPACKAGE/$ARTIFACT.html ] ; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list