App-Rakubrew
App-Rakubrew copied to clipboard
Can not build 2016.08 or less
rakubrew v26 Build type: fatpack OS: linux env /home/mm/.rakubrew
Can not build 2016.08 or less. 2016.09 or greater work. Couldn't find a build::setup module on CPAN.
mm@linux1:~> rakubrew build 2015.12 remote: Enumerating objects: 164, done. remote: Counting objects: 100% (149/149), done. remote: Compressing objects: 100% (35/35), done. remote: Total 62 (delta 55), reused 32 (delta 27), pack-reused 0 Entpacke Objekte: 100% (62/62), 7.20 KiB | 334.00 KiB/s, fertig. Von https://github.com/rakudo/rakudo 2ee3a46e3..45090c91d master -> origin/master 69c9ca232..66bb3e533 rakuast -> origin/rakuast ATTENTION: no --prefix supplied, building and installing to /home/mm/.rakubrew/versions/moar-2015.12/install sh: /home/mm/.rakubrew/versions/moar-2015.12/install/bin/nqp-m: Datei oder Verzeichnis nicht gefunden HEAD ist jetzt bei aac09dbf2 bump VERSION Building NQP ... /home/mm/.perl/bin/perl Configure.pl --prefix=/home/mm/.rakubrew/versions/moar-2015.12/install --backends=moar --make-install --git-protocol=https --git-reference=/home/mm/.rakubrew/git_reference --gen-moar Can't exec "/home/mm/.rakubrew/versions/moar-2015.12/install/bin/moar": Datei oder Verzeichnis nicht gefunden at tools/lib/NQP/Configure.pm line 450. remote: Enumerating objects: 12, done. remote: Counting objects: 100% (12/12), done. remote: Compressing objects: 100% (2/2), done. remote: Total 7 (delta 5), reused 6 (delta 5), pack-reused 0 Entpacke Objekte: 100% (7/7), 1.13 KiB | 192.00 KiB/s, fertig. Von https://github.com/MoarVM/MoarVM f1101b95d..c66cee7ec master -> origin/master HEAD ist jetzt bei 2f3c7dd3a fix a potential memory leak on Win32
Configuring and building MoarVM ... /home/mm/.perl/bin/perl Configure.pl --optimize --prefix=/home/mm/.rakubrew/versions/moar-2015.12/install --make-install Can't locate build/setup.pm in @INC (you may need to install the build::setup module) (@INC contains: /home/mm/.perl/lib/perl5/x86_64-linux /home/mm/.perl/lib/perl5 /home/mm/.perl/lib/perl5/x86_64-linux /home/mm/.perl/lib/perl5 /home/mm/.perl/lib/site_perl/5.32.0/x86_64-linux /home/mm/.perl/lib/site_perl/5.32.0 /home/mm/.perl/lib/5.32.0/x86_64-linux /home/mm/.perl/lib/5.32.0) at Configure.pl line 12. BEGIN failed--compilation aborted at Configure.pl line 12. Command failed (status 512): /home/mm/.perl/bin/perl Configure.pl --optimize --prefix=/home/mm/.rakubrew/versions/moar-2015.12/install --make-install Command failed (status 7424): /home/mm/.perl/bin/perl Configure.pl --prefix=/home/mm/.rakubrew/versions/moar-2015.12/install --backends=moar --make-install --git-protocol=https --git-reference=/home/mm/.rakubrew/git_reference --gen-moar Failed running /home/mm/.perl/bin/perl Configure.pl --backends=moar --gen-moar --make-install --git-reference="/home/mm/.rakubrew/git_reference" at /home/mm/.rakubrew/bin/rakubrew line 732.
Thanks for the report!
You are observing https://github.com/MoarVM/MoarVM/issues/403.
It's a backwards incompatible change introduced in Perl itself. They removed '.' from the default include dirs. Older Rakudo versions relied on the old Perl behavior.
We could do an export PERL5LIB=$builddir:\$PERL5LIB
on older releases. I'm unsure if it's worth the hastle.
Out of curiosity: What's your interest in such old versions of Rakudo?
I wanted to try an old raku code (2016) from a stackoverflow question.
Quoting Leon Timmermans from IRC:
you can work around the dot in @INC issue by setting the PERL_USE_UNSAFE_INC environmental variable
Actually, seems like that was already cited in MoarVM/MoarVM#403 as a possible workaround.