[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible Debian rebuilder 'thing': move original away

Holger Levsen gitlab at salsa.debian.org
Fri May 8 00:18:53 BST 2020



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
b74aecae by Holger Levsen at 2020-05-08T01:14:17+02:00
reproducible Debian rebuilder 'thing': move original away

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -
6a9110c1 by Holger Levsen at 2020-05-08T01:18:00+02:00
reproducible Debian rebuilder 'thing': enable testing of random packages again

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_debian_rebuilder_prototype.sh


Changes:

=====================================
bin/reproducible_debian_rebuilder_prototype.sh
=====================================
@@ -72,7 +72,7 @@ VERSION=$(grep-available -X -S $PKG -s Version $SOURCES | head -1 | cut -d ' ' -
 #PKG=libofx		; BINARY_PKG=libofx-dev 	; VERSION=1:0.9.15-3	# cannot find libdebconfclient0/0.250/amd64 in dumpavail -> impossible to recreate build environment
 #PKG=wpewebkit		; BINARY_PKG=wpewebkit-driver	; VERSION=2.28.0-1	# cannot find libc-bin/2.29-10/amd64 in dumpavail -> impossible to recreate build environment
 #PKG=libunibreak	; BINARY_PKG=libunibreak1	; VERSION=1.1-2		# binNMU (on amd64 in bullseye, but not buster)
-PKG=tomcat9		; BINARY_PKG=tomcat9-user	; VERSION=9.0.34-1	# sbuild fails to build the package because dpkg-checkbuilddeps: error: Unmet build dependencies: - see job #109
+#PKG=tomcat9		; BINARY_PKG=tomcat9-user	; VERSION=9.0.34-1	# sbuild fails to build the package because dpkg-checkbuilddeps: error: Unmet build dependencies: - see job #109
 
 output_echo "let's try to rebuild $BINARY_PKG from src:$PKG ($VERSION) from $SUITE/$ARCH"
 EVERSION="$(echo $VERSION | cut -d ':' -f2)"  # EPOCH_FREE_VERSION is too long
@@ -135,8 +135,6 @@ else
 	output_echo  "$URLPATH/$FILE is unsigned:"
 fi
 cat $FILE
-# a successful build might overwrite the original .buildinfo file...
-cp $FILE $FILE.orig
 
 # download the source early to fail early if it's not available...
 # I guess I think it would be nice if debrebuild would also do this:
@@ -189,6 +187,9 @@ else
 	echo 'Acquire::Check-Valid-Until "false";' | sudo tee /schroots/debrebuild-$DISTRO-$ARCH/etc/apt/apt.conf.d/23-rebuild
 fi
 
+# a successful build might overwrite the original .buildinfo file, so move it away
+mv $FILE $FILE.orig
+
 # actually run sbuild
 # - workaround #955123 in devscripts: debrebuild: please provide --sbuild-output-only option
 #   - using tail
@@ -244,5 +245,5 @@ if [ -n "$BADDEBS" ] ; then
 fi
 
 # the end
-rm -f $FILE $DEBREBUILD
+rm -f $DEBREBUILD
 output_echo "the end."



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/bb2dc461519ee82e8e61aa7a44e19843d95b3c04...6a9110c1052a6381804d6d4ce31f0cd3946c404c

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/bb2dc461519ee82e8e61aa7a44e19843d95b3c04...6a9110c1052a6381804d6d4ce31f0cd3946c404c
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20200507/62c385c9/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list