error is the following: (during install, the make runs fine) install pic-sparc/diet-dyn-i /var/tmp/portage/dietlibc-0.24/image//usr/diet/bin/diet-dyn install: cannot stat `pic-sparc/diet-dyn-i': No such file or directory make: [install] Error 1 (ignored) install bin-sparc/pstart.o bin-sparc/libgmon.a bin-sparc/dyn_start.o bin-sparc/dyn_stop.o /var/tmp/portage/dietlibc-0.24/image//usr/diet/lib-sparc install: cannot stat `bin-sparc/pstart.o': No such file or directory install: cannot stat `bin-sparc/libgmon.a': No such file or directory make: [install] Error 1 (ignored) install pic-sparc/libc.so /var/tmp/portage/dietlibc-0.24/image//usr/diet/lib-sparc/libc.so install: cannot stat `pic-sparc/libc.so': No such file or directory make: [install] Error 1 (ignored) install pic-sparc/libpthread.so /var/tmp/portage/dietlibc-0.24/image//usr/diet/lib-sparc/libpthread.so install: cannot stat `pic-sparc/libpthread.so': No such file or directory make: [install] Error 1 (ignored) install pic-sparc/libdl.so /var/tmp/portage/dietlibc-0.24/image//usr/diet/lib-sparc/libdl.so install: cannot stat `pic-sparc/libdl.so': No such file or directory make: [install] Error 1 (ignored) install pic-sparc/libcompat.so /var/tmp/portage/dietlibc-0.24/image//usr/diet/lib-sparc/libcompat.so install: cannot stat `pic-sparc/libcompat.so': No such file or directory make: [install] Error 1 (ignored) install pic-sparc/dyn_start.o /var/tmp/portage/dietlibc-0.24/image//usr/diet/lib-sparc/dyn_dstart.o install: cannot stat `pic-sparc/dyn_start.o': No such file or directory make: [install] Error 1 (ignored) install pic-sparc/dyn_stop.o /var/tmp/portage/dietlibc-0.24/image//usr/diet/lib-sparc/dyn_dstop.o install: cannot stat `pic-sparc/dyn_stop.o': No such file or directory make: [install] Error 1 (ignored) install pic-sparc/dstart.o pic-sparc/dyn_so_start.o /var/tmp/portage/dietlibc-0.24/image//usr/diet/lib-sparc install: cannot stat `pic-sparc/dstart.o': No such file or directory install: cannot stat `pic-sparc/dyn_so_start.o': No such file or directory make: [install] Error 1 (ignored) install -m 644 diet.1 /var/tmp/portage/dietlibc-0.24/image//usr/diet/man/man1/diet.1 if test -f pic-sparc/libc.so -a ! -f /var/tmp/portage/dietlibc-0.24/image//etc/diet.ld.conf; then echo "/usr/diet/lib-sparc" > /var/tmp/portage/dietlibc-0.24/image//etc/diet.ld.conf; fi for i in `find include -name \*.h`; do install -m 644 -D $i /var/tmp/portage/dietlibc-0.24/image//usr/diet/$i; done cp: cannot stat `bin-sparc64/diet-i': No such file or directory install: cannot stat `/var/tmp/portage/dietlibc-0.24/temp/diet': No such file or directory !!! ERROR: dev-libs/dietlibc-0.24 failed. !!! Function src_install, Line 62, Exitcode 1 !!! newexe failed ummmm .. right now, not actually sure what happens here, to tell you the truth .. but then, maybe I just inhaled too much of those soldering-vapours during the last few hours *labwork*
bazik sez emerge info is missing. true. here goes: Portage 2.0.50-r1 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.4) ================================================================= System uname: 2.6.4 sparc64 sun4u Gentoo Base System version 1.4.3.10p1 ccache version 2.2 [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="sparc ~sparc" AUTOCLEAN="yes" CFLAGS="-mcpu=ultrasparc -O3 -pipe" CHOST="sparc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=ultrasparc -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.inode.at http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib avi berkdb cdr client crypt cups encode fbcon fftw foomaticdb gdbm gif gpm gtk imlib jpeg kde libwww mad mikmod motif mpeg ncurses nls oggvorbis oss pam pdflib perl png python qt readline sdl server slang sparc spell ssl tcltk tcpd tetex tiff truetype xml2 xmms xv zlib"
Basically, the problem was that the ebuild was attempting to copy a file after make install had completed. The problem with the copying was that it was using the output of uname -m to determine the file name. Since we have to build dietlibc as if we were on a sparc machine rather than sparc64, the output of uname wasn't what we wanted and was trying to copy a file with sparc64 in the path rather than sparc. Ebuild has been fixed and committed. Wait the usual hour or so for it to show up on your rsync mirror and enjoy!