Raku / App-Rakubrew

Raku environment manager
https://rakubrew.org/
Other
26 stars 13 forks source link

Cannot build 'moar-blead' with rakubrew v32 #68

Closed SqrtNegInf closed 1 year ago

SqrtNegInf commented 1 year ago

Problem

rakubrew (v32) was building moar-blead properly up until Jan 11th (near the time of the Unicode 15 upgrade) but then I started to get this error: (extracting what are hopefully the most relevant lines from build log)

error: pathspec 'main' did not match any file(s) known to git
Command failed (status 256): git checkout main
 at /Users/dhoekman/.rakubrew/versions/moar-blead/nqp/3rdparty/nqp-configure/lib/NQP/Config.pm line 34.

Failed running perl Configure.pl --backends=moar --gen-moar=main --gen-nqp=main --make-install  --git-cache-dir="/Users/dhoekman/.rakubrew/git_reference" at /var/tmp/par-.../inc/lib/App/Rakubrew/Build.pm line 113.

But if I re-run that command making the change --gen-moar=master the build then completes properly. Same results (for both bug and fix) on macos/Darwin and Ubuntu.

In contrast, there is no problem with rakubrew triple, it successfully builds moar-HEAD-HEAD-HEAD. Is there is there any functional difference between this version and 'blead'?

Environment

What's the output of rakubrew rakubrew-version?: • rakubrew v32 Build type: macos OS: darwin • rakubrew v32 Build type: fatpack OS: linux Are you using rakubrew in env or in shim mode? (run rakubrew mode to find out): • shim Where is rakubrew installed? (run rakubrew home to find out): • $HOME/.rakubrew

patrickbkr commented 1 year ago

Thanks for the report! That's a bug introduced in version 32. I have just fixed it in version 33. You should be able to upgrade via rakubrew self-upgrade. Can you verify it now works for you?

SqrtNegInf commented 1 year ago

All good now, thanks for the quick work.