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

Re: Gnome Keyring in 1.6 not working with JavaHL

From: Stefan Sperling <stsp_at_elego.de>
Date: Sun, 5 Apr 2009 17:16:15 +0100

On Sun, Apr 05, 2009 at 11:43:59AM -0400, Mark Phippard wrote:
> I think we had this problem when the feature was first added and it
> was fixed, but I cannot find it now in the history, maybe it was for
> KWallet? I do know this feature was working well at one time though.
>
> When a Subclipse user uses JavaHL and it has been built with gnome
> keyring, their Eclipse essentially hangs. A Subclipse user that uses
> Gentoo has filed a bug report with some details:
>
> http://subclipse.tigris.org/issues/show_bug.cgi?id=889
>
> Basically, it is an Invalid Thread Access exception.
>
> I see the same thing with the RPM's we are packaging at CollabNet. I
> was in the process of testing my own build when this bug report came
> in.

On OpenBSD, I had to put -pthread into CFLAGS for *all* of Subversion,
because otherwise the linker complained about unresolved symbols wrt
pthread when the GNOME keyring library was loaded at run time.

The OpenBSD Subversion 1.6 port has this in its Makefile:

  # gnome-keyring depends on dbus depends on pthread, so svn won't be able
  # to load libsvn_auth_gnome_keyring without this:
  WANTLIB-main+= pthread
  CFLAGS+= -pthread

I don't know if that is related. Mentioning it just in case it helps.

Stefan
Received on 2009-04-05 18:16:43 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.