**** BEGIN LOGGING AT Wed Sep 17 02:59:58 2014 Sep 17 07:33:25 hello ! Sep 17 07:48:45 morning all Sep 17 08:12:18 hey, i have a small question Sep 17 08:12:44 I'm starting to evaluate the Yocto project (Framework?) for our future development, Sep 17 08:13:52 i have a question, before i dive into reading docs on the Yocto page: if i go Yocto, am I still able to create tiny linux systems as I want them, starting from nothing ? Sep 17 08:14:18 depends on "what you want" and what "start from nothing" means for you ;) Sep 17 08:15:29 say my current process is something like this: make an fs image (squashfs, etc..), put a busybox on it, put kernel, put bootloader, add other tools, add possibly other 'main' system Sep 17 08:15:36 that could be enough Sep 17 08:16:46 so if the question is: "can i build a sqaushfs image that contains busybox + some tools" then the answer is yes ;) Sep 17 08:17:41 LetoThe2nd, and select and configure my own kernel :) Sep 17 08:18:56 b00^wk: also that, yes. Sep 17 08:20:43 LetoThe2nd, what will be my main benefit going Yocto ? upgradabiltity and maintainability of my system image? Sep 17 08:21:40 b00^wk: i'd say reproductibility, support for license evaluations, and you can enjoy a large existing pool of recipes. Sep 17 08:22:57 LetoThe2nd, what is the pool of recipes ? Others coming up and sharing nice configurations ? Sep 17 09:20:21 b00^wk: kind of, yes. a recipe is basically the compilation package Sep 17 09:32:04 b00^wk: but be aware, that we're actually not talking about the yocto project, but about openembedded (which is the underlying build system technology) Sep 17 09:46:35 ok. i'm diving into some reading at yocto .. Sep 17 09:54:29 are Cortex'ses supported ? Sep 17 09:57:29 for developers, says "access to great collection of ap developer tools ... Eclipse" Does it mean all tools and everything is tightly tied to Ecplise ? Sep 17 09:59:51 b00^wk: the only IDE we provide a plugin for is Eclipse, however we can produce an SDK which should be able to be plugged into any IDE (or used independently) Sep 17 09:59:54 b00^wk: cortex-a is supported relatively good. and the eclipse stuff is more like a can-use sauce on top. Sep 17 10:00:12 right Sep 17 10:01:07 great, so app developers should be able to easily plug sdk's into QtCreator for example ? Sep 17 10:01:40 The approved app tool chain, does it include latest & greatest g++, with C++11 support ? Sep 17 10:02:26 the toolchain that you can provided is relatively recent, yes. Sep 17 10:02:36 don't have the exact version ready right now Sep 17 10:03:08 also says "advanced kernel development tools" , are those something Yocto made ? Sep 17 10:03:48 instead of glacing over each marketing buzzword line, i'd actually encourage you to just give the quick start guide a try, and see for yourself Sep 17 10:04:49 yes that would be best Sep 17 10:05:04 the kernel stuff is not a fancy gui or such, its more like some mechanisms to ease kernel configuration transitions between varying machines, projects and such. Sep 17 10:05:32 b00^wk: so for a first, jsut give the QS a go, and see in qemu. :) Sep 17 10:05:46 QS ? Sep 17 10:05:59 QuickStart Sep 17 10:06:14 * LetoThe2nd is off for lünch Sep 17 10:06:14 http://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html Sep 17 10:06:28 yes, thank you Sep 17 10:07:21 that envoronment pic looks great Sep 17 10:48:02 quick question: :P (while i'm downloading stuff ..) : how small a system can I make with Yocto ? Sep 17 10:52:48 b00^wk: if you build poky-tiny it can be really small Sep 17 10:52:58 I'm talking about less than 20 MB Sep 17 10:54:01 i want upto say most 16MB overhead , which is OS & related. Sep 17 10:54:19 (rest of my space for target specific purpose) Sep 17 10:54:49 b00^wk: I believe that is possible Sep 17 10:54:58 b00^wk: have a look at https://wiki.yoctoproject.org/wiki/Poky-Tiny Sep 17 10:55:01 and Sep 17 10:55:03 tmpsantos, ok Sep 17 10:55:41 tmpsantos, but is 'tweaking' in principle possible here, without breaking how this framework works? Sep 17 10:56:09 poky-tiny is nothing more than a tweaked distribution Sep 17 10:56:13 b00^wk: http://www.yoctoproject.org/docs/1.6/dev-manual/dev-manual.html#building-a-tiny-system Sep 17 10:56:15 custom kernel, changed c library configuration, leaner busybox Sep 17 10:56:28 et voila, 3MB rootfs Sep 17 10:56:30 as in dumb example: i check something in outcome, and see , omg, this fat chunk i dont want. and I chuck it myself. will this break how the framework & build functions ? Sep 17 10:56:40 yea, 3MB rootfs is nic Sep 17 10:56:40 e Sep 17 10:57:04 b00^wk: if you remove it properly - ie remove the reason why its in the image, then that's using the framework Sep 17 10:57:05 b00^wk: poky-tiny is around 5 MB actually Sep 17 10:57:13 tmpsantos, wow, nice Sep 17 10:57:23 b00^wk: these docs are just amazing Sep 17 10:57:44 b00^wk: it really explains you what is worth trimming Sep 17 10:57:44 yea, im just downloading the images and that build appliance .. net is slow :/ Sep 17 10:57:51 tiny is *very* limited, but its a demo of how to make a tiny system. you can add stuff that you need and remove stuff you don't Sep 17 10:57:56 tmpsantos, yes, and hopefully does not take time. Sep 17 10:58:20 rburton, very limited is good. I rather go up then try to go downstripping Sep 17 10:58:55 rburton: how do you flash the poky-tiny on a USB drive? because you don't get an hddimg as output... Sep 17 10:59:19 you don't, if it doesn't give you a hddimg Sep 17 10:59:38 that's probably because the hddimg boot sequence assumes its got more tools Sep 17 10:59:43 it offers an install button, for example Sep 17 10:59:56 hmm Sep 17 11:00:03 i do want raw dd image :) Sep 17 11:00:09 i hope they allow that ? :) Sep 17 11:00:54 yes Sep 17 11:31:16 i've just tried to install gcc-multilib on 14.04 but it gives me 'unment dependencies' and now i can't use yocto but the yocto homepage they support 14.04 (do they mean they build 14.04 rather than building yocto targets on 14.04?) Sep 17 12:16:15 qknight: what do you mean exactly by "install gcc-multilib on 14.04" ? Sep 17 12:16:34 do you mean apt-get install gcc-multilib? Sep 17 12:17:18 anyone seen any patch oddities where patches that create new files instead create files called dev/null? Sep 17 12:17:41 its a bit odd and from a patch I've pulled down from github - looks like some kind of path substitution issue Sep 17 12:36:44 pev: can't say I have - which host distro are you using? what version of patch does it provide? Sep 17 12:52:00 latest patch Sep 17 12:53:25 looks like it might have been an originally malformed patch : http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/patch/?id=2045c45db978aeefbb7e437289227f75b05c664f Sep 17 12:53:46 x11 fsl-image-machine-test@ls1021aqds (1/5) error: .../build-x11/tmp/deploy/rpm/all/run-postinsts-1.0-r9.all.rpm: Invalid SHA (expected 9bcdb5866effac2823b67e0e54f00b018d55d58f, got 23592f4ba5739cc55f0c69f78998a1ca6c0913ca) Sep 17 12:53:55 is this known error? Sep 17 12:54:00 bluelightning: From looking at other patches using the a/ b/ format a/dev/null is wrong! Sep 17 12:54:10 I got it in our builder Sep 17 12:55:44 Guessing its down to freescales server... Sep 17 12:56:02 otavio: have you manually SHA'd to see if the message is correct? Sep 17 12:59:54 pev: what do you mean? Sep 17 13:01:34 otavio: Have you manually calculated the sha for the package to check what the build system is reporting is correct? Sep 17 13:01:43 could just be a corrupted file... Sep 17 13:03:57 otavio: There'll also be a copy under tmp/work I imagine so can sha that too for comparison and see if one or both are corrupted? Sep 17 13:05:21 also, does rpm -v on the file tell you anything? Sep 17 13:07:13 pev: I'm pretty sure /dev/null as the original file is OK... Sep 17 13:08:08 bluelightning: yeah, you're right. I'd made the assumption that as the patch was generated by their server it must be correct but I think it's borked...! Sep 17 13:22:39 bluelightning: yes i meant 'apt-get install gcc-multilib' but that didn't work as there were many dependencies which were too recent and aptitude couldn't downdate them Sep 17 13:22:52 bluelightning: i try to go from xubuntu 14.04 now, a friend succeeded this way Sep 17 13:23:06 hi all Sep 17 13:23:23 I'm trying to update a package but it fails at do_install(), but there's no error Sep 17 13:23:56 it's able to isntall some stuff into image but up to some point Sep 17 13:23:58 in which it fails Sep 17 13:24:01 with no error Sep 17 13:24:41 it says: Leaving directory .... Sep 17 13:24:48 and then it errors out on the next line' Sep 17 13:25:55 gebreselaisi: can you use pastebin to send the full do_install log? Sep 17 13:29:41 bluelightning, http://pastebin.com/JZsCg5x5 Sep 17 13:34:28 anything strange in there/. Sep 17 13:34:30 anything strange in there? Sep 17 13:42:23 gebreselaisi: really not sure what's going wrong there... Sep 17 14:13:14 what is the size of the v Yocto_Build_Appliance.vmdk ? i've downloaded the zip, but inside it, says actual *.vmdk file size is like 734 petabytes @_@ Sep 17 14:14:38 ah, stupid windows zip then. 7z says different .. Sep 17 14:20:32 bluelightning, me neither Sep 17 14:37:50 bluelightning, any idea on how to further debug that? Sep 17 14:38:27 gebreselaisi: is this a recipe you are writing or one that we've provided? Sep 17 14:39:11 it's a recipe for xserver-xorg, updated to version 1.16, into which I made some PACKAGECONFIG and EXTRA_OECONF changes Sep 17 14:39:19 I disabled glx and enabled xwayland Sep 17 14:41:00 the recipe is taken from poky Sep 17 14:45:55 gebreselaisi: I guess the approach I would take is to look at run.do_install, then run bitbake -c devshell xserver-xorg and then run the exact make command that it is running; maybe the second time around it'll be easier to see which install command is failing Sep 17 14:46:12 why it doesn't actually report a proper error though is beyond me... Sep 17 14:50:22 bluelightning, thanks will try that Sep 17 15:39:59 One question concerning Yocto build logic: As soon as I enable x11 in an image by adding x11-base to IMAGE_FEATURES a lot of additional packages are pulled into the image. How can I reduce the added packages to the basic x11 tools from the x11 packagegroup? Sep 17 15:40:40 add just what you want, instead of he image feature Sep 17 15:42:55 i'm adding x11-base and as a result things like mesa and a lot of other things i do not need are built. How can I avoid this? Sep 17 15:43:09 Im working with freescale layers Sep 17 15:43:28 things are built that need to be built, based on the dependencies of the recipes Sep 17 15:43:35 nothing is pulled in without reason Sep 17 15:43:42 see bitbake -u depexp -g Sep 17 15:49:41 kergoth: Thank you! I'm not yet familiar with the dependency tree. I got it now! Sep 17 16:40:22 hello Yocto folks! Sep 17 16:40:54 What is the best way to build an SDK with kernel headers, but a target image without them? Sep 17 16:41:59 I tried TOOLCHAIN_HOST_TASK += "kernel-dev", but this fails when running bitbake -c populate_sdk image Sep 17 16:42:38 The failure is: ERROR: Unable to install packages. Command '/sandboxes2/yocto_1.6.1/poky/build/tmp/sysroots/x86_64-linux/usr/bin/apt-get install --force-yes --allow-unauthenticated nativesdk-packagegroup-sdk-host packagegroup-cross-canadian-tmru-ct kernel-dev' returned 100: Sep 17 16:55:58 camaronut: I think you want TOOLCHAIN_TARGET_TASK rather than TOOLCHAIN_HOST_TASK Sep 17 17:36:05 bluelightning - doesn't TOOLCHAIN_TARGET_TASK populate the target? I want the headers in the SDK only. Sep 17 17:39:49 camaronut: no, TOOLCHAIN_TARGET_TASK is for the target portion of the SDK (i.e. packages that are built for the target architecture) Sep 17 17:40:02 camaronut: that includes headers, libs and debugging symbols Sep 17 17:40:54 bluelightning: OK, I'll try it out! Thanks! Sep 17 17:55:57 bluelightning: that worked! How can I send you a beer or two? :) Sep 17 17:58:35 camaronut: great! no need, but I appreciate the offer :) Sep 17 18:01:12 bbl Sep 17 18:32:50 * nitink is noticing build issues with the latest poky master, are there known issues there ? Sep 17 18:34:08 that's pretty vague :) Sep 17 18:50:29 nitink: the autobuilder was happy, so what's your problem? Sep 17 18:54:06 rburton: few recipes suddenly started failing, like piglit, waffle Sep 17 18:54:23 pastebin the logs, please Sep 17 18:56:20 heck just email them to 200 people! Sep 17 18:57:49 rburton: http://paste.ubuntu.com/8366844/ http://paste.ubuntu.com/8366860/ Sep 17 19:00:50 Crofton: don't tell them, we might start getting details about their secret projects Sep 17 19:01:01 nitink: what machine? Sep 17 19:01:09 oh, nuc, sorry Sep 17 19:01:28 sounds like your mesa broke Sep 17 19:01:36 check with eg qemux86-64 Sep 17 19:01:49 rburton: the waffle issue went away and piglit issue started Sep 17 19:02:30 rburton: the waffle issue may be caused by my misconfiguration of local.conf but piglit issue is not coming from any pilot error Sep 17 19:02:58 rburton: did mesa get updated recently ? Sep 17 19:05:50 nope Sep 17 19:05:56 well, define recently Sep 17 19:06:17 ~june Sep 17 19:06:52 the piglit error isnt; useful, you;ll need to find more logs to find out what happened Sep 17 19:06:59 i'd suggest that the easy fix is to wipe tmp and start again Sep 17 19:08:24 isn't the nuc a 64-bit machine? why is it using a 32-bit compiler. Sep 17 20:05:18 Hi, I'm trying to use wic Sep 17 20:05:42 were should I put my wks files in my layer to be sure that it picks it up ? Sep 17 21:24:59 errr, what's the best way to check why a package is depending on another? Sep 17 21:25:35 I'm creating a subpackage systemd-legacy inside system that will get all the files that are only needed in compatibility mode, things like initctl compat Sep 17 21:26:13 but for some reason systemd is getting systemd-legacy even if there is no explicit DEPENDS or RDEPENDS Sep 17 22:38:24 hi all Sep 17 22:38:41 i'm trying to apply some patches to my kernel for a wandboard Sep 17 22:39:05 i'm applying them to e.g. "arch/arm/configs/wandboard_defconfig" Sep 17 22:39:40 but it seems as if that defconfig is not used? what's the source defconfig, or how is it decided which one is used? Sep 17 23:00:25 okay, i found out that a defconfig from a recipe is used, so i added my own through a .bbappend and removed the unnecessary patch Sep 17 23:01:16 so now there's my '3.10.17-r0/defconfig', but '3.10.17-r0/git/.config' is different from that Sep 17 23:01:38 how do i get it to use that defconfig i provided? Sep 18 00:00:27 rburton: the waffle issue is still present on the poky HEAD **** ENDING LOGGING AT Thu Sep 18 03:00:00 2014