[debhelper-devel] [debhelper] 07/10: dh_makeshlibs: ensure a stable order in shlibs files

Niels Thykier nthykier at moszumanska.debian.org
Thu Jan 1 17:12:02 UTC 2015


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

nthykier pushed a commit to branch master
in repository debhelper.

commit 3c2fb32f5c3a083f125bea09cebfe09a5497eceb
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.
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 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/debhelper/debhelper.git




More information about the debhelper-devel mailing list