[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Swig bindings builds are failing

From: Branko Čibej <brane_at_apache.org>
Date: Fri, 4 Jan 2019 16:22:33 +0100

The following just started appearing on the macos build slave, and
similar errors are being emitted on the Windows bots:

(see https://ci.apache.org/builders/svn-x64-macosx-full/builds/2275)

/bin/sh "/Volumes/svn-x64-macosx-full/libtool" --tag=CC --silent --mode=compile cc -arch i386 -arch x86_64 -pipe -O1 -g3 -fno-omit-frame-pointer -fno-inline -Werror=unknown-warning-option -DSVN_DEBUG -DAP_DEBUG -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -DDARWIN_10 -I/Volumes/svn-x64-macosx-full/subversion -I/srv/buildbot/slave/svn-x64-macosx-full/build/subversion/include -I/srv/buildbot/slave/svn-x64-macosx-full/build/subversion/bindings/swig -I/srv/buildbot/slave/svn-x64-macosx-full/build/subversion/bindings/swig/include -I/srv/buildbot/slave/svn-x64-macosx-full/build/subversion/bindings/swig/proxy -I/Volumes/svn-x64-macosx-full/subversion/bindings/swig/proxy -I/usr/local/opt/apr/libexec/include/apr-1 -I/usr/local/opt/apr-util/libexec/include/apr-1 -I/usr/local/opt/openssl/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/srv/buildbot/slave/svn-x64-macosx-full/build/subversion/bindings/swig/python/libsvn_swig_py -prefer-pic -c -o subversion/bindings/swig/python/core.l
o subversion/bindings/swig/python/core.c
subversion/bindings/swig/python/core.c:38841:91: error: cannot take the address of an rvalue of type 'int'
  SWIG_Python_SetConstant(d, "SWIG_SVN_INVALID_REVNUM",SWIG_NewPointerObj(SWIG_as_voidptr(&-1),SWIGTYPE_p_svn_revnum_t, 0 ));
                                                                                          ^~~
subversion/bindings/swig/python/core.c:3175:52: note: expanded from macro 'SWIG_as_voidptr'
#define SWIG_as_voidptr(a) (void *)((const void *)(a))
                                                   ^
subversion/bindings/swig/python/core.c:1164:89: note: expanded from macro 'SWIG_NewPointerObj'
#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
                                                                                        ^~~
subversion/bindings/swig/python/core.c:38842:91: error: cannot take the address of an rvalue of type 'int'
  SWIG_Python_SetConstant(d, "SWIG_SVN_IGNORED_REVNUM",SWIG_NewPointerObj(SWIG_as_voidptr(&-1),SWIGTYPE_p_svn_revnum_t, 0 ));
                                                                                          ^~~
subversion/bindings/swig/python/core.c:3175:52: note: expanded from macro 'SWIG_as_voidptr'
#define SWIG_as_voidptr(a) (void *)((const void *)(a))
                                                   ^
subversion/bindings/swig/python/core.c:1164:89: note: expanded from macro 'SWIG_NewPointerObj'
#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
                                                                                        ^~~
2 errors generated.
make: *** [subversion/bindings/swig/python/core.lo] Error 1

-- Brane
Received on 2019-01-04 16:22:42 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.