Hello community,

here is the log from the commit of package nqp for openSUSE:Factory checked in 
at 2018-03-22 12:03:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nqp (Old)
 and      /work/SRC/openSUSE:Factory/.nqp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nqp"

Thu Mar 22 12:03:03 2018 rev:24 rq:589117 version:2018.03

Changes:
--------
--- /work/SRC/openSUSE:Factory/nqp/nqp.changes  2018-02-13 10:28:42.778586272 
+0100
+++ /work/SRC/openSUSE:Factory/.nqp.new/nqp.changes     2018-03-22 
12:09:03.409200781 +0100
@@ -1,0 +2,31 @@
+Tue Mar 20 08:33:42 CET 2018 - [email protected]
+
+- update to version 2018.03
+  * Support for profiling multi threaded programs
+  * Avoid using variables where we don't need any
+  * Fix crashes with native types in conditionals
+  * Make certain conditionals with natives 2.1x faster
+  * Simplify conditional variant lookup
+  * Easyfy matching Block WVals with their QAST::Blocks…
+  * improve pod panic msg
+  * No need to load ModuleLoader multiple times
+  * Make sure the version of jna is 4.0.0
+  * Remove trailing whitespace
+  * Implement QAST::Var.decl_as
+  * Remove now-unused C 3rdparty deps
+  * Fix slurpies in `if` ops; jnthn++ for the tip
+  * Fix sprintf with type objects
+  * update docs with more information
+  * rename IO sub "spew" to "spurt"
+  * Map new nqp::tryfindmethod op for MoarVM backend
+  * Use nqp::tryfindmethod in Cursor!reduce
+  * add a new built-in sub: run-command
+  * output start time of gc runs to sql
+  * html profiler: show times a GC run started
+  * Add getppid op (#422)
+  * [moar] Add encodeconf and decodeconf ops
+  * speed up sql output by about 30%
+- Backport reproducible build support to fix rakudo on Tumbleweed
+  nqp-reproducible-build.diff can be removed in the next release
+
+-------------------------------------------------------------------

Old:
----
  nqp-2018.01.tar.gz

New:
----
  nqp-2018.03.tar.gz
  nqp-reproducible-build.diff

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

Other differences:
------------------
++++++ nqp.spec ++++++
--- /var/tmp/diff_new_pack.dkiKCj/_old  2018-03-22 12:09:04.505161497 +0100
+++ /var/tmp/diff_new_pack.dkiKCj/_new  2018-03-22 12:09:04.509161353 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           nqp
-Version:        2018.01
+Version:        2018.03
 Release:        1.1
 Summary:        Not Quite Perl
 License:        Artistic-2.0
@@ -25,8 +25,9 @@
 Url:            http://rakudo.org/
 Source:         nqp-%{version}.tar.gz
 BuildRequires:  moarvm-devel
-Requires:       moarvm >= 2018.01
+Requires:       moarvm >= 2018.03
 Patch1:         nqp-disable-faulty-test.diff
+Patch2:         nqp-reproducible-build.diff
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -36,6 +37,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2 -p1
 
 %build
 perl Configure.pl --backends=moar --libdir=%{_libdir} --prefix=%{_usr} 
--with-moar=/usr/bin/moar

++++++ nqp-2018.01.tar.gz -> nqp-2018.03.tar.gz ++++++
++++ 21369 lines of diff (skipped)

++++++ nqp-disable-faulty-test.diff ++++++
--- /var/tmp/diff_new_pack.dkiKCj/_old  2018-03-22 12:09:05.209136263 +0100
+++ /var/tmp/diff_new_pack.dkiKCj/_new  2018-03-22 12:09:05.213136120 +0100
@@ -20,3 +20,17 @@
      my @a;
      my $t1 := nqp::newthread({
          nqp::push(@a, 'a');
+diff --git a/t/concurrency/03-semaphore.t b/t/concurrency/03-semaphore.t
+index 81751a49c..519e1a52a 100644
+--- a/t/concurrency/03-semaphore.t
++++ b/t/concurrency/03-semaphore.t
+@@ -60,8 +60,8 @@ my class Semaphore is repr('Semaphore') { }
+     }, 0);
+     my $t6 := nqp::newthread({
+         nqp::sleep(3.0);
+-        nqp::semrelease($s);
+         $released := 1;
++        nqp::semrelease($s);
+     }, 0);
+ 
+     # First, exhaust semaphore capacity

++++++ nqp-reproducible-build.diff ++++++
commit a2f66567052e827a39cfda6d8908f62532ef3b12
Author: Stefan Seifert <[email protected]>
Date:   Mon Mar 19 21:18:54 2018 +0100

    Make build of NQP modules reproducible
    
    By replacing timestamps in the compilation unit's id with a counter and in
    construction of unique alt_nfs ids with the compilation unit's id, we get
    reproducible builds. Simple rebuilds without changes to the source will no
    longer lead to "Missing or wrong version of dependency" messages.

diff --git a/src/NQP/Grammar.nqp b/src/NQP/Grammar.nqp
index d1f37c9e0..693acc7e5 100644
--- a/src/NQP/Grammar.nqp
+++ b/src/NQP/Grammar.nqp
@@ -1,4 +1,5 @@
 grammar NQP::Grammar is HLL::Grammar {
+    my $sc_id := 0;
     method TOP() {
            # Language braid.
            my $*LANG := self;
@@ -23,7 +24,7 @@ grammar NQP::Grammar is HLL::Grammar {
         # with this compilation unit.
         my $file := nqp::getlexdyn('$?FILES');
         my $source_id := nqp::sha1(self.target()) ~
-            (%*COMPILING<%?OPTIONS><stable-sc> ?? '' !! '-' ~ ~nqp::time_n());
+            (%*COMPILING<%?OPTIONS><stable-sc> ?? '' !! '-' ~ ~($sc_id++));
         my $*W := nqp::isnull($file) ??
             NQP::World.new(:handle($source_id)) !!
             NQP::World.new(:handle($source_id), :description($file));
diff --git a/src/QRegex/P6Regex/Actions.nqp b/src/QRegex/P6Regex/Actions.nqp
index 70bc97f3c..752409371 100644
--- a/src/QRegex/P6Regex/Actions.nqp
+++ b/src/QRegex/P6Regex/Actions.nqp
@@ -946,7 +946,7 @@ class QRegex::P6Regex::Actions is HLL::Actions {
                 self.alt_nfas($code_obj, $block, $_);
                 nqp::push(@alternatives, QRegex::NFA.new.addnode($_));
             }
-            $ast.name(QAST::Node.unique('alt_nfa_') ~ '_' ~ ~nqp::time_n());
+            $ast.name(QAST::Node.unique('alt_nfa_') ~ '_' ~ $*W.handle());
             self.store_regex_alt_nfa($code_obj, $block, $ast.name, 
@alternatives);
         }
         elsif $rxtype eq 'subcapture' || $rxtype eq 'quant' {

Reply via email to