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
Release PowerShell tarballs for general musl libc instead of only AMD64 version of Alpine #19403
Comments
|
I am not sure why Gentoo is being referred to when talking about binary distributions. The point of Gentoo is that everything is compiled from source on the target system. The PowerShell I am using on Alpine 3.17 comes from the distribution On Alpine the standard NEEDED bindings are to the platform specific libc and on ARM64 In summary, please continue to support alpine as a first-class distribution for PowerShell even if you do other builds for musl libc. Below is the 7.3.3 alpine build direct from this project. |
Well this is off-topic but I guess as a Gentoo developer I have to address this. The new Gentoo .NET team wants to package pwsh from-source build but also keep the binary package (pwsh-bin) of the previous maintainer.
Yea, I guess the "instead" goes too far. My biggest concern is that, YES, on Alpine having |
@xgqt Can you tell the previous maintainer that the file attributes are wrong after installation of pwsh-bin on Gentoo? Many of the dll and so files have the owner-execute bit set, the only file that needs the execute bit set is pwsh itself. This is due to the wrong permissions in the original tars but could be fixed in the ebuild. #18899 |
I can fix that in ::gentoo-dotnet-2023 overlay, which will be later used in ::gentoo.
|
Ok, this is fixed in the overlay now.
|
|
@xgqt Hi, can you print what you think the NEEDED should look like? I had a look at openwrt and that is like So the /lib/ld loader is architecture specific and libc.so points back to the same /lib/ld shared library. On the file system it is |
|
I think the issue in https://bugs.gentoo.org/894760#c3 is that either that version or musl or that profile does not install the |



Summary of the new feature / enhancement
Would it be possible to release precompiled PowerShell binaries for musl as it is done with .NET SDK?
Dotnet names their releases as
dotnet-sdk-VERSION-linux-musl-ARCHITECTURE.tar.gz.So, instead of only
powershell-7.3.3-linux-alpine-x64.tar.gztarballs for x64,also arm32 and arm64 musl tarballs would be made available.
Also sidenote: Alpine install a link to libc that is not available on other musl-based linux distros,
e.g. Gentoo with musl libc, that broken symlink is getting picked up by QA tools
(though a given .NET tool functions correctly), see: dotnet/runtime#83779
Proposed technical implementation details (optional)
No response
The text was updated successfully, but these errors were encountered: