Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346243 - sys-apps/mlocate-0.23.1 cannot pass tests
Summary: sys-apps/mlocate-0.23.1 cannot pass tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-21 01:23 UTC by stathis
Modified: 2010-11-22 14:17 UTC (History)
2 users (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 stathis 2010-11-21 01:23:34 UTC
The testsuite cannot complete, once it hits test 40: updatedb: Concurrent modification, it does not continue, I left it for more than 10 minutes, then I canceled it. It is always reproducible. It installs and seems to work also ok if I do:

FEATURES="-test" emerge -Dva sys-apps/mlocate

Here is a log (most of the tests report failure too)

make[2]: Entering directory `/var/tmp/portage/sys-apps/mlocate-0.23.1/work/mlocate-0.23.1'
/bin/sh ./tests/testsuite
## -------------------------- ##
## mlocate 0.23.1 test suite. ##
## -------------------------- ##
  1: config: updatedb.conf                           skipped (config.at:26)
  2: config: -f                                      skipped (config.at:27)
  3: config: -e                                      FAILED (config.at:39)
  4: config: -h                                      FAILED (config.at:80)
  5: config: -n                                      FAILED (config.at:95)
  6: config: -o                                      FAILED (config.at:111)
  7: config: -l                                      FAILED (config.at:121)
  8: config: -U                                      FAILED (config.at:148)
  9: config: -v                                      FAILED (config.at:182)
 10: config: -V                                      FAILED (config.at:203)
 11: config: --debug-pruning                         skipped (config.at:223)
 12: config: --prune-bind-mounts                     FAILED (config.at:229)
 13: config: --prunefs                               FAILED (config.at:245)
 14: config: --prunenames                            FAILED (config.at:261)
 15: config: --prunepaths                            FAILED (config.at:291)
 16: locate: Basic                                   FAILED (locate.at:23)
 17: locate: -b                                      FAILED (locate.at:74)
 18: locate: -c                                      FAILED (locate.at:95)
 19: locate: -d                                      FAILED (locate.at:118)
 20: locate: -e                                      FAILED (locate.at:164)
 21: locate: -h                                      ok
 22: locate: -i                                      FAILED (locate.at:237)
 23: locate: -l, -n                                  FAILED (locate.at:274)
 24: locate: -L                                      FAILED (locate.at:307)
 25: locate: -P                                      FAILED (locate.at:353)
 26: locate: -S                                      FAILED (locate.at:391)
 27: locate: -q                                      ok
 28: locate: -r                                      FAILED (locate.at:436)
 29: locate: -V                                      ok
 30: locate: -w                                      FAILED (locate.at:499)
 31: locate: -0                                      FAILED (locate.at:526)
 32: locate: --regex                                 FAILED (locate.at:543)
 33: locate: LOCATE_PATH                             FAILED (locate.at:573)
 34: locate: Invalid source database                 ok
 35: updatedb: File types                            FAILED (updatedb.at:31)
 36: updatedb: Output sorting                        FAILED (updatedb.at:72)
 37: updatedb: Permissions                           expected failure (updatedb.at:96)
 38: updatedb: Invalid source database               FAILED (updatedb.at:142)
 39: updatedb: Change detection                      FAILED (updatedb.at:166)
 40: updatedb: Concurrent modification              ^C

---
emerge --info 

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36 x86_64)
=================================================================
System uname: Linux-2.6.36-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-gentoo-1.12.14
Timestamp of tree: Sat, 20 Nov 2010 16:00:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/                                                                                                       http://ftp.heanet.ie/pub/gentoo http://ftp.ntua.gr/pub/linux/gentoo/                                    http://gentoo.virginmedia.com/                                          http://mirror.bytemark.co.uk/gentoo/                                    ftp://mirror.qubenet.net/mirror/gentoo/                                 http://mirror.qubenet.net/mirror/gentoo/                                http://212.219.56.133/sites/www.ibiblio.org/gentoo/                     ftp://212.219.56.132/sites/www.ibiblio.org/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl amd64 apache2 bash-completion berkdb bzip2 cleartype cli corefonts cracklib crypt cups cxx dbus dri fortran gdbm gpm iconv ipv6 java jpeg kde ldap mmx modules mudflap multilib mysql ncurses nls nptl nptlonly opengl openmp pam pcre perl php png pppd python qt3support readline samba sasl session sql sqlite sqlite3 sse sse2 ssl svg sysfs tcpd threads tiff truetype type1 unicode userlocales webkit xattr xml xorg 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 auth_digest authn_anon authn_dbd          authn_dbm authn_default authn_file authz_dbm authz_default          authz_groupfile authz_host authz_owner authz_user autoindex          cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env          expires ext_filter file_cache filter headers ident imagemap          include info ldap log_config logio mem_cache mime mime_magic          negotiation proxy proxy_ajp proxy_balancer proxy_connect          proxy_http rewrite setenvif so 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2010-11-21 14:51:44 UTC
I cannot reproduce.  Go to ${PV}/tests/testsuite and change line 559,
remove the ":" for at_verbose, it gives you more output.  Please post that here.
Comment 2 stathis 2010-11-21 15:03:24 UTC
(In reply to comment #1)
> I cannot reproduce.  Go to ${PV}/tests/testsuite and change line 559,
> remove the ":" for at_verbose, it gives you more output.  Please post that
> here.
> 

I do not know what has changed but I tried recompiling it again without changing anything and it passed the tests and installed properly. I must admit that I have had this problem for quite some time. I don't know if it is related to something else that changed in the system, but I cannot reproduce it now, so I guess close the bug report.

Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2010-11-22 14:17:43 UTC
I tried to reproduce by unmerging and remerging...did not work, so closing as fixed.