[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

1.0.6 svnadmin create db error on IRIX 6.5

From: Chris Scharver <scharver_at_evl.uic.edu>
Date: 2004-09-02 21:04:20 CEST

Hello,

I'm trying to build Subversion on an IRIX64 SGI running IRIX 6.5. I am
installing locally within my home direction mounted via NFS. I first
tried 1.0.6 with BDB 4.2.52, but I encountered the "invalid argument"
error when trying to create my repository. I then tried building
1.1.0rc2 instead, but I encountered compile errors. For 1.0.6, I notice
that it's been a common issue. I saw no response to this thread:
<http://www.contactor.se/~dast/svnusers/archive-2004-07/1167.shtml>

I rebuilt everything, and the only build problem was during the
documentation. I'll follow up with the 1.1.0rc2 error in a separate
mail.

$ cc -version
MIPSpro Compilers: Version 7.30
$ cd db-4.2.52/build_unix
$ ../dist configure --prefix=$HOME/subversion
$ make install
$ setenv LD_LIBRARYN32_PATH $HOME/subversion/lib:$LD_LIBRARYN32_PATH
$ setenv PATH $HOME/subversion/bin:$PATH
$ cd subversion-1.0.6
$ ./configure --prefix=$HOME/subversion
--with-berkeley-db=$HOME/subversion --with-dbm=db42
--enable-maintainer-mode --disable-shared
...
$ make all install
/usr/local/bin/makeinfo -I `dirname
doc/programmer/design/svn-design.texi` -o
doc/programmer/design/svn-design.info
doc/programmer/design/svn-design.texi
Making info file `doc/programmer/design/svn-design.info' from
`doc/programmer/design/svn-design.texi'.
doc/programmer/design/deltas.texi:82: Unknown info command `email'.
doc/programmer/design/deltas.texi:82: Misplaced `{'.
doc/programmer/design/deltas.texi:82: Misplaced `}'.
doc/programmer/design/protocol.texi:14: Unknown info command `email'.
doc/programmer/design/protocol.texi:14: Misplaced `{'.
doc/programmer/design/protocol.texi:14: Misplaced `}'.
doc/programmer/design/protocol.texi:16: Unknown info command `uref'.
doc/programmer/design/protocol.texi:16: Misplaced `{'.
doc/programmer/design/protocol.texi:16: Misplaced `}'.
doc/programmer/design/protocol.texi:19: Unknown info command `uref'.
doc/programmer/design/protocol.texi:19: Misplaced `{'.
doc/programmer/design/protocol.texi:19: Misplaced `}'.
doc/programmer/design/protocol.texi:19: Unknown info command `uref'.
doc/programmer/design/protocol.texi:19: Misplaced `{'.
doc/programmer/design/protocol.texi:19: Misplaced `}'.
doc/programmer/design/protocol.texi:22: Unknown info command `uref'.
doc/programmer/design/protocol.texi:22: Misplaced `{'.
doc/programmer/design/protocol.texi:22: Misplaced `}'.
doc/programmer/design/server.texi:676: Unknown info command `uref'.
doc/programmer/design/server.texi:676: Misplaced `{'.
doc/programmer/design/server.texi:676: Misplaced `}'.
make: *** [doc/programmer/design/svn-design.info] Error 2
$ /user/local/bin/makeinfo --version
This is GNU Makeinfo version 1.64, from texinfo-3.7.

I decided to ignore those for the time being... it looks like the
executables are in place.

$ svnadmin create $HOME/csssvn
subversion/libsvn_fs/bdb/bdb-err.c:61: (apr_err=160029)
svn: Berkeley DB error while creating environment for filesystem
/netusr/disk11/evl/scharver/csssvn/db:
Invalid argument

I tried to step through things with dbx, but I haven't dug through the
IRIX debugger in several years. Here's the result:

$ dbx ~/subversion/svnadmin
(dbx) run create ~/test2
Process 1066708 (svnadmin) started
subversion/libsvn_fs/bdb/bdb-err.c:61: (apr_err=160029)
svn: Berkeley DB error while creating environment for filesystem
/netusr/disk11/evl/scharver/test2/db:
Invalid argument
Process 1066708 (svnadmin) terminated
(dbx) stop in svn_fs__bdb_dberrf
Process 1066708: [3] stop in svn_fs__bdb_dberrf
(dbx) run create ~/repos
Process 1067196 (svnadmin) started
[3] Process 1067196 (svnadmin) stopped at [svn_fs__bdb_dberrf:61
,0x10040258]
   61 svn_error_t *err = svn_error_create (bdb_err_to_apr_err (db_err),
0, NULL);
(dbx) where

Thread 0x10000
> 0 svn_fs__bdb_dberrf(db_err = 22, fmt = 0x100a30a0 = "Berkeley DB
error while %s for filesystem %s:\n", ... = <void>)
["/tmp_mnt/netusr/disk11/evl/scharver/code/subversion-1.0.6/subversion/
libsvn_fs/bdb/bdb-err.c":61, 0x10040258]
    1 svn_fs__bdb_wrap_db(fs = 0x100c8b38, operation = 0x100a2c40 =
"creating environment", db_err = 22)
["/tmp_mnt/netusr/disk11/evl/scharver/code/subversion-1.0.6/subversion/
libsvn_fs/bdb/bdb-err.c":76, 0x100403b0]
    2 svn_fs_create_berkeley(fs = 0x100c8b38, path = 0x100b4e08 =
"/netusr/disk11/evl/scharver/repos/db")
["/tmp_mnt/netusr/disk11/evl/scharver/code/subversion-1.0.6/subversion/
libsvn_fs/fs.c":535, 0x1003e904]
    3 svn_repos_create(repos_p = 0x7fff2d10, path = 0x100b4870 =
"/netusr/disk11/evl/scharver/repos", unused_1 = (nil), unused_2 =
(nil), config = 0x100b4980, fs_config = 0x100b48f0, pool = 0x100b46f8)
["/tmp_mnt/netusr/disk11/evl/scharver/code/subversion-1.0.6/subversion/
libsvn_repos/repos.c":932, 0x1001e80c]
    4 subcommand_create(os = 0x100b4730, baton = 0x7fff2d80, pool =
0x100b46f8)
["/tmp_mnt/netusr/disk11/evl/scharver/code/subversion-1.0.6/subversion/
svnadmin/main.c":363, 0x1001246c]
    5 main(argc = 3, argv = 0x7fff2f14)
["/tmp_mnt/netusr/disk11/evl/scharver/code/subversion-1.0.6/subversion/
svnadmin/main.c":1083, 0x10014904]
    6 __start()
["/xlv55/kudzu-apr12/work/irix/lib/libc/libc_n32_M4/csu/crt1text.s":
177, 0x10011e68]

That's about as much as I could discern. Maybe it's something due to
the NFS mount? There shouldn't be any shared library conflicts. Any
help would be appreciated. If it would be better to concentrate on
1.1.0rc2, my next email addresses attempts with it.

Thanks,
Chris

--
Chris Scharver
Electronic Visualization Laboratory
The University of Illinois at Chicago
Ph: 312-996-3002   FAX: 312-413-7585
<http://www.evl.uic.edu/scharver/>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 2 21:04:57 2004

This is an archived mail posted to the Subversion Users mailing list.