**** BEGIN LOGGING AT Fri Dec 02 03:00:01 2016 Dec 02 07:33:53 hm.. so I'm trying to integrate qtquickcompiler into meta-qt stuff (dylan). However, qtquickcompiler fails, because it misses QtCore, though it's in the sysroot. What's the recommended way to work around this? Dec 02 07:35:41 My current approach is: do_compile_prepend{export LD_LIBRARY_PATH="${OE_QMAKE_PATH_HOST_LIBS}:$LD_LIBRARY_PATH"} Dec 02 07:47:55 which does not work, because those "HOST" directories do not point to the native dirs -.-' so it's ${STAGING_LIBDIR_NATIVE}/${QTDIR} instead of ${OE_QMAKE_PATH_HOST_LIBS} Dec 02 08:18:44 Good Morning Dec 02 08:26:40 good morning Dec 02 08:28:47 anyone tried chromium 52 on arm? segfaulting here Dec 02 08:39:21 ernstp: Saw the other day someone in this channel was having issues with 'aw snap', your issue might be related? https://bugzilla.redhat.com/show_bug.cgi?id=1361157 Dec 02 08:39:22 Bug 1361157: was not found. Dec 02 09:19:56 Good morning. I have an interesting problem. I build and test my Qt applications with two Qt kits: one for the desktop and one for the embedded system. Dec 02 09:20:29 Everything is stored in one project and there are different defines for different systems. Dec 02 09:20:47 The defines depend on the kits present on the development host. Dec 02 09:21:13 But when I try to build via Yocto the defines related to kits are lost. Dec 02 09:21:58 Because the typical gitignore for qt projects makes it so that the .pro.user file is not stored in the git repository... Dec 02 09:22:52 What is the proper way to make sure that a certain platform define statement is present in the source that Yocto checks out? Dec 02 09:23:48 Or do I simply make a branch in git with a platform.h file that stores the define for a certain platform? Dec 02 09:42:09 to get rid of QtMultimedia and of the pulseaudio dep in qt4, is DISTRO_FEATURES_remove = "pulseaudio" the right way ? That seems to work, but my feelings are mixed... Dec 02 09:43:14 that will ensure you don't use pulseaudio at all (or if pulseaudio sneaks in, should be considered a bug) Dec 02 09:43:44 really pulseaudio should refuse to build if pulseaudio isn't in DISTRO_FEATURES (same way libx11 refuses to build if x11 isn't in DISTRO_FEATURES) Dec 02 09:52:35 eduardas_m: why not add something like !.pro.user in your git ignore? Dec 02 10:29:30 graphiqs, because Qt kit configurations can be different on different developer machines Dec 02 10:30:02 this file is ignored in the standard qt project gitignore for a reason Dec 02 10:30:34 i.e. a certain kit may be simply not present, etc. Dec 02 10:33:41 oh okay. i don't know Qt that well Dec 02 11:17:30 isn't there a default recipe that installs a .netowrk file for systemd? Dec 02 11:21:30 aV_V: i'd be suprised if there were Dec 02 11:21:38 since it's very configuration-specific Dec 02 11:27:38 boucman_work: I'm talking about /etc/systemd/network/*.network Dec 02 11:28:38 I want the same as init-ifupdown recipe does with /etc/network/interfaces Dec 02 11:29:36 I'm using a systemd.bbappend to install my .network files, not familiar with the init-ifupdown method i will look it up it could be interesting Dec 02 11:30:27 mathieu_la: init-ifupdown is used on sysvinit. I changed to systemd so that why I'm asking Dec 02 11:30:49 so u have created an _install method? Dec 02 11:31:17 aV_V: i personally use connman instead of systemd-networkd, so I can't help Dec 02 11:31:28 yes I have my .network files under version control in my layer and a do_install_append in the recipe Dec 02 11:31:43 but defining a sane default network configuration for a distro (not an individual computer) is tricky... Dec 02 11:32:30 boucman_work: the idea is to use appends Dec 02 11:32:57 I'm not saying to create a generic .netowrk configuration Dec 02 11:33:46 ah because the init-ifupdown can just pickup your network configuration if you add them with FILESEXTRAPATH_append for instance Dec 02 11:34:31 it seems quite nice and maybe could be applied to systemd as the .network files are always going in /etc/systemd/network/ (I believe) Dec 02 11:35:24 boucman_work, if I may ask, what is your motivation for using connman? Dec 02 11:36:11 I am not good at networking stuff so it would be useful to learn what people are using on embedded platforms and why Dec 02 11:36:13 it works :P Dec 02 11:36:26 more seriously Dec 02 11:36:59 * ifconfig and co : shell script based, kinda deprecated, causes lots of problems to make it reliable when there are a lot of connect/disconnect Dec 02 11:37:47 * systemd-networkd : very good for complex setups with multiple VM and cards, not as good when the setups change a lot (wifi, with changing SSID, password management etc...) Dec 02 11:38:02 mathieu_la: exactly Dec 02 11:38:10 my motivation to use networkd and resolved is to leverage the systemd infrastructure as much as possible Dec 02 11:38:15 * connman, very good where networkd is weak, integrates well with the embedded constraints Dec 02 11:38:23 in the hope of having a very consistent system Dec 02 11:39:00 eduardas_m: if networkd fits your needs then that's fine. connman and networkd basically have opposing goals. Dec 02 11:39:10 * networkmanager : does the job too, but not as comfortable ans connman when you need to have stuff fully automated. It has better UI if you need to have the network configured by a user (most of my projects don't have screens at all, so it's moot for me) Dec 02 11:39:11 comman for for your phone, networkd for your server Dec 02 11:39:51 these are my selection criteria in a nutshell Dec 02 11:39:52 * LetoThe2nd hands rburton his nokia 101 brickphone Dec 02 11:39:55 rburton: REALLY?!? Dec 02 11:40:29 boucman_work, thanks for the information, was useful Dec 02 11:40:34 np Dec 02 11:40:53 LetoThe2nd: :) Dec 02 11:41:12 anyone using the new iwd daemon stuff? Dec 02 11:41:25 that is under active development Dec 02 11:41:37 havn't had a chance yet Dec 02 11:42:10 wifi is a mess, so having people attempting to clean it up is a good thing. whether iwd will succeed or not is... too early to tell Dec 02 11:43:26 apparently the iwd code was opened just very recently Dec 02 11:43:38 so its really early days Dec 02 11:43:46 yes Dec 02 12:09:52 well with sailfishOS you actually have connman on your phone Dec 02 12:16:16 hmmm... thanks for the information guys. Dec 02 12:18:52 i've compiled an sdk for the core-minimal image Dec 02 12:19:05 i've installed the resulting sdk Dec 02 12:19:12 now i want to use the resulting gdb Dec 02 12:19:21 i've source the sdk enviroment Dec 02 12:19:40 gdb now gives me: Python Exception Installation error: gdb.execute_unwinders function is missing: Dec 02 12:20:05 stackoverflow tells me that this typically happends with self-compiled gdbs where something is missing Dec 02 12:20:21 any idea how to fix this with poky? Dec 02 13:03:40 Hi, how can i set automake options in a recipe? especially AM_INIT_AUTOMAKE is something I am interested in Dec 02 13:04:32 I have a QA issue: Files/directories were installed but not shipped in any package: Dec 02 13:04:48 I basically tell to install executable to /home/root Dec 02 13:04:57 during do_install() Dec 02 13:05:29 this somehow breaks package generation...not sure why Dec 02 13:05:29 FILES_${PN} =" /home/root/ " Dec 02 13:06:22 it makes sure every file has a package, so that if you update or remove the package, it know which files to modify Dec 02 13:07:59 graphiqs, thanks, but just adding that line with my executable name did not help Dec 02 13:08:17 I did a bitbake -c clean on the recipe before rebuilding Dec 02 13:08:35 still same error Dec 02 13:08:38 1 installed and not shipped files. Dec 02 13:09:36 oops, wrong recipe file XD Dec 02 13:09:41 can you post the errror and the .... okay Dec 02 13:09:52 does it work non? Dec 02 13:09:55 *noq Dec 02 13:09:58 god dammit Dec 02 13:10:01 now? Dec 02 13:10:48 well, now I have a different error Dec 02 13:11:08 The compile log indicates that host include and/or library paths were used. Dec 02 13:12:48 can you post the error? Dec 02 13:15:40 graphiqs, http://pastebin.com/KAmeuPBb Dec 02 13:16:42 "Please check the log '/home/eduardas/BigDisk/var-mx6ul-mx7-yocto-krogoth/build-fb-fods/tmp/work/cortexa7hf-neon-poky-linux-" Dec 02 13:17:28 this isn't related to the files thing, it's a different issue in you recipe afaik. Dec 02 13:17:52 or your Apps Makefiles Dec 02 13:19:23 did you link it correctly? Dec 02 13:20:24 yes.. I pretty much need to look at the source Dec 02 13:26:41 that's where i love sublimes search in folder thing. Dec 02 13:31:00 graphiqs, apparently its my colleague using his development host headers during cross-compilation Dec 02 13:31:09 evil Dec 02 13:33:28 the more you know Dec 02 13:37:55 graphiqs, yeah, that was the problem... resolved by using pkg-config in the pro file Dec 02 13:55:31 even though my package explicitly requires qtbase in recipe, I still get a qa warning ... Dec 02 13:55:38 what is file-rdeps? Dec 02 13:55:58 I need to sepcify the rdeps for my binary , not onl the package? Dec 02 13:56:10 specify Dec 02 14:00:02 I need some kind of RDEPENDS_file-rdeps-AppName = "qtbase" ? Dec 02 14:01:10 no, that's not needed. the qa warning is when the automatically determined file rdeps don't match up with your recipe's dependencies (DEPENDS/RDEPENDS) Dec 02 14:01:16 so it's the latter you need to fix, not the former Dec 02 14:02:25 the package and executable require libQt5Gui.so.5 Dec 02 14:02:48 I already have RDEPENDS_${PN} += "qtbase" Dec 02 14:02:54 you also haven't shown the actual error message Dec 02 14:02:58 that i can see, anyway Dec 02 14:02:59 and I checked that the library is in that package Dec 02 14:03:44 huh, apparently nativesdk doesn't work with INHIBIT_DEFAULT_DEPS, and therefore allarch. you have to explicitly override BASEDEPENDS. something to do with the extend class mappings Dec 02 14:03:53 guessing its an ordering problem Dec 02 14:04:21 http://pastebin.com/0pnTmdxy Dec 02 14:06:49 kergoth, you lost me there... can that just be solved via a few lines in my .bb recipe? Dec 02 14:07:15 the last two things i said had nothing to do with you. you aren't using a nativesdk recipe Dec 02 14:07:21 was an unrelated bug Dec 02 14:25:51 i try to tweak the compile flags for a single recipe via my local.conf. Dec 02 14:26:02 i tried "TARGET_CFLAGS_append_pn-rrdtools = "-DSOMEFUNKYFLAG"" Dec 02 14:26:11 but that seems to be wrong Dec 02 14:26:17 how do i do this? Dec 02 14:26:44 write a bbappend for the package Dec 02 14:26:58 graphiqs: do i have to? Dec 02 14:27:06 it's recommended Dec 02 14:27:11 yes Dec 02 14:27:13 i know Dec 02 14:27:19 but i want to learn what i can Dec 02 14:27:32 its this specific bit i am after Dec 02 14:27:35 :-) Dec 02 14:27:51 should this work? Dec 02 14:28:26 that, i can't say for certain. Dec 02 14:31:19 think about it this way, you are trying to set a setting for a single package in a file that affects ALL packages. Dec 02 15:00:29 Mornin, I have a recipe complaining about missing License file but the license is there, any ideas? https://gist.github.com/strike5150/1765fc01a713bfde7d69f5a98c39673a Dec 02 15:10:29 graphiqs: understood. its not scaleable. but its nice for a quick hack (for example disabling the optimizer, building with a sanitizer, etc...) Dec 02 15:22:14 is possible to get a 5-6 seconds of boot time with sysvinit? and it's too hard to get that? Dec 02 15:26:51 aV_V, I haven't tried boot time optimization myself... from what I've read, an uncompressed kernel helps for slower processors Dec 02 15:27:24 also kernel size can usually be reduced Dec 02 15:27:57 because I have noticed my BSP kernel default configs include a lot of drivers I do not really need Dec 02 15:31:12 as far as I understand the initialization of some userspace processes can be deferred to boot to userspace faster Dec 02 15:31:33 that is what I am planning to use systemd for in the future Dec 02 15:32:07 haven't really gotten to it yet Dec 02 15:38:40 is there anything special i have to do to build a (gcc) toolchain which has the address sanitizer? Dec 02 15:38:56 sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/6.2.0/ld: cannot find libasan_preinit.o: No such file or directory Dec 02 15:39:08 sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/6.2.0/ld: cannot find -lasan Dec 02 15:39:19 ^ is what i get when trying to use it Dec 02 16:08:29 RP: uhh, i just wrote a ConfigParsed event handler in a bbclass added to INHERIT, this class does a .appendVar(). If i examine bitbake -e , it shows [5392 operations] for the variable. ConfigParsed was fired for every single recipe, and all of them retained for each Dec 02 16:08:33 RP: ever seen this? Dec 02 16:15:01 Hello, I have a quick question about adding the FTP utility to my image. I've included inetutils_1.9.4.bb with my image, and I do have some of the libraries included by that recipe. However, I am still missing most, including ftp. What else do I need to do to properly configure this package? Dec 02 16:15:58 RP: nevermind. wow. we really need to make eventmask mandatory at some point. i typoed the flag set, and it was being run for every recipe we have :) Dec 02 16:16:05 RP: s/recipe/event/ Dec 02 16:17:14 kergoth: this is RPs answering service, he's on leave today but no doubt will return this evening Dec 02 16:17:43 hehe, fair enough Dec 02 16:18:27 goddamnit, even with eventmask fixed, it's still running multiple times and doing the append multiple times Dec 02 16:20:56 * fray needs to remember to ping RP's answering service in the future.. ;) Dec 02 16:21:08 lol Dec 02 16:21:14 Hi! I am trying to add a new task after 'do_deploy' in my recipe. Is there anything special to do? Dec 02 16:21:33 add task name after do_deploy before Dec 02 16:21:37 I have added mytask() { ... } at the end of the recipe. And then 'addtask mytask after do_deploy' Dec 02 16:21:44 you can skip the 'before ...' but then you have to manually run the task Dec 02 16:21:49 without 'before', it won't run by default, only with -c Dec 02 16:21:51 fray: :) Dec 02 16:21:53 i.e. bitbake -c mytask ... Dec 02 16:21:54 Oh, I see Dec 02 16:22:00 but do_deploy is the last task, right? Dec 02 16:22:02 jynx Dec 02 16:22:10 the default task when -c isn't specified is do_build Dec 02 16:22:11 how can I add it after do_deploy, before 'end'? Dec 02 16:22:14 aka do_${BB_DEFAULT_TASK} Dec 02 16:22:25 you can do a do_deploy_append ... Dec 02 16:22:31 and isn't there a postfunc setting as well? Dec 02 16:22:32 so no, do_deploy isn't the final task Dec 02 16:22:40 yeah, postfunc would do too. really depends on what you're trying to do Dec 02 16:22:59 Is a task for signing/encrypting the artifacts which should only modify the already deployed artifacts Dec 02 16:23:21 I thought someone had come up with a signing (package) method already Dec 02 16:23:34 or are you signing other content? Dec 02 16:23:35 " so no, do_deploy isn't the final task" which is the final task? Dec 02 16:23:41 i just told you Dec 02 16:23:45 fray is quite specific, for firmware images (U-Boot, etc) Dec 02 16:23:47 look up about 10 lines Dec 02 16:24:44 In some of my implementations, I did that signing as part of the image generation.. not the package/deploy side Dec 02 16:25:10 why modify the deployed artifacts rather than the generated image? Dec 02 16:25:21 Oh, sorry kergoth I didn't saw it Dec 02 16:25:25 seems like an image postfunc or a task before do_image_complete would be better Dec 02 16:25:26 * kergoth shrugs Dec 02 16:25:27 I will give a try adding 'before do_build' Dec 02 16:25:28 thanks Dec 02 16:25:55 kergoth thanks for the suggestion, I will think about it in my context. I am not sure yet what would be the best thing to do Dec 02 16:57:23 oh for fuck's sake man Dec 02 16:57:26 * kergoth grumbles Dec 02 17:02:45 today is not my day Dec 02 17:03:02 time for a pint instead? Dec 02 17:04:41 pint sounds good.. but it's only 11am here.. :P Dec 02 19:15:48 hello #yocto Dec 02 19:17:10 I have question of simple Dec 02 19:18:32 what is the best way for me to make GUI interfaces on a raspberry pi 3 yocto build? Dec 02 19:21:59 hi everyone! happy friday! Dec 02 19:26:21 whats the best IDE for me to make interactive GUIs with a yocto build on a raspberry pi 3? Dec 02 19:41:17 deup: I think your questions are a little bit misguided and/or being asked at the wrong place. Dec 02 19:42:14 possibly, I'm getting help in another chan, thanks though! Dec 02 19:42:25 I'm a bit new to this realm, so forgive me Dec 02 19:42:32 No problem :) Dec 02 19:52:03 deup: If you have any Yocto questions, go ahead and blast them right here, this is the place :) Dec 02 19:53:22 But I'm not sure the guys here have much to do with IDEs or GUIs in general. But I do know that there are lots of example recipes for building Qt projects into your build. And Qt has lots of nice features for embedded systems. Dec 02 19:53:24 I feel stupid asking this one, but I need to: Why should I build an OS for an RPI3, over using Debian? My end goal is a fullscreened GUI that takes data from temp sensors, some HID devices, some human keyboard input, and outputs it all to databases. Dec 02 19:54:00 Depends. Dec 02 19:54:06 it's for in house QA data gathering, will probably change over time, as most GUIs do. My boss wants a yocto build, but I'm hesitant after looking into it Dec 02 19:54:18 Are you going for mass-pruduction where you need to flash lots of devices on a production line? Dec 02 19:54:35 no, it's just to be a tool, for use on a mass production line, lol Dec 02 19:54:47 Hmm Dec 02 19:55:03 For a one-off unit, it wouldn't make a lot of sense to me. Dec 02 19:55:17 we might make a good 10-20 of them Dec 02 19:55:18 but yeah Dec 02 19:55:36 But your boss may (or may not) have a hidden agenda where he wants you to familiarize yourself with Yocto in case he's got some other future project in mind. Dec 02 19:55:44 oh, good point.... Dec 02 19:55:45 Hello, I have a recipe complaining about missing License file but the license is there, any ideas? https://gist.github.com/strike5150/1765fc01a713bfde7d69f5a98c39673a Dec 02 19:55:47 Keep in mind: Yocto is not a distribution. It's a build system. Dec 02 19:56:01 since we do mass production with embedded windows, and he wants to get away from windows embedded... Dec 02 19:56:42 In that case you should perhaps go elbow deep into Yocto. ;) Dec 02 19:56:51 yeah, I think he has a hidden agenda now that I think about it, lol Dec 02 19:56:58 :) Dec 02 19:57:02 :) Dec 02 19:57:16 thanks for the help there, I hadn't thought about it that way Dec 02 19:57:25 No problem, dude :) Dec 02 19:57:37 I actually have to go AFK Dec 02 19:57:44 peace Dec 02 19:57:46 Take care :) Dec 02 19:59:58 i currently try to enable the coredumper feature of systemd Dec 02 20:00:11 its available via a PACKAGECONFIG Dec 02 20:00:33 my first attempt was PACKAGECONFIG_append_pn-systemd = " coredump" in local.conf Dec 02 20:00:43 no effect Dec 02 20:01:01 next i tried a bbappend file with this content: Dec 02 20:01:13 PACKAGECONFIG_append = " coredump" Dec 02 20:01:20 it gets picked up Dec 02 20:01:33 an the builder warns me about an invalid packageconfig Dec 02 20:02:31 which is strange (at least to me) bc there is: systemd_230.bb:PACKAGECONFIG[coredump] = "--enable-coredump,--disable-coredump" Dec 02 20:02:48 how do i debug this? Dec 02 22:12:56 rburton: thanks :) Dec 02 22:13:19 kergoth: that does sound odd/worrying. I know we part the base config multiple times so is it possible the history just isn't getting reset? Dec 02 22:13:42 I did look into why it was doing multiple times but gave up for some reason when I found out why, can't remember what that was now though :/ Dec 02 22:13:57 possible, i'll open an issue. it's fairly minor, easy to work around. something we should dig further into eventually though Dec 03 00:25:36 hello, I have a quick question.. Is there a way to force a recipe .bb to execute even when building an image that doesn't require it? **** ENDING LOGGING AT Sat Dec 03 03:00:00 2016