Bug 3465 - BitBake Run of Yocto Project 8 Version 1.3 on the host development system Ubuntu 12.04
Summary: BitBake Run of Yocto Project 8 Version 1.3 on the host development system Ubu...
Status: RESOLVED NOTABUG
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 x86
: Undecided normal
Target Milestone: ---
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-11-20 07:05 UTC by Rakesh Anand S
Modified: 2018-11-28 08:10 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rakesh Anand S 2012-11-20 07:05:21 UTC
I am building YP 8 on host linux system Ubuntu 12.04, i have used the documentation properly, i have the shown bellow:

--------------------------------------------------------------------------------

rocky@atomik:/mnt/yocto_project/version8/build/atom_board$ tsocks bitbake core-image-sato
Pseudo is not present but is required, building this first before the main build
ERROR:  OE-core'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:

    PATH contains '.' or '' (empty element), which will break the build, please remove this.
Parsed PATH is ['/mnt/yocto_project/version8/poky-danny-8.0/scripts', '/mnt/yocto_project/version8/build/atom_board/tmp/sysroots/x86_64-linux/usr/bin/core2-poky-linux', '/mnt/yocto_project/version8/build/atom_board/tmp/sysroots/crownbay/usr/bin/crossscripts', '/mnt/yocto_project/version8/build/atom_board/tmp/sysroots/x86_64-linux/usr/sbin', '/mnt/yocto_project/version8/build/atom_board/tmp/sysroots/x86_64-linux/usr/bin', '/mnt/yocto_project/version8/build/atom_board/tmp/sysroots/x86_64-linux/sbin', '/mnt/yocto_project/version8/build/atom_board/tmp/sysroots/x86_64-linux//bin', '/mnt/yocto_project/version8/poky-danny-8.0/bitbake/bin/', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games', '/home/rocky/BeatBox/android-ndk-r8', '/home/rocky/BeatBox/android-sdk-linux/platform-tools', '', '/home/rocky/BeatBox/android-ndk-r8/', '/home/rocky/BeatBox/android-sdk-linux/platform-tools/', '/home/rocky/BeatBox/android-ndk-r8/', '/home/rocky/BeatBox/android-sdk-linux/platform-tools/', '/home/rocky/BeatBox/android-ndk-r8/', '/home/rocky/BeatBox/android-sdk-linux/platform-tools/']

ERROR: Execution of event handler 'check_sanity_eventhandler' failed

--------------------------------------------------------------------------------

so i have checked the path using 
$echo $PATH

my path where its working :

--------------------------------------------------------------------------------
/mnt/yocto_project/version8/poky-danny-8.0/scripts:/mnt/yocto_project/version8/poky-danny-8.0/bitbake/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/rocky/BeatBox/android-ndk-r8:/home/rocky/BeatBox/android-sdk-linux/platform-tools::/home/rocky/BeatBox/android-ndk-r8/:/home/rocky/BeatBox/android-sdk-linux/platform-tools/:/home/rocky/BeatBox/android-ndk-r8/:/home/rocky/BeatBox/android-sdk-linux/platform-tools/:/home/rocky/BeatBox/android-ndk-r8/:/home/rocky/BeatBox/android-sdk-linux/platform-tools/

-------------------------------------------------------------------------------

checked my bashrc file too 

cant make-out what error it is !!! is the problem of the host system version ?
Comment 1 Richard Purdie 2012-11-24 18:04:51 UTC
The problem is there is "::" in the middle of that PATH expression ("platform-tools::/home/rocky/Be" and it will cause the builds to have issues. Please set a PATH without that empty section.