Package: python-setuptools
Version: 20.10.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: toolchain randomness

Dear maintainer,

I have noticed that the package pysph is not reproducible due to a
random order of libs listed in "native_libs.txt" [1]. Attached patch fixes
the problem. Please consider to apply the patch.

It is similar to a bug #773969.


[1] https://tests.reproducible-builds.org/rb-pkg/unstable/armhf/pysph.html

Thank you

Anton
Description: sort libs in native_libs.txt
Author: Anton Gladky <gl...@debian.org>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Last-Update: 2016-05-30

--- python-setuptools-20.10.1.orig/setuptools/command/bdist_egg.py
+++ python-setuptools-20.10.1/setuptools/command/bdist_egg.py
@@ -197,7 +197,7 @@ class bdist_egg(Command):
             if not self.dry_run:
                 ensure_directory(native_libs)
                 libs_file = open(native_libs, 'wt')
-                libs_file.write('\n'.join(all_outputs))
+                libs_file.write('\n'.join(sorted(all_outputs)))
                 libs_file.write('\n')
                 libs_file.close()
         elif os.path.isfile(native_libs):
_______________________________________________
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