You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kai Nacke <ka...@redstar.de> on 2003/02/05 17:07:00 UTC

rev 4753: Compile error (+ [PATCH])

Hi all!

rev 4753 does not compile the python extensions due to a unclosed { in apr.i:

swigging 
/usr/src/packages/BUILD/subversion-r4753/subversion/bindings/swig/svn_client.i 
to build/svn_client.c
/usr/bin/swig -c -python -noproxy 
-I/usr/src/packages/BUILD/subversion-r4753/subversion/bindings/swig 
-I/usr/src/packages/BUILD/subversion-r4753/subversion/include 
-I/usr/include/apache2-worker -I/usr/include/python2.2 -o build/svn_client.c 
/usr/src/packages/BUILD/subversion-r4753/subversion/bindings/swig/svn_client.i
/usr/src/packages/BUILD/subversion-r4753/subversion/bindings/swig/apr.i:146: 
Missing '}'. Reached end of input.
error: command '/usr/bin/swig' failed with exit status 1
make: *** [swig-py-ext] Fehler 1

The following patch corrects the problem:

--- apr.i.orig	Wed Feb  5 17:57:05 2003
+++ apr.i	Wed Feb  5 17:57:15 2003
@@ -142,7 +142,7 @@
     "$result = t_output_helper(
         $result,
         SWIG_NewPointerObj(*$1, $*1_descriptor, 0));";
-%typemap(java,argout,fragment="t_output_helper") apr_file_t ** {
+%typemap(java,argout,fragment="t_output_helper") apr_file_t **
     /* HELP: Is there a JNI equivalent of SWIG_NewPointerObj, or is
        this actually a cross-language typemap? */
     "$result = t_output_helper(

Kai

Re: rev 4753: Compile error (+ [PATCH])

Posted by Kai Nacke <ka...@redstar.de>.
> Any reason you didn't use 'svn diff'?

Yes. I tried to build a RPM, and do error occured outside my working copy.
(I vow to improve in future ;-)

Kai


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: rev 4753: Compile error (+ [PATCH])

Posted by Philip Martin <ph...@codematters.co.uk>.
Kai Nacke <ka...@redstar.de> writes:

> The following patch corrects the problem:

Applied in r4754, thanks!

> 
> --- apr.i.orig	Wed Feb  5 17:57:05 2003
> +++ apr.i	Wed Feb  5 17:57:15 2003
> @@ -142,7 +142,7 @@

Any reason you didn't use 'svn diff'?

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org