There should be errorchecks and 'die' statements after statements that may fail. The first error only occurs with 'userpriv' in FEATURES. All following errors are always reported. Reproducible: Always Steps to Reproduce: 1. emerge lesstif 2. Actual Results: Calculating dependencies >>> Unpacking source... * Starting installation of a new motif version. * Note: You can't use any motif app during this process. /usr/bin/motif-config: line 285: /usr/lib/motif/removed: Permission denied * /usr/bin/motif-config: Must be root. >>> Unpacking lesstif-0.94.0.tar.bz2 to /var/tmp/portage/lesstif-0.94.0-r6/work * Applying CAN-2005-0605.patch ... [ ok ] >>> Source unpacked. ..... make[3]: Leaving directory `/var/tmp/portage/lesstif-0.94.0-r6/work/lesstif-0. 94.0/doc' make[2]: Leaving directory `/var/tmp/portage/lesstif-0.94.0-r6/work/lesstif-0. 94.0/doc' make[1]: Leaving directory `/var/tmp/portage/lesstif-0.94.0-r6/work/lesstif-0. 94.0/doc' * Fixing binaries * Fixing libraries mv: cannot move `/var/tmp/portage/lesstif-0.94.0-r6/image//usr/lib/lesstif-2.1' to a subdirectory of itself, `/var/tmp/portage/lesstif-0.94.0-r6/image//usr/lib/ lesstif-2.1/lesstif-2.1' * Fixing includes mv: cannot move `/var/tmp/portage/lesstif-0.94.0-r6/image//usr/include/lesstif- 2.1' to a subdirectory of itself, `/var/tmp/portage/lesstif-0.94.0-r6/image// usr/include/lesstif-2.1/lesstif-2.1' * Fixing man pages * Fixing docs * Finishing installation. * Note: You can now use your motif apps again. ..... Expected Results: emerge should stops when errors occur bash-2.05b# emerge --info Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4. 20050125-r1, 2.4.28 i686) ================================================================= System uname: 2.4.28 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, APR 10 2005, 07:28:23)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.6.3, 1.5, 1.4_p6, 1.8.5-r3, 1.7.9-r1, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r6 sys-devel/libtool: 1.4.1-r10, 1.5.10-r4 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="" ARCH="x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O2 -pipe" CHOST="i686-pc-linux-gnu" CLASSPATH="." CLEAN_DELAY="5" CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CVS_RSH="ssh" CXXFLAGS="-march=i686 -O2 -pipe" DISPLAY=":0" DISTDIR="/usr/portage/distfiles" EDITOR="/usr/bin/vi" FEATURES="autoaddcvs autoconfig ccache distcc distlocks fixpackages sandbox sfperms userpriv" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/ distributions/gentoo" LESS="-R" LESSOPEN="|lesspipe.sh %s" LOGNAME="root" MAIL="/var/mail/root" MAKEOPTS="-j3" MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc- linux-gnu/2.15.92.0.2/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3/man:/usr/ qt/3/doc/man" PATH="/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4. 3" PKGDIR="/usr/portage/packages" PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od s390 sh sparc x86 x86-fbsd x86-obsd x86-od" PORTAGE_CALLER="emerge" PORTAGE_GID="28463" PORTAGE_MASTER_PID="25654" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" PWD="/root" PYTHONDOCS="/usr/share/doc/python-docs-2.4/html" RSYNC_EXCLUDEFROM="/etc/portage/rsync_excludes" RSYNC_RETRIES="3" RSYNC_TIMEOUT="120" SHELL="/bin/bash" SHLVL="1" SYNC="rsync://rsync.be.gentoo.org/gentoo-portage" TERM="xterm" USE="3dnow X aalib alsa apm arts berkdb bitmap-fonts cdr crypt cups curl dga dvd dvdr emboss encode faac faad fam fbcon flac font-server gdbm gif gpm gtk gtk2 guile imlib imlib2 java jpeg mad mmx mng mpeg ncurses oggvorbis opengl oss pam pcre pdflib perl pic png python readline sdl slang spell sse ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts wmf xml xml2 xmms xv xvid yv12 zlib" USER="root" USERLAND="GNU" USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS" XARGS="xargs -r" XAUTHORITY=<CENSORED> XINITRC="/etc/X11/xinit/xinitrc" _="/usr/bin/emerge" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
fixed.
That is not fixed at all. Errors are still reported but not caught. Nothing changed. lesstif-0.94.4: mv: cannot move `/var/tmp/portage/lesstif-0.94.4/image//usr/lib/lesstif-2.1' to a subdirectory of itself, `/var/tmp/portage/lesstif-0.94.4/image//usr/lib/lesstif-2.1/lesstif-2.1' ..... mv: cannot move `/var/tmp/portage/lesstif-0.94.4/image//usr/include/lesstif-2.1' to a subdirectory of itself, `/var/tmp/portage/lesstif-0.94.4/image//usr/include/lesstif-2.1/lesstif-2.1' lesstif-0.93.94-r4 additionally reports: Usage: motif-config [OPTIONS] [LIBRARIES] Options: [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] Please check for errors! Portage tree a couple minutes old.
this errors are no errors, just warnings, you can safely ignore them the motif-config bug is fixed, just remerge motif-config