[yocto] [Solved] Re: Error: PATH contains '.' or '', which will break the build, please remove this.

Burton, Ross ross.burton at intel.com
Wed Jul 18 06:37:24 PDT 2012


On 18 July 2012 13:13, Burton, Ross <ross.burton at intel.com> wrote:
> I'm working on a patch to display the parsed PATH so you'll see the
> trailing empty element in that case.

How's this?

$ PATH=$PATH:
$ bitbake core-image-sato
[...]
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 ['/home/ross/Yocto/poky/scripts',
'/data/poky-master/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux',
'/data/poky-master/tmp/sysroots/qemux86/usr/bin/crossscripts',
'/data/poky-master/tmp/sysroots/x86_64-linux/usr/sbin',
'/data/poky-master/tmp/sysroots/x86_64-linux/usr/bin',
'/data/poky-master/tmp/sysroots/x86_64-linux/sbin',
'/data/poky-master/tmp/sysroots/x86_64-linux//bin',
'/home/ross/Yocto/poky/scripts', '/home/ross/Yocto/poky/bitbake/bin/',
'/home/ross/Yocto/poky/scripts', '/home/ross/Yocto/poky/bitbake/bin/',
'/home/ross/BUILD/bin', '/home/ross/bin', '/usr/local/bin',
'/usr/bin', '/bin', '/usr/local/games', '/usr/games', '']

ERROR: Execution of event handler 'check_sanity_eventhandler' failed
ERROR: Command execution failed: Exited with 1

Ross



More information about the yocto mailing list