**** BEGIN LOGGING AT Thu Dec 07 03:00:01 2017 Dec 07 06:42:17 I have MACHINE_FEATURES_append = " bluetooth" in my .conf file and DISTRO_FEATURES_append = " alsa ptest bluetooth bluez5" in my .conf file, but bluez5 package is not deployed in image unless I have bluez5 in IMAGE_INSTALL_append list in image recipe. Is this expected? Dec 07 06:42:32 image recipe inherits from core-image Dec 07 06:43:17 I didn't think explicitly adding bluez5 package is necessary? Dec 07 07:40:39 Hi :) Dec 07 07:47:52 I have a custom meta with two recipes. Then when I change content of some file in one of my recipes sometimes its reflected on final image sometimes not Dec 07 07:48:25 What I do is: bitbake -c cleansstate anyconnect && bitbake -c clean anyconnect && bitbake -c cleansstate vpn-image && bitbake -c clean vpn-image && bitbake vpn-image Dec 07 07:49:17 So in theory I clean sstate as well recepie anyconnect and final image called vpn-image Dec 07 07:50:03 btw when I invoke bitbake -c clean do I need also call cleansstate ? Dec 07 07:51:54 Why I cannot simply call: bitbake vpn-image and don`t care about this cleaning preinit steps... Dec 07 09:04:01 good morning Dec 07 09:12:58 : if you just do bitbake -c clean anyconnect, bitbake vpn-image, you still have this problem ? Dec 07 09:13:08 : good morning Dec 07 09:18:56 nayfe, need to check, currently I do bitbake -c cleanall anyconnect && bitbake -c cleanall vpn-image && bitbake vpn-image and it works Dec 07 09:21:30 devik: recipe cleaning (-c clean) will force bitbake to recreate recipe shipped files, so it should be enough to refresh modified files Dec 07 09:23:27 nayfe, but why I need clean also a vpn-image? it should not be recreated when I change something in anyconnect? Dec 07 09:23:54 i think you don't need it Dec 07 09:24:17 ok will check your way and back with result. Dec 07 09:24:50 see you soon :) Dec 07 09:27:29 nayfe, unfortunate my modified file is old in new generated image. Dec 07 09:28:09 devik: may i ask what is the kind of file ? Dec 07 09:29:33 devik: is anyconnect directly added to image, or is it a dependency ? Dec 07 09:31:10 hi, anyone ever tried meta-virtualization with aarch64? Dec 07 09:32:04 devik, here is my file tree: https://pastebin.com/YpG6XXAQ Dec 07 09:32:24 nayfe, the file is for eg. meta-vpn/recipes-vpn/anyconnect/files/bin/init Dec 07 09:42:51 devik: to me, you shouldn't put binaries in recipe, and split those files into a separate git repo for instance, if you want to keep them this way, i don't know what cause your issue, maybe a cache problem Dec 07 09:44:25 nayfe, I cannot compile this software from source, have it like it is. Dec 07 09:44:50 so general at the end in git I will have entire meta-vpn Dec 07 09:45:21 so my file that I touch is just a shell script Dec 07 09:45:44 I don`t know how cache recognize this kind of files Dec 07 09:45:53 and when they are touched. Dec 07 09:46:02 devik: can we see anyconnect_4.4.00243.bb? Dec 07 09:46:09 sure Dec 07 09:48:09 nayfe, https://pastebin.com/mj3ePMUd Dec 07 09:53:16 devik maybe add ${WORKDIR} in front of files you need to install ie install -m 0755 ${WORKDIR}/bin/* ${D}/opt/cisco/anyconnect/bin Dec 07 09:54:56 you install two bin/init with bin/* and bin/init Dec 07 09:54:59 otherwise i see nothing obvious Dec 07 09:57:54 nayfe, true but the source file is the same. Dec 07 09:59:57 ok I will add this ${WORKDIR} on the front and don`t use wildcard and then recheck Dec 07 10:00:39 yes the install commands need WORKDIR Dec 07 10:01:15 but my files are copy when I do cleanall so thats odd Dec 07 10:01:27 devik: fwiw, there's an open reimplementation that isn't rubbish, openconnect Dec 07 10:01:42 we have anyconnect servers and i've been using openconnect daily for years Dec 07 10:02:29 rburton: do you know if yocto-2.x and meta-virtualization is working for armv8 (aarch64)? Dec 07 10:02:39 devik: also pretty sure anyconnect isn't MIT licensed Dec 07 10:02:44 i mean docker Dec 07 10:02:53 devik: change LICENSE to closed and delete LIC_FILES_CHKSUM Dec 07 10:03:08 eenuts: no idea, don't have any aarch64 hardware, never used docker Dec 07 10:03:21 okay thanks.. anyone here? Dec 07 10:03:26 rburton, sure, but I try already openconnect and was not able to force on it to connect into client network Dec 07 10:03:29 it there an irc for meta-virtualization? Dec 07 10:03:52 devik: weird works perfectly for many many people Dec 07 10:04:52 eenuts: maybe explain your problem even if we don't use it Dec 07 10:04:59 rburton, speed over week to test all options and simply was not able to set tunel so I give up and wrap this crappy vpn into small yocto image :) Dec 07 10:05:04 eenuts: hint: google "smart questions" Dec 07 10:05:45 devik: did you try asking the mailing list/irc for it? Dec 07 10:06:04 yep, without success so far. Dec 07 10:06:16 at least on via irc. Dec 07 10:07:26 eenuts: https://en.wikipedia.org/wiki/Rubber_duck_debugging is working for me :) Dec 07 10:25:59 hmm Dec 07 10:26:18 ... workspace/poky/build/tmp/work/core2-64-poky-linux/anyconnect/4.4.00243-r0/bin/vpn': No such file or directory Dec 07 10:27:05 when I have: install -m 0755 ${WORKDIR}/bin/vpn ${D}/opt/cisco/anyconnect/bin Dec 07 10:27:17 did you create the target directory? Dec 07 10:27:31 or, does the source actually exist Dec 07 10:27:40 not the first Q, i can't read Dec 07 10:28:14 looks like you just got the path wrong Dec 07 10:28:20 look there and see where it actually unpacked into Dec 07 10:28:23 hi guys Dec 07 10:29:42 I'm using bitbake version 1.28.0 and I'm trying to use bitbake -g -u depexp - it complains about import gobject not working and I'm not sure what python package I should install. Dec 07 10:29:42 rburton, this file is in:... workspace/poky/meta-vpn/recipes-vpn/anyconnect/files/bin/vpn Dec 07 10:30:34 I think that I forgot to add: install -d ${D}/opt/cisco/anyconnect/bin Dec 07 10:31:00 let me recheck. Dec 07 10:32:30 devik: go to workspace/poky/build/tmp/work/core2-64-poky-linux/anyconnect/4.4.00243-r0 and check where is vpn file Dec 07 10:34:05 devik: maybe files/bin/vpn is copied directly to workdir/vpn instead of workdir/bin/vpn ? Dec 07 10:35:23 your SRC_URI should be copying the files into WORKDIR, if it isn't then thats the problem Dec 07 11:02:11 spooky_d: python-gobject or similar Dec 07 11:06:12 re Dec 07 11:21:51 Again with bitbake. I have a number of shell rules that start with the same lines: they set up the environment for compilation, things like PATH=... and PKG_CONFIG_PATH=... Dec 07 11:21:59 How can i not repeat myself for each rule? Dec 07 11:22:22 spooky_d: includes, or classes maybe? Dec 07 11:22:55 Even inside the classes I have to repeat myself. Dec 07 11:23:07 It's easy to mess up things when stuff are mindlessly repeated. Dec 07 11:23:59 and I need them in 90% of my rules, so there's a 10% that will not accept having those things defined globally somehow. Dec 07 11:25:23 well then continue to abstract and refactor things out. Dec 07 12:48:35 hmm Dec 07 12:50:58 New news from stackoverflow: How can I do "export $(dbus-launch) in booting Dec 07 13:17:46 I though I had removed all references to bluetooth/wifi/sound in my machine, but it still wants to drag in wpa-supplicant, and alsa is in MACHINE_FEATURES. any advice on how to find out what drags them in (and how to remove them)? Dec 07 13:20:00 RP: I've noticed that you're staging some fixes to morty-next was the fix for gnutls skipped for some reason? Dec 07 13:21:31 tasslehoff: try using: bitbake -g -u depexp Dec 07 13:23:11 georgem: do I have to start/add something for depexp to work? Dec 07 13:23:34 "Unable to import extension module "depexp" from bb.ui." Dec 07 13:24:40 it's been a while since I've used it. let me try again. Dec 07 13:25:48 seems alsa and wifi are in my DISTRO_FEATURES, so perhaps I can just remove them from there Dec 07 13:25:49 tasslehoff: hmmm. nope. which yocto release are you using? Dec 07 13:25:57 and from the MACHINE_FEATURES Dec 07 13:26:00 georgem: pyro Dec 07 13:26:57 tasslehoff: Yeah. Try using _remove to remove alsa and wifi from those. Dec 07 13:27:38 interesting. I also get that error on pyro Dec 07 13:28:09 georgem: seems to have disappeared from what -eee says :) I'll remove pulseaudio and bluez5 as wekk for good measure :) Dec 07 13:28:42 tasslehoff, ah :( Dec 07 13:29:35 yeah. that sounds good. not sure why -g -u depexp isn't working though Dec 07 13:30:18 JaMa: no reason, I'm just trying to get morty to build at all locally :/ Dec 07 13:31:01 Hmm. No morty troubles for me on latest ArchLinux. Dec 07 13:31:52 georgem: because in recent releases its taskexp now Dec 07 13:32:03 tasslehoff: -g taskexp not -g depexp Dec 07 13:32:09 rburton: doh. ok. thanks. I'll make a note of that. Dec 07 13:32:23 * tasslehoff makes a note as well Dec 07 13:32:28 thanks rburton Dec 07 13:32:51 RP: ok, fair enough Dec 07 13:33:24 removed alsa, wifi and bluetooth from DISTRO/MACHINE, at it seems to listen to me thus far Dec 07 14:22:18 How can I get a "full" git version on my images? One with git-submodule I mean? Dec 07 14:25:45 zzeroo: you need to use gitsm:// in your SRC_URI Dec 07 14:26:09 zzeroo: not sure if it is what you asked Dec 07 14:29:19 zzeroo: use oe-pkgdata-utils to list the contents of the git package and find out what subpackage the submodule command went into Dec 07 14:31:18 nayfe: I've a development image with `IMAGE_INSTALL += "git"`. git is included in that image. But it looks like its a "light" version, without git-submodules. I don't know what this means: http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-devtools/git/git.inc#n121 (Line 121) Dec 07 14:33:20 Is there any way to call a python function (or task) from a shell task? Dec 07 14:59:44 is there a way to require certain bitbake variables be set for a task? eg Dec 07 15:00:04 i need BLABLAVARIABLE to be defined for task thetask to work Dec 07 15:00:32 check its set and if not fatal (or bbfatal if its a shell task) Dec 07 15:07:48 if d.getVar('SOMEVAR', True) == "": Dec 07 15:11:31 nope Dec 07 15:11:33 its Dec 07 15:11:34 if d.getVar('SOMEVAR', True) is None: Dec 07 15:19:07 I'm trying to build a Go project which uses https://github.com/golang/sys/tree/master/unix via import "golang.org/x/sys/unix". Dec 07 15:20:06 That fails with "cannot find package "golang.org/x/sys/unix" in any of" followed by a few locations, including the ${S} and recipe-sysroot. Dec 07 15:20:43 It looks like I need to have a recipe for it and then add proper DEPENDS. Right? Dec 07 15:26:05 Dear All, Dec 07 15:26:05 I do have a strange issue with FC24 and rocko build Dec 07 15:26:20 when I do try to build rootfs: (do_rootfs): Dec 07 15:27:00 ERROR: core-image-r0 do_rootfs: Could not invoke dnf. Dec 07 15:28:04 File "/1.0-r0/recipe-sysroot-native/usr/lib/python3.5/site-packages/dnf/crypto.py", line 29, in Dec 07 15:28:04 import gpg Dec 07 15:28:04 ImportError: No module named 'gpg' Dec 07 15:28:49 I assume that I do need Dec 07 15:28:50 DEPENDS = "python-gnupg-native" Dec 07 15:29:18 but this shall be in python installed bundle Dec 07 15:29:28 (and yes, I've deleted sstate + cache) Dec 07 15:32:53 dnf is trying to run gpg on the -host- Dec 07 15:32:59 pohly: did you look at http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-extended/go-examples/go-helloworld_0.1.bb ? Dec 07 15:33:20 nayfe: yes, but it doesn' Dec 07 15:33:30 doesn't reference additional Go packages. Dec 07 15:33:35 it's possible that the python-gnupg-native has something wrong with it, or it's trying to load something on the host and that is clowing up Dec 07 15:33:40 'er.. blowing up.. Dec 07 15:34:05 I've not seen that error before.. so you may have to try to load the python module yourself and/or see if you can figure out why it's not present.. Dec 07 15:34:10 sorry if I can't be more help Dec 07 15:34:28 I'm now trying to do it similar to https://github.com/mem/oe-meta-go/blob/master/recipes-net/golang.org-x-net/golang.org-x-net.bb with multiple SRC_URI entries. Dec 07 15:37:44 fray: The problem is with dnf Dec 07 15:37:53 (meta/recipes-devtool/dnf) Dec 07 15:38:12 It has in it: RDEPENDS_${PN}_class-target += ... python3-gpg" Dec 07 15:38:29 # Recommend gnupg so that GPG signature check on repository metadata is possible Dec 07 15:38:29 RRECOMMENDS_${PN}_class-target += "gnupg" Dec 07 15:38:41 it may need something similar for class-native Dec 07 15:39:30 fray: BTW: How to install / insert manually module in the middle of bitbake execution? Dec 07 15:50:51 vmeson: https://autobuilder.yocto.io/tgrid?length=20 Dec 07 15:52:11 vmeson: ~half the failures in mut are proper problems, half are autobuilder problems like the kvm alloc problem Dec 07 16:00:11 pohly: you can also check http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/tree/recipes-containers/docker/docker_git.bb (never played with go yet) Dec 07 16:01:57 or this one https://github.com/madisongh/meta-golang/blob/master/recipes-devtools/golang-x/golang-x-sys_git.bb Dec 07 16:02:45 fray: With pyro -> dnf required python3-pygpgme Dec 07 16:05:16 but it all has -native suffixes... so I shall check if it is installed on HOST..... :/ Dec 07 16:05:55 theoretically the system should NOT require you to change your host to function.. (thats why we have the native programs) Dec 07 16:10:04 fray: dnf list installed | grep python3-pygpgme Dec 07 16:10:04 python3-pygpgme.x86_64 0.3-18.fc25 @@commandline Dec 07 16:10:15 So it is available Dec 07 16:10:19 RP: rburton: yep, sources mirror currently populated by the old cluster. halstead is going to fix Dec 07 16:10:50 fray: But on the other hand: ERROR: Nothing PROVIDES 'python3-pygpgme-native Dec 07 16:11:37 joshuagl: cool Dec 07 16:11:39 thanks Dec 07 16:19:24 Is the openembedded-core a somewhat new concept? Dec 07 16:19:27 https://layers.openembedded.org/layerindex/branch/pyro/layer/openembedded-core/ Dec 07 16:19:40 lukma: about 10 years old? Dec 07 16:20:00 rburton: So I don't get it Dec 07 16:20:05 get what Dec 07 16:20:17 python3-pygpgme is there.. Dec 07 16:20:41 but It is not visible as a recipe..... Dec 07 16:21:06 you're mixing up python3-pygpgme and python3-pygpgme-native, which are two different targets Dec 07 16:21:17 add BBCLASSEXTEND += "native" to the recipe to also make a -native variant available Dec 07 16:22:09 i don't see what the age of oe-core has to do with some python recipe Dec 07 16:24:47 rburton: what's the plan with go.bbclass in OE-core? Does that replace golang.bbclass from meta-golang? Dec 07 16:25:21 And where would supplementary packages like golang-x-sys be hosted in the future? Dec 07 16:25:24 pohly: that was the plan afaik but you'll have to talk to the meta-golang maintaner / khem / otavio Dec 07 16:25:40 meta-golang is definitely the place for the rest of the packages Dec 07 16:26:15 kergooth: https://pastebin.com/N5z2F8Gn Dec 07 16:27:01 kergoth: I'm facing such problem (after removing ./build-dir/caches sstate tmp Dec 07 16:27:17 it should just build the rootfs Dec 07 16:29:28 apparently the gpg module is not loaded..... I try to figure out why Dec 07 16:31:33 Hi, does anybody know if there is already a tool to serve the licenses of installed packages to a web browser? I think of something like in the android 'Open-Source-Licenses' dialog Dec 07 16:33:45 toaster might do that? Dec 07 16:34:13 ok ill look into that Dec 07 16:34:18 thank you Dec 07 16:41:57 fl0v0: you can easily get the licenses installed in the image, the you can just write a bit of code to show them all Dec 07 16:42:09 LICENSE_CREATE_PACKAGE=1 Dec 07 16:42:26 yes im already using that Dec 07 16:43:10 i thought of walking /usr/share/licenses but wanted to know if there is aldready something Dec 07 16:43:31 OE-core and meta-golang do not quite work together: "do_prepare_recipe_sysroot: The file /usr/bin/gofmt is installed by both golang-native and go-native, aborting" Dec 07 16:44:06 That's for native. For cross-compiling, the conflict I get is between golang-runtime and go-runtime. Dec 07 16:45:59 Hmm, meta-golang master is behind the rocko branch. Dec 07 16:45:59 pohly: I think that effectively means meta-golang is obsolete, and anything that uses it needs to be converted, no? Dec 07 16:46:09 The rocko branch removes the golang recipes. Dec 07 17:28:56 khem: I noticed you have been doing a lot of work with RPI3, have you ever tried raspberrypi3-64 with meta-qt5 ? Dec 07 18:20:55 have several recipes that i built. 2 of them are libs and the third is an app. my understanding is that i need to use a SECTION variable for package manager meta data. i was not able to find anywhere possible values for this variable. does anyone know what they are or where they are documented? Dec 07 18:21:31 have several recipes that i built. 2 of them are libs and the third is an app. my understanding is that i need to use a SECTION variable for package manager meta data. i was not able to find anywhere possible values for this variable. does anyone know what they are or where they are documented? Dec 07 18:51:40 huh, recipetool-create for python produces invalid packageconfigs for certain optional python deps, using the pythondeps and setup.py scanning code, due to not handling conditionals Dec 07 18:51:41 PACKAGECONFIG[ssl:sys_platform=='win32'] = ",,,python-wincertstore" Dec 07 18:51:57 will have to fix that Dec 07 19:06:20 RP: joshuagl i sent a patches for ptest-runner, but i forget to subscribe YP ML first, :/ Dec 07 19:08:18 btw, only to let you know, i'm working on some LAVA stuff and created a test definition for ptest, https://git.linaro.org/qa/test-definitions.git/tree/automated/linux/ptest Dec 07 19:10:57 alimon: cool, will look at the patches later/tomorrow Dec 07 19:11:05 also cool news on LAVA stuff, we're investigating here too Dec 07 19:11:07 cc: stephano Dec 07 19:21:36 joshuagl: stephano i worked a little in the lava-dispatcher, the tool that actual runs the test definitions into the target device Dec 07 19:32:38 alimon: We're currently thinking about ways that we can export lava tests (yaml) from oeqa. Along with that, we're looking at how a builtbot plugin could report back the status / link to the lava tests, similar to what Linaro does with Jenkins. Dec 07 19:35:41 Is there a way to call a python function or task from a shell task _append (specifically, do_install_append)? Dec 07 19:37:16 JPEWhacker: no. if what you need to do can be done at expansion time rather than runtime, you can use inline python. if it's python code you need to run after do_install but not at expansion time, you can use postfuncs to do it Dec 07 19:38:58 stephano: there is a functionality called test export in oeqa, and you could create a lava test definition to run those tests in lava environment Dec 07 19:39:21 kergoth: postfuncs looks like what I'm looking for, thanks! Dec 07 19:39:29 stephano: for report back the status lava cluster has an API to get the results Dec 07 19:39:42 JPEWhacker: np Dec 07 19:40:22 stephano: some linaro guys developed qa-reports a reporting web for lava (uses the lava api to get results), https://qa-reports.linaro.org/ Dec 07 19:47:25 alimon: interesting, I'll have a look, thanks! Dec 07 19:47:38 alimon: we're currently running testimage but I have looked at export tests as well. Dec 07 21:03:25 hi all, trying out the rocko eSDK, getting a bunch of errors reporting ERROR: Task quilt-native.do_ar_original attempted to execute unexpectedly Dec 07 21:03:48 any idea what i should look for to fix this issue? Dec 07 21:04:39 all these tasks are complaining: do_fetch, do_unpack, do_ar_original and do_deploy Dec 07 21:37:42 manju: you have the source archiver enabled, that's interfering with the eSDK Dec 07 21:39:50 bluelightning: do you mean INHERIT += "archiver" ? Dec 07 21:40:30 let me check, but i am pretty sure that i haven't enabled it Dec 07 21:40:55 there are similar errors on do_deploy, do_fetch, do_unpack, do_ar_original Dec 07 21:41:21 do_ar_original doesn't even exist unless you're using archiver. Dec 07 21:44:26 manju: you can do SDK_INHERIT_BLACKLIST += "archiver" if you want the archiver enabled during normal builds Dec 07 21:44:30 bluelightning, kergoth: great pointers appreciate it Dec 08 00:08:39 https://pastebin.com/n1bR828g If anyone can help me understand the root of this compilation error, I would appreciate it. Dec 08 00:23:37 Yea, me either. It looks like it may be a linker issue, but I'm not a good enough programmer to understand where or how to adress that. **** ENDING LOGGING AT Fri Dec 08 03:00:02 2017