Bug 2216890 - Rakudo rpm package not installing a working rakudo
Summary: Rakudo rpm package not installing a working rakudo
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: rakudo
Version: 38
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Felix Wang
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-23 04:26 UTC by Wesley
Modified: 2023-06-27 01:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Wesley 2023-06-23 04:26:44 UTC
After installing rakudo via dnf, I expect that running rakudo -v in the terminal results in output like:
raku -v
Welcome to 𝐑𝐚𝐤𝐮𝐝𝐨™ v2020.10.
Implementing the 𝐑𝐚𝐤𝐮™ programming language v6.d.
Built on MoarVM version 2020.10.

However instead I am getting an error message from rakudo.

Reproducible: Always

Steps to Reproduce:
1.run `sudo dnf update -refresh`
2.run `sudo dnf install rakudo`
3.run `rakudo -v`
Actual Results:  
Unhandled exception: Missing or wrong version of dependency 'gen/moar/stage2/MASTNodes.nqp' (from 'gen/moar/Pod.nqp')
   at <unknown>:1  (/usr/share/perl6/lib/Perl6/Pod.moarvm:<dependencies+deserialize>)
 from src/vm/moar/ModuleLoader.nqp:311  (/usr/share/nqp/lib/ModuleLoader.moarvm:)
 from src/vm/moar/ModuleLoader.nqp:302  (/usr/share/nqp/lib/ModuleLoader.moarvm:load_module)
 from <unknown>:1  (/usr/share/perl6/lib/Perl6/Actions.moarvm:<dependencies+deserialize>)
 from src/vm/moar/ModuleLoader.nqp:311  (/usr/share/nqp/lib/ModuleLoader.moarvm:)
 from src/vm/moar/ModuleLoader.nqp:302  (/usr/share/nqp/lib/ModuleLoader.moarvm:load_module)
 from <unknown>:1  (/usr/share/perl6/lib/Perl6/Grammar.moarvm:<dependencies+deserialize>)
 from src/vm/moar/ModuleLoader.nqp:311  (/usr/share/nqp/lib/ModuleLoader.moarvm:)
 from src/vm/moar/ModuleLoader.nqp:302  (/usr/share/nqp/lib/ModuleLoader.moarvm:load_module)
 from <unknown>:1  (/usr/share/perl6/runtime/perl6.moarvm:<dependencies+deserialize>)


Expected Results:  
Welcome to 𝐑𝐚𝐤𝐮𝐝𝐨™ v2020.10.
Implementing the 𝐑𝐚𝐤𝐮™ programming language v6.d.
Built on MoarVM version 2020.10.

Comment 1 Felix Wang 2023-06-23 08:03:06 UTC
Hi thanks for the reporting and sorry for the bothering. I do not have the error of message with rakudo installation (rakudo 2023.05) and tested it with `raku -v` in my Fedora rawhide. I infered that the error maybe appeared, because rakudo package in fedora 37 and 38 is still in the 2023.04 version (rakudo 2023.05 being testing status) [1, 2], which moarvm and nqp is already in 2023.05. Maybe right now, you can grab and install the latest rakudo package form the koji build [3, 4], or enable fedora-testing repository, or wait for another a few days until rakudo 2023.05 package is stable. Next time, I will use Bodhi with BuildRootOverrides [5] build moarvm, nqp and rakudo packages so it can build one package that depends on another and push them to testing and stable status at the same time.

[1] https://bodhi.fedoraproject.org/updates/FEDORA-2023-008382b04b
[2] https://bodhi.fedoraproject.org/updates/FEDORA-2023-8da0d006af
[3] https://koji.fedoraproject.org/koji/buildinfo?buildID=2217648
[4] https://koji.fedoraproject.org/koji/buildinfo?buildID=2217647
[5] https://fedoraproject.org/wiki/Bodhi/BuildRootOverrides

Comment 2 Wesley 2023-06-23 23:41:27 UTC
If its okay with you I might just wait for the packages to trickle down to stable. Thank you for addressing this so quickly!

Comment 3 Wesley 2023-06-27 01:36:30 UTC
I just updated to the newest version, it works great now, thank you again!


Note You need to log in before you can comment on or make changes to this bug.