Perl 6 and Fedora 27: Rakudo that comes with Fedora 27 rakudo-2017.08-2.fc27 is broken and zef is all messes up when downloaded and installed from git or used with the rpm (rakudo-zef) from Fedora.. Error message is when "use" is called to an installed module: ===SORRY!=== This type cannot unbox to a native string: P6opaque, Failure To fix this, 1) install the official release of Rakudo 0.2017.08-2.fc27 for Fedora from: https://github.com/nxadm/rakudo-pkg/releases https://github.com/nxadm/rakudo-pkg/releases/download/v2017.11/rakudo-pkg-Fedora27-2017.11-01.x86_64.rpm 2) remove zef zef uninstall zef 3) remove Fedora 27's rakudo: # dnf remove rakudo search for an remove any remaining zef's that are hiding 4) install rakudo-pkg-Fedora27 (openssl-devel is required for Net::SMTP and Email::MIME) # dnf install rakudo-pkg-Fedora27-2017.11-01.x86_64.rpm openssl-devel 5) rakudo install itself and zef in /opt and no one can find it. Add the following links: $ ln -s /opt/rakudo-pkg/share/perl6/bin/zef $HOME/.perl6/bin/zef <-- as your user # ln -s /opt/rakudo-pkg/share/perl6/bin/zef /usr/bin/zef <-- as root # ln -s /opt/rakudo-pkg/bin/perl6 /usr/bin/perl6 <-- as root 6) install missing modules: # zef install Terminal::ANSIColor # zef install Net::SMTP # zef install Email::MIME
Here is the full bug trace on the issue: http://vpaste.net/WuHL1 I will create an attachment in a minute
Created attachment 1377802 [details] P6opaque, Failure trace
I have no problems with the official perl6 packages at Fedora 27. $ rpm -qa | grep rakudo rakudo-zef-0.1.30-1.fc27.x86_64 rakudo-0.2017.08-2.fc27.x86_64 $ zef list --installed ===> Found via /usr/lib64/perl6 CORE:ver<6.c>:auth<perl> ===> Found via /usr/lib64/perl6/vendor zef:ver<0.1.30>:auth<github:ugexe> The perl6 and zef executables of the packages works fine for me. You can install packages from - https://github.com/nxadm/rakudo-pkg/releases for x86_64, but this are not the official packages from the Fedora distribution. The packages from the github site in general are more up-to-date. I will not follow the monthly release cycle of Rakudo. The rakudo packages of Fedora will be updated about every 6 months. If you have problems with the packages provided from nxadm at github, bugzilla is not the right place to debate things about that. You can do this with the tools at github. Anyway I will update rakudo to 2018.02.1 on Fedora 27. The packages are already built und bodhi will close this bug if they are in the update repositories.
*** Bug 1531856 has been marked as a duplicate of this bug. ***
moarvm-0.2018.02-1.fc27 nqp-0.0.2018.02-1.fc27 rakudo-0.2018.02.1-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b9a861ef5f
moarvm-0.2018.02-1.fc27, nqp-0.0.2018.02-1.fc27, rakudo-0.2018.02.1-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b9a861ef5f
moarvm-0.2018.02-1.fc27, nqp-0.0.2018.02-1.fc27, rakudo-0.2018.02.1-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.