Re: Buildd failed: C compiler cannot create executables
On Thu, 2009-11-26 at 20:34 +0100, Joachim Wiedorn wrote:
> Hello,
>
>
> while building the new package 'Xfe' I can see that buildd failed on
> some architectures.
> See: https://buildd.debian.org/~luk/status/package.php?suite=&p=xfe
>
> They failed all with the same error:
>
> > checking for gcc... ccache cc
> > checking for C compiler default output file name...
> > configure: error: C compiler cannot create executables
> > See `config.log' for more details.
>
> That is my first package build on buildd!
>
> Could it be, that "ccache cc" can be the reason?
>
> Or is there another reason?
Your package build-depends on ccache, and it actively enforces it in the
debian/rules file. Why is that?
I would be willing to bet money that the problem is that buildd's have
no (writable) home directory, so ccache fails. Drop the ccache stuff, or
if it _absolutely_ necessary, setup a bogus $HOME so that ccache can
work in the buildds.
--
Saludos,
Felipe Sateler
Reply to: