Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 458168

Summary: dev-lang/python-3.3.0 fails to build on Mac OS X [bootstrap broken, patch included]
Product: Gentoo/Alt Reporter: Richard Yao (RETIRED) <ryao>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED DUPLICATE    
Severity: normal CC: python
Priority: Normal Keywords: Bug, PATCH, REGRESSION, REVIEWED
Version: unspecified   
Hardware: All   
OS: All   
URL: http://bugs.python.org/issue17228
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to use unsigned int when preprocessor definitions are unavailable
dev-lang/python-3.3.0 failure log

Description Richard Yao (RETIRED) gentoo-dev 2013-02-18 19:49:05 UTC
Created attachment 339294 [details, diff]
Patch to use unsigned int when preprocessor definitions are unavailable

We are building Python 3.3 without PYMALLOC on Mac OS X. Unfortunately, the preprocessor definition for uint is only defined when building with PYMALLOC, which breaks builds without PYMALLOC.
Comment 1 Richard Yao (RETIRED) gentoo-dev 2013-02-18 19:49:30 UTC
Created attachment 339296 [details]
dev-lang/python-3.3.0 failure log
Comment 2 Mike Gilbert gentoo-dev 2013-02-18 19:58:52 UTC
The patch seems pretty safe to me. Please make sure to file a bug upstream as well.
Comment 3 Fabian Groffen gentoo-dev 2013-02-18 20:07:17 UTC
yeah, agreed, feels pretty safe
Comment 4 Richard Yao (RETIRED) gentoo-dev 2013-02-18 20:37:45 UTC
I have sent the patch upstream. See the URL field for the link.
Comment 5 Fabian Groffen gentoo-dev 2013-02-18 20:40:41 UTC
thanks, confirmed, and patch added/applied.

*** This bug has been marked as a duplicate of bug 452720 ***
Comment 6 Richard Yao (RETIRED) gentoo-dev 2013-02-20 22:23:09 UTC
This patch has been merged upstream:

http://hg.python.org/cpython/rev/470350fd2831