All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jack Mitchell <ml@communistcode.co.uk>
To: "yocto@yoctoproject.org >> \"yocto@yoctoproject.org\""
	<yocto@yoctoproject.org>
Subject: Re: Error: PATH contains '.' or '', which will break the build, please remove this.
Date: Thu, 21 Jun 2012 16:56:38 +0100	[thread overview]
Message-ID: <4FE34436.1040208@communistcode.co.uk> (raw)
In-Reply-To: <4FE34097.7090709@windriver.com>

On 21/06/12 16:41, Mark Hatle wrote:
> On 6/21/12 10:25 AM, Elvis Dowson wrote:
>> Hi,
>>       I just updated my yocto repos and tried a fresh build.
>
> There are two errors, see below:
>
>> My bblayers.conf file looks like this:
>>
>> # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
>> # changes incompatibly
>> LCONF_VERSION = "4"
>>
>> BBFILES ?= ""
>> BBLAYERS ?= " \
>>    /tool/yocto/poky/meta \
>>    /tool/yocto/poky/meta-yocto \
>>    /tool/yocto/meta-openembedded/meta-oe \
>>    /tool/yocto/meta-xilinx \
>>    "
>>
>> And when I run the bitake core-image-minimal;bitbake meta-toolchain  
>> I get the following errors:
>>
>> $ bitbake core-image-minimal;bitbake meta-toolchain;
>> Pseudo is not present but is required, building this first before the 
>> main build
>> WARNING: Unable to get checksum for python-numpy SRC_URI entry 
>> config.h: file could not be found           | ETA:  00:00:49
>> WARNING: Unable to get checksum for python-numpy SRC_URI entry 
>> numpyconfig.h: file could not be found
>> WARNING: 
>> /tool/yocto/meta-openembedded/meta-oe/recipes-connectivity/networkmanager/networkmanager_0.9.2.0.bb: 
>> it is recommended to set SYSTEMD_PACKAGES as <existing-package>-systemd
>> WARNING: 
>> /tool/yocto/poky/meta/recipes-extended/lighttpd/lighttpd_1.4.30.bb: 
>> it is recommended to set SYSTEMD_PACKAGES as <existing-package>-systemd
>> Parsing recipes: 100% 
>> |####################################################################################| 
>> Time: 00:00:37
>> Parsing of 1186 .bb files complete (0 cached, 1186 parsed). 1524 
>> targets, 40 skipped, 0 masked, 0 errors.
>> WARNING: BBPATH references the current directory, either through an 
>> empty entry, or a '.'.
>>      This is unsafe and means your layer configuration is adding 
>> empty elements to BBPATH.
>>      Please check your layer.conf files and other BBPATH settings to 
>> remove the current working directory references.
>
> The above is a warning, it is a configuration problem with one or more 
> layer.conf file within a layer.  But it's a warning, the build will 
> continue.
>
>> 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 '', which will break the build, please 
>> remove this.
>
> The above is an error.  Your shell environment's "PATH" is broken.  
> You have either '' (blank) or '.' within your path.
>
> Run the following in your shell: echo "${PATH}"
>
> If you see something like:
>
> /usr/bin:/bin:~/bin:.
>
> It's the '.' that is the problem.  Rewrite your path by removing the 
> '.' item.. (similarly if it contains '::' or ends with ':' that is the 
> blank problem)
>
> --Mark
>
>> ERROR: Execution of event handler 'check_sanity_eventhandler' failed
>> ERROR: Command execution failed: Exited with 1
>>
>> Summary: There were 5 WARNING messages shown.
>> Summary: There were 3 ERROR messages shown, returning a non-zero exit 
>> code.
>> Pseudo is not present but is required, building this first before the 
>> main build
>> Loading cache: 100% 
>> |######################################################################################| 
>> ETA:  00:00:00
>> Loaded 1523 entries from dependency cache.
>> Parsing recipes: 100% 
>> |####################################################################################| 
>> Time: 00:00:07
>> Parsing of 1186 .bb files complete (1184 cached, 2 parsed). 1524 
>> targets, 40 skipped, 0 masked, 0 errors.
>> WARNING: BBPATH references the current directory, either through an 
>> empty entry, or a '.'.
>>      This is unsafe and means your layer configuration is adding 
>> empty elements to BBPATH.
>>      Please check your layer.conf files and other BBPATH settings to 
>> remove the current working directory references.
>> 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 '', which will break the build, please 
>> remove this.
>> ERROR: Execution of event handler 'check_sanity_eventhandler' failed
>> ERROR: Command execution failed: Exited with 1
>>
>> Summary: There was 1 WARNING message shown.
>> Summary: There were 3 ERROR messages shown, returning a non-zero exit 
>> code.
>>
>>
>> Best regards,
>>
>> Elvis Dowson
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

I also started receiving this error about a week ago, my path is as follows:

[jack@archHP r0005]$ echo "${PATH}"
/home/jack/Projects/poky-denzil.git/scripts:/home/jack/Projects/poky-denzil.git/bitbake/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl

However (from what I can see) this doesn't feature the issue mentioned?

Regards,

-- 

   Jack Mitchell (jack@embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--



  reply	other threads:[~2012-06-21 15:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-21 15:25 Error: PATH contains '.' or '', which will break the build, please remove this Elvis Dowson
2012-06-21 15:41 ` Mark Hatle
2012-06-21 15:56   ` Jack Mitchell [this message]
2012-06-21 16:09 ` Khem Raj
2012-06-22  3:05   ` Elvis Dowson
2012-06-22  4:25     ` Khem Raj
2012-06-22  4:22   ` Elvis Dowson
  -- strict thread matches above, loose matches on Subject: below --
2012-07-18 11:44 Axel Beierlein
2012-07-18 11:55 ` Burton, Ross
2012-07-18 11:58   ` Burton, Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FE34436.1040208@communistcode.co.uk \
    --to=ml@communistcode.co.uk \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.