Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339634 - sys-libs/db-5.1.19 released
Summary: sys-libs/db-5.1.19 released
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-03 21:15 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2010-10-17 22:36 UTC (History)
1 user (show)

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 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-10-03 21:15:15 UTC
sys-libs/db-5.1.19 was released.
Comment 1 esc 2010-10-05 05:36:01 UTC
           Berkeley DB 5.1.19
New Features

   1. Added Performance event monitoring support for DTrace and SystemTap which can be enabled during configuration. Static probes have been defined where statistics values are updated, where mutex or transactional consistency lock waits occur, and where some other potentially lengthy operations may be initiated. [#15605]
   2. Added a new acknowledge policy - DB_REPMGR_ACKS_ALL_AVAILABLE. [#16762]
   3. Added transactional bulk loading optimization for non-nested transactions. [#17669]
   4. Added exclusive transaction support for the SQL API. [#17822]
   5. Added support for bulk update and delete in C# API. [#18011]
   6. Added a db_replicate utility. [#18326]
   7. Added an implementation of the Online Backup API. [#18500]
   8. Added support in Berkeley DB SQL for the vacuum and incremental vacuum pragmas [#18545]
   9. Added an option to automatically convert SQLite databases to Berkeley DB on opening. [#18531]
  10. Added BDBSQL_SHARE_PRIVATE, an option to enable inter-process sharing of DB_PRIVATE environments using multiple-reader. [#18533]
  11. Added database-level locking to optimize single-threaded operations and remove locking limitations for database load operations. [#18549]
  12. Added support for DB_INIT_REP, DB_PRIVATE, DB_REGISTER and DB_THREAD in DB_CONFIG file.[#18555][#18901]
  13. Added support for the BDBSQL_DEFAULT_PAGE_SIZE pragma to override Berkeley DB's choice of page size depending on the filesystem. Use SQLITE_DEFAULT_PAGE_SIZE rather than a hard-coded default. [#18577]
  14. Added an extension that allows access to binary files stored outside of the database. What is stored in the database is a pointer to the binary file. [#18635]
  15. Added .stat command to dbsql shell to print environment, table, and index statistics. [#18640]
  16. Added enhancements to reduce the size of indexes in the SQL API by allowing duplicates in the index database and moving the rowid from the index key into the index data. [#18653]
  17. Added a compile time flag BDBSQL_FILE_PER_TABLE that causes each table to be created in a separate file. This flag replaces the BDBSQL_SPLIT_META_TABLE flag. [#18664]
  18. Added the handling of read only and read write open of the same database in BDB SQL [#18672]
  19. Added an encryption implementation to the SQL API [#18683]
(C) http://download-llnw.oracle.com/docs/cd/E17076_02/html/installation/changelog_5_1.html
Comment 2 Alec Meyers 2010-10-05 17:08:00 UTC
I copied over the db-5.0.26.ebuild to db-5.1.19.ebuild and changed the SLOT to "5.1", and after rebuilding everything needing db, everything seems to work ok.



Portage 2.2_rc88 (default/linux/amd64/10.0/no-multilib, gcc-4.5.1, glibc-2.12.1-r1, 2.6.35.6 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35.6-x86_64-Intel-R-_Core-TM-2_CPU_T5300_@_1.73GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 05 Oct 2010 15:15:01 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.5.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fno-ident -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fno-ident -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo http://gentoo.osuosl.org/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="gzip"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/tree/official"
PORTDIR_OVERLAY="/usr/portage/tree/local"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="a52 aac aalib acl acpi aio alsa amd64 audiofile avi bash-completion berkdb bzip2 cairo cdparanoia cdr cli cracklib crypt css curl custom-optimization cxx dell dirac dri dvd dvdr encode expat ffmpeg fftw flac foomaticdb fortran gif git gmp gpm iconv imagemagick inotify java5 java6 jpeg laptop logrotate lzma lzo mad mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap musepack ncurses nptl nptlonly ogg openmp openssl pam pch pcre perl png ppds pppd python quicktime rar readline reflection resolvconf rtmp schroedinger sdl session sndfile speex spell sqlite sqlite3 srt sse sse2 ssl ssse3 subversion svg sysfs tcpd theora threads tiff tokyocabinet unicode usb v4l v4l2 vcd videos vorbis vpx wifi x264 xcb xorg xv xvid xvmc xz zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS

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

sys-libs/db-5.1.19 was built with the following:
USE="-doc -examples -java -nocxx -tcl -test"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--default-symver"
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-10-05 21:07:56 UTC
I'm waiting for the testsuite to finish. It's ~9 hours per run, so it will be done only tomorrow.
Comment 4 Alec Meyers 2010-10-05 22:26:47 UTC
OK, thanks!
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-10-06 19:37:09 UTC
14.5 hours of test (-j2), and then it fails. Somebody else please run the tests as well.
# time FEATURES=test USE='java tcl' ebuild db-5.1.19.ebuild digest clean test install
Your $PORTAGE_TMPDIR needs ~1.6GiB of space. Expected runtime is 8-9 hours at -j4, 14.5 hours at -j2.

Checking output from ALL.OUT.2 ... UNEXPECTED OUTPUT: FAIL:02:36:57 (00:00:00) Pipe close (30505: envscript.tcl envscript.tcl ./TESTDIR.2/env012.log.p3 ./TESTDIR.2 TESTFILE GET KEY DATA1 RECOVER FAILCHK1 0: logfile ./TESTDIR.2/env012.log.p3): expected 0, got 1
UNEXPECTED OUTPUT:     while executing
UNEXPECTED OUTPUT: "error "FAIL:[timestamp] $func: expected $desired, got $result""
UNEXPECTED OUTPUT:     (procedure "error_check_good" line 8)
UNEXPECTED OUTPUT:     invoked from within
UNEXPECTED OUTPUT: "error_check_good "Pipe close ($childpid: $script $argv: logfile $logfile)"\
UNEXPECTED OUTPUT:     $ret 0"
 done.
Regression tests failed.
Review UNEXPECTED OUTPUT lines above for errors.
Complete logs found in ALL.OUT.x files
 * ERROR: sys-libs/db-5.1.19 failed:
 *   Some tests failed, please see /var/tmp/portage/sys-libs/db-5.1.19/work/db-5.1.19/build_unix/ALL.OUT*
 * 
Comment 6 Alec Meyers 2010-10-08 03:11:50 UTC
For me, it seems to have passed (I don't have JAVA on the system, so I didn't enable the flag):


...
Starting test 2730 of 2743 parallel items.      Rough guess: less than 1 hour left.
Starting test 2740 of 2743 parallel items.      Rough guess: less than 1 hour left.
Process 1: 1072 commands executed in 09:14
Process 2: 699 commands executed in 09:14
22:45:34 (00:05:00) processes running: 24840
Process 3: 972 commands executed in 09:18
All processes have exited.
Checking output from ALL.OUT.0 ...  done.
Checking output from ALL.OUT.1 ... UNEXPECTED OUTPUT: Skipping: db_repsite executable not found.  Is it built?
UNEXPECTED OUTPUT: Skipping: db_repsite executable not found.  Is it built?
UNEXPECTED OUTPUT: Skipping: db_repsite executable not found.  Is it built?
UNEXPECTED OUTPUT: Skipping: db_repsite executable not found.  Is it built?
 done.
Checking output from ALL.OUT.2 ... UNEXPECTED OUTPUT: Skipping: db_repsite executable not found.  Is it built?
UNEXPECTED OUTPUT: Skipping: db_repsite executable not found.  Is it built?
UNEXPECTED OUTPUT: Skipping: db_repsite executable not found.  Is it built?
UNEXPECTED OUTPUT: Skipping: db_repsite executable not found.  Is it built?
 done.
Checking output from ALL.OUT.3 ... UNEXPECTED OUTPUT: Skipping: db_repsite executable not found.  Is it built?
UNEXPECTED OUTPUT: Skipping: db_repsite executable not found.  Is it built?
UNEXPECTED OUTPUT: Skipping: db_repsite executable not found.  Is it built?
UNEXPECTED OUTPUT: Skipping: db_repsite executable not found.  Is it built?
UNEXPECTED OUTPUT: Skipping: db_repsite executable not found.  Is it built?
 done.
Regression tests failed.
Review UNEXPECTED OUTPUT lines above for errors.
Complete logs found in ALL.OUT.x files
 * db-5.1.19.tar.gz RMD160 SHA1 SHA256 size ;-) ...
...
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-10-08 05:11:30 UTC
repsite shouldn't have even run, is your eclass up to date?
Comment 8 Alec Meyers 2010-10-08 12:19:55 UTC
If I'm reading this right, it didn't run - it was skipped...

The eclass (which is the latest in portage) is:
db.eclass,v 1.40 2010/10/06 00:13:11 robbat2

The ebuild is based on:
db-5.0.26.ebuild,v 1.1 2010/10/04 17:09:59 robbat2
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-10-08 17:57:55 UTC
I added my own ebuild under package.mask for now, for more testing.
Notice a slight change in where the tests are.
Comment 10 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-10-16 01:26:33 UTC
Shouldn't SLOT be "5.1" instead of "5.0"?
Comment 11 Alec Meyers 2010-10-16 01:49:06 UTC
I just came by this problem too - it causes packages like dev-libs/apr-util to fail (which does not happen with the "5.1" slot):
 * The specific snippet of code:
 *           db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version";
Comment 12 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-10-17 22:36:20 UTC
*db-5.1.19-r1 (17 Oct 2010)

  17 Oct 2010; Robin H. Johnson <robbat2@gentoo.org> -db-5.1.19.ebuild,
  +db-5.1.19-r1.ebuild:
  hardmasked 51 build had the wrong slot, fix it now.