You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
32-bit windows builds on Azure sometimes fail to find mingw nm.exe #18119
The windows python3.9 32-bit build on azure, master (after merges) occasionally fails with
@pytest.mark.skipif(sys.platform != 'win32', reason='win32 only test')
def test_build_import():
'''Test the mingw32ccompiler.build_import_library, which builds a
`python.a` from the MSVC `python.lib`
'''
# make sure `nm.exe` exists and supports the current python version. This
# can get mixed up when the PATH has a 64-bit nm but the python is 32-bit
try:
> out = subprocess.check_output(['nm.exe', '--help'])
...
process = <Popen: returncode: 4294967295 args: ['nm.exe', '--help']>
stdout = b"Cannot find file at '..\\\\lib\\mingw\\tools\\install\\mingw64\\x86_64-w64-mingw32\\bin\\nm.exe' \
(C:\\ProgramData\\C...\mingw\\tools\\install\\mingw64\\x86_64-w64-mingw32\\bin\\nm.exe). \
This usually indicates a missing or moved file.\r\n"
stderr = None, retcode = 4294967295
I am not sure what is going on and why it is flaky.
Activity
rgommers commentedon Aug 18, 2023
We no longer have this job, so closing this issue.