Skip to content

Conversation

@akoeplinger
Copy link
Member

Fixes #86619

Also removes unused HAVE_TERMIOS2_EXITCODE from tryrun.cmake, the HAVE_TERMIOS2 check is not a tryrun one but a compile check.

Fixes dotnet#86619

Also removes unused HAVE_TERMIOS2_EXITCODE from tryrun.cmake, the HAVE_TERMIOS2 check is not a tryrun one but a compile check.
@ghost
Copy link

ghost commented Dec 7, 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

Fixes #86619

Also removes unused HAVE_TERMIOS2_EXITCODE from tryrun.cmake, the HAVE_TERMIOS2 check is not a tryrun one but a compile check.

Author: akoeplinger
Assignees: -
Labels:

area-System.IO.Ports

Milestone: -

@ghost ghost assigned akoeplinger Dec 7, 2023
Copy link
Member

@wfurt wfurt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@akoeplinger akoeplinger merged commit f1d2587 into dotnet:main Dec 7, 2023
@akoeplinger akoeplinger deleted the add-android-ioports branch December 7, 2023 22:55
@wfurt
Copy link
Member

wfurt commented Dec 8, 2023

The package now fails to restore


    <PackageReference Include="System.IO.Ports" Version="9.0.0-alpha.1.23608.3" />


furt@ubu20:~/projects/sslTest$ ~/dotnet-8/dotnet restore
  Determining projects to restore...
/home/furt/projects/sslTest/sslTest.csproj : error NU1101: Unable to find package runtime.android-arm.runtime.native.System.IO.Ports. No packages exist with this id in source(s): dotnet-labs, dotnet6, dotnet7, dotnet8, dotnet9, nuget.org
/home/furt/projects/sslTest/sslTest.csproj : error NU1101: Unable to find package runtime.android-arm64.runtime.native.System.IO.Ports. No packages exist with this id in source(s): dotnet-labs, dotnet6, dotnet7, dotnet8, dotnet9, nuget.org
/home/furt/projects/sslTest/sslTest.csproj : error NU1101: Unable to find package runtime.android-x64.runtime.native.System.IO.Ports. No packages exist with this id in source(s): dotnet-labs, dotnet6, dotnet7, dotnet8, dotnet9, nuget.org
/home/furt/projects/sslTest/sslTest.csproj : error NU1101: Unable to find package runtime.android-x86.runtime.native.System.IO.Ports. No packages exist with this id in source(s): dotnet-labs, dotnet6, dotnet7, dotnet8, dotnet9, nuget.org
  Failed to restore /home/furt/projects/sslTest/sslTest.csproj (in 774 ms).

It is curious that I see runtime.linux-bionic-arm64.runtime.native.System.IO.Ports that was added by this PR but not the android.
https://dev.azure.com/dnceng/public/_artifacts/feed/dotnet9

I'm wondering if there is some patter filter for package publishing...???
cc: @ViktorHofer for infra angle.

@ViktorHofer
Copy link
Member

ViktorHofer commented Dec 9, 2023

Do we have official build CI legs that build the native binaries, i.e. runtime.android-arm.runtime.native.System.IO.Ports? If not then we would need to add them.

This PR broke consuming the System.IO.Ports nuget package, so we should probably revert it until we found the fix.

@akoeplinger
Copy link
Member Author

The package issue was fixed with #96026

akoeplinger added a commit to akoeplinger/runtime that referenced this pull request Dec 16, 2023
akoeplinger added a commit that referenced this pull request Dec 16, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 16, 2024
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.

SerialPort is not supported on Android ?

3 participants