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: OS X Installer: build errors on 10.6 when targeting 10.4 and earlier
Type: compile error Stage: resolved
Components: macOS Versions: Python 3.1, Python 3.2
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: ronaldoussoren Nosy List: barry, benjamin.peterson, georg.brandl, ned.deily, ronaldoussoren
Priority: release blocker Keywords:

Created on 2010-03-05 11:02 by ned.deily, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue-sl-configure-26.txt ned.deily, 2010-03-05 11:02
issue-sl-configure-31.txt ned.deily, 2010-03-05 11:03
issue-sl-configure-py3k.txt ned.deily, 2010-03-05 11:03
Messages (11)
msg100465 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2010-03-05 11:02
When building on 10.6 with a deployment target of 10.3 or 10.4,
various build errors occur, like:
    warning: 'struct winsize' declared inside parameter list
    error: 'struct rusage' has no member named 'ru_maxrss'

The problem is a test in configure.in that isn't prepared to handle
a two-digit Darwin kernel version: OS X 10.6 is Darwin 10.  The
patches backport the fix from trunk(2.7) to 2.6, 3.1, and py3k(3.2).
(As usual, autoconf needs to be run after applying to update configure.)
msg100568 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2010-03-07 09:23
Barry and Benjamin: IMHO this should be fixed before 2.6.5 and 3.1.2 are released, the patch is safe and works (and is already in the trunk).
msg100589 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2010-03-07 16:20
2010/3/7 Ronald Oussoren <report@bugs.python.org>:
>
> Ronald Oussoren <ronaldoussoren@mac.com> added the comment:
>
> Barry and Benjamin: IMHO this should be fixed before 2.6.5 and 3.1.2 are released, the patch is safe and works (and is already in the trunk).

Ok. Would you mind merging it?
msg100605 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2010-03-07 20:42
Ned, thanks for the fix.  Ronald, please apply it to release26-maint for 2.6.5 rc 2.
msg100629 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2010-03-08 07:03
Committed in r78781 (2.6), r78782 (3.2) and r78783 (3.1)
msg100632 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2010-03-08 08:59
It looks like the patches were not applied correctly.
msg100661 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2010-03-08 18:22
2.6 should be fixed in r78805.  I won't have time to merge the fix into the other branches until at best later tonight.
msg100695 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2010-03-09 02:32
It sounds like this is fixed for 2.6.5 now.  I'm bumping the priority down and removing 2.6 from the Versions.
msg100698 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2010-03-09 02:58
Fix verified for 2.6.
It should still be considered a release blocker for 3.1.2.
msg100701 - (view) Author: Ronald Oussoren (ronaldoussoren) * (Python committer) Date: 2010-03-09 06:42
3.2 and 3.1 should now also be fixed (in r78808 and r78809)

Please test.
msg100706 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2010-03-09 08:42
Fix verified for 3.1 and py3k(3.2).
History
Date User Action Args
2022-04-11 14:56:58adminsetnosy: + georg.brandl
github: 52314
2010-03-09 09:00:50ronaldoussorensetstatus: open -> closed
2010-03-09 08:42:45ned.deilysetmessages: + msg100706
2010-03-09 06:42:19ronaldoussorensetmessages: + msg100701
2010-03-09 03:57:21benjamin.petersonsetpriority: high -> release blocker
2010-03-09 02:58:36ned.deilysetmessages: + msg100698
2010-03-09 02:32:45barrysetpriority: release blocker -> high

messages: + msg100695
versions: - Python 2.6
2010-03-08 18:22:40ronaldoussorensetmessages: + msg100661
2010-03-08 08:59:07ned.deilysetstatus: closed -> open

messages: + msg100632
2010-03-08 07:03:35ronaldoussorensetstatus: open -> closed

messages: + msg100629
stage: resolved
2010-03-07 20:42:08barrysetresolution: accepted
messages: + msg100605
2010-03-07 16:20:05benjamin.petersonsetmessages: + msg100589
2010-03-07 09:23:35ronaldoussorensetpriority: release blocker
nosy: + barry, benjamin.peterson
messages: + msg100568

2010-03-05 11:03:31ned.deilysetfiles: + issue-sl-configure-py3k.txt
2010-03-05 11:03:21ned.deilysetfiles: + issue-sl-configure-31.txt
2010-03-05 11:02:56ned.deilycreate