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.

classification
Title: 2.7 OS X installer builds fail building OpenSSL on OS X 10.4 / Xcode 2.5
Type: Stage: resolved
Components: Build, macOS Versions: Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ned.deily Nosy List: ned.deily, python-dev, ronaldoussoren
Priority: low Keywords:

Created on 2014-12-11 20:41 by ned.deily, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg232490 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2014-12-11 20:41
As of 2.7.9, OS X installer builds now build and link with a private copy of OpenSSL when building for deployment targets of 10.5 or earlier (see Issue17128).  Although we no longer produce installers for earlier than 10.5 and even then built them on 10.5 systems, the legacy installer dmg buildbot still produces 10.3+ builds on OS X 10.4 (presumably using the Xcode 2.5 tool chain) and now fails. 

x86cpuid.s:327:Rest of line ignored. 1st junk character valued 44 (,).
make[1]: *** [x86cpuid.o] Error 1
make: *** [build_crypto] Error 1

I have verified that it is still possible to build for 10.3+ using Xcode 3.1.6 on OS X 10.5 so there is that workaround if anyone needs to build installers for old systems.

It looks like a fix is to disable assembly code in OpenSSL ("no-asm") when building on 10.4.

http://buildbot.python.org/all/builders/bolen-dmg-2.7
https://trac.macports.org/ticket/42049
msg232504 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-12-11 23:56
New changeset dd677917355d by Ned Deily in branch '2.7':
Issue #23032: Fix installer build failures on OS X 10.4 Tiger
https://hg.python.org/cpython/rev/dd677917355d
History
Date User Action Args
2022-04-11 14:58:11adminsetgithub: 67221
2014-12-11 23:57:31ned.deilysetstatus: open -> closed
resolution: fixed
stage: needs patch -> resolved
2014-12-11 23:56:37python-devsetnosy: + python-dev
messages: + msg232504
2014-12-11 20:41:07ned.deilycreate