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

Linux x64 release SourceBuild build break in CI #67474

Closed
jkotas opened this issue Apr 2, 2022 · 4 comments
Closed

Linux x64 release SourceBuild build break in CI #67474

jkotas opened this issue Apr 2, 2022 · 4 comments
Labels
area-Infrastructure-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

Comments

@jkotas
Copy link
Member

jkotas commented Apr 2, 2022

Build Linux x64 release SourceBuild failed in #67466 with:

2022-04-01T23:55:41.3669226Z   /__w/1/s/.dotnet/sdk/6.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error NETSDK1047: Assets file '/__w/1/s/artifacts/source-build/self/src/artifacts/obj/coreclr/crossgen2/project.assets.json' doesn't have a target for 'net6.0/centos.7-x64'. Ensure that restore has run and that you have included 'net6.0' in the TargetFrameworks for your project. You may also need to include 'centos.7-x64' in your project's RuntimeIdentifiers. [/__w/1/s/artifacts/source-build/self/src/src/coreclr/tools/aot/crossgen2/crossgen2.csproj]
2022-04-01T23:55:41.3672297Z       0 Warning(s)
2022-04-01T23:55:41.3673078Z       1 Error(s)
2022-04-01T23:55:41.3673750Z   
@dotnet-issue-labeler dotnet-issue-labeler bot added area-Infrastructure-coreclr untriaged New issue has not been triaged by the area owner labels Apr 2, 2022
@ghost
Copy link

ghost commented Apr 2, 2022

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

Issue Details

Build Linux x64 release SourceBuild failed in #67466 with:

2022-04-01T23:55:41.3669226Z   /__w/1/s/.dotnet/sdk/6.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error NETSDK1047: Assets file '/__w/1/s/artifacts/source-build/self/src/artifacts/obj/coreclr/crossgen2/project.assets.json' doesn't have a target for 'net6.0/centos.7-x64'. Ensure that restore has run and that you have included 'net6.0' in the TargetFrameworks for your project. You may also need to include 'centos.7-x64' in your project's RuntimeIdentifiers. [/__w/1/s/artifacts/source-build/self/src/src/coreclr/tools/aot/crossgen2/crossgen2.csproj]
2022-04-01T23:55:41.3672297Z       0 Warning(s)
2022-04-01T23:55:41.3673078Z       1 Error(s)
2022-04-01T23:55:41.3673750Z   
Author: jkotas
Assignees: -
Labels:

area-Infrastructure-coreclr, untriaged

Milestone: -

@jkotas
Copy link
Member Author

jkotas commented Apr 2, 2022

cc @agocke . This was likely introduced by #65948

@jkotas jkotas added the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Apr 2, 2022
@agocke
Copy link
Member

agocke commented Apr 2, 2022

:( Investigating...

@agocke
Copy link
Member

agocke commented Apr 2, 2022

This is rather strange actually. I've managed to repro the problem locally, but when I examine the listed project.assets.json file, there's an entry for net6.0/centos.7-x64.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
Projects
None yet
Development

No branches or pull requests

3 participants