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

Jérémy Bobbio lunar at moszumanska.debian.org
Sun Dec 28 18:05:17 UTC 2014


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 5ccf85ff1732691c4ca7f8e5e95180196dfd6cbb
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