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

[armel] Broken build #56623

Closed
alpencolt opened this issue Jul 30, 2021 · 7 comments
Closed

[armel] Broken build #56623

alpencolt opened this issue Jul 30, 2021 · 7 comments
Labels
area-Infrastructure untriaged New issue has not been triaged by the area owner

Comments

@alpencolt
Copy link

Build on main branch is broken for armel arch, but works before.

 ./build.sh --portablebuild false --cross --clang9 --arch armel --runtimeConfiguration Release --librariesConfiguration Release --subset clr+libs.native /p:EnableSourceLink=false 
__DistroRid: tizen.6.5.0-armel
  Determining projects to restore...
  Tool 'coverlet.console' (version '1.7.2') was restored. Available commands: coverlet
  Tool 'dotnet-reportgenerator-globaltool' (version '4.5.8') was restored. Available commands: reportgenerator
  Tool 'microsoft.dotnet.xharness.cli' (version '1.0.0-prerelease.21370.1') was restored. Available commands: xharness
  Tool 'microsoft.visualstudio.slngen.tool' (version '6.0.1') was restored. Available commands: slngen
  
  Restore was successful.
  All projects are up-to-date for restore.
  Determining projects to restore...
/home/alexander/src/runtime/.dotnet/sdk/6.0.100-preview.5.21302.13/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(101,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux-armel'. [/home/alexander/src/runtime/Build.proj]
/home/alexander/src/runtime/.dotnet/sdk/6.0.100-preview.5.21302.13/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(101,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux-armel'. [/home/alexander/src/runtime/Build.proj]
/home/alexander/src/runtime/.dotnet/sdk/6.0.100-preview.5.21302.13/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(101,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux-armel'. [/home/alexander/src/runtime/Build.proj]
/home/alexander/src/runtime/.dotnet/sdk/6.0.100-preview.5.21302.13/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(101,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux-armel'. [/home/alexander/src/runtime/Build.proj]

Build FAILED.

@lambdageek lambdageek added the untriaged New issue has not been triaged by the area owner label Jul 30, 2021
@ghost
Copy link

ghost commented Jul 31, 2021

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

Issue Details

Build on main branch is broken for armel arch, but works before.

 ./build.sh --portablebuild false --cross --clang9 --arch armel --runtimeConfiguration Release --librariesConfiguration Release --subset clr+libs.native /p:EnableSourceLink=false 
__DistroRid: tizen.6.5.0-armel
  Determining projects to restore...
  Tool 'coverlet.console' (version '1.7.2') was restored. Available commands: coverlet
  Tool 'dotnet-reportgenerator-globaltool' (version '4.5.8') was restored. Available commands: reportgenerator
  Tool 'microsoft.dotnet.xharness.cli' (version '1.0.0-prerelease.21370.1') was restored. Available commands: xharness
  Tool 'microsoft.visualstudio.slngen.tool' (version '6.0.1') was restored. Available commands: slngen
  
  Restore was successful.
  All projects are up-to-date for restore.
  Determining projects to restore...
/home/alexander/src/runtime/.dotnet/sdk/6.0.100-preview.5.21302.13/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(101,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux-armel'. [/home/alexander/src/runtime/Build.proj]
/home/alexander/src/runtime/.dotnet/sdk/6.0.100-preview.5.21302.13/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(101,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux-armel'. [/home/alexander/src/runtime/Build.proj]
/home/alexander/src/runtime/.dotnet/sdk/6.0.100-preview.5.21302.13/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(101,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux-armel'. [/home/alexander/src/runtime/Build.proj]
/home/alexander/src/runtime/.dotnet/sdk/6.0.100-preview.5.21302.13/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(101,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux-armel'. [/home/alexander/src/runtime/Build.proj]

Build FAILED.

Author: alpencolt
Assignees: -
Labels:

area-Infrastructure, untriaged

Milestone: -

@ViktorHofer
Copy link
Member

@am11 do you think this is related to one of your recent RID changes?

@am11
Copy link
Member

am11 commented Jul 31, 2021

I do not think this is reproducible in the main branch otherwise the CI leg @clamp03 is adding in #56281 would have failed.

@am11
Copy link
Member

am11 commented Jul 31, 2021

Ah ok, this issue was opened a few hours before #55789 was merged, so maybe just give it another try with latest main. 😅

@am11
Copy link
Member

am11 commented Jul 31, 2021

Tested with:

$ docker run -e ROOTFS_DIR=/crossrootfs/armel -v$(pwd):/runtime \
    mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-cross-armel-tizen-20210719212651-8b02f56 \
    /runtime/build.sh --portablebuild false --cross --clang9 --arch armel --runtimeConfiguration Release \
    --librariesConfiguration Release --subset clr+libs.native /p:EnableSourceLink=false  

the restore has succeeded (and it's building coreclr code base).

@am11
Copy link
Member

am11 commented Jul 31, 2021

@ViktorHofer, regarding the upfront restore, the error @alpencolt encountered:

Determining projects to restore...
/home/alexander/src/runtime/.dotnet/sdk/6.0.100-preview.5.21302.13/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(101,5): error NETSDK1084: There is no application host available for the specified RuntimeIdentifier 'linux-armel'. [/home/alexander/src/runtime/Build.proj]

doesn't tell us the name of actual project (in this case, it's /home/alexander/src/runtime/src/coreclr/tools/aot/crossgen2/crossgen2.csproj). Can we augment the NETSDK1084 error message so it capture the name of actual project when using traversal feature?

@alpencolt
Copy link
Author

Looks #55789 fixes issue, now armel build is successful.
Thank you!

@ghost ghost locked as resolved and limited conversation to collaborators Aug 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

5 participants