-
-
Notifications
You must be signed in to change notification settings - Fork 34.1k
Open
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
I'm a little hesitant to post this as I've had no luck reproducing it in isolation. On an up-to-date MacOS in an up-to-date checkout of the main branch. I consistently get a failure for test_tools. This traceback is produced.
ERROR: test_freeze_simple_script (test.test_tools.test_freeze.TestFreeze.test_freeze_simple_script)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/skip/src/python/cpython/Lib/test/test_tools/test_freeze.py", line 34, in test_freeze_simple_script
outdir, scriptfile, python = helper.prepare(script, outdir)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/Users/skip/src/python/cpython/Tools/freeze/test/freeze.py", line 156, in prepare
_run_quiet([MAKE, 'install'], cwd=builddir)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/skip/src/python/cpython/Tools/freeze/test/freeze.py", line 35, in _run_quiet
return subprocess.run(
~~~~~~~~~~~~~~^
cmd,
^^^^
...<3 lines>...
check=True,
^^^^^^^^^^^
)
^
File "/Users/skip/src/python/cpython/Lib/subprocess.py", line 576, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['/usr/bin/make', 'install']' returned non-zero exit status 2.When I run it in isolation, it passes. It also passes on my Linux machine.
The make man page on my Mac is a bit vague about an exit status of two, just that an error was encountered.
I'd be happy to try and dig into this, but am at a loss. If you have some suggestions, let me know.
CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error