Testsuit failed with error when trying to build with test feature. See output below. Reproducible: Always Steps to Reproduce: FEATURES=test emerge -ev world /bin/sh ./libtool --mode=execute true db_verify >>> Source compiled. * Running sys-libs/db testsuite * This can take 6+ hours on modern machines Test suite run started at: 18:00 03/04/07 Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003) Running environment tests Running archive tests Running file operations tests Running locking tests Running logging tests Running memory pool tests Running mutex 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 recovery tests Running join test Running btree tests Running hash tests Running queue tests Running queueext tests Running recno tests Running rbtree tests Running frecno tests Running rrecno tests Regression Tests Failed; see ALL.OUT for log Test suite run completed at: 04:00 03/05/07 !!! ERROR: sys-libs/db-4.2.52_p4-r2 failed. Call stack: ebuild.sh, line 1614: Called dyn_test ebuild.sh, line 1026: Called qa_call 'src_test' environment, line 4616: Called src_test ebuild.sh, line 1304: Called db_src_test db.eclass, line 127: Called die !!! Some tests failed, please see /var/tmp/portage/sys-libs/db-4.2.52_p4-r2/work/db-4.2.52/build_unix/ALL.OUT !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/log/portage/sys-libs:db-4.2.52_p4-r2:20070304-165638.log'. !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.10" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" and of course, the output of emerge --info
emerge --info Portage 2.1.2-r9 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5_TyanVX50_smp_modules_gcc4.1.1r3_9th x86_64) ================================================================= System uname: 2.6.19-gentoo-r5_TyanVX50_smp_modules_gcc4.1.1r3_9th x86_64 Dual Core AMD Opteron(tm) Processor 875 Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 04 Mar 2007 12:50:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -O2 -pipe -msse -msse2 -mmmx -m3dnow" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo" CXXFLAGS="-march=opteron -O2 -pipe -msse -msse2 -mmmx -m3dnow" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distcc distlocks metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.inf.elte.hu ftp://gentoo.inf.elte.hu ftp://ftp.nyx.hu/gentoo http://gd.tuwien.ac.at/opsys/linux/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo ftp://ftp.gentoo.mesh-solutions.com/gentoo http://pandemonium.tiscali.de/pub/gentoo ftp://pandemonium.tiscali.de/pub/gentoo ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles http://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo http://gentoo.intergenia.de http://gentoo.inode.at ftp://gentoo.inode.at/source http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j17" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnowex X a52 aac aalib accessibility acpi alsa amd64 ao apm arts asf audiofile avi berkdb bitmap-fonts bzip2 cdparanoia cdr clamav cli cpudetection cracklib crypt cups curl curlwrappers divx4linux doc dri dv dvd dvdr dvdread emacs emboss encode esd exif fam fbcon ffmpeg fftw firefox flac fortran ftp gd gdbm ggi gif gmp gphoto2 gpm hal iconv idn ieee1394 imagemagick isdnlog java javascript jpeg kde kdeenablefinal libg++ lm_sensors mad midi ming mng mozilla mp3 mpeg mpi mule mysql ncurses nls nptl nptlonly nsplugin odbc ogg oggvorbis opengl oss pam pcmcia pcre pdf perl plotutils pmu png ppds pppd python qt quicktime readline reflection samba scanner session slp sndfile spl ssl tcl tcltk tcpd test theora tiff tk truetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd vorbis wifi wmf xine xinerama xml xml2 xorg xpm xv xvid 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm fbdev fglrx mach64 r128 radeon vesa vga vmware" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Tail of ALL.OUT: Test102: -rrecno ( -renumber ) Bulk get test Test102.a: Creating -rrecno database with 1000 entries. Test102.b: db get -multi with bufsize 1024 Test102.b: returned at least one ENOMEM (as expected) Test102.c: db get -multi with bufsize 66560 Test102.c: succeeded (as expected) Test102.d: db get -multi with bufsize 1024 Test102.d: returned at least one ENOMEM (as expected) Test102.e: dbc get -multi -set/-next with bufsize 66560 Test102.e: succeeded (as expected) Test102.e: dbc get -multi_key -set/-next with bufsize 66560 Test102.e: succeeded (as expected) Test102.f: Growing database with overflow sets Test102.g: db get -multi with bufsize 66560 Test102.g: returned at least one ENOMEM (as expected) Test102.h: db get -multi with bufsize 133120 Test102.h: succeeded (as expected) Test102.i: dbc get -multi -set/-next with bufsize 8192 Test102.i: returned at least one ENOMEM (as expected) Test102.i: dbc get -multi_key -set/-next with bufsize 8192 Test102.i: returned at least one ENOMEM (as expected) Test102.j: dbc get -multi -set/-next with bufsize 66560 Test102.j: succeeded (as expected) Test102.j: dbc get -multi_key -set/-next with bufsize 66560 Test102.j: succeeded (as expected) Verification of ./TESTDIR/test102.db succeeded. Dump/load of ./TESTDIR/test102.db succeeded. eval test103 -rrecno 100 4294967250 "103" ; verify_dir ./TESTDIR "" 1 04:00:18 (00:00:00) Test103: -rrecno ( -renumber ) Test of bulk get with wraparound. Skipping Test103 for method -rrecno. Skipping verification. Regression Tests Failed Test suite run completed at: 04:00 03/05/07
I don't see anything in your ALL.OUT that shows a failure. Perhaps it's higher up in the file?
Created attachment 112282 [details] Full ALL.OUT attached I tried to compile without testing, it succeeded, but of course the ALL.OUT was deleted. So I have run it again with test on a quite similar machine (almost the same), and the error is the same. This ALL.OUT is attached. gzipped, because it is too large :))
All the lines starting with FAIL are failures. There are some in the file. Part of them is complaining about the lack of direct IO. Perhaps you could try removing all the -msse, mmx etc. stuff from your CFLAGS although that shouldn't really matter. Then also try merging without distcc (FEATURES=-distcc emerge db)
Thanks for the suggestion. I have tried this: CFLAGS="-march=opteron -O2 -pipe" CXXFLAGS="-march=opteron -O2 -pipe" FEATURES="test -distcc" emerge -v db Result: the same error at the end of emerge output the ALL.OUT seems to be the same (only time stamps and process numbers differ)
same problem here. These are all the lines that FAIL: 150:FAIL: DB_ENV->set_flags: direct I/O is not supported by this platform 151:FAIL: env open:invalid argument 153:FAIL: DB_ENV->set_flags: direct I/O is not supported by this platform 154:FAIL: env open:invalid argument 194:FAIL: DB_ENV->set_flags: direct I/O is not supported by this platform 195:FAIL: run_subsystem: env env007: env set verbose:invalid argument 23482:FAIL:15:38:05 (00:00:00) diff(init,postcreate):diff(./TESTDIR/recd007.db.init,./TESTDIR/recd007.db): expected 0, got 1 30883:FAIL:16:01:20 (00:00:00) diff(init,postcreate):diff(./TESTDIR/recd007.db.init,./TESTDIR/recd007.db): expected 0, got 1 38571:FAIL:16:33:59 (00:00:00) diff(init,postcreate):diff(./TESTDIR/recd007.db.init,./TESTDIR/recd007.db): expected 0, got 1 50294:FAIL:17:37:44 (00:00:00) diff(init,postcreate):diff(./TESTDIR/recd007.db.init,./TESTDIR/recd007.db): expected 0, got 1 51514:FAIL:17:58:07 (00:00:00) diff(init,postcreate):diff(./TESTDIR/recd007.db.init,./TESTDIR/recd007.db): expected 0, got 1 52763:FAIL:18:19:10 (00:00:00) diff(init,postcreate):diff(./TESTDIR/recd007.db.init,./TESTDIR/recd007.db): expected 0, got 1 71820:FAIL:21:14:07 (00:00:21) pop_num: expected 4294967000, got 1 GENTOO_VM=blackdown-jdk-1.4.2 CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" Portage 2.1.2.3 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gen too-r5 x86_64) ================================================================= System uname: 2.6.19-gentoo-r5 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL- 56 Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 12 Apr 2007 09:20:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -msse3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms / /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -msse3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer multi lib-strict sandbox sfperms strict test userpriv" GENTOO_MIRRORS="http://www.mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/dist ributions/gentoo http://gentoo.blueyonder.co.uk http://distfiles.gentoo.org http ://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en en_GB" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/di stfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac acpi alsa amd64 audiofile berkdb bitmap-fonts branding bzip 2 cairo cddb cdparanoia cli cracklib cups curl dbus dri dts dvb dvd dvdread enco de exif expat ffmpeg firefox flac foomaticdb gdbm gif glitz gs gtk guile hal ico nv icu imagemagick imlib isdnlog ithreads java javascript jpeg libg++ libwww lir c logrotate mad midi mmap mp3 ncurses nls nptl nptlonly nsplugin ogg openal open gl pam pcre pdf perl png ppds pppd python readline reflection sdl session sndfil e spl ssl svg symlink tcl tcpd test threads tiff tk truetype truetype-fonts type 1-fonts unicode usb vorbis x264 xcb xml xorg xosd xv xvmc zlib" ALSA_CARDS="hda- intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null pl ug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse syn aptics ps2mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk h d44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" LIRC_DEVICES="mceus b2" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTA GE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Upstream's record of test passes is very low, even the latest 4.7 failed a couple of tests.