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

libSystem.IO.Ports.Native.so points to glibc.so on linux-musl-x64 platform #17890

Closed
5 tasks done
ayakael opened this issue Aug 12, 2022 · 1 comment
Closed
5 tasks done

Comments

@ayakael
Copy link

ayakael commented Aug 12, 2022

Prerequisites

Steps to reproduce

Currently building a package for powershell on Alpine Linux. In packaging, build pipeline detects libraries that point to glibc.so, which should not happen on linux-musl-x64 platform. This suggests that build process pulls prebuilt libraries, which should not occur when building from source.

To reproduce, git clone https://gitlab.alpinelinux.org/ayakael/aports -b testing/powershell-keep-prebuilt and abuild -r in any Alpine environment eqal or greater to version 3.16 when in aports/testing/powershell directory. Towards the end, abuild will tell you that a library pointing to glibc.so was detected. I suspect that building process is to blame, but perhaps not.

Aport for build process is accessible here

Expected behavior

Prebuilt libraries should not be pulled.

Actual behavior

`libSystem.IO.Ports.Native.so` points to `glibc.so`, which implies prebuilt libraries are pulled.

Error details

$ ldd libSystem.IO.Ports.Native.so
/lib/ld-musl-x86_64.so.1 (0x7293b7c25000)
libc.so.6 => /lib/ld-musl-x86_64.so.1 (0x7293b7c25000

Environment data

Name                           Value
----                           -----
PSVersion                      7.2.6
PSEdition                      Core
GitCommitId                    7.2.6
OS                             Linux 5.4.157-1-pve #1 SMP PVE 5.4.157-1 (Mon, 29 Nov 2021 12:01:44 +0100)
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

No response

@ayakael ayakael added the Needs-Triage The issue is new and needs to be triaged by a work group. label Aug 12, 2022
@ayakael
Copy link
Author

ayakael commented Aug 14, 2022

Closed as unrelated to PowerShell, caused by dotnet/runtime#63187

@ayakael ayakael closed this as completed Aug 14, 2022
@ghost ghost removed the Needs-Triage The issue is new and needs to be triaged by a work group. label Aug 14, 2022
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

1 participant