Closed Bug 1228963 Opened 9 years ago Closed 9 years ago

[osx 10.6] Failure when installing psutil Python package: "SystemError: Cannot locate working compiler"

Categories

(Mozilla QA Graveyard :: Infrastructure, defect)

45 Branch
All
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

04:30:08     INFO -  Collecting psutil>=0.7.1
 04:30:09     INFO -    Downloading http://pypi.pub.build.mozilla.org/pub/psutil-3.1.1.tar.gz (247kB)
 04:30:09     INFO -  Building wheels for collected packages: psutil
 04:30:09     INFO -    Running setup.py bdist_wheel for psutil
 04:30:10     INFO -    Complete output from command /Users/mozauto/jenkins/workspace/mozilla-aurora_update/build/venv/bin/python -c "import setuptools;__file__='/private/var/folders/yZ/yZhsfnp3G7Oyt3FhXtQzkE+++TI/-Tmp-/pip-build-H_iX4K/psutil/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /var/folders/yZ/yZhsfnp3G7Oyt3FhXtQzkE+++TI/-Tmp-/tmprGgQS0pip-wheel-:
 04:30:10     INFO -    running bdist_wheel
 04:30:10     INFO -    running build
 04:30:10     INFO -    running build_py
 04:30:10     INFO -    creating build
 04:30:10     INFO -    creating build/lib.macosx-10.6-intel-2.7
 04:30:10     INFO -    creating build/lib.macosx-10.6-intel-2.7/psutil
 04:30:10     INFO -    copying psutil/__init__.py -> build/lib.macosx-10.6-intel-2.7/psutil
 04:30:10     INFO -    copying psutil/_common.py -> build/lib.macosx-10.6-intel-2.7/psutil
 04:30:10     INFO -    copying psutil/_compat.py -> build/lib.macosx-10.6-intel-2.7/psutil
 04:30:10     INFO -    copying psutil/_psbsd.py -> build/lib.macosx-10.6-intel-2.7/psutil
 04:30:10     INFO -    copying psutil/_pslinux.py -> build/lib.macosx-10.6-intel-2.7/psutil
 04:30:10     INFO -    copying psutil/_psosx.py -> build/lib.macosx-10.6-intel-2.7/psutil
 04:30:10     INFO -    copying psutil/_psposix.py -> build/lib.macosx-10.6-intel-2.7/psutil
 04:30:10     INFO -    copying psutil/_pssunos.py -> build/lib.macosx-10.6-intel-2.7/psutil
 04:30:10     INFO -    copying psutil/_pswindows.py -> build/lib.macosx-10.6-intel-2.7/psutil
 04:30:10     INFO -    running build_ext
 04:30:10    ERROR -    Traceback (most recent call last):
 04:30:10     INFO -      File "<string>", line 1, in <module>
 04:30:10     INFO -      File "/private/var/folders/yZ/yZhsfnp3G7Oyt3FhXtQzkE+++TI/-Tmp-/pip-build-H_iX4K/psutil/setup.py", line 206, in <module>
 04:30:10     INFO -        main()
 04:30:10     INFO -      File "/private/var/folders/yZ/yZhsfnp3G7Oyt3FhXtQzkE+++TI/-Tmp-/pip-build-H_iX4K/psutil/setup.py", line 203, in main
 04:30:10     INFO -        setup(**setup_args)
 04:30:10     INFO -      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
 04:30:10     INFO -        dist.run_commands()
 04:30:10     INFO -      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
 04:30:10     INFO -        self.run_command(cmd)
 04:30:10     INFO -      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
 04:30:10     INFO -        cmd_obj.run()
 04:30:10     INFO -      File "/Users/mozauto/jenkins/workspace/mozilla-aurora_update/build/venv/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 175, in run
 04:30:10     INFO -        self.run_command('build')
 04:30:10     INFO -      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
 04:30:10     INFO -        self.distribution.run_command(command)
 04:30:10     INFO -      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
 04:30:10     INFO -        cmd_obj.run()
 04:30:10     INFO -      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build.py", line 127, in run
 04:30:10     INFO -        self.run_command(cmd_name)
 04:30:10     INFO -      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
 04:30:10     INFO -        self.distribution.run_command(command)
 04:30:10     INFO -      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
 04:30:10     INFO -        cmd_obj.run()
 04:30:10     INFO -      File "/Users/mozauto/jenkins/workspace/mozilla-aurora_update/build/venv/lib/python2.7/site-packages/setuptools/command/build_ext.py", line 49, in run
 04:30:10     INFO -        _build_ext.run(self)
 04:30:10     INFO -      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build_ext.py", line 307, in run
 04:30:10     INFO -        customize_compiler(self.compiler)
 04:30:10     INFO -      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/sysconfig.py", line 171, in customize_compiler
 04:30:10     INFO -        _osx_support.customize_compiler(_config_vars)
 04:30:10     INFO -      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_osx_support.py", line 418, in customize_compiler
 04:30:10     INFO -        _find_appropriate_compiler(_config_vars)
 04:30:10     INFO -      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_osx_support.py", line 191, in _find_appropriate_compiler
 04:30:10     INFO -        "Cannot locate working compiler")
 04:30:10     INFO -    SystemError: Cannot locate working compiler
 04:30:10     INFO -    ----------------------------------------
 04:30:10     INFO -    Failed building wheel for psutil
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
OS: Unspecified → Mac OS X
Hardware: Unspecified → All
Actually this is 10.6 only given that on those hosts we do not have the XCode command line tools (xcode-select --install) installed. The reported failures do not cause a broken build so I wonder if it is worth the time to get this fixed.
Summary: [osx] Failure when installing psutil Python package: "SystemError: Cannot locate working compiler" → [osx 10.6] Failure when installing psutil Python package: "SystemError: Cannot locate working compiler"
We would have to use a very old version (3.2.6) of the xcode command line tools.

I would say we drop any work on this bug unless we have real test breakage due to the missing xcode command line tools.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.