Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211047 - sys-apps/slocate-2.7-r8: updatedb fails silently
Summary: sys-apps/slocate-2.7-r8: updatedb fails silently
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-21 22:48 UTC by Silvan Heintze
Modified: 2008-02-22 09:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
strace updatedb (strace-updatedb.log,3.86 KB, text/plain)
2008-02-21 22:59 UTC, Silvan Heintze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Silvan Heintze 2008-02-21 22:48:55 UTC
# updatedb

immediately returns without any output. An empty, pre-existing /var/lib/slocate/slocate.db file has a 4-byte contents of "1/" after that.
With -v flag, the output is:

# updatedb -v
/

After this,
# locate file

gives the following output:

slocate fluky bug found.
Ack! This shouldn't happen unless you have a path over 4096.
This could also be a bogus or corrupt database.
Report this as a bug to klindsay@mkintraweb.com

Reproducible: Always

Steps to Reproduce:
1. # emerge sys-apps/slocate-2.7-r8
2. # updatedb

Actual Results:  
Nothing - immediate return to prompt without any further output.

Expected Results:  
Should have created a complete /var/lib/slocate/slocate.db database.

I am trying to run this on an NSLU2 ("slug") with uclibc:

Portage 2.1.3.19 (uclibc/arm, gcc-3.4.6, uclibc-0.9.28.3-r0, 2.6.21.7 armv5teb)
=================================================================
System uname: 2.6.21.7 armv5teb XScale-IXP42x Family rev 2 (v5b)
Timestamp of tree: Thu, 07 Feb 2008 14:32:01 +0000
distcc 2.18.3 armeb-softfloat-linux-uclibc (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="arm"
CBUILD="armeb-softfloat-linux-uclibc"
CFLAGS="-march=armv5t -mtune=xscale -Os -pipe -fforce-addr -fomit-frame-pointer -Wstack-protector -Wformat=2 -DAI_ADDRCONFIG=0x00000400"
CHOST="armeb-softfloat-linux-uclibc"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /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/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=armv5t -mtune=xscale -Os -pipe -fforce-addr -fomit-frame-pointer -Wstack-protector -Wformat=2 -DAI_ADDRCONFIG=0x00000400"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache cups distcc distlocks metadata-transfer nodoc noinfo noman samba sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes --timeout=500"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="arm cli cracklib cups dri midi mudflap ncurses openmp pcre readline reflection samba session spl tcpd uclibc xorg zlib" 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" 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 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" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Silvan Heintze 2008-02-21 22:59:23 UTC
Created attachment 144272 [details]
strace updatedb

Maybe this helps?
Comment 2 SpanKY gentoo-dev 2008-02-22 03:40:21 UTC
use slocate-3.1
Comment 3 Silvan Heintze 2008-02-22 09:54:24 UTC
> use slocate-3.1

see Bug# 209394 :-(