Skip to content

32-bit windows builds on Azure sometimes fail to find mingw nm.exe #18119

Closed

Description

@mattip

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

  1. rgommers commented on Aug 18, 2023

    @rgommers
    Member

    We no longer have this job, so closing this issue.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions