Hello community,

here is the log from the commit of package rakudo for openSUSE:Factory checked 
in at 2019-12-02 11:34:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rakudo (Old)
 and      /work/SRC/openSUSE:Factory/.rakudo.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rakudo"

Mon Dec  2 11:34:40 2019 rev:59 rq:752703 version:2019.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/rakudo/rakudo.changes    2019-09-13 
14:57:32.589275265 +0200
+++ /work/SRC/openSUSE:Factory/.rakudo.new.4691/rakudo.changes  2019-12-02 
11:38:18.934460356 +0100
@@ -1,0 +2,34 @@
+Sun Dec 01 15:35:00 CET 2019 - [email protected]
+
+- Backport fix for buildroot in packaged files in rakudo-buildroot-fix.diff
+  (remove in next release)
+
+-------------------------------------------------------------------
+Fri Nov 29 09:43:56 CET 2019 - [email protected]
+
+- Remove rakudo-fix-rpath.diff (issue has been fixed upstream)
+- update to version 2019.11
+  * Perl 6 is now Raku! This release comes with initial changes
+    Added raku and rakudo executables
+    Added support for .rakumod extension
+  * Added support for Unicode v12.1
+  * Added GB2312 and GB18030 encodings
+  * [6.e] LEXICAL:: pseudo-package includes all symbols visible in
+      the lexical scope, including dynamic symbols from caller chain
+  * [6.e] SETTING:: pseudo-package includes all symbols from all available 
COREs
+  * [6.e] UNIT:: pseudo-package includes all lexicals visible at unit level
+  * [6.e] Symbol binding is now possible for all pseudo-packages
+  * [6.e] Pseudo-packages now return Failure for a missing symbol (was Nil)
+  * [6.e] Grammar now returns Failure when failing to parse
+  * EVAL no longer wraps evaluated code into own CORE context but shares the 
one
+      used by the calling scope. It also means that `use v6.X` statement is not
+      effective inside EVALs anymore
+  * Individual language-release COREs are now accessible via CORE::v6<rev> 
namespaces.
+  * Stagestats are now shown for dependent precompilation
+  * Greatly improved precompilation support in NativeCall
+  * Don't recompile dependencies if another process already did it
+  * Made the Buf.write-* methods return self
+  * Fixed Maps to keep containers
+  * Lots of bug fixes and speedups
+
+-------------------------------------------------------------------

Old:
----
  rakudo-2019.07.tar.gz
  rakudo-fix-rpath.diff

New:
----
  rakudo-2019.11.tar.gz
  rakudo-buildroot-fix.diff

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

Other differences:
------------------
++++++ rakudo.spec ++++++
--- /var/tmp/diff_new_pack.so7OVl/_old  2019-12-02 11:38:19.394460453 +0100
+++ /var/tmp/diff_new_pack.so7OVl/_new  2019-12-02 11:38:19.398460454 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rakudo
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,19 +17,20 @@
 
 
 Name:           rakudo
-Version:        2019.07
+Version:        2019.11
 Release:        2.1
 Summary:        Perl 6 implemenation that runs on MoarVM
 License:        Artistic-2.0
 Group:          Development/Languages/Other
-Url:            http://rakudo.org/
+URL:            http://rakudo.org/
 Source0:        rakudo-%{version}.tar.gz
-Patch0:         rakudo-fix-rpath.diff
-BuildRequires:  moarvm-devel >= 2019.07
-BuildRequires:  nqp >= 2019.07
+Patch0:         rakudo-buildroot-fix.diff
+BuildRequires:  fdupes
+BuildRequires:  moarvm-devel >= 2019.11
+BuildRequires:  nqp >= 2019.11
 Provides:       perl6 = %{version}-%{release}
-Requires:       moarvm >= 2019.07
-Requires:       nqp >= 2019.07
+Requires:       moarvm >= 2019.11
+Requires:       nqp >= 2019.11
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -47,8 +48,7 @@
 %ifnarch armv6l armv6hl
 # See armv6 issue: https://github.com/rakudo/rakudo/issues/2513
 %check
-rm t/08-performance/99-misc.t
-make test
+RAKUDO_SKIP_TIMING_TESTS=1 make test
 %endif
 
 %install
@@ -56,6 +56,12 @@
 mkdir -p "%{buildroot}/%{_datadir}/perl6/bin"
 cp tools/install-dist.p6 
"%{buildroot}/%{_datadir}/perl6/bin/install-perl6-dist"
 chmod +x "%{buildroot}/%{_datadir}/perl6/bin/install-perl6-dist"
+rm "%{buildroot}/%{_bindir}/raku"
+rm "%{buildroot}/%{_bindir}/raku-debug"
+ln -s "rakudo %{buildroot}/%{_bindir}/raku"
+ln -s "rakudo-debug %{buildroot}/%{_bindir}/raku-debug"
+%fdupes %{buildroot}/%{_bindir}
+%fdupes %{buildroot}/%{_datadir}/perl6/runtime
 
 %files
 %defattr(-,root,root)

++++++ rakudo-2019.07.tar.gz -> rakudo-2019.11.tar.gz ++++++
++++ 201672 lines of diff (skipped)

++++++ rakudo-buildroot-fix.diff ++++++
commit 55b3ed5626f4b81fe65f69a6d5f23aec6783337a
Author: Stefan Seifert <[email protected]>
Date:   Sun Dec 1 14:51:10 2019 +0100

    Fix relocatability of bundled native libraries
    
    Native libraries (and other resource files) bundled with installed modules 
are
    supposed to be relocatable, i.e. their path is always relative to the 
current
    path of the repository. This is especially important for packaging as the
    module will get installed into a temporary build directory using the Staging
    repository. The generated files will be moved to their final location when
    installed.
    
    Serializing the current path of the library as part of the NativeCall site
    would prohibit this relocatability, so block serialization for bundled
    resources during precompilation instead.

diff --git a/lib/NativeCall.pm6 b/lib/NativeCall.pm6
index 2cfffeb54..34c8e07e8 100644
--- a/lib/NativeCall.pm6
+++ b/lib/NativeCall.pm6
@@ -283,6 +283,8 @@ our role Native[Routine $r, $libname where 
Str|Callable|List|IO::Path|Distributi
             }
             my Mu $arg_info := param_list_for($r.signature, $r);
             my $conv = self.?native_call_convention || '';
+            my $serialize_lib_name = $libname !~~ Distribution::Resource;
+            nqp::bindattr_i($!call, native_callsite, 'serialize_lib_name', 0) 
unless $serialize_lib_name;
             my $jitted = nqp::buildnativecall(self,
                 nqp::unbox_s($guessed_libname),                           # 
library name
                 nqp::unbox_s(gen_native_symbol($r, $!name, 
:$!cpp-name-mangler)), # symbol to call
@@ -295,7 +297,7 @@ our role Native[Routine $r, $libname where 
Str|Callable|List|IO::Path|Distributi
             $!any-optionals = self!any-optionals;
 
             my $body := $jitted ?? $!jit-optimized-body !! $!optimized-body;
-            if $body {
+            if $body and ($serialize_lib_name or not $*W or not 
$*W.is_precompilation_mode) {
                 nqp::bindattr(
                     self,
                     Code,

Reply via email to