Hello community, here is the log from the commit of package linphone for openSUSE:Factory checked in at 2019-06-12 13:14:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/linphone (Old) and /work/SRC/openSUSE:Factory/.linphone.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "linphone" Wed Jun 12 13:14:42 2019 rev:61 rq:708872 version:3.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/linphone/linphone.changes 2018-08-18 00:03:00.110878009 +0200 +++ /work/SRC/openSUSE:Factory/.linphone.new.4811/linphone.changes 2019-06-12 13:14:48.556784586 +0200 @@ -1,0 +2,6 @@ +Sun Jun 9 17:41:50 UTC 2019 - Bernhard Wiedemann <[email protected]> + +- Add reproducible.patch to sort file list to make build reproducible + (boo#1041090) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ linphone.spec ++++++ --- /var/tmp/diff_new_pack.vEFBfQ/_old 2019-06-12 13:14:51.136781880 +0200 +++ /var/tmp/diff_new_pack.vEFBfQ/_new 2019-06-12 13:14:51.140781876 +0200 @@ -35,6 +35,8 @@ Patch1: linphone-fix-gtkui-build.patch # PATCH-FEATURE-OPENSUSE linphone-build-readline.patch [email protected] -- Add the ability to compile with readline to the build system. Patch2: linphone-build-readline.patch +# PATCH-FIX-UPSTREAM +Patch3: reproducible.patch BuildRequires: cmake BuildRequires: doxygen BuildRequires: fdupes @@ -196,6 +198,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build %cmake \ ++++++ reproducible.patch ++++++ https://gitlab.linphone.org/BC/public/linphone/issues/5 https://github.com/BelledonneCommunications/linphone/pull/112 http://lists.nongnu.org/archive/html/linphone-developers/2018-04/msg00012.html >From 0a98667d1306097dcda9ea59c7627952eaee6db5 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <[email protected]> Date: Thu, 12 Apr 2018 08:55:48 +0200 Subject: [PATCH] Sort input file list so that liblinphone++.so builds in a reproducible way in spite of indeterministic filesystem readdir order --- While working on the reproducible builds effort, I found that when building the linphone package for openSUSE Linux (in disposable VMs), there were differences between each build, because ordering of functions in linphone++.cc depended on the indeterministic filesystem order. --- tools/genapixml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linphone-3.12.0/tools/genapixml.py =================================================================== --- linphone-3.12.0.orig/tools/genapixml.py +++ linphone-3.12.0/tools/genapixml.py @@ -617,7 +617,7 @@ class Project: self.__discoverClasses() def initFromDir(self, xmldir): - files = [ os.path.join(xmldir, f) for f in os.listdir(xmldir) if (os.path.isfile(os.path.join(xmldir, f)) and f.endswith('.xml')) ] + files = [ os.path.join(xmldir, f) for f in sorted(os.listdir(xmldir)) if (os.path.isfile(os.path.join(xmldir, f)) and f.endswith('.xml')) ] self.initFromFiles(files) def check(self):
