when i try to emerge --update --deep world, the compiling process ends whith an error when it comes to compile gpm-1.20.1-r4 Reproducible: Always Steps to Reproduce: 1.emerge --update --deep world 2. 3. Actual Results: root@xardas george # emerge --update --deep world Calculating world dependencies ...done! >>> emerge (1 of 25) sys-libs/gpm-1.20.1-r4 to / >>> md5 src_uri ;-) gpm-1.20.1.tar.bz2 >>> md5 src_uri ;-) gpm-1.20.1-patches-1.3.tar.bz2 >>> Unpacking source... >>> Unpacking gpm-1.20.1.tar.bz2 to /var/tmp/portage/gpm-1.20.1-r4/work >>> Unpacking gpm-1.20.1-patches-1.3.tar.bz2 to /var/tmp/portage/gpm-1.20.1-r4/w ork * Applying various patches (bugfixes/updates) ... * 01_all_info.patch.bz2 ... [ ok ] * 03_all_DESTDIR.patch.bz2 ... [ ok ] * 04_all_root.patch.bz2 ... [ ok ] * 05_all_serialconsole.patch.bz2 ... [ ok ] * 08_all_nodebug.patch.bz2 ... [ ok ] * 09_all_logfillup.patch.bz2 ... [ ok ] * 10_all_link.patch.bz2 ... [ ok ] * 11_all_lib_segv.patch.bz2 ... [ ok ] * 12_all_linux26-dependcache.patch.bz2 ... [ ok ] * 20_all_gpm-1.20.1-subscript.patch.bz2 ... [ ok ] * 21_all_synps2-four-way-button.patch.bz2 ... [ ok ] * 30_all_gpm-1.20.1-weak-wgetch.patch.bz2 ... [ ok ] * 60_all_parallel-build.patch.bz2 ... [ ok ] * Done with patching >>> Source unpacked. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --inf odir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var /lib --libdir=/lib --sysconfdir=/etc/gpm creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe ) works... yes checking whether the C compiler (gcc -march=athlon-xp -O3 -pipe ) is a cross-com piler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for a BSD compatible install... /bin/install -c checking for bison... bison -y checking whether ln -s works... yes checking for dvips... no checking for texi2html... no checking for tex... no checking for texindex... /usr/bin/texindex checking for makeinfo... /usr/bin/makeinfo checking for diff... /usr/bin/diff checking for sed... /bin/sed checking for emacs... /usr/bin/emacs checking where to install Emacs Lisp files... ${datadir}/emacs/site-lisp checking how to run the C preprocessor... gcc -E checking for syslog.h... yes checking for linux/input.h... yes checking for linux/joystick.h... yes checking for ncurses.h... yes checking for ncurses/curses.h... no checking for curses.h... yes checking for sys/sysmacros.h... yes checking for linux/major.h... yes checking for linux/tty.h... yes checking for __u32... yes checking whether system is ELF... yes checking for vsyslog... yes checking for syslog... yes checking for working alloca.h... yes checking for alloca... yes checking for tputs in -ltinfo... no checking for tputs in -lncurses... yes checking for wgetch in -lncurses... yes updating cache ./config.cache creating ./config.status creating Makefile.include creating Makefile creating doc/Makefile creating src/Makefile creating contrib/Makefile creating doc/doc.gpm creating src/headers/config.h touch src/.depend # to prevent unecessary warnings make -C src dep make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule . bison -y /var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src/prog/gpm-root.y && mv y.tab.c prog/gpm-root.c # make links in srcdir make[1]: [dep] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ i686-pc-linux-gnu-gcc -I. -I /var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -M -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" $ DEPS | \ /bin/sed 's/\(\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src' make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src' i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o ma in.o main.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o gp m.o gpm.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o gp n.o gpn.c gpm.c: In function `old_main': gpm.c:1145: warning: no return statement in function returning non-void i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o mi ce.o mice.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o sp ecial.o special.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o tw iddler.o twiddler.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o sy naptics.o synaptics.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o st artup.o startup.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o se rver_tools.o server_tools.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o re port.o report.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o to ols.o tools.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -DPIC -fPIC -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -p ipe -c -o lib/liblow.lo lib/liblow.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -DPIC -fPIC -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -p ipe -c -o lib/libhigh.lo lib/libhigh.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -DPIC -fPIC -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -p ipe -c -o lib/libxtra.lo lib/libxtra.c synaptics.c:888: warning: `tp_dump_report_data' defined but not used i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -DPIC -fPIC -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -p ipe -c -o lib/report-lib.lo lib/report-lib.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -DPIC -fPIC -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -p ipe -c -o tools.lo tools.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -DPIC -fPIC -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -p ipe -c -o lib/libcurses.lo lib/libcurses.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o li b/liblow.o lib/liblow.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o li b/libhigh.o lib/libhigh.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o li b/libxtra.o lib/libxtra.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o li b/report-lib.o lib/report-lib.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o li b/libcurses.o lib/libcurses.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o pr og/mev.o prog/mev.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o pr og/hltest.o prog/hltest.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o pr og/mouse-test.o prog/mouse-test.c i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAV E_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR ="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c -o pr og/disable-paste.o prog/disable-paste.c i686-pc-linux-gnu-gcc -L/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -o g pm main.o gpm.o gpn.o mice.o special.o twiddler.o synaptics.o startup.o server_t ools.o report.o tools.o -lm i686-pc-linux-gnu-gcc -fPIC -shared -Wl,-soname,libgpm.so.1 \ -L/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -o lib/libgpm.so.1.19.0 li b/liblow.lo lib/libhigh.lo lib/libxtra.lo lib/report-lib.lo tools.lo lib/libcurs es.lo -lc i686-pc-linux-gnu-ar rc lib/libgpm.a lib/liblow.o lib/libhigh.o lib/libxtra.o li b/report-lib.o tools.o lib/libcurses.o i686-pc-linux-gnu-ranlib lib/libgpm.a ln -s -f libgpm.so.1.19.0 lib/libgpm.so i686-pc-linux-gnu-gcc -L/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -o p rog/mev prog/mev.o lib/libgpm.so i686-pc-linux-gnu-gcc -L/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -o p rog/hltest prog/hltest.o lib/libgpm.so i686-pc-linux-gnu-gcc -L/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -o p rog/mouse-test prog/mouse-test.o mice.o twiddler.o synaptics.o lib/libgpm.so - lm i686-pc-linux-gnu-gcc -L/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -o p rog/disable-paste prog/disable-paste.o lib/libgpm.so i686-pc-linux-gnu-gcc -I. -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src - DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBI NDIR="\"/usr/sbin\"" -march=athlon-xp -O3 -pipe -march=athlon-xp -O3 -pipe -c - o prog/gpm-root.o prog/gpm-root.c i686-pc-linux-gnu-gcc -L/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -o p rog/gpm-root prog/gpm-root.o lib/libgpm.so rm prog/hltest.o prog/mev.o prog/disable-paste.o make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src' make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/doc' /bin/sed -f /var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/doc/infofilter /var/t mp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/doc/doc.gpm > /var/tmp/portage/gpm-1.20 .1-r4/work/gpm-1.20.1/doc/gpm.texinfo awk -f /var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/doc/manpager doc.gpm awk: /var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/doc/manpager:35: warning: es cape sequence `\{' treated as plain `{' awk: /var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/doc/manpager:36: warning: es cape sequence `\}' treated as plain `}' chmod 400 /var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/doc/gpm.texinfo if [ "/usr/bin/makeinfo" != "no" ]; then /usr/bin/makeinfo /var/tmp/portage/gpm- 1.20.1-r4/work/gpm-1.20.1/doc/gpm.texinfo -o /var/tmp/portage/gpm-1.20.1-r4/work /gpm-1.20.1/doc/gpm.info; fi for i in gpm-root.1 gpm-types.7 gpm.8 mev.1 mouse-test.1; do \ expand $i | sed s/^'[ ]*'//g > $i.new; \ mv $i.new $i; \ done; touch gpm.man /var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/doc/gpm.texinfo:277: warning: unl ikely character ( in @var. /var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/doc/gpm.texinfo:277: warning: unl ikely character ) in @var. rm /var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/doc/gpm.texinfo make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/doc' make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/cont rib' /usr/bin/emacs -batch -l /var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/contrib/ emacs/exec.el -exec '(byte-compile-file "emacs/t-mouse.el")' /usr/bin/emacs: error while loading shared libraries: libXm.so.2: cannot open sh ared object file: No such file or directory make[1]: *** [emacs/t-mouse.elc] Error 127 make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/contr ib' make: *** [do-all] Error 1 !!! ERROR: sys-libs/gpm-1.20.1-r4 failed. !!! Function src_compile, Line 37, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: compile the packet with no errors root@xardas george # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686) ================================================================= System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 10 2005, 22:59:15)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://ftp.roedu.net/pub/mirrors/gentoo.org http://ftp.lug.ro/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups curl divx4linux dvd emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 java jpeg libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
re-emerge emacs