Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package golang-google-cloud

The package FTBFS on 32 bit architectures (#860699), detected by Lucas
Nussbaum. I've just uploaded a fixed version.

unblock golang-google-cloud/0.5.0-2

Regards,
Tobias
diff -Nru golang-google-cloud-0.5.0/debian/changelog golang-google-cloud-0.5.0/debian/changelog
--- golang-google-cloud-0.5.0/debian/changelog	2016-12-16 19:32:29.000000000 +0100
+++ golang-google-cloud-0.5.0/debian/changelog	2017-04-27 22:30:57.000000000 +0200
@@ -1,3 +1,10 @@
+golang-google-cloud (0.5.0-2) unstable; urgency=medium
+
+  * Team upload.
+  * Fix FTBFS on 32 bit. (Closes: #860699)
+
+ -- Dr. Tobias Quathamer <to...@debian.org>  Thu, 27 Apr 2017 22:30:57 +0200
+
 golang-google-cloud (0.5.0-1) unstable; urgency=medium
 
   * Start following upstream history (branch upstream-ng), using the new
diff -Nru golang-google-cloud-0.5.0/debian/patches/0004-Fix_FTBFS_on_32_bit.patch golang-google-cloud-0.5.0/debian/patches/0004-Fix_FTBFS_on_32_bit.patch
--- golang-google-cloud-0.5.0/debian/patches/0004-Fix_FTBFS_on_32_bit.patch	1970-01-01 01:00:00.000000000 +0100
+++ golang-google-cloud-0.5.0/debian/patches/0004-Fix_FTBFS_on_32_bit.patch	2017-04-27 22:27:12.000000000 +0200
@@ -0,0 +1,11 @@
+--- a/pubsub/endtoend_test.go
++++ b/pubsub/endtoend_test.go
+@@ -66,7 +66,7 @@
+ 		// Simulate time taken to process m, while continuing to process more messages.
+ 		go func() {
+ 			// Some messages will need to have their ack deadline extended due to this delay.
+-			delay := rand.Intn(int(ackDeadline * 3))
++			delay := rand.Int63n(int64(ackDeadline * 3))
+ 			time.After(time.Duration(delay))
+ 			m.Done(true)
+ 		}()
diff -Nru golang-google-cloud-0.5.0/debian/patches/series golang-google-cloud-0.5.0/debian/patches/series
--- golang-google-cloud-0.5.0/debian/patches/series	2016-12-16 19:32:29.000000000 +0100
+++ golang-google-cloud-0.5.0/debian/patches/series	2017-04-27 22:27:57.000000000 +0200
@@ -1,3 +1,4 @@
 0001-Bug#840311-fix-test-timeouts.patch
 0002-Failing_test.patch
 0003-Network_accessing_tests.patch
+0004-Fix_FTBFS_on_32_bit.patch

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to