Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149857 - x-modular.eclass - man required after the installation of man-db
Summary: x-modular.eclass - man required after the installation of man-db
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2006-10-02 08:16 UTC by Emilio Pavia
Modified: 2006-10-10 19:31 UTC (History)
3 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 Emilio Pavia 2006-10-02 08:16:20 UTC
I installed man-db because man doesn't support unicode, but emerge wants to install man again:

# emerge -uDptv world

These are the packages that would be merged, in reverse order:

Calculating world dependencies... done!
[blocks B     ] sys-apps/man-db (is blocking sys-apps/man-1.6d)
[nomerge      ] media-gfx/gwenview-1.3.1-r1  USE="arts -debug -kdehiddenvisibility -kipi -xinerama"
[nomerge      ]  kde-base/kdelibs-3.5.2-r6  USE="alsa arts cups spell ssl -acl -debug -doc -jpeg2k -kdeenablefinal -kdehiddenvisibility -kerberos -legacyssl -openexr -tiff -xinerama -zeroconf"
[nomerge      ]   x11-libs/qt-3.3.6-r1  USE="cups gif ipv6 opengl -debug -doc -examples -firebird -immqt -immqt-bc -mysql -nas -nis -odbc -postgres -sqlite -xinerama"
[nomerge      ]    virtual/xft-7.0
[nomerge      ]     x11-libs/libXft-2.1.10  USE="-debug"
[nomerge      ]      x11-libs/libX11-1.0.3  USE="ipv6 -debug"
[nomerge      ]       x11-proto/kbproto-1.0.3  USE="-debug"
[ebuild  N    ]        sys-apps/man-1.6d  USE="nls" 0 kB

I think that some ebuild should require virtual/man (provided by both) instead of sys-apps/man.
Comment 1 Emilio Pavia 2006-10-02 08:40:13 UTC
In /usr/portage/eclass/x-modular.eclass there is: 

RDEPEND="${RDEPEND}
        >=sys-apps/man-1.6b-r2
        !<=x11-base/xorg-x11-6.9"


I've changed it with:

RDEPEND="${RDEPEND}
        virtual/man
        !<=x11-base/xorg-x11-6.9"

Now man is not required but I don't know if this change breaks something.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2006-10-02 10:35:57 UTC
That man dep is so that it looks in extra sections for X man pages -- /usr/share/man/man[0-9]x. Does the same thing need to get added to man-db?
Comment 3 Emilio Pavia 2006-10-02 10:45:30 UTC
Do you mean this:

$ man radeon
No manual entry for radeon

$ man 4x radeon
Reformatting radeon(4x), please wait...

?
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2006-10-02 10:50:35 UTC
Yes.
Comment 5 James Cloos 2006-10-02 10:52:07 UTC
Incidently (and, yes, based on the original subject :) :

    app-doc/daemontools-man-20020131
    app-doc/djbdns-man-20020130
    app-doc/djbdns-man-20031023
    app-i18n/man-pages-de-0.4

all RDEPEND on "sys-apps/man".
Comment 6 Emilio Pavia 2006-10-02 23:15:19 UTC
In /etc/man_db.conf there is:

# Section names. Manual sections will be searched in the order listed here;
# the default is 1, n, l, 8, 3, 2, 5, 4, 9, 6, 7. Multiple SECTION
# directives may be given for clarity, and will be concatenated together in
# the expected way.
# If a particular extension is not in this list (say, 1mh), it will be
# displayed with the rest of the section it belongs to. The effect of this
# is that you only need to explicitly list extensions if you want to force a
# particular order. Sections with extensions should usually be adjacent to
# their main section (e.g. "1 1mh 8 ...").
SECTION         1 n l 8 3 2 5 4 9 6 7

I've added "4x" to the list and now man works also with extra section for X:

$ man radeon
Reformatting radeon(4x), please wait...
Comment 7 SpanKY gentoo-dev 2006-10-05 19:37:54 UTC
man-db-2.4.3-r1 now supports the x categories
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2006-10-10 19:31:55 UTC
Fixed in CVS, thanks!