Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253310 - sys-devel/gcc-4.3.2-r2 failes to compile
Summary: sys-devel/gcc-4.3.2-r2 failes to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-31 23:43 UTC by Robert Lewis
Modified: 2009-01-01 09:26 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for eclass/toolchain.eclass (toolchain.eclass.patch,397 bytes, patch)
2009-01-01 09:15 UTC, Lifeng Sun
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Lewis 2008-12-31 23:43:43 UTC
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
Comment 1 Joe Kowalski 2008-12-31 23:54:38 UTC
I can reproduce this. I tried to look in the eclass to see what's wrong, but no dice.
Comment 2 Jochen Trumpf 2009-01-01 06:16:42 UTC
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 ...
Comment 3 Lifeng Sun 2009-01-01 06:55:58 UTC
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 && \ 
Comment 4 Francois Chenier 2009-01-01 09:01:46 UTC
(In reply to comment #0)
No luck doesn't work either for x86_64

Comment 5 Lifeng Sun 2009-01-01 09:15:44 UTC
Created attachment 176987 [details, diff]
Patch for eclass/toolchain.eclass

Sorry for the typeset.
Comment 6 Gordon Malm (RETIRED) gentoo-dev 2009-01-01 09:23:42 UTC
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