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

Re: sasl mechanisms order

From: Victor Sudakov <sudakov_at_sibptus.tomsk.ru>
Date: Mon, 6 Sep 2010 13:59:22 +0700

Stefan Sperling wrote:
> > > > Colleagues, I understand that you are expecting a patch. I am sorry, I
> > > > am a systems administrator and not a programmer, my code writing
> > > > ability does not go beyond scripting.
> > >
> > > Can you try this patch and let me know if it works?
> >
> > Please try this one instead, it's slightly cleaner (no functional change).
> > Thanks.
>
> Ping. Did you find time to test this?
> Should we file an issue so we don't forget about this?

Sorry for the delay, I have been on vacation. Does not compile with
your patch.

On a FreeBSD 6.4 system I have the following error:

===> Building for subversion-1.6.12_1
/usr/local/bin/libtool --tag=CC --silent --mode=compile cc -O2 -fno-strict-aliasing -pipe -g -O2 -I./subversion/include -I./subversion -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/local/include -I/usr/local/include/neon -I/usr/local/include -I/usr/local/include -o subversion/libsvn_ra_svn/cyrus_auth.lo -c subversion/libsvn_ra_svn/cyrus_auth.c
subversion/libsvn_ra_svn/cyrus_auth.c: In function `get_sasl_mechanisms':
subversion/libsvn_ra_svn/cyrus_auth.c:748: error: structure has no member named `host'
subversion/libsvn_ra_svn/cyrus_auth.c:757: warning: passing arg 1 of `svn_ra_svn__find_mech' discards qualifiers from pointer target type
subversion/libsvn_ra_svn/cyrus_auth.c:761: warning: passing arg 1 of `svn_ra_svn__find_mech' discards qualifiers from pointer target type
subversion/libsvn_ra_svn/cyrus_auth.c:763: warning: passing arg 1 of `svn_ra_svn__find_mech' discards qualifiers from pointer target type
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/devel/subversion.
*** Error code 1

Stop in /usr/ports/devel/subversion.

On a FreeBSD 8.0 system I have the following error:
===> Building for subversion-1.6.12_1
/usr/local/bin/libtool --tag=CC --silent --mode=compile cc -O2 -pipe -fno-strict-aliasing -I./subversion/include -I./subversion -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/local/include -I/usr/local/include/neon -I/usr/local/include -I/usr/local/include -o subversion/libsvn_ra_svn/cyrus_auth.lo -c subversion/libsvn_ra_svn/cyrus_auth.c
subversion/libsvn_ra_svn/cyrus_auth.c: In function 'get_sasl_mechanisms':
subversion/libsvn_ra_svn/cyrus_auth.c:748: error: 'svn_ra_svn__session_baton_t' has no member named 'host'
subversion/libsvn_ra_svn/cyrus_auth.c:757: warning: passing argument 1 of 'svn_ra_svn__find_mech' discards qualifiers from pointer target type
subversion/libsvn_ra_svn/cyrus_auth.c:761: warning: passing argument 1 of 'svn_ra_svn__find_mech' discards qualifiers from pointer target type
subversion/libsvn_ra_svn/cyrus_auth.c:763: warning: passing argument 1 of 'svn_ra_svn__find_mech' discards qualifiers from pointer target type
*** Error code 1
1 error
*** Error code 1

Stop in /usr/ports/devel/subversion.
*** Error code 1

Stop in /usr/ports/devel/subversion.

It does compile without the patch though.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov_at_sibptus.tomsk.ru
Received on 2010-09-06 09:00:23 CEST

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.