Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 450772 - sys-devel/llvm-9999 - subversion: can't fetch to /var/portage/distfiles/svn-src/llvm/trunk from when DISTDIR is on nfs
Summary: sys-devel/llvm-9999 - subversion: can't fetch to /var/portage/distfiles/svn-s...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
Depends on:
Reported: 2013-01-07 22:53 UTC by Thomas Capricelli
Modified: 2013-03-20 22:32 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2013-01-07 22:53:31 UTC
I often use live ebuild, without any problem, but i don't seem to manage to install the live llvm ebuild. It might be because of svn, as i think this is the first live ebuild i try to install that is based on svn. Others are usually using git/hg.

Using :
system : ~amd64 up to date
dev-vcs/subversion : 1.7.7
portage :

Reproducible: Always

 * Package:    sys-devel/llvm-9999
 * Repository: gentoo
 * Maintainer:
 * USE:        amd64 elibc_glibc kernel_linux libffi userland_GNU vim-syntax
 * FEATURES:   sandbox userpriv
 * subversion check out start -->
 *      repository:
svn: E200033: database is locked, executing statement 'PRAGMA synchronous=OFF;PRAGMA recursive_triggers=ON;'
 * ERROR: sys-devel/llvm-9999 failed (unpack phase):
 *   subversion: can't fetch to /var/portage/distfiles/svn-src/llvm/trunk from
 * Call stack:
 *, line   93:  Called src_unpack
 *   environment, line 5157:  Called subversion_src_unpack
 *   environment, line 5474:  Called subversion_fetch
 *   environment, line 5369:  Called die
 * The specific snippet of code:
 *               ${ESVN_FETCH_CMD} ${options} "${repo_uri}" || die "${ESVN}: can't fetch to ${wc_path} from ${repo_uri}.";
Comment 1 Thomas Capricelli 2013-01-09 19:43:43 UTC
Ok, here's an information that i think is rather important : my distfiles is mounted through nfs (v3), it is shared by all computers on the local network.

if i unmount it, making portage use a the local disk instead, then it works.

So i guess the bug is now something around "svn live ebuild fail to checkout on nfs-mounted distfiles"
Comment 2 Zac Medico gentoo-dev 2013-03-20 18:03:49 UTC
Maybe you don't have locking properly configured for your nfs mount?

Someone reported that enabling the nfslock service solved a similar problem here:
Comment 3 Thomas Capricelli 2013-03-20 22:32:44 UTC

Good hint!
Lock was configured and i thought it was working. using the very useful python code from
i can confirm locking was broken on my setup.

Once fixed (on the server, i had ALL:ALL in hosts.deny, which requires ALL:localhost in hosts.allow, even though all nfs/lock stuff was already allowed), the previous python code does work, and i can indeed emerge svn-based live ebuild from nfs.

As such, i close this bug as invalid, this is not gentoo's fault :)

Thanks again for the hint.