Hello community,

here is the log from the commit of package make for openSUSE:Factory checked in 
at 2017-10-25 17:43:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/make (Old)
 and      /work/SRC/openSUSE:Factory/.make.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "make"

Wed Oct 25 17:43:40 2017 rev:39 rq:534916 version:4.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/make/make.changes        2017-09-20 
17:05:07.133510362 +0200
+++ /work/SRC/openSUSE:Factory/.make.new/make.changes   2017-10-25 
17:43:41.802185278 +0200
@@ -1,0 +2,6 @@
+Wed Oct 18 09:09:44 UTC 2017 - [email protected]
+
+- Add make-sorted-glob.patch to make many other packages like dpdk
+  build reproducibly without patching them individually (boo#1041090)
+
+-------------------------------------------------------------------

New:
----
  make-sorted-glob.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ make.spec ++++++
--- /var/tmp/diff_new_pack.itXqmY/_old  2017-10-25 17:43:42.490152990 +0200
+++ /var/tmp/diff_new_pack.itXqmY/_new  2017-10-25 17:43:42.490152990 +0200
@@ -28,6 +28,8 @@
 # keyring downloaded from 
http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=make
 Source2:        %{name}.keyring
 Patch1:         make-testcases_timeout.diff
+# FEATURE-OPENSUSE sort glob https://savannah.gnu.org/bugs/index.php?52076
+Patch2:         make-sorted-glob.patch
 Patch64:        make-library-search-path.diff
 Requires(post): %{install_info_prereq}
 Requires(preun): %{install_info_prereq}
@@ -43,6 +45,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
 if [ %{_lib} == lib64 ]; then
 %patch64 -p1
 fi


++++++ make-sorted-glob.patch ++++++
https://savannah.gnu.org/bugs/index.php?52076

commit faa0098ac6b196375b00c48528a91ee553313e8d
Author: Bernhard M. Wiedemann <[email protected]>
Date:   Tue Sep 5 13:16:08 2017 +0200

    Sort glob file lists
    
    to make builds more reproducible by default.
    See https://reproducible-builds.org/ for why this is good.
    
    commit b9f831b8 added GLOB_NOSORT for no apparent reason,
    possibly by mistake.
    
    man 3 glob  is very specific that the only reason to add this flag is
    to save processing time, but since ordering actually matters in a
    variety of cases, (e.g. when linking .o files into a binary,
    or appending snippets to a collection)
    we want the list sorted.

Index: make-4.2.1/read.c
===================================================================
--- make-4.2.1.orig/read.c
+++ make-4.2.1/read.c
@@ -3275,7 +3275,7 @@ parse_file_seq (char **stringp, unsigned
           nlist = &name;
         }
       else
-        switch (glob (name, GLOB_NOSORT|GLOB_ALTDIRFUNC, NULL, &gl))
+        switch (glob (name, GLOB_ALTDIRFUNC, NULL, &gl))
           {
           case GLOB_NOSPACE:
             OUT_OF_MEM();


Reply via email to