* Error: PATH contains '.' or '', which will break the build, please remove this.
@ 2012-07-18 11:44 Axel Beierlein
2012-07-18 11:55 ` Burton, Ross
2012-07-18 12:07 ` [Solved] " Axel Beierlein
0 siblings, 2 replies; 16+ messages in thread
From: Axel Beierlein @ 2012-07-18 11:44 UTC (permalink / raw)
To: yocto
Hello,
when i start bitbake core-image-minimal i get the Error
"PATH contains '.' or '', which will break the build, please remove this."
But there is definitly no '' a whitespace or a point in my PATH.
What could be the reason for this Error?
Regards
Axel
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Error: PATH contains '.' or '', which will break the build, please remove this.
2012-07-18 11:44 Error: PATH contains '.' or '', which will break the build, please remove this Axel Beierlein
@ 2012-07-18 11:55 ` Burton, Ross
2012-07-18 11:58 ` Burton, Ross
2012-07-18 12:07 ` [Solved] " Axel Beierlein
1 sibling, 1 reply; 16+ messages in thread
From: Burton, Ross @ 2012-07-18 11:55 UTC (permalink / raw)
To: Axel Beierlein; +Cc: yocto
On 18 July 2012 12:44, Axel Beierlein <belatronix@freenet.de> wrote:
> Hello,
>
> when i start bitbake core-image-minimal i get the Error
> "PATH contains '.' or '', which will break the build, please remove this."
>
> But there is definitly no '' a whitespace or a point in my PATH.
That error could be phrased better...
If you don't have a . element, you probably have an empty element
(which is what the '' is trying to say). For example:
/usr/bin:/bin::/home/ross/bin
The :: after /bin is bad, and it's this which needs to be removed.
This is normally due to bad concatenation when extending $PATH.
Ross
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Error: PATH contains '.' or '', which will break the build, please remove this.
2012-07-18 11:55 ` Burton, Ross
@ 2012-07-18 11:58 ` Burton, Ross
0 siblings, 0 replies; 16+ messages in thread
From: Burton, Ross @ 2012-07-18 11:58 UTC (permalink / raw)
To: Axel Beierlein; +Cc: yocto
On 18 July 2012 12:55, Burton, Ross <ross.burton@intel.com> wrote:
>> when i start bitbake core-image-minimal i get the Error
>> "PATH contains '.' or '', which will break the build, please remove this."
Actually it's probably worth printing out the parsed PATH when this
warning fires to help solve the problem, I've seen a few people hit
this recently and it's not obvious what the problem is sometimes.
Ross
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Solved] Re: Error: PATH contains '.' or '', which will break the build, please remove this.
2012-07-18 11:44 Error: PATH contains '.' or '', which will break the build, please remove this Axel Beierlein
2012-07-18 11:55 ` Burton, Ross
@ 2012-07-18 12:07 ` Axel Beierlein
2012-07-18 12:13 ` Burton, Ross
1 sibling, 1 reply; 16+ messages in thread
From: Axel Beierlein @ 2012-07-18 12:07 UTC (permalink / raw)
To: yocto
Hello,
i've solved the Problem.
A few posts ago there was a hint with a trailing : in a PATH Var.
This was my Problem. Deleting the last : an it works!
This hint could be also integrated in the error message.
Regards
Axel
Am 18.07.2012 13:44, schrieb Axel Beierlein:
> Hello,
>
> when i start bitbake core-image-minimal i get the Error
> "PATH contains '.' or '', which will break the build, please remove this."
>
> But there is definitly no '' a whitespace or a point in my PATH.
>
> What could be the reason for this Error?
>
> Regards
>
> Axel
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Solved] Re: Error: PATH contains '.' or '', which will break the build, please remove this.
2012-07-18 12:07 ` [Solved] " Axel Beierlein
@ 2012-07-18 12:13 ` Burton, Ross
2012-07-18 13:37 ` Burton, Ross
0 siblings, 1 reply; 16+ messages in thread
From: Burton, Ross @ 2012-07-18 12:13 UTC (permalink / raw)
To: Axel Beierlein; +Cc: yocto
On 18 July 2012 13:07, Axel Beierlein <belatronix@freenet.de> wrote:
> Hello,
>
> i've solved the Problem.
> A few posts ago there was a hint with a trailing : in a PATH Var.
> This was my Problem. Deleting the last : an it works!
>
> This hint could be also integrated in the error message.
I'm working on a patch to display the parsed PATH so you'll see the
trailing empty element in that case.
Ross
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Solved] Re: Error: PATH contains '.' or '', which will break the build, please remove this.
2012-07-18 12:13 ` Burton, Ross
@ 2012-07-18 13:37 ` Burton, Ross
2012-07-18 13:46 ` Chris Larson
0 siblings, 1 reply; 16+ messages in thread
From: Burton, Ross @ 2012-07-18 13:37 UTC (permalink / raw)
To: yocto
On 18 July 2012 13:13, Burton, Ross <ross.burton@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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Solved] Re: Error: PATH contains '.' or '', which will break the build, please remove this.
2012-07-18 13:37 ` Burton, Ross
@ 2012-07-18 13:46 ` Chris Larson
2012-07-18 13:57 ` Burton, Ross
0 siblings, 1 reply; 16+ messages in thread
From: Chris Larson @ 2012-07-18 13:46 UTC (permalink / raw)
To: Burton, Ross; +Cc: yocto
On Wed, Jul 18, 2012 at 6:37 AM, Burton, Ross <ross.burton@intel.com> wrote:
> On 18 July 2012 13:13, Burton, Ross <ross.burton@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?
It's still slightly hard to spot there. I wonder if something like
this would be easier for the user?
ERROR: Invalid PATH entry at character N: /usr/bin:/bin:
^
In other words, formatted like a syntax error.
--
Christopher Larson
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Solved] Re: Error: PATH contains '.' or '', which will break the build, please remove this.
2012-07-18 13:46 ` Chris Larson
@ 2012-07-18 13:57 ` Burton, Ross
2012-07-18 14:49 ` Chris Larson
0 siblings, 1 reply; 16+ messages in thread
From: Burton, Ross @ 2012-07-18 13:57 UTC (permalink / raw)
To: Chris Larson; +Cc: yocto
On 18 July 2012 14:46, Chris Larson <clarson@kergoth.com> wrote:
> On Wed, Jul 18, 2012 at 6:37 AM, Burton, Ross <ross.burton@intel.com> wrote:
>> On 18 July 2012 13:13, Burton, Ross <ross.burton@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?
>
> It's still slightly hard to spot there. I wonder if something like
> this would be easier for the user?
>
> ERROR: Invalid PATH entry at character N: /usr/bin:/bin:
That would be easier for the user, but harder to implement. :)
Ross
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Solved] Re: Error: PATH contains '.' or '', which will break the build, please remove this.
2012-07-18 13:57 ` Burton, Ross
@ 2012-07-18 14:49 ` Chris Larson
0 siblings, 0 replies; 16+ messages in thread
From: Chris Larson @ 2012-07-18 14:49 UTC (permalink / raw)
To: Burton, Ross; +Cc: yocto
On Wed, Jul 18, 2012 at 6:57 AM, Burton, Ross <ross.burton@intel.com> wrote:
> On 18 July 2012 14:46, Chris Larson <clarson@kergoth.com> wrote:
>> On Wed, Jul 18, 2012 at 6:37 AM, Burton, Ross <ross.burton@intel.com> wrote:
>>> On 18 July 2012 13:13, Burton, Ross <ross.burton@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?
>>
>> It's still slightly hard to spot there. I wonder if something like
>> this would be easier for the user?
>>
>> ERROR: Invalid PATH entry at character N: /usr/bin:/bin:
>
> That would be easier for the user, but harder to implement. :)
It'd be something like https://gist.github.com/3136618, no doubt.
But the problem is the assumption of the length of the prefix, that
is, assumption of the final formatting to the user, which isn't ideal.
What we should do, I think, is teach the UI log formatter to indent
subsequent lines based on its own prefix, so that "foo\nbar" would
show up like this:
ERROR: foo
bar
Rather than:
ERROR: foo
bar
--
Christopher Larson
^ permalink raw reply [flat|nested] 16+ messages in thread
* Error: PATH contains '.' or '', which will break the build, please remove this.
@ 2012-06-21 15:25 Elvis Dowson
2012-06-21 15:41 ` Mark Hatle
2012-06-21 16:09 ` Khem Raj
0 siblings, 2 replies; 16+ messages in thread
From: Elvis Dowson @ 2012-06-21 15:25 UTC (permalink / raw)
To: Yocto Discussion Mailing List
Hi,
I just updated my yocto repos and tried a fresh build.
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.
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 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
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Error: PATH contains '.' or '', which will break the build, please remove this.
2012-06-21 15:25 Elvis Dowson
@ 2012-06-21 15:41 ` Mark Hatle
2012-06-21 15:56 ` Jack Mitchell
2012-06-21 16:09 ` Khem Raj
1 sibling, 1 reply; 16+ messages in thread
From: Mark Hatle @ 2012-06-21 15:41 UTC (permalink / raw)
To: yocto
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
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Error: PATH contains '.' or '', which will break the build, please remove this.
2012-06-21 15:41 ` Mark Hatle
@ 2012-06-21 15:56 ` Jack Mitchell
0 siblings, 0 replies; 16+ messages in thread
From: Jack Mitchell @ 2012-06-21 15:56 UTC (permalink / raw)
To: yocto@yoctoproject.org >> "yocto@yoctoproject.org"
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
--
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Error: PATH contains '.' or '', which will break the build, please remove this.
2012-06-21 15:25 Elvis Dowson
2012-06-21 15:41 ` Mark Hatle
@ 2012-06-21 16:09 ` Khem Raj
2012-06-22 3:05 ` Elvis Dowson
2012-06-22 4:22 ` Elvis Dowson
1 sibling, 2 replies; 16+ messages in thread
From: Khem Raj @ 2012-06-21 16:09 UTC (permalink / raw)
To: Elvis Dowson; +Cc: Yocto Discussion Mailing List
On Thu, Jun 21, 2012 at 8:25 AM, Elvis Dowson <elvis.dowson@gmail.com> wrote:
> BBFILES ?= ""
> BBLAYERS ?= " \
> /tool/yocto/poky/meta \
> /tool/yocto/poky/meta-yocto \
> /tool/yocto/meta-openembedded/meta-oe \
> /tool/yocto/meta-xilinx \
> "
>
what does
bitbake -e <image> | grep -e "^BBPATH="
show
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Error: PATH contains '.' or '', which will break the build, please remove this.
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
1 sibling, 1 reply; 16+ messages in thread
From: Elvis Dowson @ 2012-06-22 3:05 UTC (permalink / raw)
To: Khem Raj; +Cc: Yocto Discussion Mailing List
Hi Khem,
On Jun 21, 2012, at 8:09 PM, Khem Raj wrote:
> On Thu, Jun 21, 2012 at 8:25 AM, Elvis Dowson <elvis.dowson@gmail.com> wrote:
>> BBFILES ?= ""
>> BBLAYERS ?= " \
>> /tool/yocto/poky/meta \
>> /tool/yocto/poky/meta-yocto \
>> /tool/yocto/meta-openembedded/meta-oe \
>> /tool/yocto/meta-xilinx \
>> "
>>
> what does
>
> bitbake -e <image> | grep -e "^BBPATH="
>
> show
It shows the following:
BBPATH="/tool/yocto/poky/meta-yocto::/tool/yocto/poky/meta:/tool/yocto/meta-openembedded/meta-oe:/tool/yocto/meta-xilinx"
There is an extra colon : , how can I remove it?
Best regards,
Elvis Dowson
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Error: PATH contains '.' or '', which will break the build, please remove this.
2012-06-22 3:05 ` Elvis Dowson
@ 2012-06-22 4:25 ` Khem Raj
0 siblings, 0 replies; 16+ messages in thread
From: Khem Raj @ 2012-06-22 4:25 UTC (permalink / raw)
To: Elvis Dowson; +Cc: Yocto Discussion Mailing List
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6/21/2012 8:05 PM, Elvis Dowson wrote:
> Hi Khem,
>
> On Jun 21, 2012, at 8:09 PM, Khem Raj wrote:
>
>> On Thu, Jun 21, 2012 at 8:25 AM, Elvis Dowson
>> <elvis.dowson@gmail.com> wrote:
>>> BBFILES ?= "" BBLAYERS ?= " \ /tool/yocto/poky/meta \
>>> /tool/yocto/poky/meta-yocto \
>>> /tool/yocto/meta-openembedded/meta-oe \ /tool/yocto/meta-xilinx
>>> \ "
>>>
>> what does
>>
>> bitbake -e <image> | grep -e "^BBPATH="
>>
>> show
>
> It shows the following:
>
> BBPATH="/tool/yocto/poky/meta-yocto::/tool/yocto/poky/meta:/tool/yocto/meta-openembedded/meta-oe:/tool/yocto/meta-xilinx"
>
> There is an extra colon : , how can I remove it?
>
BBLAYERS above meta appears before meta-yocto but in BBPATH meta-yocto
appears before meta. I think meta-yocto/conf/layer.conf has
BBPATH := "${LAYERDIR}:${BBPATH}"
change it to
BBPATH .= ":${LAYERDIR}"
and if you want meta-yocto to appear before meta then rearrange
BBLAYERS above to
BBLAYERS ?= " \
/tool/yocto/poky/meta-yocto \
/tool/yocto/poky/meta \
/tool/yocto/meta-openembedded/meta-oe \
/tool/yocto/meta-xilinx \
"
but that may not solve the problem too since now you will get
BBPATH=":/tool/yocto/poky/meta-yocto:/tool/yocto/poky/meta:/tool/yocto/meta-openembedded/meta-oe:/tool/yocto/meta-xilinx"
and it will whine about : at the beginning since that will present and
empty BBPATH when it separates them out for sanity checks.
The fix would be to see if you have : at beginning or end of BBPATH
(_after_ it has been populated) and strip it out.
> Best regards,
>
> Elvis Dowson
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk/j874ACgkQuwUzVZGdMxSgUQCfTMT+9+YaJK3cUuCGhGjr6V/J
0TwAnR3rjGAwIDs2Fg1zGYiculK4BfkP
=EkD0
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: Error: PATH contains '.' or '', which will break the build, please remove this.
2012-06-21 16:09 ` Khem Raj
2012-06-22 3:05 ` Elvis Dowson
@ 2012-06-22 4:22 ` Elvis Dowson
1 sibling, 0 replies; 16+ messages in thread
From: Elvis Dowson @ 2012-06-22 4:22 UTC (permalink / raw)
To: Khem Raj; +Cc: Yocto Discussion Mailing List
Hi Khem,
I noticed that my PATH variable had an extra colon : , once I fixed that, bitbake starts to work.
However, I still get the following warnings:
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.
How can I fix this?
The output of the following command is empty
$ bitbake -e core-image-minimal | grep -e "^BBPATH="
$
I don't know what to do, to diagnose the problem and get rid of the warning.
Best regards,
Elvis Dowson
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2012-07-18 14:50 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-18 11:44 Error: PATH contains '.' or '', which will break the build, please remove this Axel Beierlein
2012-07-18 11:55 ` Burton, Ross
2012-07-18 11:58 ` Burton, Ross
2012-07-18 12:07 ` [Solved] " Axel Beierlein
2012-07-18 12:13 ` Burton, Ross
2012-07-18 13:37 ` Burton, Ross
2012-07-18 13:46 ` Chris Larson
2012-07-18 13:57 ` Burton, Ross
2012-07-18 14:49 ` Chris Larson
-- strict thread matches above, loose matches on Subject: below --
2012-06-21 15:25 Elvis Dowson
2012-06-21 15:41 ` Mark Hatle
2012-06-21 15:56 ` Jack Mitchell
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
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.