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

Mysterious cpanm Failures on Windows #225

Closed
theory opened this issue May 8, 2020 · 12 comments
Closed

Mysterious cpanm Failures on Windows #225

theory opened this issue May 8, 2020 · 12 comments
Labels
help wanted Extra attention is needed
Milestone

Comments

@theory
Copy link

theory commented May 8, 2020

Reference: https://github.com/theory/semver/runs/657320188?check_suite_focus=true

No useful error output that I can see, sadly.

@shogo82148
Copy link
Owner

https://help.github.com/en/actions/configuring-and-managing-workflows/managing-a-workflow-run#enabling-debug-logging
You can enable debug logging. Please try it if cpanm still doesn't work.

I close this issue because it looks that the recent builds succeeded.

@theory
Copy link
Author

theory commented May 16, 2020

Still failing. Will try debugging.

@theory
Copy link
Author

theory commented May 16, 2020

Ran with debugging, downloaded, found only this:

2020-05-16T19:17:14.4613983Z ##[group]Run cpanm --installdeps --with-recommends --notest -v .
2020-05-16T19:17:14.4614276Z �[36;1mcpanm --installdeps --with-recommends --notest -v .�[0m
2020-05-16T19:17:14.4661776Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
2020-05-16T19:17:14.4661985Z ##[endgroup]
2020-05-16T19:17:16.7963438Z ##[error]Process completed with exit code 1.

:-(

Note that I'm using the -v option on cpanm to make it verbose, but nothing appears in the output, sadly.

@shogo82148
Copy link
Owner

it's bad news :-(

I sometimes get EXCEPTION_ACCESS_VIOLATION while building the Perl Core modules.
It is fixed by disabling C compiler optimization, so I disabled the optimization in all versions as a workaround.

#232
https://github.com/shogo82148/actions-setup-perl/releases/tag/v1.3.2

could you try it, please.

@theory
Copy link
Author

theory commented May 17, 2020

Still not happy. Seems fine with 5.14 and higher; it's 5.12 and lower that pukes.

@theory
Copy link
Author

theory commented May 26, 2020

Any ideas, @shogo82148? Only seems to be a problem with 5.12, 5.10, and 5.8 on Windows.

@shogo82148 shogo82148 reopened this May 27, 2020
@shogo82148
Copy link
Owner

I have no idea 😭
but Strawberry Perl may resolve it #235
I'll try it later.

@theory
Copy link
Author

theory commented May 31, 2020

Oh, yeah, using the Strawberry binaries might indeed do the trick. Looking forward to trying it out!

@shogo82148
Copy link
Owner

http://strawberryperl.com/releases.html
Strawberry Perl doesn't provide 64-bit binary of Perl 5.12 or earlier 😢

@theory
Copy link
Author

theory commented Jun 14, 2020

Oh, well crap!

oalders added a commit to libwww-perl/WWW-Mechanize that referenced this issue Jun 16, 2020
oalders added a commit to libwww-perl/WWW-Mechanize that referenced this issue Jun 25, 2020
oalders added a commit to libwww-perl/WWW-Mechanize that referenced this issue Jun 25, 2020
oalders added a commit to libwww-perl/WWW-Mechanize that referenced this issue Jun 25, 2020
oalders added a commit to libwww-perl/WWW-Mechanize that referenced this issue Jun 25, 2020
oalders added a commit to libwww-perl/WWW-Mechanize that referenced this issue Jun 25, 2020
oalders added a commit to libwww-perl/WWW-Mechanize that referenced this issue Jun 25, 2020
oalders added a commit to libwww-perl/WWW-Mechanize that referenced this issue Jun 29, 2020
oalders added a commit to libwww-perl/WWW-Mechanize that referenced this issue Jun 30, 2020
Don't test 5.10 and 5.12 on Windows

shogo82148/actions-setup-perl#225

Try running Windows tests via cpanm

Have Windows builds depend on Linux build, to reduce waiting
oalders added a commit to libwww-perl/WWW-Mechanize that referenced this issue Jul 1, 2020
Don't test 5.10 and 5.12 on Windows

shogo82148/actions-setup-perl#225

Try running Windows tests via cpanm

Have Windows builds depend on Linux build, to reduce waiting
@shogo82148 shogo82148 added the help wanted Extra attention is needed label Aug 29, 2020
shogo82148 added a commit that referenced this issue Aug 29, 2020
shogo82148 added a commit that referenced this issue Aug 29, 2020
* add a link to #328

* add a link to #225
briang added a commit to briang/p5-briang-dist-perfect that referenced this issue Nov 19, 2020
There's a bug
(shogo82148/actions-setup-perl#225) with the
perl test-runner on Windows and perl < 5.14
@shogo82148 shogo82148 added this to the 1.9.0 milestone Nov 30, 2020
@shogo82148
Copy link
Owner

It will be fixed by #474, #475, #477, #480, and #481

@theory
Copy link
Author

theory commented Dec 6, 2020

Tried turning tests for 5.8, 5.10, and 5.12 on Windows again in /theory/semver@8bfa9f8, but alas, it failed with "Error: unable to get latest version". Are the binaries missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants