Source: raster3d
Version: 3.0-3-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: username

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that raster3d could not be built reproducibly.

The attached patch tells tar to record 0/0 instead of the build user and
group when creating diffs.tar. Once applied, raster3d can be built
reproducibly in our current experimental framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds

-- 
Lunar                                .''`. 
lu...@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
diff -Nru raster3d-3.0-3/debian/changelog raster3d-3.0-3/debian/changelog
--- raster3d-3.0-3/debian/changelog	2014-04-13 09:24:22.000000000 +0200
+++ raster3d-3.0-3/debian/changelog	2015-01-20 11:31:41.000000000 +0100
@@ -1,3 +1,10 @@
+raster3d (3.0-3-1.0~reproducible1) UNRELEASED; urgency=medium
+
+  * Make the build reproducible:
+    - Stop recording user and group when creating diffs.tar.
+
+ -- Jérémy Bobbio <lu...@debian.org>  Tue, 20 Jan 2015 11:30:31 +0100
+
 raster3d (3.0-3-1) unstable; urgency=medium
 
   * New upstream version
diff -Nru raster3d-3.0-3/debian/rules raster3d-3.0-3/debian/rules
--- raster3d-3.0-3/debian/rules	2013-09-12 10:59:58.000000000 +0200
+++ raster3d-3.0-3/debian/rules	2015-01-20 11:35:40.000000000 +0100
@@ -13,7 +13,8 @@
 
 override_dh_auto_configure:
 	mkdir debian/tmp
-	cd debian/patches/ && tar -cf ../diffs.tar *.diff || true
+	cd debian/patches/ && tar --owner=root --group=root --numeric-owner \
+		-cf ../diffs.tar *.diff || true
 	# dh_auto_configure
 
 override_dh_auto_build:

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to