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



The following reply was made to PR pkg/42515; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/42515: devel/subversion "svnadmin create svn-repo" throws
        "svnadmin: SQLite is required to be compiled and run in thread-safe
        mode" error
Date: Wed, 30 Dec 2009 22:47:59 +0000

 this got misdirected:
 
    ------
 
 From: Aleksej Saushev <asau%inbox.ru@localhost>
 To: pkg-bug-handler%NetBSD.org@localhost
 Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
pkgsrc-bugs%netbsd.org@localhost
 Subject: Re: pkg/42515: devel/subversion "svnadmin create svn-repo" throws
        "svnadmin: SQLite is required to be compiled and run in thread-safe
        mode" error
 Date: Wed, 30 Dec 2009 03:21:54 +0300
 
 poli-mr%latenter.com.br@localhost 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 
problem.
 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 
IRC).
 
 The following information will be useful(?):
 
 ldd $(which sqlite3) # provide path to your "sqlite3" tool if you don't have 
it in path.
 
 >>Fix:
 >
 > 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 @@
  PKGCONFIG_OVERRIDE+=  sqlite3.pc.in
  
  INSTALLATION_DIRS+=   ${PKGMANDIR}/man1
 -CONFIGURE_ARGS+=      --with-readline-inc=
 +CONFIGURE_ARGS+=      --enable-threadsafe
  
  # Uses dlopen and friends but doesn't use -ldl on Linux.
  # See http://www.sqlite.org/cvstrac/tktview?tn=3555
  -33,4 +33,5 @@
  
  .include "../../devel/readline/buildlink3.mk"
  .include "../../mk/dlopen.buildlink3.mk"
 +.include "../../mk/pthread.buildlink3.mk"
  .include "../../mk/bsd.pkg.mk"
 
 
 -- 
 HE CE3OH...
 
    ------
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index