compiling linphone using openembedded
Now i login as a user. I exported following paths
export OEBASE=/home/development/em-x270/stuff
export PATH=$OEBASE/bitbake/bin:$PATH
export BBPATH=$OEBASE/build:$OEBASE/openembedded
export BB_ENV_EXTRAWHITE="OEBASE"
and set CACHE variable in usr/share/bitbake/conf/bitbake.conf as
CACHE = "/home/development/em-x270/stuff/build/tmp"
when i compile "bitbake linphone" i get following error
[vivek@primary build]$ bitbake linphone
Traceback (most recent call last):
File "/home/development/em-x270/stuff/bitbake/bin/bitbake", line 143, in
<module>
main()
File "/home/development/em-x270/stuff/bitbake/bin/bitbake", line 123, in
main
cooker.parseConfiguration()
File "/home/development/em-x270/stuff/bitbake/lib/bb/cooker.py", line 68,
in parseConfiguration
self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
File "/home/development/em-x270/stuff/bitbake/lib/bb/cooker.py", line 402,
in parseConfigurationFile
bb.fetch.fetcher_init(self.configuration.data)
File "/home/development/em-x270/stuff/bitbake/lib/bb/fetch/__init__.py",
line 93, in fetcher_init
pd = persist_data.PersistData(d)
File "/home/development/em-x270/stuff/bitbake/lib/bb/persist_data.py",
line 52, in __init__
bb.mkdirhier(self.cachedir)
File "/home/development/em-x270/stuff/bitbake/lib/bb/__init__.py", line
138, in mkdirhier
if e.errno != 17: raise e
*OSError: [Errno 13] Permission denied:
'/home/development/em-x270/stuff/build/tmp'
with regards
vivek tambakad
*
Quoted 240 lines · On Tue, Dec 1, 2009 at 4:30 PM, < [email protected]…
Send Openembedded-devel mailing list submissions to
[email protected]To subscribe or unsubscribe via the World Wide Web, visit
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
or, via email, send a message with subject or body 'help' to
[email protected]You can reach the person managing the list at
[email protected]When replying, please edit your Subject line so it is more specific than "Re: Contents of Openembedded-devel digest..."
Today's Topics:
1. Re: Error while running bibake (Frans Meulenbroeks)
2. Re: Error while running bibake (Marcin Juszkiewicz)
3. Re: Error while running bibake (Dr. Michael Lauer)
4. Re: Error while running bibake (Graeme Gregory)
5. Re: Error while running bibake (Robert P. J. Day)----------------------------------------------------------------------
Message: 1
Date: Tue, 1 Dec 2009 11:29:46 +0100
From: Frans Meulenbroeks <[email protected]>
Subject: Re: [oe] Error while running bibake
To: [email protected] Message-ID:<[email protected]>Content-Type: text/plain; charset=ISO-8859-1
2009/12/1 vivek tambakad <[email protected]>:
Quoted 9 lines
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
------------------------------
Message: 2
Date: Tue, 1 Dec 2009 11:35:07 +0100
From: Marcin Juszkiewicz <[email protected]>
Subject: Re: [oe] Error while running bibake
To: [email protected]
Message-ID: <[email protected]>
Content-Type: Text/Plain; charset="utf-8"Dnia wtorek, 1 grudnia 2009 o 11:29:46 Frans Meulenbroeks napisa?(a):
Quoted 8 lines
2009/12/1 vivek tambakad <[email protected]>:
Quoted 7 lines
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 fileclasses/autotools.bbclass
Quoted 8 lines
Quoted 2 lines
*
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: [email protected] Website: http://marcin.juszkiewicz.com.pl/ LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz------------------------------
Message: 3
Date: Tue, 1 Dec 2009 11:36:11 +0100
From: "Dr. Michael Lauer" <[email protected]>
Subject: Re: [oe] Error while running bibake
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-asciiAm 01.12.2009 um 11:29 schrieb Frans Meulenbroeks:
Quoted 11 lines
2009/12/1 vivek tambakad <[email protected]>:
Quoted 9 lines
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.Quoted 5 lines
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:
------------------------------
Message: 4
Date: Tue, 1 Dec 2009 10:39:17 +0000
From: Graeme Gregory <[email protected]>
Subject: Re: [oe] Error while running bibake
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=iso-8859-1Quoted 8 lines · Frans Meulenbroeks
2009/12/1 vivek tambakad <[email protected]>:
Quoted 7 lines
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 fileclasses/autotools.bbclass
Quoted 6 lines
Quoted 2 lines
*
? ?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
------------------------------
Message: 5
Date: Tue, 1 Dec 2009 05:45:36 -0500 (EST)
From: "Robert P. J. Day" <[email protected]>
Subject: Re: [oe] Error while running bibake
To: [email protected]
Message-ID: <alpine.LFD.2.00.0912010544560.8109@localhost>
Content-Type: text/plain; charset="iso-8859-1"Quoted 9 lines · Graeme Gregory
Quoted 8 lines · Frans Meulenbroeks
2009/12/1 vivek tambakad <[email protected]>:
Quoted 7 lines
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 fileclasses/autotools.bbclass
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
*
? ?pleasse guide me in compiling linphone for compulab board.first remark:
there is no need to run bitbake as root.Quoted 7 lines
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, CANADALinux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday========================================================================
------------------------------
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-develEnd of Openembedded-devel Digest, Vol 41, Issue 2
*************************************************
Quoted 2 lines · vivek tambakad
*OSError: [Errno 13] Permission denied:
'/home/development/em-x270/stuff/build/tmp'
Well, you have previously stuff put there as root and now as user you don't have permission to modify it. Surprised?
Delete your tmp dir (or make all files being owned by the user).
spaetz
Quoted 30 lines
Now i login as a user. I exported following paths
export OEBASE=/home/development/em-x270/stuff
export PATH=$OEBASE/bitbake/bin:$PATH
export BBPATH=$OEBASE/build:$OEBASE/openembedded
export BB_ENV_EXTRAWHITE="OEBASE"and set CACHE variable in
usr/share/bitbake/conf/bitbake.confasCACHE = "
/home/development/em-x270/stuff/build/tmp"when i compile "bitbake linphone" i get following error
[vivek@primary build]$ bitbake linphone
Traceback (most recent call last):
File "/home/development/em-x270/stuff/bitbake/bin/bitbake", line 143, in
<module>
main()
File "/home/development/em-x270/stuff/bitbake/bin/bitbake", line 123, in
main
cooker.parseConfiguration()
File "/home/development/em-x270/stuff/bitbake/lib/bb/cooker.py", line 68,
in parseConfiguration
self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
File "/home/development/em-x270/stuff/bitbake/lib/bb/cooker.py", line 402,
in parseConfigurationFile
bb.fetch.fetcher_init(self.configuration.data)
File "/home/development/em-x270/stuff/bitbake/lib/bb/fetch/__init__.py",
line 93, infetcher_init
pd =persist_data.PersistData(d)
Quoted 8 lines
File "
/home/development/em-x270/stuff/bitbake/lib/bb/persist_data.py",
line 52, in__init__
bb.mkdirhier(self.cachedir)
File "/home/development/em-x270/stuff/bitbake/lib/bb/__init__.py", line
138, in mkdirhier
if e.errno != 17: raise e
*OSError: [Errno 13] Permission denied:
'/home/development/em-x270/stuff/build/tmp'
Sounds like your previous building with root messed up permissions. Use chmod/chown to correct.
:M: