[oe] Error while running bibake

Graeme Gregory dp at xora.org.uk
Tue Dec 1 11:10:29 UTC 2009


On Tue, Dec 01, 2009 at 05:45:36AM -0500, Robert P. J. Day wrote:
> On Tue, 1 Dec 2009, Graeme Gregory wrote:
> 
> > On Tue, Dec 01, 2009 at 11:29:46AM +0100, Frans Meulenbroeks wrote:
> > > 2009/12/1 vivek tambakad <vivektambakad at gmail.com>:
> > > > hi
> > > > I want cross compile linphone for compulab EM-x270 board.when i try
> > > >   sudo bitbake -b
> > > > /home/development/em-x270/stuff/openembedded/recipes/linphone/
> > > > linphone_3.1.0.bb
> > > >    then i will get the following error
> > > >   *bb.parse.ParseError: Could not inherit file classes/autotools.bbclass
> > > > *
> > > >    pleasse guide me in compiling linphone for compulab board.
> > >
> > > first remark:
> > > there is no need to run bitbake as root.
> > >
> > Rephrase that.
> >
> > DONT RUN BITBAKE AS ROOT!!!!!!!!!
> >
> > That way will only lead to your host machine having bits of its
> > filesystem replaced/deleted. OE relies on sandboxing the build as a
> > non priviledged user.
> 
>   if you feel that strongly about it, why not just have bitbake refuse
> to run as root?  seems like a simple solution.
> 
You mean like

	if 0 == os.getuid():
		raise_sanity_error("Do not use Bitbake as root.")


Terminal stupidity is not really my problem, people will learn when
they need to rebuild their build machines from scratch.

Graeme





More information about the Openembedded-devel mailing list