Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange broken pipe errors from man *
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
hornett
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2004
Posts: 84

PostPosted: Thu Mar 31, 2005 1:13 pm    Post subject: Strange broken pipe errors from man * Reply with quote

I've just noticed that when I do man <anypage> in either xterm or gnome-terminal, after closing the page (which displayed correctly) I get messages left on the terminal saying things similar to :

Code:
retro@d600 ~ $ man man

gunzip: stdout: Broken pipe

bzip2: I/O or other error, bailing out.  Possible reason follows.
bzip2: Broken pipe
        Input file = /var/cache/man/cat1/man.1.bz2, output file = (stdout)


Following a fairly extensive google session, I've tried getting the latest versions of man, groff, sys-apps/texinfo, gnome-terminal.
None of these things have made any difference as of yet.

It's been a while since I last used man, hence I can't remember all the packages I have updated which could be causing this problem.

Any ideas on how to fix this would be apppreciated! The messages don't seem to cause me any problems, but are annoying nevertheless. 8O

CFLAGS="-Os -march=pentium4 -pipe"
Kernel=tried various (2.6.8 .. 2.6.11)
AFAIK, no unusual configuration/apps installed

PS Perhaps somebody could post their /etc/man.conf file for me, I fear that I may have ruined it with etc-update at some stage.

Andy. :(
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Fri Apr 01, 2005 4:51 am    Post subject: Reply with quote

I'm not a big fan of long posts, but here's my man.conf! I know it contains comments; so sue me :P!

Code:
#
# Generated automatically from man.conf.in by the
# configure script.
#
# man.conf from man-1.5p
#
# For more information about this file, see the man pages man(1)
# and man.conf(5).
#
# This file is read by man to configure the default manpath (also used
# when MANPATH contains an empty substring), to find out where the cat
# pages corresponding to given man pages should be stored,
# and to map each PATH element to a manpath element.
# It may also record the pathname of the man binary. [This is unused.]
# The format is:
#
# MANBIN                pathname
# MANPATH               manpath_element [corresponding_catdir]
# MANPATH_MAP           path_element    manpath_element
#
# If no catdir is given, it is assumed to be equal to the mandir
# (so that this dir has both man1 etc. and cat1 etc. subdirs).
# This is the traditional Unix setup.
# Certain versions of the FSSTND recommend putting formatted versions
# of /usr/.../man/manx/page.x into /var/catman/.../catx/page.x.
# The keyword FSSTND will cause this behaviour.
# Certain versions of the FHS recommend putting formatted versions of
# /usr/.../share/man/[locale/]manx/page.x into
# /var/cache/man/.../[locale/]catx/page.x.
# The keyword FHS will cause this behaviour (and overrides FSSTND).
# Explicitly given catdirs override.
#
# FSSTND
FHS
#
# This file is also read by man in order to find how to call nroff, less,
# and to determine the correspondence between extensions and decompressors
#
# MANBIN                /usr/local/bin/man
#
# Every automatically generated MANPATH includes these fields
#
MANPATH /usr/share/man
MANPATH /usr/local/share/man
MANPATH /usr/X11R6/man
MANPATH /usr/local/man
MANPATH /usr/man
#
# Uncomment if you want to include one of these by default
#
# MANPATH       /opt/*/man
# MANPATH       /usr/lib/*/man
# MANPATH       /usr/share/*/man
# MANPATH       /usr/kerberos/man
#
# Set up PATH to MANPATH mapping
#
# If people ask for "man foo" and have "/dir/bin/foo" in their PATH
# and the docs are found in "/dir/man", then no mapping is required.
#
# The below mappings are superfluous when the right hand side is
# in the mandatory manpath already, but will keep man from statting
# lots of other nearby files and directories.
#
MANPATH_MAP     /bin                    /usr/share/man
MANPATH_MAP     /sbin                   /usr/share/man
MANPATH_MAP     /usr/bin                /usr/share/man
MANPATH_MAP     /usr/sbin               /usr/share/man
MANPATH_MAP     /usr/local/bin          /usr/local/share/man
MANPATH_MAP     /usr/local/sbin         /usr/local/share/man
MANPATH_MAP     /usr/X11R6/bin          /usr/X11R6/man
MANPATH_MAP     /usr/bin/X11            /usr/X11R6/man
MANPATH_MAP     /usr/bin/mh             /usr/share/man
#
# NOAUTOPATH keeps man from automatically adding directories that look lik
# manual page directories to the path.
#
#NOAUTOPATH
#
# NOCACHE keeps man from creating cache pages ("cat pages")
# (generally one enables/disable cat page creation by creating/deleting
# the directory they would live in - man never does mkdir)
#
#NOCACHE
#
# Useful paths - note that COL should not be defined when
# NROFF is defined as "groff -Tascii" or "groff -Tlatin1";
# not only is it superfluous, but it actually damages the output.
# For use with utf-8, NROFF should be "nroff -mandoc" without -T option.
# (Maybe - but today I need -Tlatin1 to prevent double conversion to utf8.
#
# If you have a new troff (version 1.18.1?) and its colored output
# causes problems, add the -c option to TROFF, NROFF, JNROFF.
#
TROFF           /usr/bin/groff -Tps -mandoc
NROFF           /usr/bin/nroff -Tascii -c -mandoc
JNROFF          /usr/bin/groff -Tnippon -mandocj
EQN             /usr/bin/geqn -Tps
NEQN            /usr/bin/geqn -Tlatin1
JNEQN           /usr/bin/geqn -Tnippon
TBL             /usr/bin/gtbl
# COL           /usr/bin/col
REFER           /usr/bin/refer
PIC             /usr/bin/pic
VGRIND
GRAP
PAGER           /usr/bin/less -is
CAT             /bin/cat
#
# The command "man -a xyzzy" will show all man pages for xyzzy.
# When CMP is defined man will try to avoid showing the same
# text twice. (But compressed pages compare unequal.)
#
CMP             /usr/bin/cmp -s
#
# Compress cat pages
#
COMPRESS        /bin/bzip2
COMPRESS_EXT    .bz2
#
# Default manual sections (and order) to search if -S is not specified
# and the MANSECT environment variable is not set.
#
MANSECT         1:1p:8:2:3:3p:4:5:6:7:9:0p:tcl:n:l:p:o
#
# Default options to use when man is invoked without options
# This is mainly for the benefit of those that think -a should be the defa
# Note that some systems have /usr/man/allman, causing pages to be shown t
#
#MANDEFOPTIONS  -a
#
# Decompress with given decompressor when input file has given extension
# The command given must act as a filter.
#
.gz             /bin/gunzip -c
.bz2            /bin/bzip2 -c -d
.z
.Z              /bin/zcat
.F
.Y
Back to top
View user's profile Send private message
hornett
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2004
Posts: 84

PostPosted: Fri Apr 01, 2005 9:23 am    Post subject: Reply with quote

Thanks, but sadly it didn't fix the problem :(

I backed up about two weeks ago, so I'm going to see about restoring that.

I still have no idea what caused this tho, and that's really frustrating!
Back to top
View user's profile Send private message
yaneurabeya
Veteran
Veteran


Joined: 13 May 2004
Posts: 1754
Location: Seattle

PostPosted: Sat Apr 02, 2005 9:38 pm    Post subject: Reply with quote

emerge -e man?
Back to top
View user's profile Send private message
gi1242
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jul 2004
Posts: 146

PostPosted: Tue May 09, 2006 9:34 pm    Post subject: Reply with quote

I'm having the same issue. Fortunately the man page displays correctly, so it is not serious. If you figure out a fix, please post it here :)
Back to top
View user's profile Send private message
gi1242
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jul 2004
Posts: 146

PostPosted: Thu May 11, 2006 6:40 pm    Post subject: Reply with quote

Strangely, I'm only having the error when I use tcsh. Under bash, I don't get any of the above error messages. Most of the sites I read on google said the opposite should happen!

GI

PS: It's not a serious error ... but it would be nice to have it fixed
Back to top
View user's profile Send private message
gi1242
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jul 2004
Posts: 146

PostPosted: Sat May 13, 2006 2:38 am    Post subject: Reply with quote

Ok: I found and fixed the error. I traced the problem to one with the terminal emulator -- mrxvt.

Fortunately I'm a mrxvt developer. Unfortunately it turns out that this problem arose because of a bugfix *I* recently made to mrxvt. So it was "my own damn fault" :).

Anyways, I fixed the error and the recent version (from the sourceforge subversion tree) does not have the problem any longer.

GI
Back to top
View user's profile Send private message
bfx81
n00b
n00b


Joined: 25 Oct 2006
Posts: 21

PostPosted: Mon Nov 11, 2013 6:20 pm    Post subject: Reply with quote

I've the same problem right now (7 years later...). It's happen with gnome-terminal, but not with xterm for example.
x11-terms/gnome-terminal-2.32.1-r1
x11-libs/vte-0.28.2-r204

Re-emerging both packages (current stable versions) doesn't help.
Anyone with the same problem? Any ideas?
_________________
In a world without walls... who needs windows?
Back to top
View user's profile Send private message
honp
Guru
Guru


Joined: 25 Sep 2006
Posts: 355
Location: Good old Prague, Czech rep.

PostPosted: Mon Nov 25, 2013 5:14 pm    Post subject: Reply with quote

I have this problem too (but i have another bigger problem with portage - sandbox - or bzip2, so i don`t know who to blame yet :) )
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum