LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   openembedded build problem: related to directories (https://www.linuxquestions.org/questions/linux-software-2/openembedded-build-problem-related-to-directories-939802/)

korena 04-14-2012 12:31 PM

openembedded build problem: related to directories
 
Hi all,
following the getting started in openembedded, I have the following:
Code:

$BBPATH=/stuff/build:/stuff/openembedded
when I try to bitbake any recipe, bitbake does not recognize any of my settings (like DESTRO,MACHINE, TARGET_OS etc) in local.conf (residing in /stuff/build/conf/).
instead, it throws the following error:
Code:

ERROR: no recipe files to build, check your BBPATH and BBFILES?
FATAL:  Openembedded's config sanity checker detected a potential misconfiguration.
        Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
        Following is the list of potential problems / advisories:

        Please set TARGET_ARCH directly, or choose a MACHINE or DISTRO that does so.
Please set TARGET_OS directly, or choose a MACHINE or DISTRO that does so.
DISTRO 'None' not found. Please set a valid DISTRO in your local.conf

I tried copying the local.conf from my build directory to /openembedded/conf/. That worked, but produced a NOPROVIDER error for all the recipes I tried.

any idea how to fix this?
thnx in advance.

korena 04-15-2012 01:28 AM

problem details
 
I guess I was too sleepy to deliver proper info about my problem last night ... here's how my environment looks like :

in a script:
Code:

export BBPATH=/home/korena/mydev_tools/top_tree/build:/home/korena/mydev_tools/top_tree/openembedded
in (/home/korena/mydev_tools/top_tree/build/conf/local.conf) directory:

Code:

BBFILES ="/home/korena/mydev_tools/top_tree/openembedded/recipes/meta/meta-toolchain-qte.bb"
top_tree directory contains : openembedded and build directories
build contains conf directory
conf contains local.conf file with the following settings:
TMPDIR = /home/korena/tmp
MACHINE ="mini2440"
TARGET_OS = "linux"
DISTRO = "angstrom-2010.x"

result of running bitbake meta-toolchain-qte:

Code:

[korena@Korenaization build]$ bitbake meta-toolchain-qte
ERROR: no recipe files to build, check your BBPATH and BBFILES?
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
ERROR: no recipe files to build, check your BBPATH and BBFILES?
FATAL:  Openembedded's config sanity checker detected a potential misconfiguration.
        Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
        Following is the list of potential problems / advisories:

        Please set TARGET_ARCH directly, or choose a MACHINE or DISTRO that does so.
Please set TARGET_OS directly, or choose a MACHINE or DISTRO that does so.
DISTRO 'None' not found. Please set a valid DISTRO in your local.conf




Im running fedora 16 on an HP mini intel Atom @1.66GHz x2
Python 2.7, bitbake installed (not running from git)

Any thoughts guys ? do you spot an error ?

korena 04-15-2012 01:52 AM

Out of pure frustration, I wiped off openembedded and bitbake manually, and rebuilt the environment, and it did work, however, with the same settings above, I am struggling with Noprovider error now :-( ... I guess I stumbled upon every possible problem along the way ... and many yet to come ...


All times are GMT -5. The time now is 04:59 PM.