Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 20030

Summary: xterm spontaneously closes when emerging xmms-1.2.7-r20
Product: Portage Development Reporter: Michael Leuchtenburg <michael>
Component: UnclassifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Leuchtenburg 2003-04-27 02:27:38 UTC
When I try to emerge xterm-1.2.7-r20, xterm spontaneously closes. I am running
bash. This ebuild is being called from emerge -u world.

Versions:
xterm: XFree86 4.2.99.903(174)
bash: GNU bash, version 2.05b.0(1)-release (i686-pc-linux-gnu)

Will post log fragment as a comment.

Reproducible: Always
Steps to Reproduce:
1. run emerge -u world (with world such that it wants to update xmms to 1.2.7-r20)
2. 
3.

Actual Results:  
xterm closed, before my very eyes.

Expected Results:  
installed xmms-1.2.7-r20

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gaming-r1 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="3dnow apm arts cups libg++ mmx xml2 berkdb svga gpm tcpd libwww gtk motif
scanner avi canna cjk cdr crypt dga dvd emacs encode esd ethereal freewnn gd
gdbm ggi gif gnome gphoto2 guile imap imlib java jpeg kde ldap leim mbox mikmod
mozilla mpeg mule ncurses nls oggvorbis opengl oss pam pda pdflib perl pic
plotutils png python qt quicktime readline samba sdl slang spell ssl tetex tiff
truetype usb X xmms xv zlib x86 xml"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -msse -m3dnow -mmmx -mfpmath=sse"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="~x86 x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Michael Leuchtenburg 2003-04-27 02:29:43 UTC
Tail end of world.log after running: emerge -u world | tee /tmp/world.log

gcc -march=athlon-xp -O3 -pipe -msse -m3dnow -mmmx -mfpmath=sse -Wall -Wpointer-arith -finline-functions -ffast-math -fomit-frame-pointer
-funroll-all-loops -o .libs/gnomexmms gnomexmms.o -rdynamic -rdynamic -rdynamic  -L/usr/lib -L/usr/X11R6/lib -ldl -lXi -lXext -lX11 -lm -l
dl -lXi -lXext -lX11 -lm -ldl -ldl -lXi -lXext -lX11 -lm /usr/lib/libgnorba.so -lm -lm /usr/lib/libgnomeui.so -lm -ldl -lXext -lXi -lX11 /
usr/lib/libart_lgpl.so -lm /usr/lib/libgdk_imlib.so -ldl -lXext -lSM -lICE -ldl -lXi -lXext -lX11 -lm -ldl -lXi -lXext -lX11 -lm -ldl -ldl
 -lXi -lXext -lX11 /usr/lib/libgnome.so -lm /usr/lib/libgnomesupport.so -lz -lm /usr/lib/libesd.so -lm /usr/lib/libaudiofile.so -lm -lm -l
db1 /usr/lib/libpanel_applet.so -lm -ldl /usr/lib/libORBitCosNaming.so /usr/lib/libORBit.so -lm /usr/lib/libIIOP.so /usr/lib/libORBitutil.
so -lm ../libxmms/.libs/libxmms.so /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so /usr/lib/libgthread.so /usr/lib/libglib.so
 -lpthread -ldl -lXi -lXext -lX11 -lm
creating gnomexmms
make[2]: Leaving directory `/var/tmp/portage/xmms-1.2.7-r20/work/xmms-1.2.7/gnomexmms'
Making all in po
make[2]: Entering directory `/var/tmp/portage/xmms-1.2.7-r20/work/xmms-1.2.7/po'
PATH=../src:$PATH /usr/bin/xgettext --default-domain=xmms --directory=.. \
  --add-comments --keyword=_ --keyword=N_ \
  --files-from=./POTFILES.in \
&& test ! -f xmms.po \
   || ( rm -f ./xmms.pot \
        && mv xmms.po ./xmms.pot )
rm -f cat-id-tbl.tmp
sed -f ../intl/po2tbl.sed ./xmms.pot \
| sed -e "s/@PACKAGE NAME@/xmms/" > cat-id-tbl.tmp
if cmp -s cat-id-tbl.tmp ./cat-id-tbl.c; then \
  rm cat-id-tbl.tmp; \
else \
  echo cat-id-tbl.c changed; \
  rm -f ./cat-id-tbl.c; \
  mv cat-id-tbl.tmp ./cat-id-tbl.c; \
fi
cat-id-tbl.c changed
cd . && rm -f stamp-cat-id && echo timestamp > stamp-cat-id
make[2]: Leaving directory `/var/tmp/portage/xmms-1.2.7-r20/work/xmms-1.2.7/po'

1351 total lines, so I won't paste the whole thing. And yes, that really is the last line.
Comment 2 SpanKY gentoo-dev 2003-04-27 15:52:18 UTC
does this only happen with xmms and xterm ?

what if you run `emerge xmms >& xmms-emerge-log` inside of the xterm ?
Comment 3 Michael Leuchtenburg 2003-04-27 17:04:04 UTC
It does build fine when I build it in rxvt. Oddly, it also now builds in xterm. I have restarted X since then, but I haven't changed anything else major. The one change that could possible make a difference is putting "alsa" into my USE, but the xmms ebuild does not care about that flag.

And oh yes, I did test multiple times before when it was closing. It actually was reproducible - I didn't just file a bug w/o thinking.

So from my perspective anyways, the problem is fixed, though not explained.
Comment 4 Thomas Schuetz 2003-04-30 04:09:56 UTC
Seems to be a one-time-prob.