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.

Title: Python build problems via Homebrew on Mac OS X when GNU core/find utils are default
Type: compile error Stage: resolved
Components: Build, macOS Versions: Python 3.4, Python 3.5, Python 2.7
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ned.deily Nosy List: ned.deily, python-dev, ronaldoussoren, todd_dsm
Priority: normal Keywords:

Created on 2014-09-23 19:39 by todd_dsm, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg227379 - (view) Author: Todd Thomas (todd_dsm) Date: 2014-09-23 19:39
Installing Python via Homebrew on Mac OS X has build issues if the GNU core/find utils are set as defaults on the system. OS X is very common, on it Homebrew is very common, via Homebrew GNU utilities are among the first installations; EG:

GNU core/find utils are likely the most common tools use on POSIX systems but Mac wants to keep rolling with UNIX tools. The Makefile is flexible. If it discovers the rm program in: /usr/local/opt/coreutils/libexec/gnubin/rm (where Homebrew would install it) the build 'could' break.

Testing is ad hoc but seen by many and confirmed as "likely" by ned_deily; he adds: "that particular problem is simple to fix: just change the Makefile to /usr/bin/rm."

This is the work-around for now.

Props to ned_deily; this is an old/annoying problem, now solved.
msg227383 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-09-23 19:54
New changeset 5444c2e22ff8 by Ned Deily in branch '2.7':
Issue #22471: Avoid Python install problems by removing

New changeset ff2cb4dc36e7 by Ned Deily in branch '3.4':
Issue #22471: Avoid Python install problems by removing

New changeset 9c9980c3c38c by Ned Deily in branch 'default':
Issue #22471: Avoid Python install problems by removing
msg227384 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2014-09-23 19:57
Thanks for the report!  On further inspection, the whole rm thing isn't needed anymore with Python no longer maintained in svn.  Fixed for release in 2.7.9, 3.4.3, and 3.5.0.
Date User Action Args
2022-04-11 14:58:08adminsetgithub: 66661
2014-09-23 19:57:16ned.deilysetstatus: open -> closed

assignee: ronaldoussoren -> ned.deily
components: + Build
versions: + Python 3.4, Python 3.5
nosy: + ned.deily

messages: + msg227384
resolution: fixed
stage: resolved
2014-09-23 19:54:50python-devsetnosy: + python-dev
messages: + msg227383
2014-09-23 19:39:40todd_dsmcreate