pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/42515: devel/subversion "svnadmin create svn-repo" throws "svnadmin: SQLite is required to be compiled and run in thread-safe mode" error writes:

>>Release:        pkgsrc-current
> "svnadmin: SQLite is required to be compiled and run in thread-safe mode"

You have removed information on your system, this is important to diagnose 
I have (had?) similar problem on NetBSD 5.99.22 i386,
Joerg asserts that he doesn't see it on NetBSD/amd64 (I understood it so on 

The following information will be useful(?):

ldd $(which sqlite3) # provide path to your "sqlite3" tool if you don't have it 
in path.

> Unknown so far.

Try applying changes below and forcing rebuild and reinstallation of sqlite3
(at the very least).

Check if it helps, provide "ldd $(which sqlite3)" (see above) for this case too.
It would be nice if you provide part of build log for sqlite3,
note presence of absense of "THREADSAFE" substring (before and after changes).
E.g. I didn't see "-DSQLITE_THREADSAFE=1" before I made the change.

If the change alone doesn't help, force rebuild and reinstallation of
subversion-base package as well.

I have (half-?) working svnsync after my changes, may the source be with you:

RCS file: /cvsroot/pkgsrc/databases/sqlite3/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- Makefile    16 Dec 2009 19:25:38 -0000      1.23
+++ Makefile    26 Dec 2009 14:17:22 -0000
 -21,7 +21,7 @@
-CONFIGURE_ARGS+=       --with-readline-inc=
+CONFIGURE_ARGS+=       --enable-threadsafe
 # Uses dlopen and friends but doesn't use -ldl on Linux.
 # See
 -33,4 +33,5 @@
 .include "../../devel/readline/"
 .include "../../mk/"
+.include "../../mk/"
 .include "../../mk/"


Home | Main Index | Thread Index | Old Index