* Error while running bibake
@ 2009-12-01 9:26 vivek tambakad
2009-12-01 10:29 ` Frans Meulenbroeks
0 siblings, 1 reply; 8+ messages in thread
From: vivek tambakad @ 2009-12-01 9:26 UTC (permalink / raw)
To: openembedded-devel
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.
with regards
vivek tambakad
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Error while running bibake
2009-12-01 9:26 Error while running bibake vivek tambakad
@ 2009-12-01 10:29 ` Frans Meulenbroeks
2009-12-01 10:35 ` Marcin Juszkiewicz
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Frans Meulenbroeks @ 2009-12-01 10:29 UTC (permalink / raw)
To: openembedded-devel
2009/12/1 vivek tambakad <vivektambakad@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.
2nd thing you could check is if the file exists in your tree and if so
if your path is set properly.
FM
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Error while running bibake
2009-12-01 10:29 ` Frans Meulenbroeks
@ 2009-12-01 10:35 ` Marcin Juszkiewicz
2009-12-01 10:36 ` Dr. Michael Lauer
2009-12-01 10:39 ` Graeme Gregory
2 siblings, 0 replies; 8+ messages in thread
From: Marcin Juszkiewicz @ 2009-12-01 10:35 UTC (permalink / raw)
To: openembedded-devel
Dnia wtorek, 1 grudnia 2009 o 11:29:46 Frans Meulenbroeks napisał(a):
> 2009/12/1 vivek tambakad <vivektambakad@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.
>
> 2nd thing you could check is if the file exists in your tree and if so
> if your path is set properly.
3rd: do not use "bitbake -b" command but "bitbake" because "-b" expands to
"--be-not-nice-to-me-and-do-not-build-dependencies".
Regards,
--
JID: hrw@jabber.org
Website: http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Error while running bibake
2009-12-01 10:29 ` Frans Meulenbroeks
2009-12-01 10:35 ` Marcin Juszkiewicz
@ 2009-12-01 10:36 ` Dr. Michael Lauer
2009-12-01 10:39 ` Graeme Gregory
2 siblings, 0 replies; 8+ messages in thread
From: Dr. Michael Lauer @ 2009-12-01 10:36 UTC (permalink / raw)
To: openembedded-devel
Am 01.12.2009 um 11:29 schrieb Frans Meulenbroeks:
> 2009/12/1 vivek tambakad <vivektambakad@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.
>
> 2nd thing you could check is if the file exists in your tree and if so
> if your path is set properly.
More remarks:
1. Don't use -b unless you really know what you are doing, better use 'bitbake linphone'.
2. Check whether BBPATH is correctly set (pointing to your conf files).
:M:
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Error while running bibake
2009-12-01 10:29 ` Frans Meulenbroeks
2009-12-01 10:35 ` Marcin Juszkiewicz
2009-12-01 10:36 ` Dr. Michael Lauer
@ 2009-12-01 10:39 ` Graeme Gregory
2009-12-01 10:45 ` Robert P. J. Day
2 siblings, 1 reply; 8+ messages in thread
From: Graeme Gregory @ 2009-12-01 10:39 UTC (permalink / raw)
To: openembedded-devel
On Tue, Dec 01, 2009 at 11:29:46AM +0100, Frans Meulenbroeks wrote:
> 2009/12/1 vivek tambakad <vivektambakad@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.
Graeme
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Error while running bibake
2009-12-01 10:39 ` Graeme Gregory
@ 2009-12-01 10:45 ` Robert P. J. Day
2009-12-01 10:59 ` Phil Blundell
2009-12-01 11:10 ` Graeme Gregory
0 siblings, 2 replies; 8+ messages in thread
From: Robert P. J. Day @ 2009-12-01 10:45 UTC (permalink / raw)
To: openembedded-devel
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1452 bytes --]
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@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.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Error while running bibake
2009-12-01 10:45 ` Robert P. J. Day
@ 2009-12-01 10:59 ` Phil Blundell
2009-12-01 11:10 ` Graeme Gregory
1 sibling, 0 replies; 8+ messages in thread
From: Phil Blundell @ 2009-12-01 10:59 UTC (permalink / raw)
To: openembedded-devel
On Tue, 2009-12-01 at 05:45 -0500, Robert P. J. Day wrote:
> if you feel that strongly about it, why not just have bitbake refuse
> to run as root? seems like a simple solution.
sanity.bbclass does already include a check for non-root:
if 0 == os.getuid():
raise_sanity_error("Do not use Bitbake as root.")
I think that ought to be sufficient. Folks who override the sanity
checking do so at their own risk.
p.
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Error while running bibake
2009-12-01 10:45 ` Robert P. J. Day
2009-12-01 10:59 ` Phil Blundell
@ 2009-12-01 11:10 ` Graeme Gregory
1 sibling, 0 replies; 8+ messages in thread
From: Graeme Gregory @ 2009-12-01 11:10 UTC (permalink / raw)
To: openembedded-devel
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@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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-12-01 11:12 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-01 9:26 Error while running bibake vivek tambakad
2009-12-01 10:29 ` Frans Meulenbroeks
2009-12-01 10:35 ` Marcin Juszkiewicz
2009-12-01 10:36 ` Dr. Michael Lauer
2009-12-01 10:39 ` Graeme Gregory
2009-12-01 10:45 ` Robert P. J. Day
2009-12-01 10:59 ` Phil Blundell
2009-12-01 11:10 ` Graeme Gregory
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.