Here's the tail end of output of emerge texi2html: >>> Merging app-text/texi2html-1.70 to / --- /usr/ --- /usr/bin/ Traceback (most recent call last): File "/usr/bin/emerge", line 2991, in ? mydepgraph.merge(mydepgraph.altlist()) File "/usr/bin/emerge", line 1839, in merge retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug) File "/usr/lib/portage/pym/portage.py", line 2562, in doebuild return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["D"],mysettings["BUILDDIR"]+"/build-info",myroot,mysettings,myebuild=mysettings["EBUILD"]) File "/usr/lib/portage/pym/portage.py", line 2695, in merge return mylink.merge(pkgloc,infloc,myroot,myebuild) File "/usr/lib/portage/pym/portage.py", line 6670, in merge return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup) File "/usr/lib/portage/pym/portage.py", line 6297, in treewalk if self.mergeme(srcroot,destroot,outfile,secondhand,"",cfgfiledict,mymtime): File "/usr/lib/portage/pym/portage.py", line 6536, in mergeme if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict,thismtime): File "/usr/lib/portage/pym/portage.py", line 6536, in mergeme if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict,thismtime): File "/usr/lib/portage/pym/portage.py", line 6551, in mergeme elif stat.S_ISREG(mydmode) or (stat.S_ISLNK(mydmode) and stat.S_ISREG(os.stat(mydest)[stat.ST_MODE])): OSError: [Errno 2] No such file or directory: '/usr/bin/texi2html' The previous version (texi2html-1.64-r1) works. Reproducible: Always Steps to Reproduce: 1. emerge texi2html Here's my emerge --info output: Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r6 i686) ================================================================= System uname: 2.6.9-gentoo-r6 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.6.6 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/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/mozilla/defaults/pref /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="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apache2 apm arts avi berkdb bitmap-fonts bzlib cdr crypt cups divx4linux dvd dvdr emacs encode esd f77 fam flac foomaticdb fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imap imlib java jpeg junit kde libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png postgres ppds python qt quicktime readline sdl slang spell ssl svga tcpd tetex tiff truetype unicode usb x86 xine xml2 xmms xv xvid zlib"
I can confirm this. But when I looked at the file /usr/bin/texi2html from the error-message (which did exist on my computer), it was just a symbolic link to some other file (Sorry, I don't remember the name). Doing a "rm /usr/bin/texi2html" and then restarting the emerge process worked!
I got this bug also. What is weird is that a /usr/bin/texi2html does get install in the sandbox but the error occurs when it is about to merge it on the system. I just removed the symlink as mentionned. I remember it was a broken symlink to a similar file name but with a version number. I think it is a bug in portage because it is unable to merge a file if a broken symlink of the same file exists. I was able to repeat it with another ebuild by doing a broken symlink. I look into filing a bug report against portage. David
Actually, the broken symlink bug in portage has already been reported: http://bugs.gentoo.org/show_bug.cgi?id=70989 David
i experience the same on ~ppc ... pr0llb00k ~ # emerge info Portage 2.0.51-r3 (selinux/2004.1/ppc, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r6 ppc) ================================================================= System uname: 2.6.9-gentoo-r6 ppc 7410, altivec supported Gentoo Base System version 1.6.6 Autoconf: sys-devel/autoconf-2.13,sys-devel/autoconf-2.59-r6 Automake: sys-devel/automake-1.8.5-r2,sys-devel/automake-1.9.3,sys-devel/automake-1.5,sys-devel/automake-1.6.3,sys-devel/automake-1.7.9,sys-devel/automake-1.4_p6 Binutils: sys-devel/binutils-2.15.90.0.3-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.10 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing" CHOST="powerpc-unknown-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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/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="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache cvs distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://gatekeeper/gentoo-portage" USE="X aalib aim alsa altivec apache2 arts bash-completion berkdb bidi bitmap-fonts bluetooth bonobo cddb cdr cdrom clamav crypt cups curl dba directfb divx4linux dmx dvd dvdr dvdread eep escreen esd etwin fam fbcon fla flac ftp gd gdbm gif gimpprint gpm gtk gtk2 hardened hardenedphp iconv icq imagemagick imap imlib ipv6 ipv6arpa irda irmc jabber jack jack-tmpfs java jpeg junit ldap libwww maildir mcal motif mpeg mpeg4 msn mysql ncurses nethack nls odbc oggvorbis opengl oscar pam pda perl php png pnp postgres ppc ppds psyco pthreads python qt quicktime radeon readline samba sdl selinux session slang soap spell sqlite ssl svg tcltk tcpd tetex tiff truetype vhosts vim-with-x wmf xine xinerama xml xml2 xmms xprint xsl xvid yahoo zlib"
thx... with bug-patch 70989, problem is fixed... (at least on texi2html)
Also fixed on texi2html side.