[issue37916] distutils: allow overriding of the RANLIB command on macOS (darwin)

2021-02-03 Thread Steve Dower


Steve Dower  added the comment:

Distutils is now deprecated (see PEP 632) and all tagged issues are being 
closed. From now until removal, only release blocking issues will be considered 
for distutils.

If this issue does not relate to distutils, please remove the component and 
reopen it. If you believe it still requires a fix, most likely the issue should 
be re-reported at https://github.com/pypa/setuptools

--
nosy: +steve.dower
resolution:  -> out of date
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

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



[issue37916] distutils: allow overriding of the RANLIB command on macOS (darwin)

2019-12-09 Thread Ned Deily


Ned Deily  added the comment:

Thank you for the PR. I did a quick look at it and added some comments to the 
PR including wondering whether the root cause of the problematic behavior is 
elsewhere in Distutils.

--
nosy: +ned.deily

___
Python tracker 

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



[issue37916] distutils: allow overriding of the RANLIB command on macOS (darwin)

2019-11-03 Thread Isuru Fernando


Isuru Fernando  added the comment:

This is an issue even without cross-compilations as there is an environment 
variable for the archiver and therefore the archiver and ranlib can be from 2 
different toolchains and leads to error. Ran into this issue in python 3.8 on 
macOS with an lto build

--
nosy: +isuruf

___
Python tracker 

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



[issue37916] distutils: allow overriding of the RANLIB command on macOS (darwin)

2019-09-02 Thread Alexandru Ardelean


Alexandru Ardelean  added the comment:

ping here :)
any thoughts/feedback?

the fix looks interesting, and I'm also interested in seeing a resolution for 
this

--
nosy: +Alexandru Ardelean

___
Python tracker 

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



[issue37916] distutils: allow overriding of the RANLIB command on macOS (darwin)

2019-08-23 Thread Ned Deily


Change by Ned Deily :


--
components: +Distutils
nosy: +dstufft, eric.araujo

___
Python tracker 

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



[issue37916] distutils: allow overriding of the RANLIB command on macOS (darwin)

2019-08-22 Thread Roundup Robot


Change by Roundup Robot :


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

___
Python tracker 

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



[issue37916] distutils: allow overriding of the RANLIB command on macOS (darwin)

2019-08-22 Thread Jakub Piotr Cłapa

New submission from Jakub Piotr Cłapa :

On a macOS hosts the system ranlib does not understand ELF
files so using the "ranlib" command causes errors during cross-compilations.

The simplest way to fix it is to pass the RANLIB parameter provided to setup.py 
through to the distutils compiler machinery. This is analogous to the way the 
C/C++ cross-compiler is configured.

This change (in a GitHub PR) was required to proceed with crosscompiling numpy. 
It should help with other packages too (if they use distutils and need ranlib).

--
components: Cross-Build
messages: 350185
nosy: Alex.Willmer, Jakub Piotr Cłapa
priority: normal
severity: normal
status: open
title: distutils: allow overriding of the RANLIB command on macOS (darwin)
type: compile error

___
Python tracker 

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