Hello community,

here is the log from the commit of package moarvm for openSUSE:Factory checked 
in at 2018-07-31 16:00:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/moarvm (Old)
 and      /work/SRC/openSUSE:Factory/.moarvm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "moarvm"

Tue Jul 31 16:00:03 2018 rev:16 rq:626162 version:2018.04.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/moarvm/moarvm.changes    2018-05-06 
15:01:32.672858492 +0200
+++ /work/SRC/openSUSE:Factory/.moarvm.new/moarvm.changes       2018-07-31 
16:00:06.343618345 +0200
@@ -1,0 +2,6 @@
+Mon Jul 30 04:15:47 UTC 2018 - [email protected]
+
+- Add reproducible.patch to make build independent of build system
+  CPU type (boo#1100677)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ moarvm.spec ++++++
--- /var/tmp/diff_new_pack.hDifAh/_old  2018-07-31 16:00:07.483620280 +0200
+++ /var/tmp/diff_new_pack.hDifAh/_new  2018-07-31 16:00:07.483620280 +0200
@@ -25,6 +25,8 @@
 Group:          Development/Libraries/Other
 Url:            http://moarvm.org
 Source:         http://moarvm.org/releases/MoarVM-%{mvrel}.tar.gz
+# PATCH-FIX-OPENSUSE boo#1100677
+Patch0:         reproducible.patch
 BuildRequires:  perl(ExtUtils::Command)
 
 %description
@@ -43,6 +45,7 @@
 
 %prep
 %setup -q -n MoarVM-%{mvrel}
+%patch0 -p1
 
 %build
 perl Configure.pl --prefix=%{_usr} --libdir=%{_libdir} --debug --optimize=3

++++++ reproducible.patch ++++++
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: 2018-07-30

https://bugzilla.opensuse.org/show_bug.cgi?id=1100677
do not detect CPU features at compile time
to make package build reproducible


Index: MoarVM-2018.04.1/build/probe.pm
===================================================================
--- MoarVM-2018.04.1.orig/build/probe.pm
+++ MoarVM-2018.04.1/build/probe.pm
@@ -503,7 +503,7 @@ int main(int argc, char **argv) {
 EOT
 
     print ::dots('    probing support of rdtscp intrinsic');
-    my $can_rdtscp = compile($config, 'try');
+    my $can_rdtscp = 0;
     unless ($config->{crossconf}) {
         $can_rdtscp  &&= !system './try';
     }

Reply via email to