[Reproducible-commits] [debhelper] 04/06: dh_makeshlibs: ensure a stable order in shlibs files

Jérémy Bobbio lunar at moszumanska.debian.org
Thu Jan 1 06:35:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch pu/reproducible_builds
in repository debhelper.

commit 4ee023db83f14d054b087b9f1355c7296466dc86
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Sun Dec 28 16:18:29 2014 +0000

    dh_makeshlibs: ensure a stable order in shlibs files
    
    We now sort the list of .so files to have a stable order in shlibs files.
    This was preventing some packages to build reproducibly.
    
    Closes: #774100
---
 dh_makeshlibs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dh_makeshlibs b/dh_makeshlibs
index 7aa52e4..cf27a8a 100755
--- a/dh_makeshlibs
+++ b/dh_makeshlibs
@@ -153,7 +153,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 	if (defined($dh{EXCLUDE_FIND}) && $dh{EXCLUDE_FIND} ne '') {
 		$exclude="! \\( $dh{EXCLUDE_FIND} \\) ";
 	}
-	open (FIND, "find $tmp -type f \\( -name '*.so' -or -name '*.so.*' \\) $exclude |");
+	open (FIND, "find $tmp -type f \\( -name '*.so' -or -name '*.so.*' \\) $exclude | LC_ALL=C sort |");
 	while (<FIND>) {
 		my ($library, $major);
 		push @lib_files, $_;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debhelper.git



More information about the Reproducible-commits mailing list