public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* AW: [gentoo-user] emerge fails with "tc-getCC: command not found"
@ 2006-08-24 14:58 Noack, Sebastian
  0 siblings, 0 replies; 2+ messages in thread
From: Noack, Sebastian @ 2006-08-24 14:58 UTC (permalink / raw
  To: gentoo-user

Hi,

tc-getCC is no binary. It is a function of the eclass toolchain, to determine the path to the corresponding C-Compilier. You should make sure that the corresponding ebuild contains the line "inherit toolchain-funcs" in the beginning. But however it seems to be a bug in the specified ebuild. But maybe you can fix it by this advice.

Regards
Sebastian Noack



> -----Ursprüngliche Nachricht-----
> Von: philipptoelke@web.de [mailto:philipptoelke@web.de]
> Gesendet: Donnerstag, 24. August 2006 15:49
> An: gentoo-user@lists.gentoo.org
> Betreff: [gentoo-user] emerge fails with "tc-getCC: command not found"
> 
> Hi everybody,
> 
> I tried to do an update of portage on Monday, but it failed with the
> following error:
> 
> ------
> >>> Compiling source in
> /var/tmp/portage/portage-2.1-r2/work/portage-2.1-r2 ...
> /zeug/portage/sys-apps/portage/portage-2.1-r2.ebuild: line 63: tc-getCC:
> command not found
> /zeug/portage/sys-apps/portage/portage-2.1-r2.ebuild: line 63:
> -march=athlon64: command not found
> 
> !!! ERROR: sys-apps/portage-2.1-r2 failed.
> Call stack:
>   ebuild.sh, line 1539:   Called dyn_compile
>   ebuild.sh, line 939:   Called src_compile
>   portage-2.1-r2.ebuild, line 64:   Called die
> ------
> 
> I tried another --sync today, but the problem persists.
> 
> I can find no application called tc-getCC on my computer. I wonder why
> it seems to miss suddenly, since other ebuilds with reference to it
> worked ok in the past, I think.
> 
> Can somebody help me with this situation?
> 
> Thanks,
> --
> Philipp Tölke
> 
> You know the indestructible black box that is used on planes.
> Why don't they make the whole plane out of the same substance?
> 
> 


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: AW: [gentoo-user] emerge fails with "tc-getCC: command not found"
@ 2006-08-24 15:25 Philipp Tölke
  0 siblings, 0 replies; 2+ messages in thread
From: Philipp Tölke @ 2006-08-24 15:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 788 bytes --]

Hello,

Noack, Sebastian <S.Noack@AUTOonline.de> wrote:
> tc-getCC is no binary. It is a function of the eclass toolchain, to
> determine the path to the corresponding C-Compilier. You should make
> sure that the corresponding ebuild contains the line "inherit
> toolchain-funcs" in the beginning. But however it seems to be a bug in
> the specified ebuild. But maybe you can fix it by this advice.

Thanks for your answer!

The ebuild does inherit the toolchain-funcs.
I could not find any corresponding bugs in bugzilla, and I think that
more people would have reported this problem with the portage-ebuild, if
it was a general problem.

Thanks,
-- 
Philipp Tölke

Question: Who said the name Microsoft and when?
Answer: Bill Gates' wife at their wedding night!


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-24 15:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-24 15:25 AW: [gentoo-user] emerge fails with "tc-getCC: command not found" Philipp Tölke
  -- strict thread matches above, loose matches on Subject: below --
2006-08-24 14:58 Noack, Sebastian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox