subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <philip.mar...@wandisco.com>
Subject Re: [PATCH] Fix build errors in bindings with SWIG 3.0.4
Date Mon, 26 Jan 2015 09:28:04 GMT
Andreas Stieger <andreas.stieger@gmx.de> writes:

> Index: subversion/bindings/swig/include/proxy.swg
> ===================================================================
> --- subversion/bindings/swig/include/proxy.swg	(revision 1654697)
> +++ subversion/bindings/swig/include/proxy.swg	(working copy)
> @@ -83,13 +83,14 @@
>  
>      value = _swig_getattr(self, self.__class__, name)
>  
> -    # If we got back a different object than we have, we need to copy all our
> -    # metadata into it, so that it looks identical
> +    /* If we got back a different object than we have, we need to copy all our
> +     * metadata into it, so that it looks identical
> +     */
>      members = self.__dict__.get("_members")

That file breaks for me:

$ make check-swig-py
if [ "LD_LIBRARY_PATH" = "DYLD_LIBRARY_PATH" ]; then for d in /home/pm/sw/subversion/obj/subversion/bindings/swig/python/libsvn_swig_py
/home/pm/sw/subversion/obj/subversion/bindings/swig/python/../../../libsvn_*; do if [ -n "$DYLD_LIBRARY_PATH"
]; then LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$d/.libs"; else LD_LIBRARY_PATH="$d/.libs"; fi;
done; export LD_LIBRARY_PATH; fi; \
	cd /home/pm/sw/subversion/obj/subversion/bindings/swig/python; \
	  /usr/bin/python /home/pm/sw/subversion/obj/../src/subversion/bindings/swig/python/tests/run_all.py
Traceback (most recent call last):
  File "/home/pm/sw/subversion/obj/../src/subversion/bindings/swig/python/tests/run_all.py",
line 22, in <module>
    import mergeinfo, core, client, delta, checksum, pool, ra, wc, repository, \
  File "/home/pm/sw/subversion/src/subversion/bindings/swig/python/tests/mergeinfo.py", line
22, in <module>
    from svn import core, repos, fs
  File "/home/pm/sw/subversion/src/subversion/bindings/swig/python/tests/../svn/core.py",
line 26, in <module>
    from libsvn.core import *
  File "/home/pm/sw/subversion/obj/subversion/bindings/swig/python/libsvn/core.py", line 491
    /* If we got back a different object than we have, we need to copy all our
    ^
SyntaxError: invalid syntax
make: *** [check-swig-py] Error 1

I'm using swig 2.0.7-3 and python 2.7.3.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*

Mime
View raw message