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

[openssl] replace the flaky strawberry perl distribution #28288

Closed
BurningEnlightenment opened this issue Dec 11, 2022 · 5 comments · Fixed by #33854
Closed

[openssl] replace the flaky strawberry perl distribution #28288

BurningEnlightenment opened this issue Dec 11, 2022 · 5 comments · Fixed by #33854
Assignees
Labels
category:tool-update The issue is with build tool or build script, which requires update or should be executed correctly

Comments

@BurningEnlightenment
Copy link
Contributor


Is your feature request related to a problem? Please describe.
I'm always frustrated when I try to install the openssl port and it fails due to vcpkg not being able to download the Strawberry Perl distribution (on Windows®).

Proposed solution

It would be neat if someone can get openssl to build with the perl that comes with git.

@BillyONeal #28249 (comment)

Describe alternatives you've considered
The strawberry perl distribution (or the necessary subset) could be mirrored, but this is not considered feasible due to licensing issues.

Obviously, there are other Perl-distributions for Windows® out there which could (should?) be evaluated. However, I don't know any one which fits our criterias (e.g. ActiveState Perl (which is recommended by the OpenSSL wiki) requires an account to download).

Additional context
This is a follow-up on #28249

I took a look at their website issue tracker and it seems that similar [availability] issues have been reported there a few times within the last months:

Solutions to this problem have previously been discussed here:

Regarding the use of the Perl distribution bundled with git, @dg0yt noted that:

For a general replacement, the one which comes with msys2 would be nice, to avoid mixing msys2 runtimes in other ports. But IIRC openssl didn't behave well with msys2 perl when I tried to use it for mingw.
From other issues we also know that openssl needs one particular Perl module, IPC/Cmd.pm.

@Cheney-W Cheney-W added the category:tool-update The issue is with build tool or build script, which requires update or should be executed correctly label Dec 12, 2022
@adamkennedy
Copy link

adamkennedy commented Jul 7, 2023

@BurningEnlightenment @Cheney-W et al.

I am the original creator of Strawberry Perl, and although I'm no longer involved in it's maintenance I was just made aware of this issue and that it's distribution via a regular web hosting account has been causing problems for use cases like this.

With regards to licensing issues, I'm not sure what your problems are, but I'd be happy to help assist or give permission in any way I'm capable of that might help you fork/embed parts of it.

The build code that assembles the Strawberry Perl distribution is probably fairly easy to fork or sub-class, and I imagine it could be retooled to drop all the extra weight and just include the one module you need. There's an internal "Vanilla Perl" distro without all the extra bundled stuff that might serve as a suitable starting point.

@BurningEnlightenment
Copy link
Contributor Author

Hi, thank you for the insights!

With regards to licensing issues, I'm not sure what your problems are, but I'd be happy to help assist or give permission in any way I'm capable of that might help you fork/embed parts of it.

This can only be answered by @BillyONeal who investigated this initially (and hasn't explicitly written down the exact issues anywhere AFAIK). Sadly he is a rather busy person, so I would expect an answer later rather than sooner 😅 @Cheney-W would you mind pinging him?

@dg0yt
Copy link
Contributor

dg0yt commented Jul 10, 2023

AFAIU the issue is fairly clear: Download. The official download servers were unavailable more often than expected. vcpkg has only private asset caching, i.e. each user needs to download assets from official sources at least once.

@BurningEnlightenment
Copy link
Contributor Author

AFAIU the issue is fairly clear: Download. The official download servers were unavailable more often than expected. vcpkg has only private asset caching, i.e. each user needs to download assets from official sources at least once.

Yes, that's the root issue. One proposed solution was to mirror the strawberry perl download with Microsoft / GitHub resources. This however was thought to be infeasible due to said licensing issues.

@xavier2k6
Copy link
Contributor

One proposed solution was to mirror the strawberry perl download with Microsoft / GitHub resources.

Strawberry Perl 5.38.0 and 5.36.1 have already been released/hosted on GitHub (64 bit only)
https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases

(32 bit request) is noted in StrawberryPerl/Perl-Dist-Strawberry#96

The main site of https://strawberryperl.com/ hasn't been updated yet.
reference: StrawberryPerl/strawberryperl.com#34 (comment)

@BillyONeal @Cheney-W Have a look through below links:

https://github.com/StrawberryPerl/strawberryperl.com/issues
https://github.com/StrawberryPerl/Perl-Dist-Strawberry/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:tool-update The issue is with build tool or build script, which requires update or should be executed correctly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants