**** BEGIN LOGGING AT Wed Mar 07 03:00:01 2018 Mar 07 03:10:32 New news from stackoverflow: ERROR: packagename-0.1-r0 do_compile: Function failed: do_compile Mar 07 04:44:38 How do I build an earlier version of a package? Mar 07 04:45:41 For example, opencv_3.2.bb and opencv-2.4. when I bitbake it will build the latest version, but I want to build an earlier version Mar 07 07:36:47 is there a existing way to inject md5sums into a image tar container ? Mar 07 08:08:11 Good Morning, Mar 07 08:08:25 I'm developing under OE|yocto Mar 07 08:08:40 with different MACHINEs Mar 07 08:09:00 After some time I cannot build populate_sdk_ext for my image Mar 07 08:09:38 I do see following errors: Mar 07 08:09:38 ERROR: Task openssh.do_populate_sysroot attempted to execute unexpectedly and should have been setscened Mar 07 08:09:38 ERROR: Task ntp.do_populate_sysroot attempted to execute unexpectedly and should have been setscened Mar 07 08:09:38 ERROR: Task volatile-binds.do_package_qa attempted to execute unexpectedly and should have been setscened Mar 07 08:09:38 ERROR: Task volatile-binds.do_populate_sysroot attempted to execute unexpectedly and should have been setscened Mar 07 08:09:39 ERROR: Task os-release.do_package_qa attempted to execute unexpectedly and should have been setscened Mar 07 08:09:39 ..... and so on Mar 07 08:09:51 NOTE: "attempted to execute unexpectedly and should have been setscened" errors indicate this may be caused by missing sstate artifacts that were likely produced in earlier builds, but have been subsequently deleted for some reason. Mar 07 08:10:09 I've previously deleted ./build_dir/cache and sstate_cache Mar 07 08:10:14 but this doesn't help Mar 07 08:10:48 Does the above mean that for further development I do need to remove ./build_dir/tmp/* and rebuild everything from scratch ? Mar 07 08:11:31 Is there any other way to fix this? Rebuilding all packages takes around ~3 h...... Mar 07 08:53:56 Any help ? Mar 07 08:53:59 Or ideas? Mar 07 08:57:47 as far i know there are links between your build machine and the generated packages if you start using a different build machine you need to rebuild. Mar 07 08:58:48 you can do build ofloading with icecc Mar 07 08:59:45 ugh you can distribute the build process using icecc but you still need to execute the bitbake command from the 1 machine Mar 07 09:02:56 welhm: I did rebuild, but such errors appear Mar 07 09:03:24 by rebuild you probably mean to remove ./build_dir/conf , sstate-cache , tmp ? Mar 07 09:03:37 and then only build for one, single machine ? Mar 07 09:03:54 and for other machines just deploy another instance of Yocto build ? Mar 07 09:04:03 (I mean another set of directories) ? Mar 07 09:17:56 you can try a -c cleanall to clean it all up Mar 07 09:25:59 -c cleansstate doesn't help Mar 07 09:26:13 welhm: ok, I will try -c cleanall Mar 07 10:00:38 welhem: -c cleanall doesn't help Mar 07 12:16:44 I am trying to change the group for a specific file in "do_install_append". Failed with "chgrp: invalid group: ‘www-data’". But this group is already exist in the system. Should I need to add DEPENDS to some package to make it visible? Mar 07 12:22:27 pn: which package creates the group? Mar 07 12:24:26 kanavin: Am not sure about it. How can find that? Mar 07 12:27:51 pn: I am not sure either, but there are a few web server recipes in meta-oe which do use www-data as a user/group to chmod, and they seem to work. I'd guess they depend on something that installs that user. Mar 07 12:28:23 pn: maybe base-passwd, but again not sure. don't have time to run experiments now :) Mar 07 12:28:59 pn: ah, do you have 'inherit useradd' ? Mar 07 12:29:50 kanavin: Nope. I don't have useradd inherited. Mar 07 12:29:55 pn: then you should Mar 07 12:30:11 kanavin: But I don't want to create any user. Mar 07 12:30:53 but you want to have access to the default user definitions Mar 07 12:31:18 which the inherit also takes care of Mar 07 12:32:00 kanavin: when I inherit it, it fails with missing "USERADD_PACKAGE" and "USERADD_PARAM" in recipe Mar 07 12:34:34 kanavin: Which means, I should use "useradd" always to get access to users and groups in the system? Mar 07 12:34:51 pn: then you probably want to depend on something, like base-files Mar 07 12:35:27 pn: I'm not sure if there's special magic to pick up the passwd/group files provided by that, by default Mar 07 12:35:41 kanavin: I will try with base-files Mar 07 12:40:29 pn: base-files is wrong. I'm not sure which package actually provides /etc/group and /etc/passwd, ignore me :) Mar 07 12:40:39 pn: maybe shadow something Mar 07 14:12:40 New news from stackoverflow: WORKDIR in yocto receipe Mar 07 15:12:50 New news from stackoverflow: C UDP socket cannot receiving data after IP renewal Mar 07 15:37:50 Is somebody familiar with runqemu script ? Mar 07 15:38:03 especially with runqemu-ifup ...... Mar 07 15:38:22 Why is it fiddling with iproute chains? Mar 07 15:38:29 Why do we need to setup NAT there ? Mar 07 16:24:19 so this channel has been quiet all day because I wasn't actually connected Mar 07 16:24:21 :facepalm: Mar 07 16:28:43 any u-boot experts here? I'm trying to run the sandbox build on x86_64, it builds fine but segfaults as soon as I try to run it Mar 07 16:34:14 @rburton that's ok. Once I forgot to turn the engine off of my car and had let it run all night long... Mar 07 16:45:53 hi, i would like to boot linux on an imx6sabrelite board. i use yocto to build kernel uboot... And i put it into sdcard using dd command but when i try to boot with that sdcard i have the error " wrong Image format for bootm, can't get kernel image. thanks in advance for your help Mar 07 16:51:41 nm, figure out the u-boot issue, it was SDL.... Mar 07 16:58:08 hi #yocto, I have a problem with the command 'wic list source-plugins' I get following erroe message: https://paste.ofcode.org/32eT6mGDGtCsNv2YRVepBVG ... what I'm doing wrong? Mar 07 17:06:16 hi, i would like to boot linux on an imx6sabrelite board. i use yocto to build kernel uboot... And i put it into sdcard using dd command but when i try to boot with that sdcard i have the error " wrong Image format for bootm, can't get kernel image for uboot. thanks in advance for your help Mar 07 17:10:58 vladzouth: bootm can boot fitimages. you have a fitimage? Mar 07 17:12:00 at least newer u-boots can boot fitimages... Mar 07 17:12:26 i am newbie, i don't understand what is fitimage, i have an uImage Mar 07 17:13:15 New news from stackoverflow: Kernel module or user space application Mar 07 17:14:24 vladzouth: when you access the bootloader in the board, type help to see all available commands. There are usually some more kinds of boot, like booti. Maybe you try them out, starting with booti Mar 07 17:14:53 booti is, if i remember correctly, for uImage types. Mar 07 17:15:12 correct me when i am wrong plz Mar 07 17:15:44 i don't have booti, i have bootd, bootm, bootp or boot Mar 07 17:17:37 is zImage file will be suitable for that command? Mar 07 17:19:06 hm, i have no documentation atm by hand, so cannot look it up. zImage is a compressed kernel, which is afaik not bootable by bootm as bootm does not uncompress Mar 07 17:21:23 ok! thanksfor helping me. Mar 07 17:30:09 I suppose when using PACKAGECONFIG in a image recipe, using PACKAGESCONFIG[option]=",,," or any other value does not make any sense, right? Is it then necessary to have the ",,," statement at all? Mar 07 17:34:55 veinse: What do you need a packageconfig option if the option doesnt change anything? Mar 07 17:37:18 guenni90: because PACKAGECONFIG[] modifies DEPENDS, while in an image recipe you need to manually add IMAGE_INSTALL="${@bb.utils.contains('PACKAGECONFIG', 'dev', 'package list', '', d)}". AFAIK Mar 07 17:38:42 Unless I'm mistaking Mar 07 17:39:17 I have a problem with the command 'wic list source-plugins' I get following erroe message: https://paste.ofcode.org/32eT6mGDGtCsNv2YRVepBVG ... what I'm doing wrong? Mar 07 17:40:24 well, for installation of packages in an image recipe i just use it like: IMAGE_INSTALL += "pkg1 pk2 pkg3..." Mar 07 17:40:58 using it not for cmake/autotools projects is new to me, but as i see, possible Mar 07 17:41:12 guenni90: then you don't use packageconfigs at all then? Mar 07 17:41:21 not for image-recipes Mar 07 17:48:53 does anybody know where gstreamer1.0-plugins-ugly-mad has gone? my other gst plugins are still building just fine, but i can't seem to install that one on recent versions... Mar 07 18:21:18 a file [libubootenv.a] is required to a recipe from other recipe, how to share a file between recipes, can be simple copy the file or placed it in some deploy directory ? Mar 07 19:23:06 BCMM: see oe-core a963a2e38e246554b7083430710a2aba430df5e5 Mar 07 19:23:13 (hooray git log --grep) Mar 07 19:24:38 rburton_: ah, thanks Mar 07 19:24:44 oh, that's a thing? nice Mar 07 19:24:54 didn't realise gstreamer was lgpl actually Mar 07 19:25:27 JEEB: i have a git alias grog = log -i --grep Mar 07 19:25:49 i know i tried one of those alternative codecs and had some kind of issue, but i cant' remember which of them, or what my problem was. i should start taking notes or something. Mar 07 19:26:20 BCMM: it has nonfree plugins which build against its sdk, so either lgpl or exceptions (or bsd/mit) Mar 07 19:26:43 JEEB: oh, fair point Mar 07 19:26:53 BCMM: libmad is basically dead (and gpl) so there's better alternatives Mar 07 19:26:59 now i'm wondering if the mp3 codec i had issues with was fluendo Mar 07 19:27:15 well, i'll try both of them and see how i get on i guess. thanks! Mar 07 19:27:20 old school! ;) Mar 07 19:28:01 yea, int or float mpX decoder from lavc would be my pick for that format Mar 07 19:28:44 (mpeg-layer 1,2,3 tend to be in the same package) Mar 07 19:29:00 *-1 layer 1, 2, 3 Mar 07 22:48:34 hello, so I want to setup my minimal linux environment to build c++14 code Mar 07 22:50:24 I currently have a c++ program which runs fine on my ubuntu computer but not on my custom linux machine. It would be easiest to try out different solutions on the faulting machine itself. Mar 07 22:51:08 There are also dependencies, but since the program runs the dependencies should already be met yes? Mar 07 22:54:38 I guess the question, in short is, besides adding tools-sdk and tools-debug to EXTRA_IMAGE_FEATURES do I need to do anything else? Mar 07 23:38:54 noway42: should be enough. helps if you say what the error is instead of saying "doesnt work" Mar 08 01:31:05 What's the difference between CORE_IMAGE_EXTRA_INSTALL and IMAGE_INSTALL? Mar 08 01:31:21 When to use one or the other? Mar 08 01:57:19 learningc: CORE_IMAGE_EXTRA_INSTALL is specifically intended for *user* use, i.e. in local.conf. IMAGE_INSTALL is what's really used in the images. the latter cant' be safely set in local.conf, because some recipes set it with ?=, so the user set of it in local.conf can override the image entirely, user has to use _append, which is easy to muck up. so CORE_IMAGE_EXTRA_INSTALL is a less brittle mechanism specifically provided to user rather than to the Mar 08 01:57:19 image itself Mar 08 01:57:37 not the only time we've done that sort of thing Mar 08 01:58:58 So I should always use CORE_IMAGE_EXTRA_INSTALL in my local.conf? Mar 08 01:59:22 assuming the images you're building inherit core-image, yes, absolutely, less error-prone Mar 08 01:59:33 I see. Thanks Mar 08 02:00:53 I'm not a big fan of usage of ?= or ??= in images or classes for this reason. there's no real reason to use it, the recipe can still override the class's default by setting it after the inherit Mar 08 02:01:38 they're useful in config files, but beyond that it tends to cause this sort of issue Mar 08 02:04:21 bb.data_smart.ExpansionError: Failure expanding variable PACKAGECONFIG, expression was ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)} which triggered exception AttributeError: module 'bb.utils' has no attribute 'filter' Mar 08 02:04:33 How can I solve this issue? Mar 08 02:04:41 sounds like mismatched layer branches Mar 08 02:04:51 if one layer is master, they all need to be, if one is morty, they all need to be Mar 08 02:04:55 I need to change branch? Mar 08 02:05:04 i don't understandt heq uestion Mar 08 02:05:14 as i said, every layer you have needs to be on the same branch / release Mar 08 02:05:19 I see Mar 08 02:05:29 if you're using a release version of poky/oe-core, then you'll need to use the release branches on any layers you clone Mar 08 02:05:31 Then how to cange to no btanch? Mar 08 02:05:33 change Mar 08 02:05:40 there's no such thing as no branch Mar 08 02:06:15 I downloaded a git version of yocto and when I chen branch it says no branch Mar 08 02:06:59 Then I downloaded meta-openembedded and branch it to morty Mar 08 02:08:45 again, if you're using the morty branch in one layer, you need to use it everywhere Mar 08 02:17:38 Is master considered a branch? Mar 08 02:21:23 yes Mar 08 02:21:44 master are morty are two different release branches, incompatible Mar 08 02:21:53 and Mar 08 02:45:01 New news from stackoverflow: Embedded system Build-system to use debian pbuilder Mar 08 02:50:53 I've enabled development tools using tools-sdk. But I have a dependency on the library libmicrohttpd. Mar 08 02:51:01 I Mar 08 02:51:23 I can't seem to link to it using g++ -lmicrohttpd. It complains library not found Mar 08 02:51:39 How do I setup my scripts so that libmicrohttpd is discovered? **** ENDING LOGGING AT Thu Mar 08 03:00:02 2018