Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python build problems via Homebrew on Mac OS X when GNU core/find utils are default #66661

Closed
todddsm mannequin opened this issue Sep 23, 2014 · 3 comments
Closed

Python build problems via Homebrew on Mac OS X when GNU core/find utils are default #66661

todddsm mannequin opened this issue Sep 23, 2014 · 3 comments
Assignees
Labels
build The build process and cross-build OS-mac

Comments

@todddsm
Copy link
Mannequin

todddsm mannequin commented Sep 23, 2014

BPO 22471
Nosy @ronaldoussoren, @ned-deily

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/ned-deily'
closed_at = <Date 2014-09-23.19:57:16.829>
created_at = <Date 2014-09-23.19:39:40.213>
labels = ['OS-mac', 'build']
title = 'Python build problems via Homebrew on Mac OS X when GNU core/find utils are default'
updated_at = <Date 2014-09-23.19:57:16.825>
user = 'https://bugs.python.org/todddsm'

bugs.python.org fields:

activity = <Date 2014-09-23.19:57:16.825>
actor = 'ned.deily'
assignee = 'ned.deily'
closed = True
closed_date = <Date 2014-09-23.19:57:16.829>
closer = 'ned.deily'
components = ['Build', 'macOS']
creation = <Date 2014-09-23.19:39:40.213>
creator = 'todd_dsm'
dependencies = []
files = []
hgrepos = []
issue_num = 22471
keywords = []
message_count = 3.0
messages = ['227379', '227383', '227384']
nosy_count = 4.0
nosy_names = ['ronaldoussoren', 'ned.deily', 'python-dev', 'todd_dsm']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue22471'
versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

@todddsm
Copy link
Mannequin Author

todddsm mannequin commented Sep 23, 2014

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:
http://goo.gl/OodjHI

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.

@todddsm todddsm mannequin assigned ronaldoussoren Sep 23, 2014
@todddsm todddsm mannequin added OS-mac build The build process and cross-build labels Sep 23, 2014
@python-dev
Copy link
Mannequin

python-dev mannequin commented Sep 23, 2014

New changeset 5444c2e22ff8 by Ned Deily in branch '2.7':
Issue bpo-22471: Avoid Python Launcher.app install problems by removing
https://hg.python.org/cpython/rev/5444c2e22ff8

New changeset ff2cb4dc36e7 by Ned Deily in branch '3.4':
Issue bpo-22471: Avoid Python Launcher.app install problems by removing
https://hg.python.org/cpython/rev/ff2cb4dc36e7

New changeset 9c9980c3c38c by Ned Deily in branch 'default':
Issue bpo-22471: Avoid Python Launcher.app install problems by removing
https://hg.python.org/cpython/rev/9c9980c3c38c

@ned-deily
Copy link
Member

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.

@ned-deily ned-deily added the build The build process and cross-build label Sep 23, 2014
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build OS-mac
Projects
None yet
Development

No branches or pull requests

2 participants