Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188641 - x11-terms/xterm-227 emerge hangs due to an env var
Summary: x11-terms/xterm-227 emerge hangs due to an env var
Status: RESOLVED DUPLICATE of bug 56407
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-12 20:38 UTC by Uli Schlachter
Modified: 2007-08-12 20:57 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 Uli Schlachter 2007-08-12 20:38:54 UTC
Today I updated my xterm to xterm-227. In the make install step it suddenly hang.

<snip>
... installing /var/tmp/portage/x11-terms/xterm-227/image//usr/bin/uxterm
/bin/sh ./mkdirs.sh /var/tmp/portage/x11-terms/xterm-227/image//usr/share/man/man1
mkdir /var/tmp/portage/x11-terms/xterm-227/image/usr/share
mkdir /var/tmp/portage/x11-terms/xterm-227/image/usr/share/man
mkdir /var/tmp/portage/x11-terms/xterm-227/image/usr/share/man/man1
/bin/sh ./minstall.sh "/usr/bin/install -c -m 644" ./xterm.man    /var/tmp/portage/x11-terms/xterm-227/image//usr/share/man/man1/`echo xterm|    sed 's,x,x,'`.1  /usr/share/X11/app-defaults
</snip>

After this nothing happens. After a second or so nothing continued to happen ;).

I looked into minstall.sh and found this:
<snip>
# "X" is usually in the miscellaneous section, along with "undocumented".
# Use that to guess an appropriate section.
X_MANSECT=`man X 2>&1 | tr '\012' '\020' | sed -e 's/^[^0123456789]*\([^) ][^) ]*\).*/\1/'`
</snip>

But I got this in my env:
MANPAGER=col -b | vim -u /usr/share/vim/vim71/macros/less.vim -c "set ft=man" -

So vim was called and everything hung.
When I did unset MANPAGER and emerged again it worked like a charm.

Please insert that 'unset MANPAGER' to the ebuild or somewhere along the road.

Reproducible: Always

Steps to Reproduce:
1. emerge xterm

Actual Results:  
Uhm...emerge doesnt finish?

Expected Results:  
I'd like it to install xterm :)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-12 20:57:54 UTC

*** This bug has been marked as a duplicate of bug 56407 ***