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

Re: 1.7.20 release candidates up for testing/signing

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 19 Mar 2015 23:12:42 +0000

Stefan Sperling <stsp_at_elego.de> writes:

> The 1.7.20 release is now up for testing/signing at
> https://dist.apache.org/repos/dist/dev/subversion
> Please add your signatures there.
>
> The anticipated release day is March 31.
>
> Note that libsvn_subr/mergeinfo-test 6 and 10 may have occasional failures
> (segfaults) due to a one-byte read past a string buffer (which cause a crash
> on OpenBSD and maybe on other platforms as well).
> This is not a regression from 1.7.19 where the problem already existed.

The Perl bindings do not build on my Debian/testing box. This is not a
regression from 1.7.19 since the problem is also present there. The
1.7.19 Perl bindings did build when I signed the tarball but I was using
the older Debian/stable at the time. The problem is:

In file included from core.c:731:0:
core.c: In function ‘SWIG_AsCharPtrAndSize’:
/usr/lib/x86_64-linux-gnu/perl/5.20/CORE/handy.h:124:34: error: ‘bool’ undeclared (first use in this function)

The header line in question is:

#define cBOOL(cbool) ((cbool) ? (bool)1 : (bool)0)

The core.c in the tarball is generated by SWIG 2.0.4 and has:

#ifdef bool
  #undef bool
#endif

The Perl bindings do build in 1.8.13 where SWIG 2.0.9 is used and core.c
has:

#ifdef bool
  /* Leave if macro is from C99 stdbool.h */
  #ifndef __bool_true_false_are_defined
    #undef bool
  #endif
#endif

The Perl bindings also build with the system SWIG 2.0.12 as that
generates the same code snippet as 2.0.9.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2015-03-20 00:13:18 CET

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