Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails when cpanfile.snapshot exists #10

Open
oalders opened this issue Mar 24, 2022 · 0 comments
Open

Fails when cpanfile.snapshot exists #10

oalders opened this issue Mar 24, 2022 · 0 comments

Comments

@oalders
Copy link
Member

oalders commented Mar 24, 2022

See https://github.com/metacpan/github-meets-cpan/runs/5678290649?check_suite_focus=true

Run perl-actions/install-with-cpm@v1
  with:
    cpanfile: cpanfile
    sudo: false
    tests: false
    global: true
    perl: perl
    path: $Config{installsitescript}/cpm
    version: master
/usr/bin/docker exec  d67616a0e164d977e593575a745540d0cffca8f000058471163d080b9980e5fb sh -c "cat /etc/*release | grep ^ID"
/usr/local/bin/perl -MConfig -e print "$Config{installsitescript}/cpm"
/usr/local/bin/cpm::set-output name=Get cpm from https%3A//raw.githubusercontent.com/skaji/cpm/master/cpm::
install_to /usr/local/bin/cpm
do_exec: /usr/local/bin/perl
/usr/local/bin/perl -MFile::Copy=cp -e cp("/__w/_temp/[2](https://github.com/metacpan/github-meets-cpan/runs/5678290649?check_suite_focus=true#step:4:2)52d8f52-b708-4495-8[3](https://github.com/metacpan/github-meets-cpan/runs/5678290649?check_suite_focus=true#step:4:3)08-8c970[5](https://github.com/metacpan/github-meets-cpan/runs/5678290649?check_suite_focus=true#step:4:5)c05ca[7](https://github.com/metacpan/github-meets-cpan/runs/5678290649?check_suite_focus=true#step:4:7)", "/usr/local/bin/cpm"); chmod(0755, "/usr/local/bin/cpm")
cpanfile: cpanfile!
cpanfile: /__w/github-meets-cpan/github-meets-cpan/cpanfile! [resolved]
do_exec: /usr/local/bin/perl
/usr/local/bin/perl /usr/local/bin/cpm install --show-build-log-on-failure -v --no-test -g --cpanfile /__w/github-meets-cpan/github-meets-cpan/cpanfile
To load cpanfile.snapshot, you need to install Carton::Snapshot.
Error: The process '/usr/local/bin/perl' failed with exit code 2

It would be helpful automatically to install Carton::Snapshot in cases where a cpanfile.snapshot exists or to mention in the docs that it's the user's responsibility to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant