-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
subversion: make python bindings build on 10.9. #26156
Conversation
Need to filter out CPPFLAGS that confuse swig, see Homebrew#23993.
# Prevent '-arch ppc' from being pulled in from Perl's $Config{ccflags} | ||
# 1. Prevent '-arch ppc' from being pulled in from Perl's $Config{ccflags} | ||
# 2. Fix python bindings compile on 10.9 | ||
# http://subversion.tigris.org/issues/show_bug.cgi?id=4465 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks from the thread that this might not be the right approach.
Based on feedback from the subversion issue tracker, will backport r1535610 instead. This reverts commit 06031e6.
Need to filter out CPPFLAGS that confuse swig, see Homebrew#23993.
Subversion views this as a homebrew problem because you can successfully build subversion from source. After digging into this more closely, it turns out that there are two related problems that are currently causing all subversion swig bindings to fail to build—try First, Homebrew adds Secondly, if you have This pull request fixes both of these issues. On subversion trunk there is now a separate What are your thoughts on enabling bindings by default so that the continuous integration bot will automatically catch problems building them? |
I'd rather pull that upstream |
That’s exactly what this does—patch 2 is the output of |
Can this be rebased on master and made to work with 1.8.8? |
This was actually pulled in 648a5f2. When building 1.8.8 with homebrew now, the part of the patch that’s still in master applies cleanly, and the unit tests for the Python bindings all pass. So I believe this pull request can be closed. Thanks!
|
Need to filter out CPPFLAGS that confuse swig, see #23993.
Subversion’s build system is complicated. build.conf is processed by a python module called by another python script which generates an auto-included Makefile that passes
$(CPPFLAGS)
to swig, but swig doesn’t know what to do with-F/usr/local/Frameworks
or-isystem/usr/local...
. This adds some GNU make magic to strip out those extra arguments from the$(CPPFLAGS)
passed to swig.