Mercurial 2.1.1 fails to build on OS X Lion with Xcode 4.3 and command line tools installed
Scott Palmer
swpalmer at gmail.com
Fri Mar 2 03:31:52 UTC 2012
This changeset: http://selenic.com/repo/hg/rev/82ce91a9fd94
changeset: 16187:82ce91a9fd94
branch: stable
parent: 16179:be6ac2ecc7f8
user: Greg Ward <greg at gerg.ca>
date: Mon Feb 27 08:54:26 2012 -0500
files: setup.py
description:
setup: handle output from Apple's Xcode 4.3 better (issue3277)
Apparently, it prints nothing at all if the user installed only the
command-line tools. In that case, don't try to parse the empty output
-- just assume they have Xcode >= 4.
Apparently isn't working when you have Xcode 4.3 and *do* have the command line tools installed. See for yourself:
$ hg sum
parent: 16202:53e2cd303ecf 2.1.1
dirstate: filecacheify _ignore (issue3278)
branch: stable
commit: (clean)
update: 2 new changesets (update)
$ make all
python setup.py build
Traceback (most recent call last):
File "setup.py", line 457, in <module>
version = version.splitlines()[0]
AttributeError: 'list' object has no attribute 'splitlines'
make: *** [build] Error 1
$ xcodebuild -version
Xcode 4.3
Build version 4E109
If I had Python skills I would try to fix it… but I don't… so I'm asking for assistance.
Thanks,
Scott
(please keep me CC'd. I'm not subscribed to the dev list)
More information about the Mercurial-devel
mailing list