>>> Unpacking gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.gz to /var/tmp/portage/gnat-3.41/work /usr/portage/dev-lang/gnat/gnat-3.41.ebuild: line 40: cd: /var/tmp/portage/gnat-3.41/work/gnat-3.41-i686-pc-linux-gnu-bin: No such file or directory can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Naur gnat-3.15p-i686-pc-linux-gnu-bin.orig/Makefile gnat-3.15p-i686-pc-linux-gnu-bin/Makefile |--- gnat-3.15p-i686-pc-linux-gnu-bin.orig/Makefile 2002-10-23 10:54:23.000000000 +0200 |+++ gnat-3.15p-i686-pc-linux-gnu-bin/Makefile 2003-10-04 10:46:40.000000000 +0200 -------------------------- File to patch:^C Dir in /var/tmp/portage/gnat-3.41/work/: gcc-3.4.1/ gnat-3.15p-i686-pc-linux-gnu-bin/ Change gnat-3.41.ebuild line 25 from GNATBOOTINST="${WORKDIR}/${P}-i686-pc-linux-gnu-bin" to: GNATBOOTINST="${WORKDIR}/gnat-3.15p-i686-pc-linux-gnu-bin" This bootstrap is gnat-3.15p not gnat-3.41 What about line 56: GCC_EXEC_PREFIX="${GNATBOOT}/lib/gcc-lib/i686-pc-linux-gnu/3.2.3" That should be ${GNATBOOT}/lib/gcc-lib/i686-pc-linux-gnu/2.8.1 I have compiled without it because I have a gnatgcc 3.2.3 5.0_pre20031005 It should be test that it can bootstrap with gnat-3.15p! I don't thing that gnat is binary compatible with another version -- always recompile/reemerge the Ada package/parts. That is the way Ada works. Ada don't have ABI like c++ only source code interface.
I fixed this bug today. It was a typo in the upgrade from the 3.15p ebuild.