**** BEGIN LOGGING AT Thu Aug 31 03:00:01 2017 Aug 31 04:54:38 Hi guys. Aug 31 04:55:02 I'm trying to build my own bitbake build - I don't want a full OS, but some libraries to be automatically built. Aug 31 04:55:18 And I cannot convince bitbake to build more than one packet at a time. Aug 31 05:02:14 spooky_d: more than one package or more than one recipe? Aug 31 05:04:56 recipe actually. Aug 31 05:05:07 Sorry, I've been disconnected. Aug 31 05:05:34 I think that I have to put do_x[nostamp] in the base, I'm trying it now. Aug 31 05:06:42 But that makes them build all the time. Aug 31 05:08:00 so that's not really a good solution. Aug 31 05:08:11 spooky_d: no that's probably not what you want Aug 31 05:08:29 So I have a simplified model Aug 31 05:08:31 with two tasks Aug 31 05:08:34 fetch and build Aug 31 05:08:35 spooky_d: do you have some local source tree you're editing and you want to build out of that? Aug 31 05:09:47 I want to build a list of libraries to a folder. Let's say I want to have zlib, bzip2 and have a toolchain recipe that depends on these two. Aug 31 05:10:17 I define a base.bbclass where I say: Aug 31 05:10:27 addtask fetch and addtask build after fetch Aug 31 05:11:11 ok, with you so far Aug 31 05:11:17 and I have this toolchain.bb which has do_fetch[depends]+= "zlib:do_build" and do_fetch[depends]+= "bzip2:do_build" Aug 31 05:11:52 when I try to build toolchain, it tells me it wants to run 6 tasks, but only does the bzip2 fetch+build Aug 31 05:12:07 and says everything's fine, it needs not run anything else. Aug 31 05:12:30 it can only be because those other tasks have already been stamped as having run previously Aug 31 05:12:55 I'm not sure why. Do I have to name them differently for each recipe? Aug 31 05:13:03 no Aug 31 05:13:44 I already cleaned the build folder. Aug 31 05:13:55 So there's no cache laying around. Aug 31 05:14:27 let me see if I can replicate that simple setup here Aug 31 05:20:27 So, I see an issue. With the recipes I made, if I run bitbake zlib it builds it (right after cleanup), but if I run bitbake bzip2 it no longer builds it. Aug 31 05:21:12 spooky_d: would it be possible for you to upload your current metadata somewhere to save me a bit of time? Aug 31 05:21:41 I'm trying. Aug 31 07:36:37 Wasn Aug 31 07:37:17 Wasn't there some SSL library available that is not one of the top two (OpenSSL or WolfSSL) that was compiled to kilo- or a few megabytes? Aug 31 07:37:28 I thought it was called 'TinySSL' but it seems I'm wrong about that. Aug 31 07:37:36 ...was an Intel hosted project I think. Aug 31 07:37:46 Anyone remember? I'm hoping it still exists. Aug 31 07:46:09 wolfssl is considered a major tls library? I had no idea Aug 31 08:17:38 hello, does anyone have experience implementing an embedded Linux device as a Bluetooth accessory for Apple iOS products with MFi certification? Aug 31 08:19:29 the problem is I am using the Variscite DART-MX6 BSP and it has Bluez on it and as far as I understand Bluez does not support iAP (iPod Accessory Protocol) and MFi in any way Aug 31 08:23:57 the SoM has a TI WiLink 8 WL1837 module on it and as far as I can see it is only able to support iAP and MFi by using the TI BLuetooth Stack and not Bluez Aug 31 08:25:05 and that is only supported on TI Embedded Linux platforms and not the i.MX6 that I am using Aug 31 08:26:24 does anyone have experience with TI Bluetooth stack and iOS devices? does it really work as advertised? Aug 31 08:31:02 eduardas_m: i'd contact TI directly instead of asking here Aug 31 12:19:43 hi all, after adding open-cv as depedencie in custom recipe i'm not able to build my SDK anymore > util-linux-cferror: opencv-3.1+git0+92387b1ef8-r0 conflicts with opencv-staticdev Aug 31 12:19:51 any suggestion ? :) Aug 31 12:28:47 PinkSnake: what's that about "util-linux-cf"? a typo? Also I assume the error message has a little more details? Aug 31 12:29:35 @jku it's an error durring the sdk build i will copy paste Aug 31 12:29:59 use a pastebin if there's lots of context Aug 31 12:30:22 yep Aug 31 12:35:32 @jku https://pastebin.com/YWVaz6ki Aug 31 12:42:41 &28 Aug 31 12:45:43 zeddii: I sent what we've been using to you; it does work nice here Aug 31 12:55:32 PinkSnake: can't see 100% what the issue is but I have a hunch... early on there's a warning about "no package provides opencv-staticdev" Aug 31 12:57:10 the opencv recipe (the old one you use) is adding a runtime dependency on "opencv-staticdev" to "opencv", and the former probably ends up empty Aug 31 12:57:20 @jku it's the only error message, i have added "EXTRA_PACKAGE = "opencv-staticdev" Aug 31 12:59:18 @jky in your opinion what's the most proper way to fix that ? Aug 31 13:01:52 PinkSnake: you could check the opencv WORKDIR to see if the staticdev package really is empty... or maybe just try this https://pastebin.com/1L4NMUcx Aug 31 13:03:00 that's a small change for the opencv recipe, it's already in current versions of the recipe Aug 31 13:06:18 @jku thx i will test :) Aug 31 13:26:15 @jku thx a lot everything is good :) Aug 31 13:28:35 happy to help Aug 31 14:01:16 IMAGE_INSTALL_append = " python3" - Is there a directive to force bitbake to exclude python3? Aug 31 14:01:54 If I need a python2 exclusive build? Aug 31 14:03:25 if you're using a modern release then good luck with that. Aug 31 14:03:34 haha - great Aug 31 14:03:34 for older releases you won't get py3 unless you ask for it Aug 31 14:03:42 we're actively dropping py2 Aug 31 14:04:15 Yea, im running into weird py3 issues that i cant seem to fix.. py2 seems to work fine, but it seems that my app still keeps snagging py3 Aug 31 14:15:25 tcpdump: you shouldnt have a problem by having both py2 and py3, their libraries are located at different places, so they shouldnt cause issues with one another' Aug 31 14:17:51 https://www.irccloud.com/pastebin/7XE4BDDL/ Aug 31 14:18:01 This is the funk Im getting now. Aug 31 14:19:30 Guess I add python-setuptools Aug 31 14:19:54 tcpdump: you should just go with python3, it's a good investment of time Aug 31 14:20:10 python 2 is going away, so you need to do it sooner or later, and better sooner Aug 31 15:44:11 Alright - I hope my questions aren't too dumb... I've been struggling with getting a handful of dependent python modules to correctly install to my image. I suppose I have a few questions: 1. Is there a good pre-made python recipe that anyone knows of that installs a lot of necessary depends . 2. Would anyone be willing to review one of my recipes that fail to install and see if there's something glaringly Aug 31 15:44:11 obvious? Aug 31 15:44:50 tcpdump: install python-modules or python3-modules to get the whole standard library Aug 31 15:45:05 if you dont want to play chase the depends just add one of those to RDEPENDS Aug 31 15:45:25 I have a recipe named python-flask-httpauth_3.2.3.bb that contains: Aug 31 15:45:33 https://www.irccloud.com/pastebin/ipUQ6P7k/ Aug 31 15:46:11 that depends line is wrong, either its build-time (no _PN) or runtime (RDEPENDS_${PN}) Aug 31 16:57:48 WIP: https://github.com/openembedded/bitbake/compare/master...kergoth:gitsm-rework Aug 31 16:57:57 need to write a pile of unit tests yet Aug 31 17:00:13 https://www.irccloud.com/pastebin/l5QExqpy/ Aug 31 17:00:41 Im now doing a bitbake -c fetch python-flask-httpauth to test my recipe. Aug 31 17:01:01 Im getting an error stating Missing SRC_URI checksum, but I have them for the git repo. Aug 31 17:02:05 It seems to be referencing a different source? Is there a way to make it ignore checksums? Aug 31 17:12:38 tcpdump: i don't understand theq uestion, it tells you exactly what url it needs a checksum for Aug 31 17:50:53 kergoth: and the log provides the checksums Aug 31 19:47:42 I have a build for my orange-pi-zero on an SD card that isn't working. The boot.scr has some weird code (ASCII crap when viewed with vim) before the normal text. This shouldn't be there should it? It should just view as all normal text Aug 31 20:06:49 zeddii: thx for the fixes Aug 31 22:15:24 Hello everyone Aug 31 23:56:01 can i execute a bash script inside do_configure() ? , the script will output a file which i will use mv command to move it to a certain location in the image Sep 01 00:03:53 yahiafarghaly: certainly Sep 01 00:04:22 do_configure is itself a shell task, so that's easy Sep 01 00:05:07 moving files to locations in the image wouldn't be part of do_configure though, the earliest you can really consider on-target layout is do_install Sep 01 00:09:14 ok,thanks i will try Sep 01 00:10:27 i have another question, i want to execute apt-key add , so the key is added to the target image. it gives me errors when i put this command inside do_install Sep 01 00:16:21 bluelightning: it doesn't work Sep 01 00:23:20 yahiafarghaly: I don't think it can work that early... I think you will need a rootfs postprocessing command for that: http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-ROOTFS_POSTPROCESS_COMMAND Sep 01 00:24:02 (define a function, put your desired command in it, and then the function to ROOTFS_POSTPROCESS_COMMAND followed by a semicolon and a space) Sep 01 00:24:17 this would go in your image recipe in case that's not clear Sep 01 00:28:27 you mean in the image recipe which install packages,..etc not in a seperate recipe ? or it doesn't matter Sep 01 00:30:48 yahiafarghaly: not in a separate recipe no, it has to be in the image recipe Sep 01 00:31:26 you can use a pkg_postinst function from a separate recipe but that is more complicated and probably not what you want for something like this Sep 01 00:33:11 ok, any documentation about writing a custom function in image recipe ? i haven't seen it before Sep 01 00:34:50 do i write it by the python way ? Sep 01 00:37:41 yahiafarghaly: just like a task function Sep 01 00:37:47 myfunc () { Sep 01 00:37:53 # do something here Sep 01 00:37:54 } Sep 01 00:38:44 (well, the only difference between a task function and this is that you wouldn't typically use the do_ prefix here) Sep 01 00:45:02 ok thanks, but it doesn't work also it gives me this error Sep 01 00:45:06 | DEBUG: Executing shell function empty_var_volatile | DEBUG: Shell function empty_var_volatile finished | NOTE: Executing addkeyfile ... | DEBUG: Executing shell function addkeyfile | /home/yahia/Desktop/elinux_dev/bake_factory/poky-pyro-17.0.1/build/tmp/work/qemux86_64-poky-linux/apt-image/1.0-r0/temp/run.addkeyfile.12587: 108: /home/yahia/Desktop/elinux_dev/bake_factory/poky-pyro-17.0.1/build/tmp/work/qemux86_64-poky-linux/a Sep 01 00:45:46 yahiafarghaly: I think the line was too long, I can't actually see the error - I'd suggest using pastebin.com or similar Sep 01 00:46:24 https://pastebin.com/ss0xWqvP Sep 01 00:47:38 and this is recipe which transfer key Sep 01 00:47:40 https://pastebin.com/0mS8Qcd2 Sep 01 00:48:28 and the image recipe Sep 01 00:48:30 https://pastebin.com/UzgYtYBR Sep 01 00:55:21 sigh Sep 01 02:59:56 bluelightning: I am back if you still there **** ENDING LOGGING AT Fri Sep 01 03:00:00 2017