Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47806 - POSIX man sections are not in default MANPATH
Summary: POSIX man sections are not in default MANPATH
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-14 09:44 UTC by Rick Morra
Modified: 2004-05-01 14:09 UTC (History)
1 user (show)

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


Attachments
Modify man-1.5m.ebuild to add posix sections to man.conf (man-1.5m.ebuild-posix-mansect.patch,379 bytes, patch)
2004-04-19 23:11 UTC, Doug Weimer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Morra 2004-04-14 09:44:55 UTC
`man <POSIX-MANPAGE>` does not find manpages in 'man0p', 'man1p', and 'man3p' directories.

'/etc/man.conf' from 'sys-apps/man-1.5l-r6' includes the line
    MANSECT         1:8:2:3:4:5:6:7:9:tcl:n:l:p:o

Changing  this line to
    MANSECT         1:8:2:3:4:5:6:7:9:tcl:n:l:0p:1p:3p:o
solves the problem. But as a newbie, I'm not sure whether or not this is a kludge.


Reproducible: Always
Steps to Reproduce:
1.man getconf
2.
3.

Actual Results:  
Return is 'No manual entry for getconf' even though
/usr/share/man/man1p/getconf.1p.gz' exists.

Expected Results:  
Diplayed the manpage getconf(1p)

Gentoo Base System version 1.4.3.13
Portage 2.0.50-r5 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 Intel(R) Celeron(TM) CPU                1400MHz
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.247.13/sites/www.ibiblio.org/gentoo/
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/
http://mirrors.tds.net/gentoo http://gentoo.noved.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X509 aavm alsa apm arts avi berkdb crypt cups encode esd evms2 fam
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde kerberos krb4 ldap
libg++ libwww mad mikmod motif mozcalendar mozilla mozxmlterm mpeg ncurses nls
oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba
sasl sdl slang spell ssl svga tcltk tcpd tetex tiff truetype unicode usb wmf x86
xml xml2 xmms xv zlib"
Comment 1 Doug Weimer 2004-04-19 23:11:09 UTC
Created attachment 29676 [details, diff]
Modify man-1.5m.ebuild to add posix sections to man.conf

The above solution appears to be the right one (ref:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0401.2/1139.html ). This patch
adds a sed line to man-1.5m.ebuild that modifies man's configure script to add
the 0p,1p,and 3p sections to man.conf.
Comment 2 Bryan Østergaard (RETIRED) gentoo-dev 2004-05-01 14:09:22 UTC
Added to cvs.