PACKAGE NAME ------------ neko_db4 DESCRIPTION ----------- The Berkeley DataBase software library is a scalable, open source database library which can be linked and embedded in various other programs that need database storage and access. It uses a process API interface to the database, rather than a Server/Client model. SOURCE/VERSION -------------- db-4.8.30 / 9 IRIX/MIPSPRO VERSION -------------------- 6.5.22 / 7.4.4m ENVIRONMENT VARIABLES --------------------- setenv CC c99 setenv CXX CC setenv MAKE /usr/nekoware/bin/gmake setenv PERL /usr/nekoware/bin/perl setenv CFLAGS '-O2 -mips4 -n32 -diag_error 1035 -woff 3970' setenv CXXFLAGS '-O2 -mips4 -n32 -diag_error 1035 -woff 3970' setenv LDFLAGS '-L/usr/nekoware/lib' setenv CPPFLAGS '-I/usr/nekoware/include' For compiling on R4x00 systems, use: setenv CFLAGS '-O2 -mips3 -n32 -diag_error 1035 -woff 3970' setenv CXXFLAGS '-O2 -mips3 -n32 -diag_error 1035 -woff 3970' PATCH ----- cd db-4.8.30 patch -p0 < db-4.8.30_irix.patch CONFIGURE --------- cd build_unix ../dist/configure --prefix=/usr/nekoware --docdir=/usr/nekoware/share/doc/db-4.8.30 --enable-cxx --enable-test --with-tcl=/usr/nekoware/lib --enable-tcl --enable-compat185 --enable-dump185 BUILD ----- gmake change 'set tclsh_path' in build_unix/include.tcl to '/usr/nekoware/bin/tclsh' ln -s /usr/nekoware/bin/tclsh8.6 /usr/nekoware/bin/tclsh /usr/nekoware/bin/tclsh8.6 %source ../test/test.tcl %run_std %exit gmake install cd /usr/nekoware/lib rm libdb.a && ln -s libdb-4.8.a libdb.a rm libdb_cxx.a && ln -s libdb_cxx-4.8.a libdb_cxx.a KNOWN DEPENDENCIES ------------------ gmake to build the package neko_tcl to perform unittests I have removed all nekoware incompatibility lines in the spec file, since these were builds from the very beginning of the Nekoware distribution in 2004/2005 ERRORS/MISCELLANEOUS -------------------- The patch is to change the DOCDIR install location variable in the Makefile, since there seems to be some ineffective hack active in the configure script. With a configure build option the DOCDIR accepts a new path so that all the html pages are embedded in a more sensible directory structure. The db_dump185 tool is useful for some database files in IRIX, notably /etc/mail/aliases.db so i modified the Makefile to include the building of the tool. Make sure to uninstall previous libdb.so libraries in /usr/nekoware/lib or /usr/local/lib, otherwise the linker will try to use that instead of the /usr/lib32/libdb.so it is supposed to. Also, some static archives have duplicates with a different name, so i decided to symlink one to the other. The unittest 'run_std' will run for several days! I've ran the test on a 400 MHz O2 with 256MB of memory and it took more than 86 hours: oberon:/local/frank/db-4.8.30/build_unix> /usr/nekoware/bin/tclsh % source ../test/test.tcl % run_std Test suite run started at: 11:22 09/27/2019 Berkeley DB 4.8.30: (April 9, 2010) Running environment tests Running archive tests Running backup tests Running file operations tests Running locking tests Running logging tests Running memory pool tests Running transaction tests Running deadlock detection tests Running subdatabase tests Running byte-order tests Running recno backing file tests Running DBM interface tests Running NDBM interface tests Running Hsearch interface tests Running secondary index tests Running partition tests Running compression tests Running replication manager tests Running replication tests Running security tests Running recovery tests Running join test Running btree tests Running rbtree tests Running queue tests Running queueext tests Running recno tests Running frecno tests Running rrecno tests Running hash tests UNEXPECTED OUTPUT: FAIL: run_subsystem: env env007: env66: mmap: Not enough space UNEXPECTED OUTPUT: env66: PANIC: Not enough space UNEXPECTED OUTPUT: env66: unable to join the environment UNEXPECTED OUTPUT: DB_RUNRECOVERY: Fatal error, run database recovery UNEXPECTED OUTPUT: FAIL:12:33:51 (00:52:59) r: fop: child killed: bus error UNEXPECTED OUTPUT: FAIL:18:15:02 (00:32:36) agg_failure: expected 1, got 0 UNEXPECTED OUTPUT: WARNING: log record type __bam_merge: not tested UNEXPECTED OUTPUT: WARNING: log record type __bam_pgno: not tested UNEXPECTED OUTPUT: WARNING: log record type __crdel_inmem_create: not tested UNEXPECTED OUTPUT: WARNING: log record type __crdel_inmem_remove: not tested UNEXPECTED OUTPUT: WARNING: log record type __crdel_inmem_rename: not tested UNEXPECTED OUTPUT: WARNING: log record type __db_pg_trunc: not tested UNEXPECTED OUTPUT: FAIL:02:44:57 (00:31:09) agg_failure: expected 1, got 0 UNEXPECTED OUTPUT: FAIL:02:45:53 (00:00:05) 0.5059210526315789 =~ 0.70859375: expected 1, got 0 UNEXPECTED OUTPUT: FAIL:23:10:32 (00:31:21) agg_failure: expected 1, got 0 Regression Tests Failed Check UNEXPECTED OUTPUT lines. Review ALL.OUT.x for details. Test suite run completed at: 01:45 10/01/2019 I have included the ALL.OUT testlog in the relnotes subsystem for further scrutiny. This package has dual support for both mips3 and mips4 architecture, controlled by the mach(CPUARCH=R4000) switch for libraries and executables. PACKAGED BY ----------- S/N VER PORTER Date --------------------------------------------------------------- 9 4.8.30 Frank Everdij (dexter1@gmail.com) 28-12-2019 4083001 4.8.30 Rainer Canavan 25-10-2011 8 4.8.30 Ian Johnson (itjohnson@gmail.com) 20-09-2011 7 4.8.30 Ian Johnson (itjohnson@gmail.com) 29-01-2011 6 4.8.30 Ian Johnson (itjohnson@gmail.com) 22-01-2011 5 4.8.26 Ian Johnson (itjohnson@gmail.com) 13-04-2010 4 4.4.20 Timo Kanera (timo@kanera.de) 15-08-2006 3 4.3.28 Timo Kanera (timo@kanera.de) 15-07-2005 1 4.3.27 Timo Kanera (timo@kanera.de) 04-01-2005