Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534746 - sys-devel/binutils - man pages not recorded in man db
Summary: sys-devel/binutils - man pages not recorded in man db
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-05 08:46 UTC by Dave Kemper
Modified: 2015-01-07 00:42 UTC (History)
0 users

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 Dave Kemper 2015-01-05 08:46:36 UTC
On a system containing both sys-apps/man-pages-posix and sys-devel/binutils -- not an uncommon installation by any means -- there are two different man pages for the "strings" command, located at (respectively):

  /usr/share/man/man1p/strings.1p.bz2
  /usr/share/binutils-data/i686-pc-linux-gnu/2.24/man/man1/strings.1.bz2

The former is a generic description of the POSIX standard for the command; the latter documents the actual implementation as it exists in the binutils package.

The MANPATH that is assembled from /etc/env.d entries picks up these two man pages from, respectively:

  /etc/env.d/00basic
  /etc/env.d/05binutils

This places /usr/share/man (in 00basic) in the MANPATH before /usr/share/binutils-data/i686-pc-linux-gnu/2.24/man (in 05binutils).

This is a problem because it means a user looking for the man page of the actual "strings" command installed on the system instead gets a man page for a theoretical "strings" implementation that does not match what exists on the system.

A theoretical man page should not obscure an actual man page.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-06 07:50:12 UTC
Please post your `emerge --info' output in a comment.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-06 07:51:13 UTC
The order of listing in MANPATH shouldn't matter at all. Also, strings.1 and strings.1p are in different sections.
Comment 3 Dave Kemper 2015-01-07 00:42:56 UTC
> The order of listing in MANPATH shouldn't matter at all. Also, strings.1 and
> strings.1p are in different sections.

You are correct.  PEBCAK.