LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-14-2012, 12:31 PM   #1
korena
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Rep: Reputation: Disabled
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.
 
Old 04-15-2012, 01:28 AM   #2
korena
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
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 ?
 
Old 04-15-2012, 01:52 AM   #3
korena
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
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 ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Build Project is not including the included directories in Kdevelop 4 avanindra Programming 2 09-27-2009 05:33 PM
Unable to build bootstrap image on OpenEmbedded naveen_chandran Linux - Embedded & Single-board computer 0 04-15-2009 04:25 AM
Chapter 5 (After installing each package, delete its source and build directories) brayden516 Linux From Scratch 2 04-17-2008 11:50 AM
BLFS 5.0 dpkg build fails (ncurses-related error) bhaskie Linux From Scratch 2 02-07-2004 04:59 AM
.//program-build directories trub Linux From Scratch 1 02-16-2002 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration