[OE-core] [PATCHv2 0/7] Improve oe-init-build-env/-memres
Peter Kjellerstedt
peter.kjellerstedt at axis.com
Mon Mar 21 11:55:21 UTC 2016
> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org
> [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of
> Robert Yang
> Sent: den 21 mars 2016 11:09
> To: Peter Kjellerstedt; openembedded-core at lists.openembedded.org
> Subject: Re: [OE-core] [PATCHv2 0/7] Improve oe-init-build-env/-memres
>
>
> I got strange errors, I think that it is caused by one of these
> patches:
>
> $ . ../poky/oe-init-build-env .
> $ bitbake core-image-minimal
> 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.
>
> $ echo $PATH
> /buildarea/lyang1/poky/scripts:/buildarea/lyang1/poky/bitbake/bin:/folk
> /lyang1/bin:/folk/lyang1/gbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:
> /usr/bin:/sbin:/bin:/usr/games:/opt/dell/srvadmin/bin:
>
>
> Without running oe-init-build-env:
> $ echo $PATH
> /folk/lyang1/bin:/folk/lyang1/gbin:/usr/local/sbin:/usr/local/bin:/usr/
> sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/dell/srvadmin/bin:/buildarea/l
> yang1/poky/bitbake/bin
>
> // Robert
Bah, sorry about that. A colleague recommended a change to the code
that adds paths to $PATH in oe-buildenv-internal, which I implemented
just before sending my second patch set last week. Unfortunately I
missed changing a \1 to a \2 in the sed-expression after introducing
another capture group.
I have now sent a fix for this.
//Peter
More information about the Openembedded-core
mailing list