-
Notifications
You must be signed in to change notification settings - Fork 10.3k
source-building .NET 7 fails when building npmprojects #46304
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
Comments
Getting a binlog would help - you could |
Here's the full binlog: sourcebuild.binlog.tar.gz from a failing build of aspnetcore. Building the individual project doesn't reproduce the issue :/ |
Looks like none of our .npmproj's have |
Could you also send a binlog of just building the .npmproj successfully (w/ the sourceBuild arg passed)? That could be informative on what isn't happening in the failing case. |
I have a feeling I am using source-build args here incorrectly, but this is the binlog I get from:
|
@omajid where did you get |
It's essentially the configuration used by source-build/VMR when building aspnetcore. You can see the full command line here: https://dev.azure.com/dnceng-public/public/_build/results?buildId=154293&view=logs&j=61a52f3a-cec1-5bff-8c02-d8ba2c8bed99&t=53e46d9d-cfbd-5072-889d-e51560a71252&l=2722:
|
Oh, and the reason the CI leg doesn't fail is probably because of I have removed it intentionally to test what building the VMR post #45883 might look like. There's some additional context at dotnet/source-build#3107 if you are interested. |
Funny enough, this seems to build:
The |
[SB Triage] @crummel - can you please help investigate? |
Ah, the issue is a pretty long-standing one, I was looking for something new. it's #37398. |
@crummel sure, that sounds okay. I hope this issue doesn't get auto-closed again :) |
Is there an existing issue for this?
Describe the bug
(This is a follow up from #42378 which is now locked. Sorry about dropping the ball on that.)
When building ASP.NET Core, turning on source-build mode makes the build fail when it's trying to build nodejs projects
I am currently testing with aspnetcore commit
9ffffa45789328985d43cc70a378fd8570988f27
, but based on the issue linked above, the bug has existed for a while now.This works:
This fails:
The build failure looks like this:
This didn't seem a too big of a problem back when #42378 was opened, but with #45883, this issue makes the build break with the VMR.
From what I can tell,
PackageVersion
is set to empty here:aspnetcore/eng/targets/Npm.Common.targets
Line 108 in ea68368
And that makes the
yarn
command fail.I don't know why
PackageVersion
is empty. I know that arcade handles${FOO}PackageVersion
specially forPackageVersions.props
. Could that be settingPackageVersion
to empty too? Is there some way I can track what's settingPackageVersion
to empty (or perhaps, not setting to the right version it when it should be set)?cc
@chrisrummel@dougbu @mthalman @MichaelSimons @wtgodbeExpected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: