6 modules failed to install when running rstar install
After running rstar fetch and rstar install the following modules failed to install:-
- Log
- Log-Colored
- IO-Path-XDG
- Config
- Config-Parser-toml
- Config-Parser-yaml
The relevent log output for this is below.
[2021-01-09T17:28:17] Installing Log
No meta file located at /home/chaz/git/github.com_rakudo_star/src/rakudo-star-modules/Log/META6.json
in sub MAIN at /home/chaz/git/github.com_rakudo_star/lib/install-module.raku line 25
in block <unit> at /home/chaz/git/github.com_rakudo_star/lib/install-module.raku line 1
[2021-01-09T17:28:18] Installing Log-Colored
No meta file located at /home/chaz/git/github.com_rakudo_star/src/rakudo-star-modules/Log-Colored/META6.json
in sub MAIN at /home/chaz/git/github.com_rakudo_star/lib/install-module.raku line 25
in block <unit> at /home/chaz/git/github.com_rakudo_star/lib/install-module.raku line 1
[2021-01-09T17:28:19] Installing IO-Path-XDG
No meta file located at /home/chaz/git/github.com_rakudo_star/src/rakudo-star-modules/IO-Path-XDG/META6.json
in sub MAIN at /home/chaz/git/github.com_rakudo_star/lib/install-module.raku line 25
in block <unit> at /home/chaz/git/github.com_rakudo_star/lib/install-module.raku line 1
[2021-01-09T17:28:28] Installing Config
===SORRY!=== Error while compiling /home/chaz/git/github.com_rakudo_star/tmp/tmp.9hXRqt0NDu/vendor#sources/BBF3FC998A36C56C39E2D0162F09218846930732 (Config)
Could not find IO::Path::XDG in:
inst#/home/chaz/.local/local/rakudo-star-20210701-2f53360a/share/perl6/vendor
inst#/home/chaz/.local/local/rakudo-star-20210701-2f53360a/share/perl6/core
ap#
nqp#
perl5#
at /home/chaz/git/github.com_rakudo_star/tmp/tmp.9hXRqt0NDu/vendor#sources/BBF3FC998A36C56C39E2D0162F09218846930732 (Config):7
in sub MAIN at /home/chaz/git/github.com_rakudo_star/lib/install-module.raku line 27
in block <unit> at /home/chaz/git/github.com_rakudo_star/lib/install-module.raku line 1
[2021-01-09T17:28:39] Installing Config-Parser-toml
No meta file located at /home/chaz/git/github.com_rakudo_star/src/rakudo-star-modules/Config-Parser-toml/META6.json
in sub MAIN at /home/chaz/git/github.com_rakudo_star/lib/install-module.raku line 25
in block <unit> at /home/chaz/git/github.com_rakudo_star/lib/install-module.raku line 1
[2021-01-09T17:28:42] Installing Config-Parser-yaml
No meta file located at /home/chaz/git/github.com_rakudo_star/src/rakudo-star-modules/Config-Parser-yaml/META6.json
in sub MAIN at /home/chaz/git/github.com_rakudo_star/lib/install-module.raku line 25
in block <unit> at /home/chaz/git/github.com_rakudo_star/lib/install-module.raku line 1
The No meta file located seems to indicate that fetch failed to actually download the sources. Do you have the logs of fetch, and can you reproduce this with RSTAR_DEBUG=1 set?
Hiya, I deleted the folders and re-ran rstar fetch and I see output like this:-
[2021-01-12T17:20:39] Cloning https://git.tyil.nl/raku/IO::Path::[email protected] to /home/chaz/git/github.com_rakudo_star/src/rakudo-star-modules/IO-Path-XDG
fatal: ambiguous argument 'v0.2.0': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: ambiguous argument '': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
I just pulled master on my laptop, ran the rstar clean -s; rstar fetch and can't reproduce this. I cannot reproduce this on my desktop at home either.
I get this every time; is there any way to debug this further?
You can try to give more information about your system, and try to git clone the repositories in question manually.
fwiw, I just set up a new Debian (10) server, for use with the Raku bots, and I was not able to reproduce this again, using the latest master.
Thanks, I will gather some more information and provide an update later today. The host system is CentOS 7 running a recent git version. Is there any way to have the tool output the exact commands it runs?
A "recent" git means wildly different things depending on your situation, please try to be explicit in all cases. The git commands aren't exactly shown, but that can be added. For now, continue with the knowledge that it runs
git init
git remote add origin $url
git fetch origin -a
git reset --hard $branch
should be solved by 2fe3fcd