**** BEGIN LOGGING AT Mon Feb 12 03:00:01 2018 Feb 12 07:16:29 how to add python-dev headers in yocto Feb 12 10:19:49 let's say a recipe inherit a class for, then declares DEPENDS = "...", can the class foo appends to DEPENDS even if it's inherited before the declaration ? Feb 12 10:19:57 s/for/foo/ Feb 12 10:21:05 while installing python-dev i am getting the below error:https://pastebin.com/raw/m1urRTjA Feb 12 10:22:06 wakko: nope. evaluation order is top to bottom in the recipe, AFAIK. Feb 12 10:23:49 so DEPENDS_append/prepend is no help here ? Feb 12 10:24:06 wakko: not inside the class Feb 12 10:24:14 got it thanks ! Feb 12 10:25:14 too bad a recipe can break a class if it rewrites the DEPENDS and override a python-thingamiga-native Feb 12 10:26:03 many class adds DEPENDS on python native modules Feb 12 10:26:12 viky: have you actually read the error msg and the link it contains? this is at most indirectly OE related (plus the fact that you should try to package the thing instead of installing in-target) Feb 12 10:26:29 viky: and please, do not crosspost. Feb 12 10:45:48 i think i misunderstood something, in a class i added DEPENDS += "python-lxml-native", even so the python code from the class cannot "from lxml import etree" do i have to install this module on the host ? Feb 12 10:47:17 wakko: the -native suffix means that it depends on it during compile time, on the build host. if you want it in target at compile time, remove the suffix. if you want it in target at runtime, add it to RDEPENDS. Feb 12 10:48:40 it depends on it during populate_packages_prepend, so i think the -native suffix is necessary Feb 12 10:49:06 wakko: no, thats not exactly true. Feb 12 10:49:09 even so the python code in the class fails at importing it Feb 12 10:49:18 wakko: i guess it actually is wrong. Feb 12 10:49:44 populate_packages_prepend is not executed on the build host ? Feb 12 10:50:17 wakko: think architectures. if you build for arm, on x86. then -native means it is something that runs on x86, on your host. without -native, it is for arm. Feb 12 10:50:29 sure Feb 12 10:51:27 populate_packages_prepend is of course executed on the host. but is it something that actually *works* on the host? or is it rather some packageing tool, that stitches up your target payload? Feb 12 10:52:02 it splits my ipk into many ipk based on an xml file Feb 12 10:52:20 wakko: and it actually is python code that runs on your host? Feb 12 10:52:25 yes Feb 12 10:52:28 it's a bitbake class Feb 12 10:53:23 you really lost me here :) Feb 12 10:53:44 it's python code in a .bbclass Feb 12 10:54:07 ah. ok, here we're pretty much leaving my knowledgebase. but i *THINK* it might be that bitbake tasks are in not running in the host sysroot or such. i guess your problem has something to do with that then. Feb 12 10:54:40 yeah sorry for the confusion. Feb 12 10:55:23 this would explain the problem, remains the question, is it normal ? and should i install this module on the build host ? it will work but it's less elegant (self-contained) to me Feb 12 10:55:35 wakko: yeah you Feb 12 10:56:07 yeah me ? Feb 12 10:56:09 :) Feb 12 10:56:20 you're right, this should not be necessary. you're probably just doing some little thing in an unexpected way, but unfortunately this is not something i can help you with. Feb 12 10:56:35 no problem Feb 12 10:56:45 thanks for the help Feb 12 10:57:14 you can try and poke at it through the recipes devshell i think. plus, maybe write a concise mail to the oe-devel list, maybe including an example snippet. Feb 12 10:57:50 i'll do Feb 12 10:57:55 good luck then. **** BEGIN LOGGING AT Mon Feb 12 12:28:33 2018 **** BEGIN LOGGING AT Mon Feb 12 14:06:09 2018 Feb 12 14:06:34 i just need to parse an xml at the end, so writing a little script that outputs something easily understandable in pure python looks fine to me Feb 12 23:01:06 Chromium needs a gcc which know stdc++14 on the host (gn compilation). Feb 12 23:01:14 But the host where I want to build chromium has a old version of gcc and I have not rigths to upgrade the Linux distribution. Feb 12 23:01:37 Is there a way to include a recent version of gcc inside the SDK and to use it during the build. Feb 12 23:02:27 romua1d: not really... I would suggest using a container if that's possible on your infrastructure Feb 12 23:04:14 ok, thanks for the fast response Feb 12 23:06:23 But I'm very desapointed because for me the SDK should be (the most) independant from the host. Feb 12 23:08:40 we do rely on the host for host-side compilation; we only handle cross-compilation in the SDK Feb 12 23:10:38 ok, I understand from this point of view **** ENDING LOGGING AT Tue Feb 13 03:00:02 2018