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

Broken cpanm #499

Closed
DrHyde opened this issue Dec 3, 2020 · 7 comments
Closed

Broken cpanm #499

DrHyde opened this issue Dec 3, 2020 · 7 comments

Comments

@DrHyde
Copy link

DrHyde commented Dec 3, 2020

Looks like some recent change broke cpanm: https://github.com/DrHyde/perl-modules-Data-CompactReadonly/runs/1494632690

Related to adding support for 5.6 maybe?

@shogo82148
Copy link
Owner

Thank you for your report.
I'll check in this weekend.

Run cpanm --quiet --notest --installdeps .
syntax error at /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/bin/cpanm line 127, near "use 5.006}"
Error: BEGIN not safe after errors--compilation aborted at /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/bin/cpanm line 127.
Error: Compilation failed in require at /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/bin/cpanm line 78.
Error: BEGIN failed--compilation aborted at /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/bin/cpanm line 78.
Error: Compilation failed in require at /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/bin/cpanm line 1846.
Error: BEGIN failed--compilation aborted at /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/bin/cpanm line 1846.
Error: Compilation failed in require at /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/bin/cpanm line 1752.
Error: BEGIN failed--compilation aborted at /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/bin/cpanm line 1752.
Error: Compilation failed in require at (eval 3) line 3.
Error: 	...propagated at /opt/hostedtoolcache/perl/5.10.1/x64/lib/5.10.1/base.pm line 94.
Error: BEGIN failed--compilation aborted at /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/bin/cpanm line 12.
Error: Compilation failed in require at /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/bin/cpanm line 2356.
Error: BEGIN failed--compilation aborted at /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/bin/cpanm line 2356.
Error: Process completed with exit code 255.

@tobyink
Copy link
Sponsor

tobyink commented Dec 5, 2020

I'm getting the same for Perls older than 5.12.

@shogo82148
Copy link
Owner

fixed with v1.9.1 https://github.com/shogo82148/actions-setup-perl/releases/tag/v1.9.1
please try it

@DrHyde
Copy link
Author

DrHyde commented Dec 8, 2020

Thanks!

@tobyink
Copy link
Sponsor

tobyink commented Dec 8, 2020

On Linux, with Perl 5.6.x and older 5.8.x, I'm getting errors about "/tmp/somerandomthing/" not a directory.

On Windows, I'm getting errors about can't find Win32.pm.

https://github.com/tobyink/p5-acme-githubactions-testing-tobyink/actions/runs/408964712

@DrHyde
Copy link
Author

DrHyde commented Dec 8, 2020

Yeah, I see those errors with 5.6 and 5.8 too, and it breaks some of my builds

@tobyink
Copy link
Sponsor

tobyink commented Dec 9, 2020

@shogo82148 I would be happy to give you write access to tobyink/p5-acme-githubactions-testing-tobyink if that would help debug it.

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

3 participants