When i emerge this on ~x86, i receive an error. The die error is: gcc-4.3.2-default-specs-0.9.2.tar.bz2 does not exist. I do not see portage download this file, but i do see it download gcc-4.3.2-specs-0.9.2.tar.bz2. Reproducible: Always Steps to Reproduce: 1. emerge gcc-4.3.2-r2
I can reproduce this. I tried to look in the eclass to see what's wrong, but no dice.
well, not sure which of the two is wrong, but in get_gcc_src_uri() the $SRC_URI is told to include gcc-${SPECS_GCC_VER}-specs-${SPECS_VER}.tar.bz2 while gcc_quick_unpack() tries to unpack gcc-${SPECS_GCC_VER}-default-specs-${SPECS_VER}.tar.bz2 ...
That's a bug in gcc_quick_unpack. This patch for eclass/toolchain.eclass works for me: --- toolchain.eclass.bak 2009-01-01 14:00:43.000000000 +0800 +++ toolchain.eclass 2009-01-01 14:00:53.000000000 +0800 @@ -2014,7 +2014,7 @@ unpack gcc-${PIE_GCC_VER}-piepatches-v${PIE_VER}.tar.bz2 fi [[ -n ${SPECS_VER} ]] && \ - unpack gcc-${SPECS_GCC_VER}-default-specs-${SPECS_VER}.tar.bz2 + unpack gcc-${SPECS_GCC_VER}-specs-${SPECS_VER}.tar.bz2 fi want_boundschecking && \
(In reply to comment #0) No luck doesn't work either for x86_64
Created attachment 176987 [details, diff] Patch for eclass/toolchain.eclass Sorry for the typeset.
Fixed this ~3 hours ago already when some peeps ran into it on IRC, resync and try again. Didn't realize there was a bug here for it, sorry. http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain.eclass?r1=1.372&r2=1.373