[meta-virtualization] error triggered by meta-virtualization

Zi Shen Lim zishen.lim at linaro.org
Wed Aug 21 18:02:49 PDT 2013


On Wed, Aug 21, 2013 at 5:52 PM, Bruce Ashfield
<bruce.ashfield at gmail.com> wrote:
> On Wed, Aug 21, 2013 at 7:22 PM, Zi Shen Lim <zishen.lim at linaro.org> wrote:
>> Hi,
>>
>> After adding meta-virtualization layer into bblayers.conf, I'm not
>> able to build packages.
>> Looks like the search path is broken [1].
>>
>> As a quick workaround, I removed
>> meta-virtualization/recipes-devtools/python/python_2.7.3.bbappend.
>> That resolved the issue.
>
> I'm definitely still able to build packages and plenty of python packages with
> that bbappend in place.
>
> That being said, we've talked about it before, and it should be we can remove
> as it isn't necessary anymore.
>
> I take it you have your own python patches, which the clobbered THISDIR
> is breaking.
>
> If you make the following change, does it build for you ?
>
> ------------------
>
> diff --git a/recipes-devtools/python/python_2.7.3.bbappend
> b/recipes-devtools/python/python_2.7.3.bbappend
> index e39deba..55301c7 100644
> --- a/recipes-devtools/python/python_2.7.3.bbappend
> +++ b/recipes-devtools/python/python_2.7.3.bbappend
> @@ -1,5 +1,4 @@
> -THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
> -FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
> +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
>  DEPENDS += " ncurses"
>
> ------------
>
> If you can confirm it works, I'll push the change ASAP.
>

Yes, it works :)

Thanks Bruce and Victor.

> Bruce
>
>>
>> Suggestions?
>>
>> Thanks,
>> z
>>
>> [1] http://pastebin.com/BmK4QnnE
>> _______________________________________________
>> meta-virtualization mailing list
>> meta-virtualization at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-virtualization
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end"



More information about the meta-virtualization mailing list