Skip to content

Conversation

@mthalman
Copy link
Member

Signed builds in the 10.0.2xx branch fail in the SB_CentOSStream10_Offline_MsftSdk_x64 job with the following error in the Prep Source Build step:

mkdir: cannot create directory '/__w/1/s/.dotnet': File exists

This happens because the "Install .NET 8.0 SDK for MicroBuild Plugin" step has already installed an SDK at that location.

This is resolved by ensuring the .dotnet directory is removed. The SDK installed for MicroBuild is no longer needed at this point in the build.

@mthalman mthalman enabled auto-merge (squash) October 14, 2025 18:14
@mthalman
Copy link
Member Author

/backport to main

@github-actions
Copy link
Contributor

@mthalman
Copy link
Member Author

/backport to release/10.0.1xx

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@mthalman backporting to "main" failed, the patch most likely resulted in conflicts:

$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Applying: Clean existing .dotnet dir
Using index info to reconstruct a base tree...
M	eng/pipelines/templates/jobs/vmr-build.yml
Falling back to patching base and 3-way merge...
Auto-merging eng/pipelines/templates/jobs/vmr-build.yml
CONFLICT (content): Merge conflict in eng/pipelines/templates/jobs/vmr-build.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 Clean existing .dotnet dir
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

@github-actions
Copy link
Contributor

@mthalman backporting to "release/10.0.1xx" failed, the patch most likely resulted in conflicts:

$ git am --3way --empty=keep --ignore-whitespace --keep-non-patch changes.patch

Applying: Clean existing .dotnet dir
Using index info to reconstruct a base tree...
M	eng/pipelines/templates/jobs/vmr-build.yml
Falling back to patching base and 3-way merge...
Auto-merging eng/pipelines/templates/jobs/vmr-build.yml
CONFLICT (content): Merge conflict in eng/pipelines/templates/jobs/vmr-build.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 Clean existing .dotnet dir
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

@mthalman mthalman merged commit 8e9bcd2 into dotnet:release/10.0.2xx Oct 14, 2025
7 checks passed
@mthalman mthalman deleted the dev/mthalman/sb-signing-build branch October 14, 2025 20:27
@mthalman
Copy link
Member Author

/backport to main

@mthalman
Copy link
Member Author

/backport to release/10.0.1xx

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants