-
Notifications
You must be signed in to change notification settings - Fork 49
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
audit winlibs tools in distribution #154
Comments
An alternative to removing them from the distro is to relocate them to a separate folder that is not in the path. I haven't quite got my head around the problem associated with the name of the make utility. No such luck with setting |
We could use WRT |
I think that if building your own make utility named "gmake"will avoid the recursion issue, then that's a good reason to do precisely that. Anyway, as I said, I don't really have a handle on what's causing this issue, or on how to work around it. |
It was with the utility renamed to I should hopefully have some time next week to look at this. |
I'm now seeing something pretty evil in the "make.exe" and "gmake.exe" that ship with Strawberry Perl - and I suspect (unproven) that the problem might not be that they are duplicates of "mingw32-make.exe" but that they are GNU make version 4.4.1. I've lately tried building perl-5.39.5 Using the toolchain provided by Strawberry Perl 5,38,0,
and
In both case, the process concludes with
Now, the lib/locale.t failure happens because Strawberry's gcc uses the MSVC runtime by default. (That's easily fixed by using a gcc that instead uses the UCRT.) I also have versions 4.2.1 of "gmake.exe" and "make.exe". I'm not sure of their origin, but their sha256 checksums confirm that they are exactly the same. I don't rule out the possibility that building your own gmake-4.4.1 and make-4.4.1 will fix the issue .... but bear in mind the possibility that it may not. |
What happens if you use |
Same problem - perly.c gets clobbered Firstly, you don't need to run Secondly, note that Thirdly, I wonder if there is some way to fix this problem from within the perl source. Of course, I have no idea what that "some way" would be. In all cases, YMMV if you try running the the "make test" step, having specified PLMAKE to be other than "gmake". |
These links seem to be relevant: Given their contents, maybe something is messing with What happens if you add this line somewhere in
|
The suggested ".PRECIOUS" insertion made no difference - perly.c still gets removed, UPDATE 1: It's new in 5.39.5 - likely either a change to GNUmakefile or to the handling of perly.c. There's no clobbering of |
Thanks @sisyphus If I get a chance I'll have a go as well. |
Seems that all I have to do in order to build perl-5.39.5 using gmake-4.4.1 is to Thanks @shawnlaffan. UPDATE: The issue surrounding perly.c (Perl/perl5#21651) has since been fixed and closed. |
"We need to run an audit to determine what we really need for SP to run." |
It seems several of the utilities distributed with SP 5.38 and 5.36 interfere with other systems. Some of these utilities were added for convenience so are not strictly needed.
Two examples are make.exe (#148) and cmake.exe (actions/runner-images#8598).
GitHub actions have pinned SP to 5.32 for now. actions/runner-images#8622
We need to run an audit to determine what we really need for SP to run. This might involve building our own binutils, which is not very hard.
This is partly a redux of #57
The text was updated successfully, but these errors were encountered: