[pkg-go] Bug#838754: golang-google-grpc: please make the build reproducible

Chris Lamb lamby at debian.org
Sat Sep 24 10:40:14 UTC 2016


Source: golang-google-grpc
Version: 1.0.0-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], I noticed
that golang-google-grpc could not be built reproducibly.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2016-09-24 12:26:53.967341032 +0200
--- b/debian/rules	2016-09-24 12:39:28.567955753 +0200
@@ -14,7 +14,7 @@
 
 PB_GO_FILES = $(patsubst %.proto, %.pb.go, $(wildcard */*/*.proto))
 $(PB_GO_FILES):
-	protoc -I$(dir $@) --go_out=plugins=grpc:$(dir $@) $(dir $@)*.proto
+	protoc -I$(dir $@) --go_out=plugins=grpc:$(dir $@) $(sort $(wildcard $(dir $@)*.proto))
 
 override_dh_clean:
 	dh_clean $(PB_GO_FILES)


More information about the Pkg-go-maintainers mailing list