This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: ARM64 Windows Non-Debug 3.x: random build error: failure during conversion to COFF: file invalid or corrupt
Type: Stage: resolved
Components: Build Versions: Python 3.11
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: eric.snow, nsait-linaro, vstinner
Priority: normal Keywords:

Created on 2022-02-28 22:53 by eric.snow, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (5)
msg414223 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2022-02-28 22:53
example: https://buildbot.python.org/all/#/builders/730/builds/4081
msg414245 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2022-03-01 07:59
example: https://buildbot.python.org/all/#/builders/730/builds/4081

Build FAILED.
       "C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\PCbuild\pcbuild.proj" (Build target) (1) ->
       "C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\PCbuild\pyexpat.vcxproj" (Build target) (26) ->
       (Link target) -> 
         LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt [C:\Workspace\buildarea\3.x.linaro-win-arm64.nondebug\build\PCbuild\pyexpat.vcxproj]
    0 Warning(s)
    1 Error(s)
msg414256 - (view) Author: Niyas Sait (nsait-linaro) * Date: 2022-03-01 10:47
I cannot reproduce this on local builds on the same machine and the failures are also intermittent on CI.

I am going to upgrade OS to Windows 11 and install Visual studio 2022. Hope that would resolve the issue.

I will update and keep an eye on the build to see if it would make any difference.
msg414409 - (view) Author: Niyas Sait (nsait-linaro) * Date: 2022-03-03 07:47
After the OS and toolchain update, I don't see the failures anymore.

https://buildbot.python.org/all/#/workers/45

I guess we can close the ticket and can reopen if it happens again.
msg414428 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2022-03-03 11:25
> I guess we can close the ticket and can reopen if it happens again.

Ok, let's do that!
History
Date User Action Args
2022-04-11 14:59:56adminsetgithub: 91042
2022-03-03 11:25:34vstinnersetstatus: open -> closed
resolution: fixed
messages: + msg414428

stage: needs patch -> resolved
2022-03-03 07:47:17nsait-linarosetmessages: + msg414409
2022-03-01 10:47:18nsait-linarosetnosy: + nsait-linaro
messages: + msg414256
2022-03-01 07:59:18vstinnersetmessages: + msg414245
title: pyexpat occasionally fails to build on the ARM64 Windows Non-Debug 3.x buildbot -> ARM64 Windows Non-Debug 3.x: random build error: failure during conversion to COFF: file invalid or corrupt
2022-02-28 22:53:08eric.snowcreate