Skip to content

[vcpkg] Enhance detection of Anti-Virus messing with builds#33279

Merged
dan-shaw merged 3 commits intomicrosoft:masterfrom
BurningEnlightenment:dev/fix-build-av-workaround
Aug 29, 2023
Merged

[vcpkg] Enhance detection of Anti-Virus messing with builds#33279
dan-shaw merged 3 commits intomicrosoft:masterfrom
BurningEnlightenment:dev/fix-build-av-workaround

Conversation

@BurningEnlightenment
Copy link
Contributor

I recently encountered AV related build failures and wondered why the retry logic in vcpkg_execute_build_process.cmake didn't kick in. The error message generated on the failing machines includes the mt-executable's file-extension. The detection logic previously accounted for this until the function was overhauled in #18838 / #18488 / 6c9da67. However, I believe this to be an oversight.

The current error message matching attempt is too strict as the error
message occasionally spells out the extension (i.e. `mt.exe` instead of
`mt`).
@MonicaLiu0311 MonicaLiu0311 added the category:tool-update The issue is with build tool or build script, which requires update or should be executed correctly label Aug 21, 2023
@MonicaLiu0311
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@MonicaLiu0311 MonicaLiu0311 added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Aug 29, 2023
@dan-shaw dan-shaw merged commit 2411847 into microsoft:master Aug 29, 2023
@BurningEnlightenment BurningEnlightenment deleted the dev/fix-build-av-workaround branch August 31, 2023 06:02
autoantwort added a commit to autoantwort/vcpkg that referenced this pull request Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:tool-update The issue is with build tool or build script, which requires update or should be executed correctly info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants