Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 167845

Summary: sys-apps/man - makewhatis -e fails to purge junk from whatis DB
Product: Gentoo Linux Reporter: Daiajo Tibdixious <daiajo>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED NEEDINFO    
Severity: normal CC: svrmarty
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daiajo Tibdixious 2007-02-21 08:49:48 UTC
There is no ffmpeg man page in /usr/man/man1, yet:
# man -k ffmpeg
ffmpeg               (1)  - FFmpeg video converter
# man ffmpeg
No manual entry for ffmpeg

# eix -n media-video/ffmpeg
[I] media-video/ffmpeg
     Available versions:  0.4.9_p20050226-r3 0.4.9_p20051216 ~0.4.9_p20060302 0.4.9_p20060530 ~0.4.9_p20060816 0.4.9_p20061016 ~0.4.9_p20070129
     Installed:           0.4.9_p20061016(11:35:03 PM 02/14/2007)(-a52 -aac -altivec -amr -debug -doc dts encode -ieee1394 -imlib mmx -network ogg -oss sdl -test theora -threads truetype -v4l vorbis -x264 -xvid zlib)
     Homepage:            http://ffmpeg.org/
     Description:         Complete solution to record, convert and stream audio and video. Includes libavcodec.

# grep man /var/log/portage/media-video:ffmpeg-0.4.9_p20061016:20070214-123124.log
            install -d "/var/tmp/portage/media-video/ffmpeg-0.4.9_p20061016/image//usr/share/man/man1" ; \
            install -m 644 doc/ffmpeg.1 doc/ffplay.1 "/var/tmp/portage/media-video/ffmpeg-0.4.9_p20061016/image//usr/share/man/man1" ; \
./usr/share/doc/ffmpeg-0.4.9_p20061016/ffmpeg_powerpc_performance_evaluation_howto.txt.bz2

Reproducible: Always

Steps to Reproduce:
1. man ffmpeg
2.
3.

Actual Results:  
"No manual entry for ffmpeg"

Expected Results:  
A manual page should be displayed.

# man -k ffmpeg
does produce an entry, so perhaps ffmpeg is part of a different man page.

# emerge --info
Portage 2.1.2-r9 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 14 Feb 2007 01:28:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
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-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
LINGUAS="en"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d alsa amd64 avi berkdb bitmap-fonts cairo cdr cli cracklib crypt dbus directfb dlloader dri dts dvd dvdr dvdread eds emboss encode esd fam fbcon firefox fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog java javascript jpeg kde lesstif libg++ live livecd mad matroska midi mikmod mmx2 motif mp3 mpeg multislot musepack musicbrainz ncurses nls nptl nptlonly ogg oggvorbis opengl pam pcre pdf perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd theora truetype truetype-fonts type1-fonts unicode usb vcd vim-with-x vorbis xanim xinerama xml xorg xv 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-21 08:57:29 UTC
# man -k ffmpeg
ffmpeg: nothing appropriate

You are apparently a victim of one of the `makewhatis cronjob doesn't do anything` bugs. Either use sys-apps/man-1.6e-r3 or run `makewhatis -u` manually.
Comment 2 Daiajo Tibdixious 2007-02-21 10:59:26 UTC
# makewhatis -u
# man -k ffmpeg
ffmpeg               (1)  - FFmpeg video converter
# man ffmpeg
No manual entry for ffmpeg
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-02-21 11:03:04 UTC
Well sorry, move this somewhere else; this is not a ffmpeg bug that you have stale manpages DB.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-02-21 11:04:30 UTC
(And try latest ~arch sys-apps/man before filing a bug about man)
Comment 5 Daiajo Tibdixious 2007-02-22 05:24:33 UTC
Sorry, I didn't have time to upgrade yesterday.
Today I upgraded to 1.6e-r3:
# eix -en sys-apps/man
[I] sys-apps/man
     Available versions:  1.6d (~)1.6e (~)1.6e-r1 (~)1.6e-r2 (~)1.6e-r3
     Installed:           1.6e-r3(03:49:16 PM 02/22/2007)(nls)
     Homepage:            http://primates.ximian.com/~flucifredi/man/
     Description:         Standard commands to read man pages
Still the same symptom:
# man -k ffmpeg
ffmpeg               (1)  - FFmpeg video converter

So I did makewhatis again:
# makewhatis -u
# man -k ffmpeg
ffmpeg               (1)  - FFmpeg video converter
# man ffmpeg
No manual entry for ffmpeg

Which had NO effect.

# equery belongs makewhatis
[ Searching for file(s) makewhatis in *... ]
sys-apps/man-1.6e-r3 (/etc/cron.daily/makewhatis)
sys-apps/man-1.6e-r3 (/usr/sbin/makewhatis)
Comment 6 svrmarty 2008-03-18 22:39:12 UTC
do you read mail from cron ?
is there anything about makewhatis ?
Comment 7 SpanKY gentoo-dev 2010-09-19 23:53:51 UTC
your output shows ffmpeg(1) being installed.  which means `man ffmpeg` should be working.  do you actually have that man page installed ?