All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with bitbake after update
@ 2009-01-05 14:46 Sledz, Steffen
  2009-01-05 16:08 ` Philip Balister
  2009-01-05 22:32 ` John Willis
  0 siblings, 2 replies; 4+ messages in thread
From: Sledz, Steffen @ 2009-01-05 14:46 UTC (permalink / raw)
  To: openembedded-devel

After making an svn update from bitbake 1.8.11 (SVN r1080) to 1.8.13 (SVN r1150) i've a little problem with my environment. I use some vars to configure the it:

 export OE_HOME=$HOME/oe
 export OE_ROOT=/opt/openembedded
 export MY_OE_CONF="oxe810"
 export BBPATH=$OE_HOME/:$OE_HOME/$MY_OE_CONF:$OE_HOME/common:$OE_ROOT
 export PATH=/opt/bitbake/bin:$PATH

In the local.conf i use some of them to setup some bbfile collections.

 BBFILE_COLLECTIONS = "upstream localcommon local"
 BBFILE_PATTERN_upstream = "^${OE_ROOT}/packages/"
 BBFILE_PATTERN_localcommon = "^${OE_HOME}/common/packages/"
 BBFILE_PATTERN_local = "^${OE_HOME}/oxe810/packages/"
 BBFILE_PRIORITY_upstream = "5"
 BBFILE_PRIORITY_localcommon = "9"
 BBFILE_PRIORITY_local = "10"

This worked fine with bitbake 1.8.11 but results in an error with the newer version. :(

 NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
 ERROR: opening ${OE_ROOT}/packages/*/*.bb: file ${OE_ROOT}/packages/*/*.bb not found
 ERROR: opening ${OE_HOME}/oxe810/packages/*/*.bb: file ${OE_HOME}/oxe810/packages/*/*.bb not found
 ERROR: opening ${OE_HOME}/common/packages/*/*.bb: file ${OE_HOME}/common/packages/*/*.bb not found

Hmmmm? What's wrong here?

Steffen

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

* Re: Problem with bitbake after update
  2009-01-05 14:46 Problem with bitbake after update Sledz, Steffen
@ 2009-01-05 16:08 ` Philip Balister
  2009-01-06  7:28   ` Sledz, Steffen
  2009-01-05 22:32 ` John Willis
  1 sibling, 1 reply; 4+ messages in thread
From: Philip Balister @ 2009-01-05 16:08 UTC (permalink / raw)
  To: openembedded-devel

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

Sledz, Steffen wrote:
> After making an svn update from bitbake 1.8.11 (SVN r1080) to 1.8.13 (SVN r1150) i've a little problem with my environment. I use some vars to configure the it:
> 
>  export OE_HOME=$HOME/oe
>  export OE_ROOT=/opt/openembedded
>  export MY_OE_CONF="oxe810"
>  export BBPATH=$OE_HOME/:$OE_HOME/$MY_OE_CONF:$OE_HOME/common:$OE_ROOT
>  export PATH=/opt/bitbake/bin:$PATH
> 
> In the local.conf i use some of them to setup some bbfile collections.
> 
>  BBFILE_COLLECTIONS = "upstream localcommon local"
>  BBFILE_PATTERN_upstream = "^${OE_ROOT}/packages/"
>  BBFILE_PATTERN_localcommon = "^${OE_HOME}/common/packages/"
>  BBFILE_PATTERN_local = "^${OE_HOME}/oxe810/packages/"
>  BBFILE_PRIORITY_upstream = "5"
>  BBFILE_PRIORITY_localcommon = "9"
>  BBFILE_PRIORITY_local = "10"
> 
> This worked fine with bitbake 1.8.11 but results in an error with the newer version. :(
> 
>  NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
>  ERROR: opening ${OE_ROOT}/packages/*/*.bb: file ${OE_ROOT}/packages/*/*.bb not found
>  ERROR: opening ${OE_HOME}/oxe810/packages/*/*.bb: file ${OE_HOME}/oxe810/packages/*/*.bb not found
>  ERROR: opening ${OE_HOME}/common/packages/*/*.bb: file ${OE_HOME}/common/packages/*/*.bb not found
> 
> Hmmmm? What's wrong here?

You need to add :

export BB_ENV_EXTRAWHITE="OE_HOME"

to the environment before running bitbake.

Philip

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3303 bytes --]

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

* Re: Problem with bitbake after update
  2009-01-05 14:46 Problem with bitbake after update Sledz, Steffen
  2009-01-05 16:08 ` Philip Balister
@ 2009-01-05 22:32 ` John Willis
  1 sibling, 0 replies; 4+ messages in thread
From: John Willis @ 2009-01-05 22:32 UTC (permalink / raw)
  To: openembedded-devel

>After making an svn update from bitbake 1.8.11 (SVN r1080) to 1.8.13 (SVN 
>r1150) i've a little problem with my environment. I use some vars to 
>configure the it:

<snip>

>In the local.conf i use some of them to setup some bbfile collections.

<snip>

>Hmmmm? What's wrong here?

BitBake does not deal with stuff exported to the environment in the same way
in SVN over the old .11. This tripped me up but it is an easy fix :).

I just exported the variables I used to the BitBake white list. 

i.e.

export BB_ENV_EXTRAWHITE="MACHINE DISTRO ANGSTROM_MODE PANDORATOP OEBRANCH
OMAP3BRANCH USERBRANCH"

in my case.

Regards,

John





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

* Re: Problem with bitbake after update
  2009-01-05 16:08 ` Philip Balister
@ 2009-01-06  7:28   ` Sledz, Steffen
  0 siblings, 0 replies; 4+ messages in thread
From: Sledz, Steffen @ 2009-01-06  7:28 UTC (permalink / raw)
  To: openembedded-devel

> export BB_ENV_EXTRAWHITE="OE_HOME"
> 
> to the environment before running bitbake.

Thnx, export BB_ENV_EXTRAWHITE="OE_HOME OE_ROOT" did it.




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

end of thread, other threads:[~2009-01-06  7:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-05 14:46 Problem with bitbake after update Sledz, Steffen
2009-01-05 16:08 ` Philip Balister
2009-01-06  7:28   ` Sledz, Steffen
2009-01-05 22:32 ` John Willis

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.