For example x11-terms/xterm-197 or net-misc/openssh-3.9_p1-r1 fail during the install with the same error message. Reproducible: Always Steps to Reproduce: 1.emerge xterm 2. 3. Actual Results: Normal configure, compile, ... but then: >>> Install xterm-197 into /var/tmp/portage/xterm-197/image/ category x11-terms /bin/sh ./mkdirs.sh /var/tmp/portage/xterm-197/image//usr/bin mkdir /var/tmp/portage/xterm-197/image/usr mkdir /var/tmp/portage/xterm-197/image/usr/bin /bin/sh ./sinstall.sh "/bin/install -c" xterm /var/tmp/portage/xterm-197/ image//usr/bin/`echo xterm| sed 's/$//'|sed 's,x,x,'|sed 's/$//'` checking for presumed installation-mode /bin/install -c -m 755 xterm /var/tmp/portage/xterm-197/image//usr/bin/xterm /bin/install -c -s -m 755 resize /var/tmp/portage/xterm-197/image//usr/bin/ `echo resize| sed 's/$//'|sed 's,x,x,'|sed 's/$//'` /bin/install: cannot run strip: No such file or directory /bin/install: strip failed make: *** [install-full] Error 1 !!! ERROR: x11-terms/xterm-197 failed. !!! Function src_install, Line 54, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: normal completion of the install-process. Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.4.28-gentoo-r2 i686) ================================================================= System uname: 2.4.28-gentoo-r2 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.8 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Oct 18 2004, 03:25:56)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.2.3-r5, 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.4.22, 2.4.19-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O3 -pipe -fforce-addr -fomit-frame-pointer -foptimize- sibling-calls -finline-functions -fmerge-all-constants -fthread-jumps -funroll- loops" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/ 3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/ shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/ texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/ generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/ qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon -O3 -pipe -fforce-addr -fomit-frame-pointer -foptimize- sibling-calls -finline-functions -fmerge-all-constants -fthread-jumps -funroll- loops" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" LDFLAGS="" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://raptor.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X acpi alsa berkdb bitmap-fonts bmp caps cdparanoia cups dga directfb divx4linux dlloader doc dvd dvdread encode erandom fbcon fla font- server fpx gcj gd gif graphviz gtk gtk2 hardened iconv immqt-bc ipv6 java javamail jbig jce jikes jpeg jpeg2k justify kerberos krb4 lcms libclamav lzwlzw- tiff mad makecheck matroska mmx mozdevelop mozsvg mozxmlterm mpeg mplayer multitarget nls nojoystick nomotif nvidia oav oggvorbis opengl pdflib pic pie plotutils png portaudio povray ppds readline real rhino rtc sasl sdk sdl slp spell ssl svga tcpd theora threads truetype truetype-fonts type1-fonts usb userlocales wmf xanim xchatdccserver xchattext xine xosd xprint xscreensaver xv xvid xvmc zlib"
Was it installed correctly? `equery f --filter=cmd binutils`
run `binutils-config` however, you bring up a good point ... packages should never run `install -s`
binutils-config solved the problem at first, it didn't work (syntax problems), but i updated to the latest versions, and then it said that there wasn't any binutils profile active. I made the only one reported by `binutils-config -l` active, and xterm installed without any problems. Maybe i should have posted this on the forums instead of filing a bug-report right away. My appologies.
in xterm patch #198 I am adding a --disable-setuid option which would be useful for this issue.
see http://invisible-island.net/xterm/xterm.log.html#xterm_198
Thanks Thomas, I saw it came out but I just don't have time to do anything about it right now. Any chance you're a Gentoo user?
Added xterm-199, which fixes this. Thanks Thomas. Thomas, just a quick note -- in your Change Log, this bug number's switched around -- it's 76453, so anyone trying to find more info won't have luck. Not sure whether this really matters to you.
thanks (I'll correct the changelog)