**** BEGIN LOGGING AT Wed Oct 05 02:59:58 2016 Oct 05 06:13:44 ale mi go szkoda troche Oct 05 06:15:11 sorry Oct 05 06:15:21 *baw dindow... Oct 05 08:25:44 guys, how can I create the database and export my sql schema to the mariadb whilst building and configuration? I have created bbappend recipe in my layer, but it doesn't work :-( Here it is: http://dpaste.com/30D13HH Oct 05 08:37:23 hello, I am having my system hang after some time...this happened after I started making my builds with systemd instead of sysvinit. I am not sure how I should start debugging this. Oct 05 08:37:45 journalctl does not seem to provice any useful info Oct 05 08:38:51 I am not even 100% sure if this is a kernel crash or I simply lose the serial console Oct 05 08:40:10 anything in dmesg? Oct 05 08:40:59 my devboard also has an LCD screen, so when a crash happens it goes blank and the serial console becomes unresponsive Oct 05 08:41:17 CTtpollard, dmesg stores messages since bootup, no? Oct 05 08:41:45 so I assume it can not show me what was happening before crash Oct 05 08:43:45 the board BSP has this feature by default that turns off the LCD after some time when there is no user button input or GUI running Oct 05 08:44:02 not sure what kind of functionality is being used there Oct 05 08:44:24 I somehow suppose this may be related to the crashes Oct 05 08:45:52 I am using Variscite DART6UL SoM Oct 05 08:45:56 http://www.variscite.com/products/system-on-module-som/cortex-a7/dart-6ul-freescale-imx-6ul Oct 05 08:46:06 with their custom board Oct 05 08:46:47 I have this kit Oct 05 08:46:51 http://www.variscite.com/products/evaluation-kits/dart-6ul-kits Oct 05 08:47:12 and make my build with Yocto Fido Oct 05 08:47:32 well, actually FSL community BSP of Fido Oct 05 09:02:36 eduardas_m: maybe it is related to the screen blanking timeout. Try for example consoleblank=10 in your kernel bootargs to verify if this causes the failure after 10 seconds. Oct 05 09:04:50 Has anyone got an idea how to debug strange segfaults with Qt5.5.1 on an i.mx6 system within libGLES. See: https://paste.ee/p/9kEJY. Oct 05 09:05:53 This was working in Dizzy/Qt5.3 and now happens with Jethro/Qt5.5 using eglfs with some applications. Oct 05 09:06:53 I guess it's some kind of memory problem. I have 512M RAM and CMA is set to 320M. Oct 05 10:12:31 frsc, that sounds like good advice...will try to investigate it this way..thank you Oct 05 11:32:47 ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) As far as I understand I cannot create databases, users and export my sql dumps using bbappend recipe :-( Oct 05 11:41:02 Ox4: you could extract a database that's setup as you want and install those files Oct 05 11:43:59 ernstp: what do you mean? Oct 05 11:45:29 You want the target system to have certain users and databases from the start? Oct 05 11:45:41 Yes, I do Oct 05 11:46:07 ernstp: I have also the sql dump which I want to export to the target system Oct 05 11:46:44 Setup a mysql instance as you want it, copy the actual database files, install them in the system image in .bb do_install rules somewhere Oct 05 11:49:56 ernstp: where the mysql stores the database files? Oct 05 11:50:17 Hello, I have a question about systemd and fixed ips with wpa_supplicants. I defined the network and start up for wlan0 and the connect with my wlan. But I'm not able to get a fixed ip. I have /etc/systemd/network/wireless.network Oct 05 11:50:25 Ox4: /var/lib/mysql/ right? Oct 05 11:51:27 [Match] Name=wlan0 [Network] DHCP=no Address=01.123.45.678 /* random ip */ Gateway=01.123.45.1 /* random ip */ Oct 05 11:51:43 but wlan0 never get this ip Oct 05 11:52:33 Ox4: otherwise you first have to start the mysql daemon under qemu during the build and then send commands to it inside qemu... not very nice. Oct 05 12:59:12 I used extrausers with this example https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_set_or_change_the_root_password to set the password of root Oct 05 12:59:30 But I guess the password was not set Oct 05 12:59:48 1) how can I check if http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/useradd_base.bbclass#n125 was exectued? Oct 05 13:00:36 I'm grepping "grep -iR usermod *" now through my whole yocto directory (openembedded) but I can find this string anywhere Oct 05 13:00:49 http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/extrausers.bbclass#n21 Oct 05 13:01:03 ROOTFS_POSTPROCESS_COMMAND_append = " set_user_group;" <- seems like a POSTPROCESS Command Oct 05 14:00:37 I don't get it... I found in another meta layer the optional EXTRA_IMAGE_FEATURES debug-tweaks and removed it. But still the usermod is not executed Oct 05 14:00:43 Can someone please help me Oct 05 14:16:19 are you trying to set a root password? Oct 05 14:16:26 HyP3r Oct 05 14:22:07 what is the ${prefix} variable? Oct 05 14:24:44 CTtpollard: yes I'm trying to set the root password Oct 05 14:24:50 CTtpollard: since one workday :( Oct 05 14:25:05 Ox4: bitbake.conf shows the default value Oct 05 14:27:00 My current stragegy, (things like that above doesn't work...) is to set the root password while the first runtime of the board (know not really good). But also this is not working. I guess I have a variable expansion problem Oct 05 14:27:33 This is part of a recpie: http://pastebin.com/ybuzZTU4 Oct 05 14:28:08 Inside the passwords.txt is a bunch of passwords, for each board a specific complex password. I read this with the Number and try to insert it with sed into the installscript Oct 05 14:28:33 But the funny thing is that not the content of ${RACECHIP_PASSWORD} is inside the file Oct 05 14:28:46 "${RACECHIP_PASSWORD}" is inside the file now. I don't know why Oct 05 14:30:06 Argh nvm. it was just the " vs. ' thing ... Variables dont get expanded in '' <- Oct 05 14:30:44 But is there a better way to set the root password as to use this crazy command: echo -e "YSqkPfUmtxmShj4L96Zc\nYSqkPfUmtxmShj4L96Zc" | (passwd root) Oct 05 14:33:51 HyP3r: 'EXTRA_USERS_PARAMS ?= "usermod -P ${ROOTPASSWORD} ${ROOTUSERNAME};"' Oct 05 14:34:24 CTtpollard: I tried that but the funny thing is that '-P' is not a valid switch for usermod and that this all is not working Oct 05 14:34:47 HyP3r: This currently works for us on Krogoth https://github.com/GENIVI/meta-ivi/blob/3b72198525450257abb38cec4e8a06eb6432c016/meta-ivi/recipes-yocto-ivi/images/ivi-image.inc Oct 05 14:38:00 CTtpollard: I added it to a normal recpie for software not in the recpie which is inheriting core-image, but it wasn't working Oct 05 14:38:32 I'm not able to find this bbnote http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/useradd_base.bbclass#n125 somewhere in my logfiles Oct 05 15:14:42 ernstp: I have rewrittent the bbappend file: http://dpaste.com/3ZY2S7H but it doesn't work :-( Oct 05 15:27:11 Ox4: oh, you need a lot more variables, see: http://www.crashcourse.ca/wiki/index.php/OE_variable_glossary Oct 05 15:27:59 ernstp: it is bbappend file Oct 05 15:28:01 I have a lot of install -m 0755 ${WORKDIR}/stuff ${D}${bindir} Oct 05 15:28:31 install ${BSPDIR}/something/i/checked/in ${D}/opt/extra/stuff/ Oct 05 15:28:34 stuff like that Oct 05 15:30:39 if you do SRC_URI_append += "thing.txt" you can then do install ${WORKDIR}/thing.txt ${D}/usr/share/thing.txt Oct 05 15:30:39 to put something in the target filesystem Oct 05 15:31:38 you'd need file://thing.txt, of course Oct 05 15:31:43 bare files don't work in SRC_URI, only urls Oct 05 15:31:48 s/files/file paths/ Oct 05 15:31:58 but you'd want ${D}${datadir} in taht case, not /usr/shrae Oct 05 16:00:32 ernstp, kergoth thank you guys for the support Oct 05 16:01:54 can I use directory name instead of file name in the SRC_URI variable? Oct 05 16:16:08 maybe create an archive and have an extract command in your do_install... ? Oct 05 16:46:13 ugh, am i missing something, or does toaster not work when bitbake is outside of poky/oe-core? Oct 05 16:46:23 * kergoth adds to his long, long list of stupid assumptions toaster makes Oct 05 16:49:14 the sourcing logic in th bin/toaster script is flawed, too Oct 05 16:49:31 it used to work that way Oct 05 16:50:04 kergoth: which toaster? master? ping michaelw_ I think he was doing some work on that a few weeks ago Oct 05 16:50:23 it sets OE_ROOT to /../.., then blindly sources $OE_ROOT/.templateconf Oct 05 16:50:30 which breaks when bitbake isn't a subdir of oe-core/poky Oct 05 16:50:53 then it chokes if $(basename $0) == $(basename $TOASTER), which is incorrect for any shell that sets $0 to the script being sourced, including zsh Oct 05 16:51:34 every time i go to try toaster, i run into this sort of hardcoded foolish assumption that breaks if your environment isn't exactly the way it was for the people coding the thing Oct 05 16:51:40 Hmm.. I just tried to start toaster on my machine and it failed spectacularly.. ugh Oct 05 16:51:52 * fray cleans the environment and tries again Oct 05 16:52:24 This program needs Django>1.8,<1.9 Oct 05 16:52:25 Please install with pip install -r /home/mhatle/git/lpd/wr9-prelink-work/layers/oe-core/bitbake/toaster-requirements.txt Oct 05 16:52:35 but if I run that command the system says I already have all needed versions.. :P Oct 05 16:52:53 'nice' Oct 05 16:53:28 always nice to see crappy shell coding, too (use of == rather = in a []) Oct 05 16:53:42 sounds like something that should be fixed.. whee Oct 05 16:54:04 ya, I can't even run toaster with the buildtools-tarball sourced Oct 05 16:54:06 whee Oct 05 16:54:31 if i use bash, and ahck around various assumptions, it'll run Oct 05 16:54:34 but at least with it installed, pip did it's thing Oct 05 16:54:36 fails in about 6 places if you try with zsh Oct 05 16:55:04 ya.. if I run pip with the buildtools-tarball environment sourced, it then updates and I can run toaster now.. :P Oct 05 16:55:18 wait isnt bash = sh Oct 05 16:56:30 * fray smacks khem Oct 05 16:57:32 why does this thing require that .templateconf be sourced in the first place, if i'm sourcing it from a build dir with a conf/templateconf.cfg available? just use that Oct 05 16:57:56 nevermind the fact taht you have to have a build dir to start toaster to create a project which creates a build dir to use to build, which is just ridiculous Oct 05 16:58:02 i need to create a project to create a project Oct 05 16:58:20 * kergoth grumbles Oct 05 16:59:39 Ha.. what is the username/pw for the toaster admin interface? Oct 05 16:59:47 docs say to use it, but never tell you how to login Oct 05 16:59:56 smooth Oct 05 17:00:12 huh... Oct 05 17:00:15 also, why the heck does toaster not just start the web browser for me? xdg-open is on every major system Oct 05 17:00:19 don't just print a url.. Oct 05 17:00:41 I don't mind that part.. since my desktop is never my build machine Oct 05 17:02:43 also says to edit the toasterconf.json, but never says WHERE the file is.. :P Oct 05 17:02:44 half the point of toaster is to give us a nice UI to do our build for folks that aren't command-line inclined, right? so why do we require a ton of command line gymnastics and manual web browser launch to run the freaking thing? if you're inclined to use the command-line, you're unlikely to use toaster anyway.. Oct 05 17:02:58 it's all very strange, i'd be curious to hear the use cases it's supposed to be satisfying, cause i'm not seeing it Oct 05 17:03:23 visual command and control.. Oct 05 17:03:31 it seems like the toaster designers are more concerned about how pretty the UI is than the overall UX experience Oct 05 17:03:32 the setup pieces I believe were not completd Oct 05 17:03:38 has anyone done hallway usability testing? Oct 05 17:03:51 Oct 05 17:04:09 I like toaster as a build observer it displays good statstics Oct 05 17:04:45 Huh..... I really have no idea where the toasterconf.json file is Oct 05 17:04:58 ../layers/oe-core/meta/conf/toasterconf.json Oct 05 17:04:58 ../layers/meta-yocto/meta-poky/conf/toasterconf.json Oct 05 17:05:04 ahh.. now which one did it use? Oct 05 17:05:34 looks like it depends on your TEMPLATECONF? Oct 05 17:05:38 * kergoth shrugs Oct 05 17:05:50 hehe my templateconf points somewhere else that does NOT have a toasterconf.json in it.. Oct 05 17:05:55 maybe that is my admin problem? Oct 05 17:06:06 mine does too Oct 05 17:06:32 seems like the non-production / local usage is rather an afterthought Oct 05 17:07:26 one from meta-yocto Oct 05 17:07:33 kergoth: yes, I have done usability testing, and I am painfully aware of what the usability issues are. Oct 05 17:07:41 kergoth: also, it is designer, singular. Actually, it *was* designer. Toaster doesn't have a designer any more :) Oct 05 17:07:46 eep Oct 05 17:08:07 belen, how do you access the admin interface? Oct 05 17:08:16 toaster should actually be tested with oe-core which is a rare case Oct 05 17:08:16 I can't find anything that talks about the username/password -- just what the url is Oct 05 17:08:34 fray: hang on, it should be documented somewhere Oct 05 17:08:48 I'm looking at 4.1.1.2.1 in the toaster doc Oct 05 17:09:00 wait.. I just noticed by doc link was old.. Oct 05 17:09:03 maybe it was fixed.. sec Oct 05 17:09:11 fray: http://www.yoctoproject.org/docs/latest/toaster-manual/toaster-manual.html#toaster-creating-a-django-super-user Oct 05 17:09:22 fray: you need to create a superuser first Oct 05 17:09:39 ya.. the 2.1 doc has the same thing 'login', but never says how to do it Oct 05 17:10:14 that should definitely be referenced by the other section.. :) Oct 05 17:10:24 I never would have found it, except by reading the whole doc Oct 05 17:10:49 fray: neither you nor any other normal human being :) Oct 05 17:11:13 sqlite3.OperationalError: unable to open database file Oct 05 17:12:22 ahh if toaster is -running- then I can add the super user Oct 05 17:15:55 Doc says to run this to add another index: Oct 05 17:15:55 bitbake/lib/toaster/manage.py loadconf /home/scottrif/poky/meta-poky/conf/toasterconf.json Oct 05 17:16:01 but 'loadconf' comes back with an error Oct 05 17:16:06 Unknown command: 'loadconf' Oct 05 17:16:06 Type 'manage.py help' for usage. Oct 05 17:16:42 Hmm.. there is loaddata.. but that is likely wrong Oct 05 17:21:17 fray: I don't think the docs are up to date. Toaster will no longer be using that toasterconf.json file from 2.2. It was replaced with django fixtures. Oct 05 17:21:27 oh Oct 05 17:21:48 I definitely need to be able to specify a different layerindex.. Oct 05 17:22:00 there any docs yet? Oct 05 17:22:16 fray: dunno. Oct 05 17:23:26 fixtures are generally loaddata no? Oct 05 17:27:38 fray: apparently using your existing local repositories is non-trivial, it's weirdly tied to the layer index and cloning itself, even though you had to have the local repos to even run toaster Oct 05 17:28:00 I have a layer index (true web index).. as well as the 'local repositories' Oct 05 17:28:11 I don't want to use OpenEmbedded's index by default in this case Oct 05 17:28:22 * kergoth nods Oct 05 17:29:14 belen: the fact taht you have to enter a unique layer name when importing a local repository is really strange. why should i have to care that the layer index has 'meta-qt5' so my local clone of meta-qt5 has to be named something else? Oct 05 17:30:13 * fray is trying to figure out where the backend DB is.. Oct 05 17:30:25 I run the toaster from a different build directory and the builds from a different one are showing up Oct 05 17:30:43 kergoth: because otherwise, when you go to the list of layers, you will have several entries with the same name, which makes it easy to get confused and select the wrong layer Oct 05 17:31:17 the average user isn't going to care, in their perspective meta-qt5 is meta-qt5, whether i've already cloned it or toaster is going to Oct 05 17:31:23 it's just confusing Oct 05 17:32:16 it looks like something is hard coded to start in the 'build' directory.. not having a build directory seems to cause a problem Oct 05 17:32:49 I create a new 'build' dir (oe-init-build-env) and now it works again Oct 05 17:42:00 ahh fixture laoding of 'oe-core.xml' is hard coded somewhere as well... Oct 05 17:44:20 whoa.. there is a bug in import layer.. the page just keeps reloading, I can't even type Oct 05 17:44:30 (thats in a local layer) Oct 05 17:45:22 kergoth: the "average" user doesn't exist. But apart for that, if you go to a list of layers and you have 2 of them called meta-qt5, how do you know which one to choose? Oct 05 17:45:47 belen, are you going to berlin at all? Oct 05 17:45:57 it should recognize that the local layer *is* a clone of the remote layer and not list the two at all Oct 05 17:46:00 fray: no. Oct 05 17:46:06 ahh too bad.. Oct 05 17:47:08 kergoth: I am not following. I thought we were talking about giving imported layers unique names, but maybe we are talking about something else. Oct 05 17:55:01 Ahh-ha.. layers.openembedded.org is hard coded in the lsupdate command! Oct 05 17:55:07 * fray fixes that to point ot hte local index Oct 05 17:55:24 ahh-ha, and now my local index is workign Oct 05 17:55:37 going to have to collect these issues, and work on changes.. Oct 05 18:22:02 ha.. toaster does not like layers with circular dependencies... :) Oct 05 18:52:54 Is there a filter applied to what gets added to the layer index ? Maybe we need to add a layer to the namespace so that meta-iot for example becomes cablelabs/meta-iot Oct 05 18:53:39 This would also allow meta-intel-iot-middleware -> intel/meta-iot-middleware Oct 05 19:36:50 Is it possible to build a yocto image with 64-bit kernel and 32-bit userland? Oct 05 19:38:00 I'm trying to make a generic appliance to netboot as many machines as possible, and that includes macs with 64-bit EFI implementations. Oct 05 19:45:51 Circuitsoft: multilib should let you do that Oct 05 19:46:15 Reading up on that now. Oct 05 19:46:36 It's not clear how to make the whole userspace default to lib32 yet. Oct 05 19:46:49 bitbake lib32-core-image-minimal (for instance) Oct 05 19:46:56 you can select the lib32 variant for the image Oct 05 19:46:56 Hmm. Oct 05 19:47:20 (that assumes you have the multilib configured and working properly) Oct 05 19:51:29 hi, just updated from dizzy to jethro and no longer seeing an sdcard file for my image. Did this change? I'm seeing wic.gz, ubifs files for rootfs and u-boot files. Do I need to copy these individually onto partitions? Oct 05 19:56:16 Circuitsoft: http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#combining-multiple-versions-library-files-into-one-image Oct 05 19:56:50 Geoff_: it might be that you need to add is to IMAGE_FSTYPES Oct 05 19:56:52 Circuitsoft: http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#combining-multiple-versions-library-files-into-one-image and https://github.com/openembedded/openembedded-core/blob/master/meta-skeleton/conf/multilib-example.conf Oct 05 19:57:14 * vmeson races with khem but one-ups him. :-P Oct 05 19:57:17 Geoff_: which machine are you building for Oct 05 19:58:15 its g2h-5_7-inch which comes from reach (https://github.com/jmore-reachtech/reach-platform) Oct 05 19:58:31 I've been looking there. It's dieing on "Nothing PROVIDES 'lib32-my-app'" Oct 05 19:59:01 so its a variant of a cortexa9 Oct 05 20:00:29 oh gotcha, so i should try adding sdcard to IMAGE_FSTYPES? I'll try that Oct 05 20:00:48 Geoff_: so it seems SOC/device layer has the class/code to do the sdcard image Oct 05 20:01:13 Circuitsoft: how is your app built? did you look for examples: grep -ri multilib oe-core/meta/recipe* Oct 05 20:02:32 I'm finding plenty about having a mostly 64-bit system with one or two 32-bit apps here or there. Oct 05 20:02:48 I can't find anything about having an entirely 32-bit userspace with a 64-bit kernel. Oct 05 20:03:09 IMAGE_FSTypes fixed my problem, thanks khem Oct 05 20:04:05 np Oct 05 20:04:49 So I've added MULTILIBS and DEFAULTTUNE_virtclass-multilib-lib32 to my local.conf. Oct 05 20:04:53 Circuitsoft: the former is typically what multilib is used for, but it is capable of doing what you want Oct 05 20:05:26 I just can't find where there's anything in an app recipe to support multilib directly. Oct 05 20:05:42 that's because there shouldn't need to be Oct 05 20:06:19 enabling multilib enables the variants to be built for any recipe, then those variants that are needed to be built to satisfy explicit requests get built Oct 05 20:06:44 if you explicitly request the entire userspace (i.e. build an entire libxx- variant image) then that's what will get built Oct 05 20:06:50 So, I have a recursive image recipe. core-image-mydev-server includes 'do_rootfs[depends] += "core-image-mydev-client:do_image_complete"' Oct 05 20:07:08 I tried changing that to lib32-core-image-mydev-client. Oct 05 20:07:17 for a 64-bit kernel, and 32-bit userspace.. all you need is the multilib configured properly -- then bitbake lib32- Oct 05 20:07:35 Circuitsoft: in theory that dependency should be translated, in practice I'm not sure Oct 05 20:07:36 really, there is nothing else you need to do -- it's all automatic based on the 'lib32' value you specified with the multilib stuff Oct 05 20:07:41 And when I do that, I get "Nothing PROVIDES 'lib32-my-app'" Oct 05 20:08:19 can you construct a default 'lib32-' recipe? if not your config isn't right Oct 05 20:08:28 if you can, then next step is to adjust for your program Oct 05 20:09:21 lib32-core-image-minimal works Oct 05 20:10:57 so when you run: bitbake my-prog it works, but bitbake lib32-my-prog does not? Oct 05 20:11:01 Only unique line in my my-app_0.1.bb appears to be "inherit qmake5" Oct 05 20:11:05 Correct. Oct 05 20:11:07 or is the problem you adjusting the image recipes dependencies? Oct 05 20:12:27 all of the deps in the image recipe are automatically converted to include 'lib32' -if- the image itself is called w/ lib32.. Oct 05 20:12:36 so it may be counter intuitive, but if you do something like: Oct 05 20:12:44 IMAGE_INSTALL_append = "lib32-bash" Oct 05 20:12:58 when you run bitbake lib32-core-image-minimal, the system will try to load 'lib32-lib32-bash' which is wrong.. Oct 05 20:13:09 you want hte append to be simply 'bash', and everything will translate to the 32-bit version Oct 05 20:23:23 Well, that was fun. I was running a build with the new MACHINE= definition, and the OOM-Killer got my window manager. Oct 05 20:24:27 I suspect you have too much parallelism for the memory you have available Oct 05 20:24:49 you can set BB_NUMBER_THREADS and PARALLEL_MAKE to scale that back Oct 05 20:24:57 Normally not a problem, but seems to puke when I'm building glibc and have ~80 tabs open in Chrome... Oct 05 20:25:22 right... you could also add more RAM or swap ;) Oct 05 20:30:45 Circuitsoft: good old OOM killer picking the perfect task as usual then Oct 05 20:31:21 Adding swap now. Oct 05 20:31:28 16G ram, adding 16G swap. Oct 05 20:31:53 o.O Oct 05 20:32:17 GB is the new MB Oct 05 20:32:36 At my last job, I built a machine with 0.25TiB of RAM. Oct 05 20:32:45 That was a good build machine. Oct 05 20:35:29 Oh, apparently it was glibc and qtbase-native, simultaneously, that OOM'd me. **** ENDING LOGGING AT Thu Oct 06 02:59:58 2016