Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 456172 - dev-vcs/subversion-(1.7.* ?) needs dev-db/sqlite:3 to be compiled with threadsafe
Summary: dev-vcs/subversion-(1.7.* ?) needs dev-db/sqlite:3 to be compiled with thread...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Sachau
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-08 14:01 UTC by Marcin Mirosław
Modified: 2013-07-20 08:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2013-02-08 14:01:41 UTC
I can see subversion 1.6 doesn't need sqlite to be compiled with threadsafe (https://bugs.gentoo.org/show_bug.cgi?id=323951) but it seems subversion-1.7 need it. 

svn co file:///tmp/aa/ /tmp/bb
svn: E200029: Couldn't perform atomic initialization
svn: E200030: SQLite is required to be compiled and run in thread-safe mode

# emerge --info sqlite
Portage 2.1.11.31 (hardened/linux/amd64, gcc-4.7.2, glibc-2.15-r3, 3.7.0-hardened x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.7.0-hardened-x86_64-Intel-R-_Xeon-R-_CPU_E3-1230_V2_@_3.30GHz-with-gentoo-2.1
Timestamp of tree: Fri, 08 Feb 2013 05:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
ccache version 3.1.8 [disabled]
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.8
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.7.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo qemu-init
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches   -fno-unwind-tables -fno-asynchronous-unwind-tables      -fexpensive-optimizations"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches         -fno-unwind-tables -fno-asynchronous-unwind-tables      -fexpensive-optimizations"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch prese
rve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-O"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/qemu-init"
SYNC="rsync://gentoo-mirror/gentoo-portage"
USE="acl acpi amd64 avx bash-completion caps custom-cflags cxx hardened hwdb iconv ipv6 mmxext multilib nls openmp sse2 sse3 sse4 sse41 sse4_1 ssse3 threads udev unicode vim-syntax xattr" ABI_X86="64" ELIBC="glibc" GRUB_PLATFORMS="multiboot pc" KERNEL="linux" LINGUAS="en" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-db/sqlite-3.7.14.1 was built with the following:
USE="-debug -doc -extensions -fts3 -icu -readline -secure-delete -soundex -tcl -test -threadsafe -unlock-notify"
Comment 1 Thomas Sachau gentoo-dev 2013-04-19 21:57:31 UTC
updated dependency in subversion-1.7.9
Comment 2 Marcin Mirosław 2013-04-20 14:02:47 UTC
Thanks.
Comment 3 Oleg Akimov 2013-05-29 13:53:59 UTC
dev-vcs/subversion-1.7.9 require sqlite with "threadsafe" use flag

but >=dev-db/sqlite-3.7.16 has no more "threadsafe" flag

this situation leads to the next problem:
 * subversion require dev-db/sqlite-3.7.15.2
 * dev-db/sqlite-3.7.15.2 require dev-libs/icu-49.1.2
 * dev-libs/icu-49.1.2 blocks dev-libs/icu-51.1
 * fresh chromium require dev-libs/icu-51.1

Solution: remove [threadsafe(+)] from subversion ebuild for >=dev-db/sqlite-3.7.16
Comment 4 Thomas Sachau gentoo-dev 2013-07-20 08:18:38 UTC
(In reply to Oleg Akimov from comment #3)
> dev-vcs/subversion-1.7.9 require sqlite with "threadsafe" use flag
> 
> but >=dev-db/sqlite-3.7.16 has no more "threadsafe" flag
> 
> this situation leads to the next problem:
>  * subversion require dev-db/sqlite-3.7.15.2
>  * dev-db/sqlite-3.7.15.2 require dev-libs/icu-49.1.2
>  * dev-libs/icu-49.1.2 blocks dev-libs/icu-51.1
>  * fresh chromium require dev-libs/icu-51.1
> 
> Solution: remove [threadsafe(+)] from subversion ebuild for
> >=dev-db/sqlite-3.7.16

The dependency requires the threadsafe USE flag being enabled, if there is one, otherwise there is nothing required. So check your local setup and try to update sqlite first. If that does not work, you might want to open a bug against your package manager.