**** BEGIN LOGGING AT Fri Dec 15 03:00:02 2017 Dec 15 11:37:12 is it possible/supported to not build the bootloader? Dec 15 11:37:17 somehting always seems to pull it in for me. I have unset EXTRA_IMAGEDEPENDS. Dec 15 11:37:23 I tried not setting UBOOT_MACHINE but this then generates the error `Nothing PROVIDES 'virtual/bootloader'` Dec 15 12:53:10 What is making sure that the files in the resulting ext4 image generated by do_image_ext4/mkfs.ext4 are root? Dec 15 12:53:19 ..owned? Dec 15 12:57:30 hi Dec 15 12:57:48 I get the following error? ERROR: Task (/home/rama/repositories/poky/meta/recipes-devtools/m4/m4-native_1.4.18.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 105 tasks of which 0 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/rama/repositories/poky/meta/recipes-devtools/m4/m4-native_1.4.18.bb:do_compile Dec 15 12:58:01 anybody has ideas? My setup is this : Dec 15 12:58:21 Build Configuration: BB_VERSION = "1.34.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "ubuntu-14.04" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "apalis-imx6" DISTRO = "poky" DISTRO_VERSION = "2.3.2" TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa9" TARGET_FPU = "hard" meta meta-poky meta-yocto-bsp = "pyro:a75a2f4272226e924d8 Dec 15 12:58:56 apparentls cant paste it all Dec 15 12:59:46 ? Dec 15 13:27:37 New news from stackoverflow: Error oe_runmake failed bitbake? Dec 15 13:41:28 Dear All, Dec 15 13:41:28 Is there any "nice" way to tell OE that it should build binary (e.g. foo) as --static ? Dec 15 13:41:28 Or do I need to add --static to foo_%.bbappend (do_compile) Dec 15 13:50:29 linux-yocto-rt_4.10 is missing the PREEMPT_RT_FULL option. Is this only supported on some kernels? Dec 15 13:56:59 lukma: i know there is DISABLE_STATIC stuff, but don't know the opposite :) Dec 15 13:57:43 New news from stackoverflow: YoctoProject error with automake and system clock Dec 15 14:05:50 I'm having some problem. I appended SDL2. After I bitbake I got libraries available in /usr/lib/ but nothing in /usr/include Dec 15 14:05:58 Where are the headers? Dec 15 14:11:26 learningc: when you say /usr/lib are you talking about recipe sysroot in work folder or in image final rootfs ? Dec 15 14:12:22 the final image .tar.bz2 Nothing in there Dec 15 14:12:59 learningc it's maybe in a ${PN}-dev package ? Dec 15 14:13:58 Where is the location of ${PN}-dev? Dec 15 14:14:30 lukma: if you're using something derived from poky then its automatically passing --disable-static but thats why everyone shouldn't just copy poky. Dec 15 14:14:52 lukma: to force static only then yes you'll need a bbappend to pass --enable-static to EXTRA_OECONF (assuming autotools) Dec 15 14:15:58 rburton: Ok, thanks for clarification.... Dec 15 14:16:32 learningc: yes the headers will be in the -dev package, so make sure you've installed that Dec 15 14:17:20 rburton, How do I install -dev package exactly? Dec 15 14:17:30 learningc> if you added libsdl2 you probably need libsdl2-dev Dec 15 14:17:46 I see Dec 15 14:18:57 Are they header files needed to execute a binary using sdl2? Dec 15 14:19:07 Are the.. Dec 15 14:19:31 nop Dec 15 14:26:13 learningc: you need them at compile time so if you create a recipe depending on sdl2, you'd add DEPENDS = "virtual/libsdl2" Dec 15 14:26:52 I see Dec 15 14:27:24 I'm compiling my application outside of yocto Dec 15 14:27:38 Using the yocto sdk Dec 15 14:28:16 then put my app on target, but somehow I cannot get it to work with directfb Dec 15 14:29:06 I added directfb to DISTRO_FEATURES_append Dec 15 14:31:57 just so you know, saying "it doesn't work" doesn't let anyone help Dec 15 14:42:08 I get message "couldn't init SDL" Dec 15 15:01:35 Is there an equivalent to RRECOMMENDS for a image recipe (e.g. IMAGE_INSTALL_RRECOMMENDS, which would only install the package if it exists?) Dec 15 15:40:30 QA Issue: dfb: Recipe file fetches files and does not have license file information (LIC_FILES_CHKSUM) [license-checksum] Dec 15 15:40:44 Why do I get this message? Dec 15 15:46:12 learningc: recipe should have LIC_FILES_CHKSUM bitbake variable set Dec 15 15:46:44 How do I add one? Dec 15 15:47:17 LIC_FILES_CHKSUM = "" does not work Dec 15 15:50:04 rburton: I've managed to properly craft the EXTRA_OECONF (remove --disable-static and replace it with --enable-static) Dec 15 15:50:28 but even when I know that both programs (grep + coreutils) are using autoconf Dec 15 15:50:35 I do receive: WARNING: coreutils-8.27-r0 do_configure: QA Issue: coreutils: configure was passed unrecognised options: --enable-static [unknown-configure-option] Dec 15 15:51:10 EXTRA_OECONF="--enable-install-program=arch --libexecdir=/usr/lib --disable-acl --enable-xattr --enable-nls --enable-static" Dec 15 15:51:39 Strage thing is that ./configure --help indeed tells that --enable-static is not there Dec 15 15:52:16 : file:///C:/Users/v.prince/VPR/HBOXTC/mm/mega-manual.html#new-recipe-licensing Dec 15 15:52:18 oops Dec 15 15:52:41 www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#new-recipe-licensing Dec 15 16:00:05 WhatLIC_FILES_CHKSUM = "file://COPYING;md5=xxx" Dec 15 16:00:05 Dec 15 16:00:06 When you try to build the software, the build system will produce an error and give you the correct string that you can substitute into the recipe file for a subsequent build Dec 15 16:00:20 Where is the correct string located? Dec 15 16:01:24 learningc: in the recipe file Dec 15 16:01:28 ok, Interned advises to also try "LDFLAGS=-static" Dec 15 16:06:28 I don't understand where in the recipe file. Dec 15 16:06:56 learningc: if that line is absent from the recipe, you can just add it anywhere, preferably towards the beginning. Look at existing recipe files for examples. Dec 15 16:07:33 But where do I locate the correct string? Dec 15 16:07:50 Where are the recipes files? Dec 15 17:01:53 PACKAGECONFIG[directfb] = "--enable-video-directfb,--disable-video-directfb,directfb" Dec 15 17:02:02 What does this line says? Dec 15 17:07:56 see the yocto project documentation, search for PACKAGECONFIG Dec 15 17:09:53 ok Dec 15 17:10:46 If I want to use "enable-video-directfb", what and where do I add? Dec 15 17:11:38 learningc: what is the name of this recipe ? Dec 15 17:11:51 sdl2 Dec 15 17:13:35 learningc: you will need to add something like PACKAGECONFIG_append_pn-libsdl2 = " directfb" in local.conf Dec 15 17:14:18 nayfe, I see. Thanks very much. I think you are going to save my night :) Dec 15 17:18:37 lukma: if you don't want the --disable-static then fix your distro Dec 15 17:19:13 learningc: the docs has a big section on how to use packageconfig, i recommend you read it Dec 15 17:19:40 rburton, ok. Thanks Dec 15 17:20:51 rburton: Hi, question about that patch https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-devtools/automake/automake/performance.patch, it patches "+++ automake-1.15/m4/sanity.m4" but version is 1.15.1, is it broken ? Dec 15 17:21:15 no, the first path component is stripped automatically Dec 15 17:21:32 rburton: ok thanks :) Dec 15 17:22:21 was trying to help https://stackoverflow.com/questions/47833647/yoctoproject-error-with-automake-and-system-clock Dec 15 17:52:06 new to yocto -- wondering if it supports using "repo" for managing repositories? (I found this link, so maybe it's possible -- https://stackoverflow.com/questions/45809241/does-yocto-full-support-using-repo-in-src-uri-of-a-recipe) Dec 15 17:52:21 yocto doesn't care what you use to fetch your repositories, it's up to you Dec 15 17:52:41 that link is about fetching sources for a recipe with repo, not fetching layers with repo, it really depends on what you're trying to accomplish Dec 15 17:54:01 kergoth: thanks -- now I guess I need to read up a little more to understand the distinction you're making... Dec 15 17:56:54 kergoth: said a different way... looking to replace an existing build system that starts with "repo init ...; repo sync; source env.sh; make" with yocto... just not sure how to proceed, exactly. Dec 15 17:58:21 ... do I need to extract the contents of the repo manifest and create a bunch of individual git src uri's, or can I somehow continue to use the repo src uri? Dec 15 17:59:18 bemo: repo tool is handy to manage multiples git repositories, and it is generaly used to initialize Yocto environment Dec 15 18:00:04 nayfe: great... do you happen to know of any examples I might be able to use as a reference? Dec 15 18:00:04 bemo: yocto is not meant to replace git repo managment Dec 15 18:01:02 nayfe: okay, thank you for the clarification... so, technically, I could use whatever tool happens to fetch the sources correctly? (not sure how that fits into recipes yet) Dec 15 18:01:54 bemo: recipes can use any fetch method, so you can support git repo fetching Dec 15 18:02:13 the bible: http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html Dec 15 18:02:28 e.g., "curl", "rsync", "scp", "johns_xfer_protcol_55" Dec 15 18:03:00 ssh git http ftp file ... Dec 15 18:03:33 bemo: what you can do is make a recipe for each build element instead of having a big make Dec 15 18:04:19 nayfe: okay, I think I get what you're saying... thanks. Dec 15 18:05:40 nayfe: now off to keep reading. :) Dec 15 18:58:44 New news from stackoverflow: what is a reference distribution? Dec 15 22:19:11 Hi, im having a problem with yocto to build an image. The error is "Check your system clock" and all files, error message and logs are here on my github repository: https://github.com/prsolucoes/docker-yocto Dec 15 22:19:15 Can anyone help me? Dec 15 23:25:24 what's the time on your machine? Dec 15 23:30:07 (sounds like the time on your machine is in the past -- so the build is complaining that your latest generated files are actually older than the original sources, which shouldn't happen) Dec 15 23:30:36 prsolucoes: we put the build time in /etc and know that if the RTC says its earlier than the build time we can tell the user their clock is broken Dec 16 00:47:26 @rburton but we can bypass if? Dec 16 01:15:17 Hi, im having a problem with yocto to build an image. The error is "Check your system clock" and all files, error message and logs are here on my github repository: https://github.com/prsolucoes/docker-yocto Can anyone help me? **** ENDING LOGGING AT Sat Dec 16 03:00:01 2017