[issue42056] Configure on Apple ARM: "Unexpected output of 'arch' on OSX"

2020-10-16 Thread Misty De Méo

New submission from Misty De Méo :

Configure's `arch` check on Macs running with Apple Silicon CPUs will fail 
because the list of acceptable architectures is hardcoded to Intel and PowerPC: 
https://github.com/python/cpython/blob/master/configure.ac#L2486-L2496

This needs a clause that adds "arm64" as an acceptable arch.

--
components: Build
messages: 378776
nosy: mistydemeo
priority: normal
severity: normal
status: open
title: Configure on Apple ARM: "Unexpected output of 'arch' on OSX"
versions: Python 3.9

___
Python tracker 
<https://bugs.python.org/issue42056>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42056] Configure on Apple ARM: "Unexpected output of 'arch' on OSX"

2020-10-16 Thread Misty De Méo

Change by Misty De Méo :


--
keywords: +patch
pull_requests: +21696
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/22732

___
Python tracker 
<https://bugs.python.org/issue42056>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41100] Build failure on macOS 11 (beta)

2020-10-27 Thread Misty De Méo

Change by Misty De Méo :


--
nosy: +mistydemeo
nosy_count: 11.0 -> 12.0
pull_requests: +21922
pull_request: https://github.com/python/cpython/pull/22732

___
Python tracker 
<https://bugs.python.org/issue41100>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37285] Python 2.7 setup.py incorrectly double-joins SDKROOT

2019-06-14 Thread Misty De Méo

New submission from Misty De Méo :

Python 2.7's setup.py has incorrect behaviour when adding the SDKROOT to the 
beginning of the include path while searching.

When searching paths, find_file first checks is_macosx_sdk_path  to see if it 
needs to add the sdk_root: 
https://github.com/python/cpython/blob/2.7/setup.py#L87-L88

This is mostly correct, except one of the path prefixes it checks is /Library: 
https://github.com/python/cpython/blob/2.7/setup.py#L64

The Xcode CLT path is located in /Library, so this check passes. That means the 
/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk portion of the path 
gets repeated, leading to an invalid path.

I recognize Python 2.7 isn't in active development, but I have a minimal patch 
to fix this that I will be submitting.

--
components: Build
messages: 345626
nosy: mistydemeo
priority: normal
severity: normal
status: open
title: Python 2.7 setup.py incorrectly double-joins SDKROOT
type: compile error
versions: Python 2.7

___
Python tracker 
<https://bugs.python.org/issue37285>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37285] Python 2.7 setup.py incorrectly double-joins SDKROOT

2019-06-14 Thread Misty De Méo

Change by Misty De Méo :


--
keywords: +patch
pull_requests: +13949
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/14095

___
Python tracker 
<https://bugs.python.org/issue37285>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com