Source: wammu Version: 0.43-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: fileordering X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that wammu could not be built reproducibly as it iterates over the filesystem in a non-deterministic order. Patch attached. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/patches/reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible-build.patch 2017-05-12 21:57:15.379512653 +0200 @@ -0,0 +1,14 @@ +Description: Make the build reproducible +Author: Chris Lamb <la...@debian.org> +Last-Update: 2017-05-12 + +--- wammu-0.43.orig/setup.py ++++ wammu-0.43/setup.py +@@ -149,6 +149,7 @@ def list_message_files(package='wammu', + _locale = os.path.basename(os.path.dirname(_file)) + _list.append((_locale, _file, os.path.join( + 'share', 'locale', _locale, 'LC_MESSAGES', '%s.mo' % package))) ++ _list.sort() + return _list + + --- a/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/series 2017-05-12 21:57:13.699505435 +0200 @@ -0,0 +1 @@ +reproducible-build.patch