On Wed, Aug 21, 2013 at 9:02 PM, Zi Shen Lim <[email protected]> wrote: > On Wed, Aug 21, 2013 at 5:52 PM, Bruce Ashfield > <[email protected]> wrote: >> On Wed, Aug 21, 2013 at 7:22 PM, Zi Shen Lim <[email protected]> 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 for the confirmation, I'll push the change now. Bruce > Thanks Bruce and Victor. > >> Bruce >> >>> >>> Suggestions? >>> >>> Thanks, >>> z >>> >>> [1] http://pastebin.com/BmK4QnnE >>> _______________________________________________ >>> meta-virtualization mailing list >>> [email protected] >>> https://lists.yoctoproject.org/listinfo/meta-virtualization >> >> >> >> -- >> "Thou shalt not follow the NULL pointer, for chaos and madness await >> thee at its end" -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end" _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
