Bug 115306

Summary: subversion fails to create any new repository with svnadmin
Product: [Fedora] Fedora Reporter: Adam Gibson <static>
Component: subversionAssignee: Joe Orton <jorton>
Severity: high Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: i586   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:01:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Adam Gibson 2004-02-10 15:39:54 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131

Description of problem:
Subversion does not seem to work with the combination of the i386
glibc(without nptl/tls) and db4.

This is the error I get on an i586 system trying to create a new
repository with svnadmin.

# svnadmin create myrepository
svn: Berkeley DB error while creating environment for filesystem
myrep/db: Invalid argument

It appears to be a problem with db4 not working with subversion with a
non-nptl glibc.  Some people have reported on the subversion
discussion lists that recompiling db4 by replacing the
--enable-posixmutexes switch with --disable-posixmutexes fixes the
problem.  I was able to fix the problem by tweaking the glibc spec
file to allow an i586 build to include nptl/tls and then generating an
glibc i586 target for the modified spec file.  Normally an i586 system
gets the i386(without nptl) version of glibc since there is only an
i386(without nptl) and i686(with nptl) version of glibc in the fedora
core distro.

After changing to an i586 nptl glibc I have not had any problems(This
is on a server without a gui so not apps were tested with the nptl
i586 glibc).

I have even tried upgrading to subversion-0.37 using the RPMs that are
linked to from the official subversion site with the same results.  It
does not work with the non-nptl glibc on i586.  I have not tested on
an 386 (or 486) system but suspect the same problem would exist.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. install fedora core with subversion on an i586 system
2. try to create a repository in your home directory with
# svnadmin create myrepository


Actual Results:  An error occurred:

svn: Berkeley DB error while creating environment for filesystem
myrep/db: Invalid argument

Expected Results:  no errors and a full repository created

Additional info:

Comment 1 Joe Orton 2004-02-11 09:49:14 UTC

*** This bug has been marked as a duplicate of 91933 ***

Comment 2 Red Hat Bugzilla 2006-02-21 19:01:09 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.