Fix build in Leap 16.0 #1

Merged
eroca merged 2 commits from mlin7442/rakudo:leap-16.0 into leap-16.0 2025-10-13 09:57:55 +02:00
4 changed files with 45 additions and 11 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c9a8e470c2d203e42ba7115a2c0a0ee8006f0377993de8ec34d2dfa1359c6a89
size 6908669

3
rakudo-2025.05.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8dcfe832801aab6c45de07c053c3ce528cc9b0fb0d3c89143e0602346c62a210
size 7060873

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Sun Jun 15 16:26:46 CEST 2025 - nine@detonation.org
- update to version 2025.05
- Fixes:
* Fixed a MoarVM GC bug causing incorrect behavior during LEAVE phasers.
* Prevented incorrect type specification by name in Parameter constructor.
* Corrected exception matching in throws-like.
* Fixed native array parameterization to properly die.
* Improved memory handling in file operations for 32/64-bit systems.
* Cleaned up unnecessary or broken object constructions (e.g., QuantHash, List).
* Numerous fixes around .assuming, .head/.first, slurpy parameter handling.
* Corrected logic for parameter default types and sub-signatures.
* Addressed memory reporting bugs and REPL grammar persistence.
* Resolved bugs in Buf/Blob, typed slurpies, and parameter signature parsing.
* Made Hash, Map, Array, and DateTime cloning consistent and reliable.
* Fixed MAIN argument handling and slicing bugs.
* Resolved deep structural issues in .deepmap, .clone, and .Numeric.
* Fixes in REPL, .trans, substr-rw, Unicode handling, error messaging.
* Addressed bugs in Iterable.flat, lazy sequences, native arrays, and metaops.
* Restored expected behavior in module loading, Junction, and coercions.
* Resolved numerous minor regression and LTA (Less Than Awesome) issues.
- Incompatible changes:
* Attribute access semantics made more consistent (may affect internals).
* Parameter constructor no longer accepts types by name string.
* Enforced stricter checks on typed parameters, placeholder redeclarations, and slurpies.
* Changed native array and object hash behaviors in signatures and coercions.
* Deprecated multi-path IO subs in language version 6.e.
* Introduced tighter type checks and stricter enforcement in cloning and parameter typing.
-------------------------------------------------------------------
Thu May 23 12:35:38 UTC 2024 - Martin Schreiner <martin.schreiner@suse.com>
@@ -837,7 +870,7 @@ Fri Jun 8 13:42:00 CEST 2012 - mls@suse.de
* various new regex features and improvements
-------------------------------------------------------------------
Sat Mar 24 06:40:00 CES 2012 - carlin@glass.org.nz
Sat Mar 24 06:40:00 CET 2012 - carlin@glass.org.nz
- update to 2012.03

View File

@@ -1,7 +1,7 @@
#
# spec file for package rakudo
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: rakudo
Version: 2024.04
Version: 2025.05
Release: 0
Summary: Raku (formerly Perl 6) implemenation that runs on MoarVM
License: Artistic-2.0
@@ -25,14 +25,15 @@ Group: Development/Languages/Other
URL: https://rakudo.org/
Source0: https://rakudo.org/dl/rakudo/rakudo-%{version}.tar.gz
Patch0: rakudo-test-log.diff
BuildRequires: moarvm-devel >= %{version}
BuildRequires: nqp >= %{version}
BuildRequires: moarvm-devel >= 2025.05
BuildRequires: nqp >= 2025.05
BuildRequires: perl(Archive::Tar)
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(IPC::Cmd)
BuildRequires: perl(YAML::Tiny)
Requires: moarvm >= %{version}
Requires: nqp >= %{version}
Requires: moarvm >= 2025.05
Requires: nqp >= 2025.05
Provides: /usr/bin/raku
Provides: raku = %{version}-%{release}
Provides: raku(CompUnit::Repository::Staging)
Provides: raku(MoarVM::Profiler)
@@ -70,7 +71,7 @@ RAKUDO_SKIP_TIMING_TESTS=1 make test
%install
%make_install
mkdir -p "%{buildroot}/%{_datadir}/perl6/bin"
cp tools/install-dist.p6 "%{buildroot}/%{_datadir}/perl6/bin/install-perl6-dist"
cp tools/install-dist.raku "%{buildroot}/%{_datadir}/perl6/bin/install-perl6-dist"
chmod +x "%{buildroot}/%{_datadir}/perl6/bin/install-perl6-dist"
sed -i -e '1s:!%{_bindir}/env :!%{_bindir}/:' "%{buildroot}/%{_datadir}/perl6/bin"/*
rm "%{buildroot}/%{_bindir}/raku"