[meta-virtualization] error triggered by meta-virtualization

Victor Kamensky victor.kamensky at linaro.org
Wed Aug 21 17:46:44 PDT 2013


Just to clarify a bit:

some preexisting layers in Zi's setup also had
python_2.7.3.bbappend with syntax like this

[kamensky at kamensky-w530 081913_1]$ cat
meta-linaro/meta-bigendian/recipes-devtools/python/python_2.7.3.bbappend
FILESEXTRAPATHS := "${THISDIR}/${PN}"

SRC_URI += "file://python_ffi_armeb_be8.patch"

We are wondering why
meta-virtualization/recipes-devtools/python/python_2.7.3.bbappend
redefines FILESPATH in such unusual way, which results that another layer
modification got wiped out. Also it seems that
meta-virtualization/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch
patch
already exist in OE defined layer
(poky/meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch).
With your python_2.7.3.bbappend you make it pick up yours. It is highly
unusual for OE system. Patches are different just a bit:

[kamensky at kamensky-w530 081913_1]$ diff
meta-virtualization/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch
poky/meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch
122,124c122,124
< +        lib_dirs = [ os.getenv( "STAGING_LIBDIR" ) ]
< +        inc_dirs = [ os.getenv( "STAGING_INCDIR" ) ]
< +        lib_dirs += os.getenv('LIBRARY_PATH', '').split(os.pathsep)
---
> +        lib_dirs = [ os.getenv("STAGING_LIBDIR"),  os.getenv("STAGING_BASELIBDIR") ]
> +        inc_dirs = [ os.getenv("STAGING_INCDIR") ]
> +

If you are unhappy with OE provided
01-use-proper-tools-for-cross-build.patch patch patch you
could come up with new patch on top of it, but not instead.

Does this python_2.7.3.bbappend even really needed or it is artifact
of some things in the past?

Thanks,
Victor

On 21 August 2013 16:22, 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.
>
> Suggestions?
>
> Thanks,
> z
>
> [1] http://pastebin.com/BmK4QnnE



More information about the meta-virtualization mailing list