**** BEGIN LOGGING AT Thu Nov 07 02:59:57 2019 Nov 07 08:04:24 RP, I'll send a follow-up rm_work cleanup patch for review once the image_qa fix is merged Nov 07 08:04:47 RP, unless you beat me to it Nov 07 08:06:29 kroon: sounds good, thanks. I seem to be mainly destroying the autobuilder right now :/ Nov 07 08:24:28 is there some "for dummies" guide for creating poky git tree structure from oe-core etc? Nov 07 08:28:09 hey guys! Is there a guideline on how to update patch sets for a recipe? Due to apply failing I can't even unpack the package... Should I remove all of them and try to reapply them manually? Nov 07 08:51:08 I guess combo-layer is the answer and all needed details are in https://wiki.yoctoproject.org/wiki/Combo-layer Nov 07 09:25:58 mcfrisk: right, its done with combo-layer. The pokyconfig repo has most of the scripts I use in Nov 07 09:27:20 Hello, How can I hold on to psplash until X has loaded? I takes about 3 seconds for x+ my qt application to load which leaves a black screen Nov 07 09:37:12 I guess a real shitty way would be to add a sleeper in the destroy function but I assume there is a more sophisticated solution :p Nov 07 09:46:01 lion_heart: sato does this, don't switch VT on x startup and then switch when you're ready Nov 07 09:46:28 oh hm it used to do this Nov 07 09:46:29 # dbus-wait org.matchbox_project.desktop Loaded Nov 07 09:46:31 why is that commented out Nov 07 09:47:09 ah because if X broke it never switched away Nov 07 09:47:13 anyway that's what you'd do. Nov 07 09:47:36 easily to tell X not to switch VT, and just switch when you're ready Nov 07 09:59:38 Hi everyone, im trying to build gsoap sdk part, and adding TOOLCHAIN_HOST_TASK_append = " nativesdk-gsoap" gets me an error like "ERROR: Nothing RPROVIDES 'nativesdk-gsoap'" - do i miss something here or is it a bug? Nov 07 09:59:46 "bitbake world" in a project tree is like fireworks, explosions everywhere Nov 07 09:59:55 im using warrior branch Nov 07 10:01:44 rburton: That does indeed look nice. Basically I would add -novtswitch in the initfile and add something like openvt -s in my qt application? I'll try it out thanks a lot !! Nov 07 10:03:06 * alessioigor waves all! Nov 07 10:03:08 Is there a way to override scripts/lib/wic/plugins/source/bootimg-efi.py? Nov 07 10:09:04 Has anyone experimented problems trying to enable custom systemd services automatically at build time? SYSTEMD_AUTO_ENABLE is set to "enable" (by default), they don't start until I enable it manually the frist time though. Nevertheless, systemctl status myservice shows: myservice disabled, vendor preset: enabled.... Nov 07 10:11:49 malanecora: you followed and checked everything in https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-classes-systemd ? (That'll be all for my contribution to the issue, never used systemd in Yocto) Nov 07 10:13:27 qschulz: I did. Is not big deal... Nov 07 10:14:31 I just can't see any issue with my recipes/servicefiles Nov 07 10:15:18 They're quite simple, and as long as SYSTEMD_AUTO_ENABLE is set to "enable", that should be handled by Yocto itself Nov 07 10:15:36 malanecora: which branch? I sent a patch for this for master but maybe zeus is missing that. 1b3f5bd39e7147eefca2 in poky master. Nov 07 10:15:42 Plus no error nor warning is shown Nov 07 10:15:48 mcfrisk: Thud Nov 07 10:16:22 mcfrisk: Gonna check taht, ty! Nov 07 10:16:48 I went from sumo to master/zeus and saw all custom systemd services failing. hence that patch. Nov 07 10:18:08 mcfrisk: Mine don't fail, but they just dont get enabled at first start-up Nov 07 10:18:45 So that I have to enable them by hand Nov 07 10:31:11 rburton: Hmm, starting X without vt switching does not seem possible. By looking at the command it says restart and exit and several forum threads are saying that -novtswitch on start was removed due to causing a lot of crashes Nov 07 10:31:46 lion_heart: is using wayland instead an option? :) Nov 07 10:34:11 rburton: Hm, I think I will just live with this for now. It is just 1-2 seconds of black screen (removed matchbox-terminal and cursor) anway Nov 07 10:34:38 and it's for a kiosk application so it will hopefully not be rebooted so often :) Nov 07 10:34:40 Thanks anyway! Nov 07 11:12:00 New news from stackoverflow: Customizing Yocto U-boot serial prompt messages Nov 07 12:32:07 sigh, BSP layer breaking sstate cache and stale data pulled in do_install even after clean build. only wiping sstate cache for the recipe helps. any hints how to debug this? Nov 07 12:39:21 * letothe2nd recommends a sledge hammer Nov 07 12:40:45 letothe2nd: do you have an IRC higlight for "BSP" by any chance :'D Nov 07 12:41:15 qschulz: heh, luckily not. Nov 07 12:51:53 BSP's the root of all problems Nov 07 13:03:53 Anyone here that have tried running a mediawiki on imx6(A9)1gb RAM? I'm thinking of doing a yocto build for it just for fun but I'm not sure about the performance (have to run it on SD-card) Nov 07 13:50:45 <__angelo> hi, how can easily check if a package is included in a recipe ? Nov 07 13:50:56 <__angelo> *in an image recipe Nov 07 13:52:44 sstate plot thickens. I can reproduce the issue, I see that do_install task is different, but it's not triggering rebuild of the recipe. could the reason be that PV = "1.0+git" is in the recipe? Nov 07 13:54:04 sorry, PR = "r0" in the recipe? Nov 07 13:55:07 __angelo: tmp/buildhistory/images/machine/installed-packages when you add INHERIT += "buildhistory" in your conf/local.conf and rebuild Nov 07 13:59:53 can i instruct bitbake to treat all warnings as errors? Nov 07 14:03:00 mcfrisk: not really enough info to comment. Is this sumo? Nov 07 14:04:58 <__angelo> qschulz, thanks Nov 07 14:08:04 sigh, BSP layer breaking sstate cache and stale data pulled in do_install even after clean build. only wiping sstate cache for the recipe helps. any hints how to debug this? Nov 07 14:08:23 i think the sstate cache could use some re-design Nov 07 14:09:21 do i understand correctly that the only simple way to share ssate cache between jobs is give direct access to the path where the sstate cache resides to the jobs Nov 07 14:09:27 e.g through nfs Nov 07 14:09:50 because if so it''ll be vulnerable to problems like that one Nov 07 14:09:51 you can use SSTATE_MIRROR as well Nov 07 14:10:00 but it's RO then Nov 07 14:10:18 qschulz: arguably it's not that useful if it's RO - i need a way to populate the cache Nov 07 14:10:33 in fact i've run into a similar problem with a low quality bsp Nov 07 14:10:38 milloni: RO mirrors and then writing back additional artefacts post build does work Nov 07 14:11:00 milloni: suggestions on a better design welcome but keep in mind it attempts to solve a hard problem. This is about v5 of that work Nov 07 14:11:58 milloni: you have to write the data back to be shared *somehow* and there is no reason you couldn't add that mechanism to the existing sstate code if you had one Nov 07 14:12:34 mcfrisk: can you share the two differing do_install functions and maybe the sigdata files that go with those tasks? Nov 07 14:12:40 i understand Nov 07 14:12:55 if ": RO mirrors and then writing back additional artefacts post build does work" then that solves the problem Nov 07 14:13:03 i wasnt allowed this worked Nov 07 14:13:14 i wasnt aware* Nov 07 14:15:40 RP: zeus. non-public BSP sadly.. at least I can reproduce it now. For some reason PR is not updated automatically either... I need to review their bbclasses. Nov 07 14:17:34 mcfrisk: sigdata files are where I'd be looking Nov 07 14:22:51 RP: "bitbake-diffsigs -t recipe do_install" shows the exact diff that I want in do_install task. sadly I see some vendor prebuild binary magic in the bbclasses. they must be overwriting everything.. Nov 07 14:40:08 hello there! I have a library recipe that only copies .a files to libdir and .h files to includedir. Nov 07 14:40:09 when I add "mylib-dev mylib-staticdev" to DEPENDS of another recipe (myapp), it fails with this: Nov 07 14:40:09 ERROR: Nothing PROVIDES 'mylib-staticdev' (but myapp_1.0.bb DEPENDS on or otherwise requires it). Close matches: mylib, mylib RPROVIDES mylib-staticdev Nov 07 14:40:50 should I DEPENDS = mylib instead? Nov 07 14:41:31 I needed to separate those because I need to include mylib-staticdev and mylib-dev in SDK but NOT in final target image. Nov 07 14:43:15 mcfrisk: seems likely as that change should have made the signatures in that case :/ Nov 07 14:45:07 RP: yea. sigh. binary handling magic. first build works. second one doesn't. back to digging... Nov 07 14:52:03 Didn't there used to be a section in the megamanual on debugging threaded programs? I keep getting questions from people about debugging threaded programs and can't find a reference to point themt o Nov 07 14:52:14 (they're missing the libc6-thread-db on the target) Nov 07 14:52:23 cengiz_io: depends is recipe not package Nov 07 14:52:56 rburton ok so I've modified it to have just recipe name Nov 07 15:11:11 ok rburton one last question Nov 07 15:12:18 my image has TOOLCHAIN_HOST_TASK_append = "mylib-dev mylib-staticdev" but whenever I do bitbake -c populate_sdk my-image it fails with * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'mylib-dev'. Nov 07 15:13:11 rburton do I have to include that recipe in my IMAGE_INSTALL too? if I do that, wouldn't those huge binary .a archives will be installed to target final image too? Nov 07 15:16:37 hmm maybe not. since I don't add anything new to FILES_${PN}.. Nov 07 15:23:53 rburton adding IMAGE_INSTALL += "mylib" didn't solve it... bummer... Nov 07 15:28:05 Hummmm... Why isn't meta-java thud branch compatible? >_< Nov 07 15:29:43 So I have added the meta-java libarary, I include the openjre-8 package for compilation, and... Nov 07 15:30:18 make: *** No rule to make target 'patch-fsg'. Stop. Nov 07 15:30:30 ERROR: oe_runmake failed Nov 07 15:33:52 Any ideas what I might do to fix this? Nov 07 15:41:39 icedtea7-native seems to be the culprit Nov 07 16:19:57 how can I add a recipe's -dev and -staticdev packages to my SDK? Nov 07 16:20:07 (damn google does not return any results) Nov 07 16:20:43 cengiz_io: you meant to add to TOOLCHAIN_TARGET_TASK not HOST_TAK Nov 07 16:20:48 erm _HOST_TASK Nov 07 16:21:21 rburton should it be in image or local.conf? Nov 07 16:21:35 because result is still error with TARGET_TASK Nov 07 16:21:58 put it in image because thats where it makes sense Nov 07 16:22:07 and check that the packages you expect actaully exist Nov 07 16:22:25 nothing more embarassing than asking it to install packages you never generated Nov 07 16:22:30 rburton there are directories in tmp/../../../mylib/packages Nov 07 16:22:36 Hello I have a beginner's question : https://pastebin.com/Q63WHT85 Nov 07 16:22:51 cengiz_io: look in deploy, as thats where it would be fetching Nov 07 16:23:23 lion_heart: ask your supplier why they are using such an old BSP Nov 07 16:23:58 Well, lets say I'm not in a position to do that Nov 07 16:25:00 bsp/build/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/mylib/1.0+gitAUTOINC+98553092da-r0/deploy-ipks/armv7at2hf-neon/mylib-staticdev_1.0+git0+98553092da-r0_armv7at2hf-neon.ipk Nov 07 16:25:13 this is in deploy-ipks Nov 07 16:25:18 cengiz_io: tmp/deploy/ Nov 07 16:25:40 sure, same files eventually, but if you turned on rm_work those files wouldn't exist Nov 07 16:25:58 During the OEDEM BSP discussion, I was worried the pitchforks would come out and people would storm BSP suppliers and commit mayhem Nov 07 16:26:02 same files are in /bsp/build/tmp/deploy/ipk as well Nov 07 16:26:32 cengiz_io: and you have TOOLCHAIN_TARGET_TASK_append = " myapp-staticdev" Nov 07 16:26:45 mylib-staticdev Nov 07 16:27:25 lion_heart: http://git.yoctoproject.org/cgit/cgit.cgi/meta-freescale is the current imx bsp layer Nov 07 16:27:37 TOOLCHAIN_TARGET_TASK_append = " \ Nov 07 16:27:38 mylib-dev \ Nov 07 16:27:38 mylib-staticdev \ Nov 07 16:27:38 " Nov 07 16:27:46 lion_heart: lots of imx6 in there Nov 07 16:28:15 cengiz_io: i presume you checked the -dev package exists in deploy/ipkg/ too Nov 07 16:28:25 hmm Nov 07 16:29:21 rburton deploy/ipkg has lots of different parent directories and the one with my machine name doesn't have them Nov 07 16:29:31 it will be the tune Nov 07 16:29:39 ls tmp/deploy/*/myapp* Nov 07 16:29:50 lion_heart: sabresd is pretty well supported in upstream kernel and u-boot IIRC Nov 07 16:30:07 cengiz_io: machine-specific deploy dir is only for truly machine specific bits, the rest is tune-specific Nov 07 16:31:14 lion_heart: it's even supported in meta-freescale: https://git.yoctoproject.org/cgit/cgit.cgi/meta-freescale Nov 07 16:31:15 only licenses show up Nov 07 16:31:23 try with that first before pulling your hair Nov 07 16:31:33 under deploy/licenses/myapp and deploy/licenses/mylib Nov 07 16:33:28 Thanks!! Nov 07 16:33:34 rburton tmp/deploy $ find . -name mylib* Nov 07 16:33:34 ./ipk/armv7at2hf-neon/mylib-dev_1.0+git0+98553092da-r0_armv7at2hf-neon.ipk Nov 07 16:33:34 ./ipk/armv7at2hf-neon/mylib-staticdev_1.0+git0+98553092da-r0_armv7at2hf-neon.ipk Nov 07 16:33:34 ./ipk/armv7at2hf-neon/mylib-dbg_1.0+git0+98553092da-r0_armv7at2hf-neon.ipk Nov 07 16:33:34 ./licenses/mylib Nov 07 16:33:51 sorry, left a * out Nov 07 16:34:06 so what is the error when you bitbake imagename -c populate_sdk? Nov 07 16:34:10 maybe I should have looked in the repo before making assumptions based on some website :> thanks again Nov 07 16:34:36 lion_heart: yeah if the hardware says "use this five year old BSP" assume its out of date and look yourself :) Nov 07 16:35:24 lion_heart: no worries :) Nov 07 16:37:15 anyone's seen a handful of "FAILED: gir/cairo-1.0.typelib" (with a few different gir/*.typelib) in warrior for gobject-introspection on rpi3 machine by any chance? Nov 07 16:39:14 g-i on target? Nov 07 16:39:29 http://code.bulix.org/qm4rf1-943333 Nov 07 16:39:40 rburton: /me shrugs Nov 07 16:40:10 you'd have to run the qemu-user yourself to see why it fails Nov 07 16:40:24 might be the qemu-user dying with invalid opcode or something Nov 07 16:40:56 executing run.do_compile should be enough or am I completely going the wrong way? Nov 07 16:41:23 (no idea what's gobject-introspection, and no experience with qemu, assume complete noobie :) ) Nov 07 16:43:50 rburton: cleansstate on the recipe apparently worked. I don't like this :/ Nov 07 16:44:52 rburton please check this gist for the error result of populate_sdk https://gist.github.com/cengizIO/7ff3ea865bd3148b228092e9c1a1b4cc Nov 07 16:46:44 rburton please note that my image does NOT include `mylib` or `mylib-dev` or `mylib-staticdev` in IMAGE_INSTALL Nov 07 16:46:52 only `myapp` Nov 07 16:48:43 oh right Nov 07 16:49:01 actually read the error Nov 07 16:49:02 * - nothing provides mylib = 1.0+git0+98553092da-r0 needed by mylib-dev-1.0+git0+98553092da-r0.armv7at2hf-neon Nov 07 16:49:25 there's a default dependency of RDEPENDS_${PN}-dev = PN Nov 07 16:49:32 so that installing eg zlib-dev installs zlib Nov 07 16:49:37 *but* you don't have a PN Nov 07 16:49:46 so set RDPENDS_${PN}-dev = "" in the recipe Nov 07 16:50:00 (fix the spelling obviously) Nov 07 16:53:35 maybe we need a qa test for that Nov 07 16:53:48 * cengiz_io tries to grasp what's going on Nov 07 16:54:10 so mylib-dev has a default runtime dependency of mylib Nov 07 16:58:37 rburton seems to be populating the sdk now. thanks a ton! how can I take a look at qa tests so I may submit one for that? Nov 07 16:58:49 are they in poky tree? Nov 07 16:58:54 insane.bbclass is the pile of qa tests Nov 07 16:59:00 ok Nov 07 16:59:13 when opkg goes bang, it does explain clearly what happened Nov 07 16:59:19 so read the message carefully Nov 07 17:00:03 I tried to make sense of it :) Nov 07 17:00:18 I did contribute some error messages to rust compiler before. Nov 07 17:01:13 but this one completely baffled me. "do not ask to install a package providing mylib-dev" :D Nov 07 17:10:35 right, the bit above spelt out what was happening Nov 07 17:13:08 New news from stackoverflow: Yocto recipes not found Nov 07 17:17:18 rburton it comes from opkg right? I will check there Nov 07 17:17:32 yes that error comes from opg Nov 07 17:17:46 a qa test would be in insane.bbclass to verify that a recipe doesn't have dependencies on itself that don't exist Nov 07 17:21:15 rburton can we just assume that? maybe user actually forgot to include recipe Nov 07 17:22:30 we can perhaps provide two solutions. 1) either remove rdepends on $PN-dev 2) include recipe in your image Nov 07 17:22:54 cengiz_io: *on itself* Nov 07 17:23:07 yes, foo depending on bar wouldn't be detected as bar might not be built yet Nov 07 17:23:24 but foo-dev depending on foo when foo doesn't exist is easy Nov 07 17:23:40 well, maybe actually not easy, but maybe possible :) Nov 07 17:23:57 problem is I rename all my recipes and packages while sending to you to make them less public, so I confuse them Nov 07 17:24:00 should be easy enough to warn if a dependency is in PACKAGES but not actually built Nov 07 17:40:26 Is there a way to customize (IMAGE_FSTYPE=)tar generation? Nov 07 17:43:14 New news from stackoverflow: Is there a way to check the exact list of packages that will be installed in the image in Yocto? Nov 07 17:48:19 alessioigor: define customise? the tar generation is just a tar of the rootfs... Nov 07 17:49:05 rburton: Can I define a IMAGE_CMD_mytar? Nov 07 17:49:48 alessioigor: yes Nov 07 17:50:04 you can add whatever image types you want, sure, but if you're just tweaking the tar arguments, you could adjust the existing one Nov 07 17:50:06 * kergoth yawns Nov 07 17:51:32 rburton, kergoth: Thanks! Nov 07 17:59:30 anyone have any experience with getting a receipt to compile something with clang? Nov 07 18:00:14 *recipe Nov 07 19:29:35 joubertb: https://github.com/kraj/meta-clang Nov 07 19:30:39 joubertb: something like TOOLCHAIN = "clang" in the desired recipe then should do the trick, read the readme of that layer Nov 07 19:32:44 can I do anything from u-boot to debug why it is stuck at 'Starting kernel'? is it possible a wrong tty output,meaning the kernel starts but I don't see the output? Nov 07 19:33:47 letothe2nd, thx. Yea, been looking at that. I am trying to pass the compiler location to make (e.g. make CLANG=${CLANGCC}), but CLANGCC is not set. So, feel I am missing something Nov 07 19:35:47 joubertb: huh? Nov 07 19:36:22 joubertb: that sounds like your makefile has a hard dependency on clang instead of using the canonical environment? Nov 07 19:37:02 (read that as: its carefully hand-broken... erm... hand-"crafted" instead of using a cross compile aware build system?) Nov 07 19:37:51 letothe2nd: In the do_compile(), I have "make CLANG=$(CLANGCC}". So, yes, has hard depndency on clang. Nov 07 19:38:43 joubertb: well then dig meta-clang where it does the switch and therefore which variables it offers. Nov 07 19:38:45 letothe2nd: actually, I am using clang to produce bdf code. Nov 07 19:43:04 kayterina, I was stuck on the "Starting kernel" problem a few weeks. Do you see anything if you enable more logging in the kernel? Kernel hacking -> [*] Kernel low-level debugging functions -> (Select output based on device)Kernel hacking -> [*] Early printk Nov 07 19:43:19 those are the settings I changed Nov 07 19:44:14 Question: What in the yocto project builds the FIT image (*.itb file)? I have one in my deploy directory, but it's older and not from the kernel builds I just performed. Nov 07 19:44:49 seebs: that patch seems fine in testing. Should I just hold it in OE for now as a patch or... ? Nov 07 19:46:20 d_thomas: generally, look at meta/class/kernel-fit.bbclass Nov 07 19:47:32 hmm. hold it in OE but send it to me and I'll try to get it merged when I have some time? Nov 07 19:49:08 letothe2nd. I added "inherit kernel-fitimage" to my bbappend file. I also verified the device tree is built. Maybe I'm missing another setting Nov 07 19:49:37 d_thomas: hehe, i have no experience on that thing actually, i just know it *should* do the trick. Nov 07 19:51:13 :] fair enough. I suppose worst case I could right something to just run the command I need. I just see an *.itb file in my deploy directory from this morning and I have no idea how it got there. Nov 07 20:01:21 seebs: fair enough, thanks! Nov 07 23:34:12 RP: any objection to adding a tox.ini to bitbake to run bitbake-selftest against all supported python versions? I was thinking the other day we have our minimum python version requirement and all, but i was wondering what would happen if someone checked in a random bit of code that used a feature added in 3.6 or something.. would that be caught with our current tests? do we run everything under python 3.4, since that's the oldest we support at the moment? Nov 07 23:36:19 related: https://github.com/netromdk/vermin , but it uses ast analysis **** ENDING LOGGING AT Fri Nov 08 02:59:57 2019