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.

Author pitrou
Recipients eric.araujo, pitrou, tarek
Date 2011-03-18.18:33:55
SpamBayes Score 0.00017618954
Marked as misclassified No
Message-id <>
Really, can't distutils at least display the command-line that failed to execute?

Traceback (most recent call last):
  File "/home/antoine/cpython/default/Lib/distutils/", line 176, in _compile
  File "/home/antoine/cpython/default/Lib/distutils/", line 911, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/home/antoine/cpython/default/Lib/distutils/", line 34, in spawn
    _spawn_posix(cmd, search_path, dry_run=dry_run)
  File "/home/antoine/cpython/default/Lib/distutils/", line 138, in _spawn_posix
    % (cmd[0], exit_status))
distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/antoine/cpython/default/Lib/test/", line 42, in test_subinterps
    exe = self.make_exe("embed1.c")
  File "/home/antoine/cpython/default/Lib/test/", line 29, in make_exe
    compiler.compile([srcpath], output_dir=build_dir)
  File "/home/antoine/cpython/default/Lib/distutils/", line 576, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/home/antoine/cpython/default/Lib/distutils/", line 178, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command 'gcc' failed with exit status 1
Date User Action Args
2011-03-18 18:33:56pitrousetrecipients: + pitrou, tarek, eric.araujo
2011-03-18 18:33:56pitrousetmessageid: <>
2011-03-18 18:33:56pitroulinkissue11599 messages
2011-03-18 18:33:55pitroucreate