Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Python 2.7.6 fails to build #24366

Closed
koenvanderdrift opened this issue Nov 15, 2013 · 3 comments
Closed

Python 2.7.6 fails to build #24366

koenvanderdrift opened this issue Nov 15, 2013 · 3 comments

Comments

@koenvanderdrift
Copy link

Since a few days, I am unable to build the latest python; I'm running 10.9:

==> Upgrading 1 outdated package, with result:
python 2.7.6
==> Upgrading python
rm /usr/local/bin/smtpd2.py
rm /usr/local/bin/smtpd2.7.py
rm /usr/local/bin/smtpd.py
rm /usr/local/bin/pythonw2.7
rm /usr/local/bin/pythonw2
rm /usr/local/bin/pythonw
rm /usr/local/bin/python2.7-config
rm /usr/local/bin/python2.7
rm /usr/local/bin/python2-config
rm /usr/local/bin/python2
rm /usr/local/bin/python-config
rm /usr/local/bin/python
rm /usr/local/bin/pydoc2.7
rm /usr/local/bin/pydoc2
rm /usr/local/bin/pydoc
rm /usr/local/bin/pip-2.7
rm /usr/local/bin/pip
rm /usr/local/bin/idle2.7
rm /usr/local/bin/idle2
rm /usr/local/bin/idle
rm /usr/local/bin/easy_install-2.7
rm /usr/local/bin/easy_install
rm /usr/local/bin/2to3-2.7
rm /usr/local/bin/2to3-2
rm /usr/local/bin/2to3
rm /usr/local/share/python
rm /usr/local/share/man/man1/python2.7.1
rm /usr/local/share/man/man1/python2.1
rm /usr/local/share/man/man1/python.1
rm /usr/local/Frameworks/Python.framework/Versions/Current
rm /usr/local/Frameworks/Python.framework/Versions/2.7
rm /usr/local/Frameworks/Python.framework/Resources
rm /usr/local/Frameworks/Python.framework/Python
rm /usr/local/Frameworks/Python.framework/Headers
rmdir /usr/local/Frameworks/Python.framework/Versions
rmdir /usr/local/Frameworks/Python.framework
rmdir /usr/local/Frameworks
==> Downloading http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz
Already downloaded: /Library/Caches/Homebrew/python-2.7.6.tgz
tar xf /Library/Caches/Homebrew/python-2.7.6.tgz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
patching file Lib/_osx_support.py
Hunk #1 FAILED at 53.
Hunk #2 FAILED at 68.
2 out of 2 hunks FAILED -- saving rejects to file Lib/_osx_support.py.rej
patching file setup.py
Hunk #1 succeeded at 1859 (offset 49 lines).
Hunk #2 succeeded at 1904 (offset 49 lines).
Hunk #3 succeeded at 1928 (offset 49 lines).
ln -s ../Cellar/python/2.7.5/bin/smtpd2.py smtpd2.py
ln -s ../Cellar/python/2.7.5/bin/smtpd2.7.py smtpd2.7.py
ln -s ../Cellar/python/2.7.5/bin/smtpd.py smtpd.py
ln -s ../Cellar/python/2.7.5/bin/pythonw2.7 pythonw2.7
ln -s ../Cellar/python/2.7.5/bin/pythonw2 pythonw2
ln -s ../Cellar/python/2.7.5/bin/pythonw pythonw
ln -s ../Cellar/python/2.7.5/bin/python2.7-config python2.7-config
ln -s ../Cellar/python/2.7.5/bin/python2.7 python2.7
ln -s ../Cellar/python/2.7.5/bin/python2-config python2-config
ln -s ../Cellar/python/2.7.5/bin/python2 python2
ln -s ../Cellar/python/2.7.5/bin/python-config python-config
ln -s ../Cellar/python/2.7.5/bin/python python
ln -s ../Cellar/python/2.7.5/bin/pydoc2.7 pydoc2.7
ln -s ../Cellar/python/2.7.5/bin/pydoc2 pydoc2
ln -s ../Cellar/python/2.7.5/bin/pydoc pydoc
ln -s ../Cellar/python/2.7.5/bin/pip-2.7 pip-2.7
ln -s ../Cellar/python/2.7.5/bin/pip pip
ln -s ../Cellar/python/2.7.5/bin/idle2.7 idle2.7
ln -s ../Cellar/python/2.7.5/bin/idle2 idle2
ln -s ../Cellar/python/2.7.5/bin/idle idle
ln -s ../Cellar/python/2.7.5/bin/easy_install-2.7 easy_install-2.7
ln -s ../Cellar/python/2.7.5/bin/easy_install easy_install
ln -s ../Cellar/python/2.7.5/bin/2to3-2.7 2to3-2.7
ln -s ../Cellar/python/2.7.5/bin/2to3-2 2to3-2
ln -s ../Cellar/python/2.7.5/bin/2to3 2to3
ln -s ../Cellar/python/2.7.5/share/python python
ln -s ../../../Cellar/python/2.7.5/share/man/man1/python2.7.1 python2.7.1
ln -s ../../../Cellar/python/2.7.5/share/man/man1/python2.1 python2.1
ln -s ../../../Cellar/python/2.7.5/share/man/man1/python.1 python.1
ln -s ../../../Cellar/python/2.7.5/Frameworks/Python.framework/Versions/Current Current
ln -s ../../../Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7 2.7
ln -s ../../Cellar/python/2.7.5/Frameworks/Python.framework/Resources Resources
ln -s ../../Cellar/python/2.7.5/Frameworks/Python.framework/Python Python
ln -s ../../Cellar/python/2.7.5/Frameworks/Python.framework/Headers Headers
ln -s ../../Cellar/python/2.7.5 python
ln -s ../Cellar/python/2.7.5 python
Error: Failure while executing: /usr/bin/patch -f -p1 -i 000-homebrew.diff
koen@localhost:~$

@mistydemeo
Copy link
Member

Please follow the troubleshooting guide and post the requested diagnostics, thanks!

@mistydemeo
Copy link
Member

Should be fixed, can you retry?

@koenvanderdrift
Copy link
Author

Thanks, it works now.

yriveiro pushed a commit to yriveiro/homebrew that referenced this issue Nov 26, 2013
ehershey pushed a commit to ehershey/homebrew that referenced this issue Apr 4, 2014
@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants