**** BEGIN LOGGING AT Mon Jul 15 03:01:15 2019 Jul 15 06:48:10 good morning Jul 15 06:50:13 * alessioigor waves all Jul 15 07:00:30 New news from stackoverflow: aureport is printing -1 instead of the userif Jul 15 07:05:56 good morning everybody! Jul 15 08:30:44 New news from stackoverflow: I'm trying to run this command "bitbake-layers show-recipes" Jul 15 08:35:57 <__angelo> question: how does yocto apply patches ? by "git am " ? Jul 15 08:53:00 LetoThe2nd thanks for the great streams on Yocto! I hope that `npm`, `python` based recipes are one their way soon for the livestreams Jul 15 08:54:10 If you need help with Python I can write up an application as well as a documentation on how to make a recipe of it with `devtool`. I struggled initially but now I am very comfortable with it. Jul 15 09:12:39 shan1: where are these lifestreams hosted? Jul 15 09:14:32 freyr69 it is one twitch.tv/yocto_project every 2nd tuesday of the month if I am not wrong, but LetoThe2nd started putting the recorded streams on YouTube too. Check the Yocto Project channel out. Jul 15 09:16:45 I see, thanks Jul 15 09:22:27 Also I am really curious as to how many if you are not hardcore embedded developers. I don't have an embedded engineering / dev degree but like it. Jul 15 09:24:06 In most cases, I have better grip on languages like Python and JS as opposed to C/C++, which at times makes embedded application dev a bit difficult since most of them don't have `automake`, `cmake`, `meson` builds that Yocto and pick up easily. Jul 15 09:49:01 hi anyone know why i dont get pn-depends.dot after running bitbake -g my_image in poky 2.5? Jul 15 10:00:07 The package-depends.dot and Jul 15 10:00:08 pn-depends.dot files as previously Jul 15 10:00:09 generated using the bitbake -g command Jul 15 10:00:09 have been removed. Jul 15 10:00:11 A recipe-depends.dot file Jul 15 10:00:11 is now generated as a collapsed version of Jul 15 10:00:13 task-depends.dot instead. Jul 15 10:00:13 Jul 15 10:00:15 whoops pastebomb Jul 15 10:00:33 (migration notes for 2.3) Jul 15 10:01:00 which was two years ago now... Jul 15 10:01:17 hello folks Jul 15 10:01:39 this kernel module tarball contains the driver kernel modules and SDK libraries as .so files and utilities Jul 15 10:01:46 is it a bad idea to build all of them in the same recipe? Jul 15 10:02:04 yes, because kernel modules are machine specific and the tools are tune specific Jul 15 10:02:07 the recipe inherits "modules-base". i'm unsure whether this will interfere with building the userspace libs and tools Jul 15 10:02:08 so ideally have two cioes Jul 15 10:02:14 two recipes Jul 15 10:02:23 ah i see. i suspected some of those issues. thanks Jul 15 11:56:59 how can I select kernel 4.14 with yocto warrior? I'm trying PREFERRED_VERSION_linux-yocto="4.14%" but bitbake complains Jul 15 11:57:15 NOTE: preferred version 4.14% of linux-yocto not available (for item virtual/kernel) Jul 15 11:58:55 litb: warrior didn't ship a 4.14 linux-yocto Jul 15 11:59:18 hmm. kernel 4.19 is too recent for one of our drivers (third party) Jul 15 11:59:29 go and get the 4.14 recipe from thud or similar then Jul 15 11:59:46 hopefully it works. it's from a different yocto after all Jul 15 12:00:22 the actual kernel recipes are very small, look at one Jul 15 12:00:50 you are right. looks simple Jul 15 13:00:46 rburton, would it also possible to switch to kernel 4.19? Jul 15 13:00:50 i mean, 4.9 actually? Jul 15 13:05:19 does recipetool work for cmake projects? Jul 15 13:14:04 <__angelo> hi, have to kernel recipes, and would get a different defconfig from files:// for each recipe. Is it possible at all ? Jul 15 13:14:15 <__angelo> s/to/two Jul 15 13:34:57 litb: dig it out of an older release, sure Jul 15 13:39:03 __angelo: yes, use different recipe names and different subdirs for the defconfig Jul 15 13:42:10 What BSP do I need for a regular IBM PC with x86-64? Jul 15 13:44:51 freyr69: if its an intel chip, then meta-intel is best Jul 15 13:51:42 <__angelo> mckoan, thanks. But seems not working. I kave linux-xxx_4.14.bb then created also a linux-xxx_4.14 folder, with defconfig inside. But using syntax file://defconfig from .bb defconfig is not found Jul 15 13:54:49 __angelo, look up FILESEXTRAPATHS. you need to add your specific/non-default directory to it so the fetcher can find the defconfig you havein the subdir. Jul 15 13:56:02 a couple of examples from oe-core: Jul 15 13:56:05 recipes-multimedia/alsa/alsa-utils-scripts_1.1.9.bb:FILESEXTRAPATHS_prepend := "${THISDIR}/alsa-utils:" Jul 15 13:56:06 recipes-support/libcap-ng/libcap-ng-python_0.7.9.bb:FILESEXTRAPATHS_prepend := "${THISDIR}/libcap-ng:" Jul 15 14:01:17 __angelo: the folder should be linux-xxx or linux-xxx-4.14 Jul 15 14:01:19 not _ Jul 15 14:01:39 <__angelo> rburton, oh Jul 15 14:04:50 or name it whatever you want, as long as you tell the build system what that name it is :D Jul 15 14:05:41 <__angelo> yes. for some reason my choice to create a folder with same bb name was not good Jul 15 14:06:04 <__angelo> seems working (do_compile now :) Jul 15 14:06:21 <__angelo> worked Jul 15 14:06:24 <__angelo> thanks a loty Jul 15 14:06:48 <__angelo> a last question: defconfig must be a .config (as manual says) or also a defconfig is ok ? Jul 15 14:07:55 __angelo: both are valid Jul 15 14:08:16 <__angelo> mckoan, ok, as suspected. thanks ! Jul 15 14:09:38 technically, it depends on your kernel recipe. but either can work, just check that what you are feeding it comes through the configuration step like you expect (by default, it'll run through olddefconfig) Jul 15 14:21:15 Hello, I have "ERROR: Multiple .bb files are due to be built which each provide ..." when building multiconfig. Jul 15 14:22:33 there are two packages "a" and "b", both of them are providing same virtual package. They are included into corresponding imageA and imageB. Jul 15 14:27:41 hey people Jul 15 14:27:49 i need help about toaster Jul 15 14:28:19 i am following the instructions Jul 15 14:28:39 on the latest version as described in latest documentation Jul 15 14:28:52 I am stucked at 3.9.2. Installation Jul 15 14:29:27 6. Get Toaster to create the database schema, default data, and gather the statically-served files: Jul 15 14:29:36 $ cd /var/www/toaster/poky/ $ ./bitbake/lib/toaster/manage.py migrate $ TOASTER_DIR=`pwd` TEMPLATECONF='poky' \ ./bitbake/lib/toaster/manage.py checksettings $ ./bitbake/lib/toaster/manage.py collectstatic Jul 15 14:29:46 in here im stucked Jul 15 14:29:52 and i am facing an error Jul 15 14:30:00 anybody here to help? Jul 15 14:30:35 i can not get layers listed on toaster web-interface and i need to get it work. Jul 15 14:31:22 TurkCypriot: helps if you say what the error is Jul 15 14:32:18 https://pastebin.com/fjTseXXp Jul 15 14:32:40 Updating layers 39%Failure while trying to setup toaster: (1366, "Incorrect string value: '\\xC2\\x96 the...' for column 'description' at row 1") Jul 15 14:33:54 everything till i get this exception was flawless. Jul 15 14:35:35 rburton Jul 15 14:36:02 i dunno, but now if someone does they can say :) Jul 15 14:36:14 lol Jul 15 14:36:21 its ok :) Jul 15 14:36:39 Do u know where to get official support? Jul 15 14:41:08 this is the support channel Jul 15 14:41:27 for paid support see the company you bought your yocto-based system from Jul 15 14:47:14 I'm using gitsm:// to clone my repo with submodule but the problem is that the submodules also has submodules. How can set the recipe to do a full recursive clone? Jul 15 14:47:54 ricardocrudo the current (master) and (thud/warrior) should already do that by default Jul 15 14:48:19 if it's not working in master, create a reproducer and I'll fix it Jul 15 14:49:50 (there are a number of repositories that are part of the test cases already that deal with this.) Jul 15 14:51:33 Ok, I'll confirm what commit I'm using but I know I'm using thud and bitbake version = 1.40.0. Jul 15 14:52:41 @rburton i didnt buy any yocto based system yet Jul 15 14:52:50 im just trying to get the idea of it Jul 15 14:53:07 toaster seems as a great tool but Jul 15 14:53:14 its a bit bugy Jul 15 14:55:01 you need to have all of the thud patches applied.. Jul 15 14:55:39 @fray me? Jul 15 14:55:53 no.. ricardocrudo Jul 15 14:56:15 the top commit in bitbake should be talking about gitsm: Add need_updte method to determine.... Jul 15 14:56:15 So do u have any idea about my issue? Jul 15 14:56:29 No I don't use the toaster.. I use the command line directly to control my builds.. Jul 15 14:56:52 I will do that intime :) Jul 15 14:56:53 ask on the toaster mailing list, but the sounds like there is data in the database that isn't proper UTF-8 and it's causing a python execption Jul 15 14:56:54 thank u Jul 15 14:57:05 yes Jul 15 14:57:16 i am checking that connections.py Jul 15 14:57:34 it says "Can't DROP 'up_id' Jul 15 14:57:43 im just trying to find that column Jul 15 14:58:00 MySQLdb._exceptions.OperationalError: (1091, "Can't DROP 'up_id'; check that column/key exists")The above exception was the direct cause of the following exception: Jul 15 15:08:15 fray is it possible for you to share a link about command line parameters for yocto? Jul 15 15:08:40 i can compile core-image-minimal and run with qemu Jul 15 15:09:12 but i want to learn how to compile for another board like rpi3 or intel by using command line Jul 15 15:09:46 I think the documentation is not updated for the latest releases Jul 15 15:10:01 i need a trustable source Jul 15 15:13:59 fray is there a workaround. can I provide the cloning command myself in the recipe? Jul 15 15:14:51 yes, if you give me the repository clone command (for the command line) and it's public... and tell me what isn't cloning, I can work to reproduce it Jul 15 15:15:05 reproducer is usually quick, fixes may or may not be depending on what is broken Jul 15 15:15:37 the only issue I currently know of is if a URL has a space in it, it might not work properly... Jul 15 15:17:14 unfortunately is a private repository, but the clone command is `git clone --recursive` or `git submodule update --init --recursive` Jul 15 15:17:35 ya, that's not what we need.. you'll need to find a way to reproduce it, or find a public repository with similar layout Jul 15 15:17:48 well actually i want to run my yocto build on this machine (https://www.amazon.com/Celeron-processor-onboard-display-serial/dp/B0148KG3SK )) Jul 15 15:17:55 it has intel j1900 cpu Jul 15 15:18:05 i found meta-intel Jul 15 15:18:37 ricardocrudo: if you go into bitbake/lib/bb/tests/fetch.py and search for 'gitsm:' you can see all of the existing test cases Jul 15 15:18:44 i want to compile this meta layer to get it to run on intel j1900 Jul 15 15:19:05 you should find 8 different tests w/ a generic 9th url.. Jul 15 15:19:55 we have seen issues in the past where the repositories were not setup properly in the commit/branch being checked out, but people had done a 'master' checkout (w/ recursive) then updated to a branch and thought were were not working properly.. Jul 15 15:23:05 alright. I'll try the last commit on thud first Jul 15 15:25:28 the last 5 or so commits fixed a number of issues with submodules Jul 15 20:04:18 <__angelo> i have a slightly modified "sumo", with some recipes added to the "meta" layer, plus a meta-ti and a meta-my-bsp layers. How do you suggest to store it all ? For now i pushed it all to my git remote. But seems quite big, Jul 15 20:06:45 __angelo: put your new recipes in a new layer, so you don't have to modify oe-core (meta) Jul 15 20:06:59 then use git submodules or repo or whatever to glue the repos together Jul 15 20:10:38 <__angelo> rburton, oh thanks Jul 15 20:12:55 <__angelo> rburton, if i go with submodules. should i create a submodule for each meta leyer ? Jul 15 20:31:12 hi Jul 15 20:31:38 I'm trying to copy one of directories from rootfs (named /data) to custom ext4 partition using wic Jul 15 20:32:19 when added: to wic something like: part /data --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/data --ondisk mmcblk --fstype=ext4 --label data --align 1024 --fixed-size 200 Jul 15 20:32:29 it is failing with messages like: Jul 15 20:33:15 Couldn't get bitbake variable from /home/marekbelisko/.build/tmp/sysroots/raspberrypi0-wifi/imgdata/${IMAGE_ROOTFS}/data.env. Jul 15 20:33:15 | File /home/marekbelisko/.build/tmp/sysroots/raspberrypi0-wifi/imgdata/${IMAGE_ROOTFS}/data.env doesn't exist. Jul 15 20:33:21 any idea? Jul 15 20:33:32 I tried to debug it but without result Jul 15 20:34:07 wic tool is running with -e but not data.env Jul 15 20:34:12 but image-name Jul 15 20:40:59 @opennandra refer to Pykickstart documentation that is in fact `wic` Jul 15 20:41:31 nabokov: but looking at command I'm not doing anything wrong :) Jul 15 20:42:55 I see, the issue here is that WIC is not that generic and even though we think we understand what has been typed in WIC file,,, indeed we do not ! it is not that flexible unfortunately Jul 15 20:43:31 for every little details it does there are bunch of python scripts that are not that generic as they may look like ! Jul 15 20:44:24 You may use genimage as well Jul 15 20:45:29 __angelo: the layers are modules already, just clone them in using submodules Jul 15 20:45:55 meta/ is oe-core git repo, meta-ti is the meta-ti git repo, etc. pull those in using submodules Jul 15 20:46:32 __angelo: https://github.com/rossburton/customdistro is a really trivial example Jul 15 20:50:08 nabokov: it's right but I found same in poky: e.g: scripts/lib/wic/canned-wks/efi-bootdisk.wks.in Jul 15 20:50:19 part /boot --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/boot --fstype=vfat --label boot --active --align 1024 --use-uuid --overhead-factor 1.0 Jul 15 20:50:26 doing same stuff just for vfat Jul 15 20:50:46 so I assume this should work Jul 15 20:55:14 hhhmmmm.... let me see Jul 15 20:58:27 basically I install some persistent data to /data directory which then would like to have in different partition, I think same is for above efi-bootdisk.wks.in (just it use /boot partition instead) Jul 15 21:04:30 @opennandra I did a quick look at the python script in 'scripts/lib/wic': boot and rootfs partition preparations are different... please take a look inside `wic` scripts and make sure they support the same commands Jul 15 21:05:49 nabokov: ok thanks I'll check Jul 15 21:05:55 As I said it feels like they should support the same options however by experience I learned that it not true,,, unfortunately since I do not work with the tool everyday I can not give you more info at this time Jul 15 21:06:50 <__angelo> rburton, many thanks ! Jul 15 22:35:02 New news from stackoverflow: I can't get flatc installed into my yocto based SDK **** ENDING LOGGING AT Tue Jul 16 03:02:17 2019