Hello community, here is the log from the commit of package silc-toolkit for openSUSE:Factory checked in at 2017-06-07 09:51:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/silc-toolkit (Old) and /work/SRC/openSUSE:Factory/.silc-toolkit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "silc-toolkit" Wed Jun 7 09:51:28 2017 rev:29 rq:499666 version:1.1.12 Changes: -------- --- /work/SRC/openSUSE:Factory/silc-toolkit/silc-toolkit.changes 2015-03-29 20:15:33.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.silc-toolkit.new/silc-toolkit.changes 2017-06-07 09:51:29.340043228 +0200 @@ -1,0 +2,6 @@ +Tue May 30 08:21:58 UTC 2017 - bwiedem...@suse.com + +- Add reproducible.patch to sort input files to make build reproducible + (boo#1041090) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ silc-toolkit.spec ++++++ --- /var/tmp/diff_new_pack.y7GLfM/_old 2017-06-07 09:51:29.947957317 +0200 +++ /var/tmp/diff_new_pack.y7GLfM/_new 2017-06-07 09:51:29.947957317 +0200 @@ -29,6 +29,8 @@ Patch1: silc-buildroot.patch Patch2: silc-tutorial-makefile.patch Patch3: silc-ppc-return.patch +# PATCH-FIX-UPSTREAM https://github.com/silc/silc/pull/7 +Patch4: reproducible.patch BuildRequires: dante-devel BuildRequires: libtool BuildRequires: nasm @@ -126,6 +128,7 @@ %patch1 %patch2 %patch3 -p1 +%patch4 -p1 %build ACLOCAL="aclocal -I ." autoreconf -f -i ++++++ reproducible.patch ++++++ sort input files when building packages (e.g. for openSUSE Linux) (random) filesystem order of input files influences ordering of functions in the output, thus without the patch, builds (in disposable VMs) would differ. See https://reproducible-builds.org/ for why this matters. Setting LC_ALL because locales influence the ordering 'sort' Index: silc-toolkit-1.1.12/lib/Makefile.in =================================================================== --- silc-toolkit-1.1.12.orig/lib/Makefile.in +++ silc-toolkit-1.1.12/lib/Makefile.in @@ -819,10 +819,10 @@ install-exec-hook: -$(LIBTOOL) --mode=install $(INSTALL) libsilcclient.la $(DESTDIR)$(libdir)/ libsilc.a: - find $(SILCLIB_DIRS) -type f -name *.lo | xargs $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(SILC_LINK_LIBS) $(LIBTOOL_SILC_VERSION) $(LIBTOOL_OPTS) -o libsilc.la + find $(SILCLIB_DIRS) -type f -name *.lo | LC_ALL=C sort | xargs $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(SILC_LINK_LIBS) $(LIBTOOL_SILC_VERSION) $(LIBTOOL_OPTS) -o libsilc.la libsilcclient.a: libsilc.a - find $(SILCCLIENTLIB_DIRS) -type f -name *.lo | xargs $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(SILCCLIENT_LINK_LIBS) $(LIBTOOL_SILCCLIENT_VERSION) $(LIBTOOL_OPTS) -o libsilcclient.la + find $(SILCCLIENTLIB_DIRS) -type f -name *.lo | LC_ALL=C sort | xargs $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(SILCCLIENT_LINK_LIBS) $(LIBTOOL_SILCCLIENT_VERSION) $(LIBTOOL_OPTS) -o libsilcclient.la toolkit-install: -mkdir -p $(docdir)/toolkit/ -$(INSTALL_DATA) $(top_srcdir)/doc/toolkit/* $(docdir)/toolkit Index: silc-toolkit-1.1.12/lib/Makefile.am =================================================================== --- silc-toolkit-1.1.12.orig/lib/Makefile.am +++ silc-toolkit-1.1.12/lib/Makefile.am @@ -82,14 +82,14 @@ LIBSILC_REVISION=@LIBSILC_REVISION@ LIBSILC_AGE=@LIBSILC_AGE@ libsilc.a: - find $(SILCLIB_DIRS) -type f -name *.lo | xargs $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(SILC_LINK_LIBS) $(LIBTOOL_SILC_VERSION) $(LIBTOOL_OPTS) -o libsilc.la + find $(SILCLIB_DIRS) -type f -name *.lo | LC_ALL=C sort | xargs $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(SILC_LINK_LIBS) $(LIBTOOL_SILC_VERSION) $(LIBTOOL_OPTS) -o libsilc.la LIBSILCCLIENT_CURRENT=@LIBSILCCLIENT_CURRENT@ LIBSILCCLIENT_REVISION=@LIBSILCCLIENT_REVISION@ LIBSILCCLIENT_AGE=@LIBSILCCLIENT_AGE@ libsilcclient.a: libsilc.a - find $(SILCCLIENTLIB_DIRS) -type f -name *.lo | xargs $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(SILCCLIENT_LINK_LIBS) $(LIBTOOL_SILCCLIENT_VERSION) $(LIBTOOL_OPTS) -o libsilcclient.la + find $(SILCCLIENTLIB_DIRS) -type f -name *.lo | LC_ALL=C sort | xargs $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) $(SILCCLIENT_LINK_LIBS) $(LIBTOOL_SILCCLIENT_VERSION) $(LIBTOOL_OPTS) -o libsilcclient.la pkgconfigdir = $(libdir)/pkgconfig