IRC log for #oe on 20180212

01:06.07*** join/#oe armpit (~armpit@2601:202:4000:1184:951e:6cdd:3fc8:9b4)
01:21.55*** join/#oe infobot (ibot@rikers.org)
01:21.55*** topic/#oe is OpenEmbedded Developer Lounge | Web: http://openembedded.org | Repositories: http://git.openembedded.org/ | Primary Repo Mirrors: https://github.com/openembedded | This is not a distro or machine support channel
01:44.53*** join/#oe rob_w_ (~rob@ppp-93-104-43-11.dynamic.mnet-online.de)
05:42.02*** join/#oe tlwoerner (~Trevor@206.248.190.95)
05:42.02*** join/#oe tlwoerner (~Trevor@unaffiliated/tlwoerner)
05:59.49*** join/#oe hamis (~irfan@110.93.212.98)
06:16.00*** join/#oe snowkidind (~textual@216.15.40.124)
06:25.29*** join/#oe morphis (~morphis@pD9ED7359.dip0.t-ipconnect.de)
06:58.36*** join/#oe morphis_ (~morphis@pD9ED6367.dip0.t-ipconnect.de)
06:59.36*** join/#oe frieder (~frieder@2003:a:e7a:6200:246c:2a8b:f45a:a33d)
07:03.17*** join/#oe luneff (~yury@95.174.104.43)
07:15.22*** join/#oe viky (6a334395@gateway/web/freenode/ip.106.51.67.149)
07:16.29vikyhow to add python-dev headers in yocto
07:25.28*** join/#oe rob_w (~bob@unaffiliated/rob-w/x-1112029)
07:39.54*** join/#oe florian (~florian_k@Maemo/community/contributor/florian)
07:46.41*** join/#oe AndersD (~anders@194-237-220-218.customer.telia.com)
07:53.02*** join/#oe fl0v0 (~fvo@i59F74A02.versanet.de)
07:56.44*** join/#oe dv_ (~dv@62.178.118.86)
08:12.52*** join/#oe Bunio_FH (~bunio@81-18-201-214.static.chello.pl)
08:29.26*** join/#oe roxell_ (~roxell@unaffiliated/roxell)
08:29.50*** join/#oe roxell_ (~roxell@unaffiliated/roxell)
08:31.12*** join/#oe ao2 (~ao2@host232-151-dynamic.53-79-r.retail.telecomitalia.it)
08:31.36*** join/#oe roxell_ (~roxell@unaffiliated/roxell)
08:34.12*** join/#oe t0mmy (~tprrt@htr06-1-82-227-229-112.fbx.proxad.net)
08:35.41*** join/#oe AndersD (~anders@194-237-220-218.customer.telia.com)
08:35.43*** part/#oe Lightsword (~Lightswor@107.170.253.193)
08:35.56*** join/#oe roxell (~roxell@unaffiliated/roxell)
08:45.32*** join/#oe florian (~florian_k@Maemo/community/contributor/florian)
08:50.14*** join/#oe ant_work (~ant__@host53-77-dynamic.250-95-r.retail.telecomitalia.it)
09:27.16*** join/#oe mithro (sid24875@gateway/web/irccloud.com/x-sehiaiosauhewkhc)
09:33.28*** join/#oe florian (~florian_k@Maemo/community/contributor/florian)
09:34.23*** join/#oe Lightsword (~Lightswor@107.170.253.193)
10:03.39*** join/#oe flynn378 (sid63564@gateway/web/irccloud.com/x-fivuymfnanslovgp)
10:11.22*** join/#oe joshuagl (joshuagl@nat/intel/x-xfivwqjqlsmwssch)
10:15.35*** join/#oe viky (6a334395@gateway/web/freenode/ip.106.51.67.149)
10:17.15*** join/#oe Tartarus (sid72705@gateway/web/irccloud.com/x-nohivweqkntdbtff)
10:19.49wakkolet'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 ?
10:19.57wakkos/for/foo/
10:21.05vikywhile installing python-dev i am getting the below error:https://pastebin.com/raw/m1urRTjA
10:22.06LetoThe2ndwakko: nope. evaluation order is top to bottom in the recipe, AFAIK.
10:23.49wakkoso DEPENDS_append/prepend is no help here ?
10:24.06LetoThe2ndwakko: not inside the class
10:24.14wakkogot it thanks !
10:25.14wakkotoo bad a recipe can break a class if it rewrites the DEPENDS and override a python-thingamiga-native
10:26.03wakkomany class adds DEPENDS on python native modules
10:26.12LetoThe2ndviky: 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)
10:26.29LetoThe2ndviky: and please, do not crosspost.
10:29.26*** join/#oe ao2_ (~ao2@host48-73-dynamic.51-82-r.retail.telecomitalia.it)
10:32.57*** join/#oe marex-cloud (sid137234@gateway/web/irccloud.com/x-xggjobkvriwxexgq)
10:45.48wakkoi 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 ?
10:47.17LetoThe2ndwakko: 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.
10:48.40wakkoit depends on it during populate_packages_prepend, so i think the -native suffix is necessary
10:49.06LetoThe2ndwakko: no, thats not exactly true.
10:49.09wakkoeven so the python code in the class fails at importing it
10:49.18LetoThe2ndwakko: i guess it actually is wrong.
10:49.44wakkopopulate_packages_prepend is not executed on the build host ?
10:50.17LetoThe2ndwakko: 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.
10:50.29wakkosure
10:51.27LetoThe2ndpopulate_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?
10:52.02wakkoit splits my ipk into many ipk based on an xml file
10:52.20LetoThe2ndwakko: and it actually is python code that runs on your host?
10:52.25wakkoyes
10:52.28wakkoit's a bitbake class
10:53.23wakkoyou really lost me here :)
10:53.44wakkoit's python code in a .bbclass
10:54.07LetoThe2ndah. 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.
10:54.40LetoThe2ndyeah sorry for the confusion.
10:55.05*** join/#oe bluelightning (~paul@2406:e007:6d3e:1:5e51:4fff:febb:401d)
10:55.05*** join/#oe bluelightning (~paul@pdpc/supporter/professional/bluelightning)
10:55.23wakkothis 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
10:55.35LetoThe2ndwakko: yeah you
10:56.07wakkoyeah me ?
10:56.09wakko:)
10:56.20LetoThe2ndyou'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.
10:56.35wakkono problem
10:56.45wakkothanks for the help
10:57.14LetoThe2ndyou 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.
10:57.50wakkoi'll do
10:57.55LetoThe2ndgood luck then.
11:32.18*** join/#oe jkridner|pd (~jkridner@pdpc/supporter/active/jkridner)
11:52.33*** join/#oe stefan_schmidt (~stefan@p200300E9D3D61D8E9A8389FFFE2E3FAE.dip0.t-ipconnect.de)
12:19.44*** join/#oe ski7777 (~quassel@ip5f58c6eb.dynamic.kabel-deutschland.de)
12:23.56*** join/#oe JaMa (~martin@217.30.68.212)
12:28.33*** join/#oe nslu2-log (~nslu2-log@milla.nas-admin.org)
12:29.11*** join/#oe fl0v0 (~fvo@mue-88-130-106-254.dsl.tropolys.de)
12:53.38*** join/#oe falk0n (~falk0n@a109-49-51-30.cpe.netcabo.pt)
12:55.38*** join/#oe bradfa (~andrew@clr-vpn01.kodakalaris.com)
13:05.21*** join/#oe hamis_lt_u (~irfan@110.93.212.98)
13:16.38*** join/#oe marka (~masselst@184.175.21.48)
13:18.32*** join/#oe rob_w (~rob@unaffiliated/rob-w/x-1112029)
13:56.48*** join/#oe tom_nov (~Tomas@176.74.132.138)
14:00.10kergothwakko: python code in a bitbake function can't import python modules from the host sysroot. either run an external python script after inheriting the appropriate classes, or manually manipulate sys.path to add it
14:01.55wakkoor add it to SANITY_REQUIRED_UTILITIES ? :)
14:03.19wakkomanipulating PYTHON_PATH sounds like a good option but still no one knows if host python version is the same than native version...
14:04.22kergothyeah, that's a definite concern
14:04.29kergothi'd just make it an external script and run it.
14:04.35kergothcould still keep it in the layer if you like
14:04.59wakkook
14:05.18kergothshrugs
14:05.50kergothi've done similar things before, calling out to external utility scripts for various reasons, clarity, reuse outside of bitbake, python version issues, ..
14:06.09*** join/#oe nslu2-log (~nslu2-log@milla.nas-admin.org)
14:06.34wakkoi 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
14:21.56*** join/#oe behanw (uid110099@gateway/web/irccloud.com/x-iyxxrgegxqlnvoyo)
14:24.37*** join/#oe ao2__ (~ao2@host250-24-dynamic.37-79-r.retail.telecomitalia.it)
14:38.41*** join/#oe rsalveti (sid117878@gateway/web/irccloud.com/x-ejkcnuldizuytidt)
14:39.36*** join/#oe falk0n (~falk0n@194-79-86-21.static.net.novis.pt)
15:02.37*** join/#oe stephano (~stephano@134.134.139.73)
15:36.06*** join/#oe blight (~greg@reactos/developer/blight)
15:40.15*** join/#oe ao2_ (~ao2@host112-22-dynamic.23-79-r.retail.telecomitalia.it)
15:43.02*** join/#oe hamis_lt_u (~irfan@110.93.212.98)
16:07.08*** join/#oe ao2__ (~ao2@host205-148-dynamic.32-79-r.retail.telecomitalia.it)
16:33.59*** join/#oe ao2_ (~ao2@host197-142-dynamic.35-79-r.retail.telecomitalia.it)
17:48.14*** join/#oe Varti (~varthall@dynamic-adsl-78-12-160-163.clienti.tiscali.it)
18:42.17*** join/#oe eFfeM (~frans@f160137.upc-f.chello.nl)
19:17.48*** join/#oe bluelightning (~paul@243.21.255.123.dynamic.snap.net.nz)
19:17.48*** join/#oe bluelightning (~paul@pdpc/supporter/professional/bluelightning)
19:41.20*** join/#oe ntl (~nathanl@65-36-80-8.dyn.grandenetworks.net)
20:24.19*** join/#oe florian (~florian_k@Maemo/community/contributor/florian)
20:53.47*** join/#oe ntl (~nathanl@65-36-80-8.dyn.grandenetworks.net)
21:10.54*** join/#oe ChanServ (ChanServ@services.)
21:10.54*** mode/#oe [+o ChanServ] by verne.freenode.net
21:51.11*** join/#oe bluelightning_ (~paul@2406:e007:6d3e:1:5e51:4fff:febb:401d)
21:51.11*** join/#oe bluelightning_ (~paul@pdpc/supporter/professional/bluelightning)
22:18.39*** join/#oe duncan^ (~duncan@fez.tardis.ed.ac.uk)
22:22.57*** join/#oe t0mmy (~tprrt@37.168.228.172)
22:47.24*** join/#oe t0mmy (~tprrt@132.110.153.77.rev.sfr.net)
22:53.36*** join/#oe romua1d (~romuald@88.191.217.116)
23:01.06romua1dChromium needs a gcc which know stdc++14 on the host (gn compilation).
23:01.14romua1dBut the host where I want to build chromium has a old version of gcc and I have not rigths to upgrade the Linux distribution.
23:01.37romua1dIs there a way to include a recent version of gcc inside the SDK and to use it during the build.
23:02.27bluelightningromua1d: not really... I would suggest using a container if that's possible on your infrastructure
23:04.14romua1dok, thanks for the fast response
23:06.23romua1dBut I'm very desapointed because for me the SDK should be (the most) independant from the host.
23:08.40bluelightningwe do rely on the host for host-side compilation; we only handle cross-compilation in the SDK
23:10.38romua1dok, I understand from this point of view
23:53.12*** join/#oe t0mmy (~tprrt@132.110.153.77.rev.sfr.net)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.