**** BEGIN LOGGING AT Mon Sep 05 02:59:59 2016 Sep 05 03:29:02 Anybody know why I might get the error "NameError: name 'getkernelVersion_headers' is not defined? Sep 05 08:04:42 good morning Sep 05 08:24:53 Hey guys, I'm trying to compile the hello world kernel module example within yocto. It compiles fine but when I try to insmod it I get a error: invalid module format. Sep 05 08:25:14 I checked with modinfo if it's an actual module, it is. Its an ARMv5 module ment for an omapl138 Sep 05 08:25:53 I tried the other modules compiled during the core-image-minimal build, these have the same behavior. When I compile the hello world manually for x86 the module loads fine. Sep 05 08:26:13 So I'm guessing something is wrong in my Yocto setup, no clue what or how to debug this, any ideas? Sep 05 08:27:02 I validated the kernel sources it's build agianst, these are the correct ones. Validated the kernel magic of the module and the kernel. Also the same. Sep 05 08:51:08 how do i export a env variable with bitbake ? Sep 05 08:51:40 which use shell commands Sep 05 08:53:02 kbo: i just added some documentation on this: https://www.yoctoproject.org/docs/2.2/bitbake-user-manual/bitbake-user-manual.html#exporting-variables-to-the-environment Sep 05 08:53:28 the latest version of the manuals has a lot of new stuff in general, so it's worthwhile to pick those if you're reading through the manuals Sep 05 08:56:58 kbo: see BB_ENV_EXTRAWHITE as well, if you want to let environment variables from the external environment through Sep 05 09:00:33 Ulfalizer: thank you :) Sep 05 09:00:40 np Sep 05 09:03:27 nvm guys found it, binary that was transferd is corrupted... Sep 05 09:03:35 nothing to do with the build process Sep 05 09:08:38 kbo: btw, BB_ENV_EXTRAWHITE doesn't make the imported variables exported within bitbake. just to avoid confusion. :) Sep 05 09:09:11 would have to manually 'export' them still Sep 05 09:09:22 guessing that's unrelated to what you want to do anyway, but just in case Sep 05 10:57:08 hi Sep 05 11:00:40 i have hoping to update geoclue recipe but i can't build the recipe because of gobject-introspection build failing Sep 05 11:01:16 it complains about missing qemu-aarch64 binary, which is not built as part of qemu recipe for some reason Sep 05 11:04:33 anyone has any clue? Sep 05 12:38:44 what is the yocto way to add config files to the created images? For example /etc/syslog.conf. Sep 05 13:01:35 lo, how can I tell bitbake to use the stuff that ends up in the staticdev package to be used as the default? Sep 05 13:03:03 to be used as the default when doing what? Sep 05 13:03:11 when installing the package Sep 05 13:05:13 when installing the package where? Sep 05 13:05:50 If you want it on an image, add it to the list of packages you install on an image (but then again, why would you want static libraries in an image?) Sep 05 13:06:03 yeah no, only in the sysroot Sep 05 13:06:16 I think it's in the sysroot by default, isn't it? Sep 05 13:06:24 the sysroot isn't affected by the packaging split Sep 05 13:13:26 it's a bit a chicken-egg problem I've the impression... I want to build a binary that requires this static library but in my testing environment I don't want all my binaries installed so I just have libraries in my packagegroups, but I can't add this library because it's only a static library... Sep 05 13:15:57 static libraries aren't needed at runtime? Sep 05 13:16:23 Or maybe I don't understand what you are trying to do... Sep 05 13:30:23 no, static libraries aren't needed at runtime. I run my unit tests in a minimal x86 environment so I can valgrind them, there I only have the necessary libraries in my image-packagegroup and then make&run my tests. Now I have a binary that requires a static library and I can't add this library to the image-packagegroup because it only creates a staticdev package and not a regular one that can be installed. Sep 05 13:36:04 jaeckel: first: add then -staticdev package then? Sep 05 13:36:32 jaeckel: second: why do you need it at all? If the static library was linked into your binary statically, you no longer need the .a file? Sep 05 13:36:55 because I rebuild the binary and link it to my test-framework Sep 05 13:37:23 Oh, so you build in this minimal x86 environment? Sep 05 13:38:06 Isn't adding the -staticdev package to this environment the correct solution, then? Sep 05 13:41:04 well I tried but that didn't work Sep 05 13:41:11 I'll have a look soon Sep 05 13:41:59 or better, I won't as someone else will take this over ;-) Sep 05 13:43:42 what is the yocto way to add config files to the created images? For example /etc/syslog.conf Sep 05 13:44:26 have a package install them Sep 05 13:50:08 it's a config file. So a default config is part of the syslog package. But for this one machine i need a different config. Packages (my-config-package) can't overwrite files owned by other packages (syslog). Sep 05 13:50:39 fragfutter: one way would be to bbappend the original package, then. Sep 05 13:51:00 so for this one machine i need to have a different syslog package Sep 05 13:51:50 different phrased, how would i configure the runtime configuration of an image. Sep 05 13:53:10 fragfutter: in the layer that provides the machine, have a bbappend that adds the modified files through a machine name postfix Sep 05 13:54:06 so one generic-machine and one custom-machine is required. Sep 05 13:55:06 fragfutter: i'm just looking for a postfix example, moment please. Sep 05 13:55:26 * fragfutter cues the elevator music Sep 05 13:58:40 fragfutter: something along this: http://www.yoctoproject.org/docs/2.1/bitbake-user-manual/bitbake-user-manual.html#conditional-syntax-overrides Sep 05 14:01:48 'ERROR: Nothing PROVIDES 'compile'' on a simple bitbake $package -c -f compile, any ideas? Sep 05 14:02:03 LetoThe2nd: thanks, will look into it Sep 05 14:07:39 anyone? Sep 05 14:08:36 CTtpollard: shouldn't it be bitbake -f -c compile $package Sep 05 14:09:36 LetoThe2nd: looks like I was referring to dodgy documentation then Sep 05 14:09:50 LetoThe2nd: thanks Sep 05 14:09:52 CTtpollard: just guessing, please give it a try Sep 05 14:09:59 it worked Sep 05 14:10:06 ordering is wrong here https://community.nxp.com/docs/DOC-94953 Sep 05 14:10:31 CTtpollard: ah ok. rationale: the -c flag need a parameter that states the desired command. Sep 05 14:11:44 yep Sep 05 14:13:05 JaMa: I updated recently my BSP... and Qt + EGL + Raspberry is done again... :( Sep 05 14:13:40 I heard that Qt5.8 has changed the configuration/compilation of Qt. I guess my patch won't be needed anymore. Sep 05 14:14:47 present: updated from what version to what? Sep 05 14:16:30 It used to work on krogoth 2 months ago and I'm still on krogoth. Sep 05 14:17:26 *down not doen Sep 05 14:17:28 *done Sep 05 14:18:04 I'll have a look. Did you check the configuration of Qt5.8 already? Sep 05 14:18:16 no Sep 05 14:18:53 I'll probably leave 5.7 -> 5.8 upgrade to someone else as my interest in Qt after 5.6 is fading Sep 05 14:19:21 https://wiki.qt.io/New_Features_in_Qt_5.8 Sep 05 14:19:23 JaMa: k :) Sep 05 14:19:29 and last 5.7 upgrade was just to get something final in latest meta-qt5 instead of 5.7 rc I did earlier Sep 05 14:20:10 "Qt 5.8 comes with a rewritten configuration system" Sep 05 14:21:00 JaMa: Thanks for the job so far anyway ;) Sep 05 14:23:01 Qt5.7 and 5.8 are THE big change for embedded. ;) Sep 05 14:29:34 hossa. during image creation yocto does not check if one package overwrites the files of another. Sep 05 14:45:32 fragfutter: the package manager will object though Sep 05 14:45:59 rburton: but only during runtime. Sep 05 14:47:20 no, rootfs time Sep 05 14:48:02 rburton: no. it just created it fine Sep 05 14:48:10 then there were no file conflicts Sep 05 14:48:45 rburton: they were, i overwrote /etc/service. Using rpm. Querying during runtime: Sep 05 14:48:46 root@vmlb009:~# rpm -qf /etc/services Sep 05 14:48:46 netbase-5.3-r0.core2_64 Sep 05 14:48:46 conffiles-1.0-r0.core2_64 Sep 05 14:49:39 fragfutter: might be a special case because some of the files were declared as configuration files Sep 05 14:49:57 yeah i think rpm and conffiles are a bit magic Sep 05 14:50:30 netbase might have declared it as conffile Sep 05 15:24:56 hey all Sep 05 17:05:36 Hi everyone, may i ask a question Sep 05 17:07:23 i wanna drive rgb lcd NewHaven Display nhd-7.0 Sep 05 17:07:44 must be i do something. Sep 05 17:08:10 i use yocto fido prebuild image on variscite dart6ul cortexa7 Sep 05 17:14:34 Anybody help me please ? **** ENDING LOGGING AT Tue Sep 06 02:59:58 2016