Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60096 - man fails trying to open the "ld" manpage
Summary: man fails trying to open the "ld" manpage
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://yhared.sytes.net/cont/bizarre-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-11 15:43 UTC by kit
Modified: 2004-08-13 15:39 UTC (History)
0 users

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


Attachments
Short copy & paste of the bug (bizarre-man-failure.txt,876 bytes, text/plain)
2004-08-11 15:44 UTC, kit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kit 2004-08-11 15:43:24 UTC
When I try to open the man page for ld, man complains and exits cleanly. however, the error message seems unclear, and it doesn't display the manual page I asked for. This probably happens with other pages as well, but I haven't confirmed that. The same behaviour occurs on a friend's gentoo system.

Reproducible: Always
Steps to Reproduce:
1. $ man ld
Actual Results:  
fgets: Success
Error reading man page /usr/share/man/man1/ld.1.gz
No manual entry for ld

Expected Results:  
Either "No manual entry for ld" or display manual page as usual.

Done from console on almost-clean boot. Gentoo 2004.2 installation, nothing 
unusual happening. I've put normal instead of minor because it may point to a 
fault in other manual pages or man itself.
Comment 1 kit 2004-08-11 15:44:38 UTC
Created attachment 37251 [details]
Short copy & paste of the bug
Comment 2 Reporter 2004-08-11 21:18:45 UTC
cf. bug #43161 (Feb 27, 2004) and bug #35762 (Dec 13, 2003)
Comment 3 SpanKY gentoo-dev 2004-08-11 21:47:59 UTC
neglected to provide `emerge info`

also, please check other manpages
Comment 4 kit 2004-08-13 15:39:37 UTC
Confirmed with all of the list of man pages on #35762 except "as", for which the normal "no manual entry" message appears.

[continuity@pseudo: ~] $ emerge -p binutils
[ebuild   R   ] sys-devel/binutils-2.14.90.0.8-r1

Emerge info, this is the default + mirrors:
Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.7
)
=================================================================
System uname: 2.6.7 i686 Intel(R) Pentium(R) 4 CPU 1300MHz
Gentoo Base System version 1.4.16
distcc 2.13 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=i686 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=i686 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror
s.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ht
tp://gentoo.tiscali.nl/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm g
tk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls o
ggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang s
pell ssl svga tcpd truetype x86 xml2 xmms xv zlib"

From #35762, it appears that the bug occurs in stage1 installs, where perl is not present.. it seems logical that the man pages in the stage3 file were built from a stage1 with no perl, which caused the bug.. as soon as binutils is re-emerged or updated, it would be fixed. This hasn't happened as I've only the system installed a short while.

(...time passes...)

Ok, I emerged binutils and the man page for ld works perfectly now, along with a random selection from the list. Still no man for as, although the command is there:

[continuity@pseudo: ~] $ man as
No manual entry for as
[continuity@pseudo: ~] $ ls -l /usr/share/man/ | grep as
[continuity@pseudo: ~] $ as --version
GNU assembler 2.14.90.0.8 20040114
/* etc */
This assembler was configured for a target of `i386-pc-linux-gnu'.

If that's true, then the stage3 file is broken in that respect, and there might be similar bugs that could be caused by no perl (maybe).

Anyway, works now. Thanks =]