Skip to content

Conversation

@wfurt
Copy link
Member

@wfurt wfurt commented Sep 15, 2023

fixes #63187

@wfurt wfurt added NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) area-System.IO labels Sep 15, 2023
@wfurt wfurt self-assigned this Sep 15, 2023
@ghost
Copy link

ghost commented Sep 15, 2023

Tagging subscribers to this area: @dotnet/area-system-io
See info in area-owners.md if you want to be subscribed.

Issue Details

PoC

Author: wfurt
Assignees: wfurt
Labels:

NO-MERGE, area-System.IO

Milestone: -

@wfurt
Copy link
Member Author

wfurt commented Sep 15, 2023

Any idea on this @hoyosjs, @ericstj and @ViktorHofer ? This was attempt to fix #63187 as we are missing packages but it seems like it is not as easy as I thought.

@ghost
Copy link

ghost commented Sep 18, 2023

Tagging subscribers to this area: @dotnet/area-system-io-ports
See info in area-owners.md if you want to be subscribed.

Issue Details

PoC

Author: wfurt
Assignees: wfurt
Labels:

NO-MERGE, area-System.IO, area-System.IO.Ports

Milestone: -

@ghost ghost closed this Oct 18, 2023
@ghost
Copy link

ghost commented Oct 18, 2023

Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it.

@wfurt wfurt reopened this Nov 3, 2023
@wfurt wfurt changed the title add packaging for linux-musl add IO.Ports packaging for linux-musl Nov 3, 2023
@wfurt wfurt removed the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Nov 3, 2023
@wfurt wfurt marked this pull request as ready for review November 3, 2023 22:09
@wfurt wfurt requested review from ericstj and krwq November 3, 2023 22:10
@liu10725
Copy link

liu10725 commented Nov 9, 2023

@wfurt Can you pass a compiled Linux-musl-arm64 "libSystem. IO. Ports. Native. so"? thanks

@liu10725
Copy link

liu10725 commented Nov 9, 2023

@wfurt Can you pass a compiled Linux-musl-arm64 "libSystem. IO. Ports. Native. so"? thanks

Please upload a compiled so

@wfurt
Copy link
Member Author

wfurt commented Nov 9, 2023

I'm not sure if this is what you want but you can get everything produces by the PR build:

https://dev.azure.com/dnceng-public/public/_build/results?buildId=459685&view=artifacts&pathAsName=false&type=publishedArtifacts

find library_bin_linux_musl_arm* and there should be runtime.linux-musl-arm64.runtime.native.System.IO.Ports.9.0.0-ci.nupkg

It would be great to get independent validation.

@liu10725
Copy link

@wfurt I previously posted to Linux_ Musl_ Arm64 will encounter the following error

$ ldd libSystem.IO.Ports.Native.so
ldd (0xffffbd9bc000)
libc.so.6 => ldd (0xffffbd9bc000)
Error loading shared library ld-linux-aarch64.so.1: No such file or directory (needed by libSystem.IO.Ports.Native.so)

But I found a new library file in your release directory and it has been perfectly fixed. I have successfully used this library in an openwrt system. Thank you

libraries_bin_linux_musl_arm64_Release.zip\libraries_bin_linux_musl_arm64_Release\libraries_bin_linux_musl_arm64_Release.tar.gz\libraries_bin_linux_musl_arm64_Release.tar\bin\native\net9.0-linux-Release-arm64\libSystem.IO.Ports.Native.so

$ ldd libSystem.IO.Ports.Native.so
ldd (0xffff8187f000)
libc.musl-aarch64.so.1 => ldd (0xffff8187f000)

The problem has been fixed

@wfurt
Copy link
Member Author

wfurt commented Nov 13, 2023

thanks for confirmation @liu10725. Once merged, it should be available from package feed.

@wfurt wfurt requested a review from ViktorHofer November 13, 2023 17:27
@akoeplinger akoeplinger merged commit d1bb2ea into dotnet:main Nov 14, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System.IO.Ports.SerialPort not working on linux-musl-arm64

5 participants