Source: clhep Version: 2.1.4.1-1.1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: locale X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Hi! While working on the "reproducible builds" effort [1], we have noticed that clhep could not be built reproducibly. A file list is sorted differently depending on the locale. The attached patch fixes this by sorting with LC_ALL set to C. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/reproducible_build.patch b/debian/patches/reproducible_build.patch new file mode 100644 index 0000000..3a90b7f --- /dev/null +++ b/debian/patches/reproducible_build.patch @@ -0,0 +1,13 @@ +Author: Reiner Herrmann <rei...@reiner-h.de> +Description: Sort file list to get reproducible results + +Index: clhep-2.1.4.1/getObjectList.in +=================================================================== +--- clhep-2.1.4.1.orig/getObjectList.in ++++ clhep-2.1.4.1/getObjectList.in +@@ -22,4 +22,4 @@ do + fi + done + +-echo $filelist ++echo $filelist | tr ' ' '\n' | LC_ALL=C sort | tr '\n' ' ' diff --git a/debian/patches/series b/debian/patches/series index 3e08479..9ad0fac 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ doxygen.conf clhep-config.patch tests.patch fix-double-comparision-in-testBug58950.patch +reproducible_build.patch
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds