**** BEGIN LOGGING AT Thu Dec 14 03:00:01 2017 Dec 14 07:23:35 Hi there, is there a way to select individual recipe priorities with bitbake? Dec 14 07:24:02 I have a build in which a recipe is slow to build, but it's selected among the last ones to be built. Dec 14 07:24:15 And I want to make sure it gets selected as fast as possible. Dec 14 07:30:45 spooky_d, you might be able to "cheat" and make some other early package (like "bash") depend on your package, but I can't say I would at all recommend it. Dec 14 07:31:28 no, I wouldn't either, I just hoped I could bump the priority of the tasks in that recipe - I don't want to create fake bindings. Dec 14 07:31:49 fake dependencies, I mean, it's early here :( Dec 14 07:35:37 if you have the hardware that can take it, then use a jobs # and a parallel pkg # that unleashes bitbake to unravel the dependency maze and get at the work that needs to be done. Dec 14 07:36:19 Granted, I know that isn't an option for some people working on older kit with limited budget. Dec 14 08:06:41 I do have the hardware, but the problem is that the way bitbake selects tasks, this one gets selected last, and it's a shame. :) it's the kind of task I want to happen in parallel with all other builds. Dec 14 09:06:38 i don't remember, what's the command to generate mega-manual pdf/latex ? Dec 14 09:22:36 nayfe: make something, have a look at the makefile? maybe make pdf ? Dec 14 09:23:48 nayfe: make pdf DOC=ref-manual Dec 14 09:24:08 nayfe: er, meta-manual in there :) Dec 14 09:26:37 RP: thanks, i was in poky/documentation/mega-manual folder and can't find any Makefile, didnt though about going to parent folder ... i'll take one more coffee :D Dec 14 09:30:42 RP: btw, building documentation is not in documentation :) Dec 14 09:37:12 RP: hi there. I noticed that setting COMPATIBLE_HOST_aarch64 = "null" to mask an inappropriate image still logs an ERROR about missing provider. Same using raise bb.parse.SkipPackage() Dec 14 09:37:48 iirc if we purposedly 'masked' a recipe this was not logged as error Dec 14 09:39:10 nayfe: go up a level Dec 14 09:40:02 ant_work: doesn't that mean something is still depending on it? Dec 14 09:40:20 I checked and no, no deps Dec 14 09:40:54 ant_work: is that format how other recipes do it? Dec 14 09:42:27 well, it was taken from existent recipes Dec 14 09:45:06 §I'll recheck but it seems to me that just having the unused image in the layer triggers the error in the logs Dec 14 10:19:51 New news from stackoverflow: Patch does not apply bitbake error? Dec 14 11:50:08 New news from stackoverflow: ParseError after adding meta-oe layer Could not inherit file classes/autotools_stage.bbclass? **** BEGIN LOGGING AT Thu Dec 14 12:51:01 2017 Dec 14 13:21:19 hi Dec 14 13:21:46 meow: hi Dec 14 13:22:38 I made the setup as you suggested Dec 14 13:23:01 I was able to successfully add meta-virtualization layer as well Dec 14 13:23:14 But when I add meta-mender-core from here https://github.com/mendersoftware/meta-mender Dec 14 13:23:26 and switch it to pyro branch ir gives me an error Dec 14 13:23:41 meta-virtualization branch works on pyro so I assumed all layers must be switched to pyro? Dec 14 13:24:00 meow: in fact, you need to understand repo tool Dec 14 13:24:35 repo uses a manifest.xml file to specify which git repository you want and which version you need Dec 14 13:25:17 so when you do "repo init -u http://git.toradex.com/toradex-bsp-platform.git -b LinuxImageV2.7" it creates a .repo folder, and repo sync fetch every git repo used Dec 14 13:25:50 so if you want to change meta layers branches, you have to modify oe-core/.repo/manifest.xml file with correct branches Dec 14 13:26:12 I see Dec 14 13:26:31 where is this .repo? Dec 14 13:26:46 where you made repo init Dec 14 13:26:50 i was just doing git checkout for the repo I manually cloned and added Dec 14 13:27:38 ls Dec 14 13:27:42 here: https://developer.toradex.com/knowledge-base/board-support-package/openembedded-(core)#V21_and_Later_Images it says how to initiate the entire environment Dec 14 13:28:28 with mkdir oe-core; cd oe-core ; repo init -u http://git.toradex.com/toradex-bsp-platform.git -b LinuxImageV2.7; repo sync; . export Dec 14 13:28:37 I am able to bitbake images Dec 14 13:28:47 without the meta-mender-core layer Dec 14 13:29:04 I already setup what is on that page Dec 14 13:29:31 ls Dec 14 13:29:51 in oe-core I only have build, deploy export and layers Dec 14 13:30:25 there is no repo and its where i did repo init Dec 14 13:30:37 it's hidden .repo Dec 14 13:33:04 meow, what i suggest you is to clone http://git.toradex.com/toradex-bsp-platform.git, checkout latest branch (git checkout LinuxImageV2.8-next) and modify default.xml with your needed branches, and use this to initialize your environment Dec 14 13:33:32 fork it to github for instance Dec 14 13:34:23 I found it but cannot seem to open it Dec 14 13:34:30 it is calle ./.repo Dec 14 13:35:04 that's a folder and inside it there is a symlink called manifest.xml Dec 14 13:36:45 they all seem to be using morty or master branch Dec 14 13:37:08 does that mean I should switch my branches to morty rather than pyro? Dec 14 13:37:22 it's because toradex provides some tested environments Dec 14 13:37:32 so the way to add repo is to add them here instead of directly pulling? Dec 14 13:37:46 *cloning Dec 14 13:38:04 I see, okay I will try with the morty branch then Dec 14 13:38:06 thank you Dec 14 13:38:48 when I add the git repo do i need to specify the branch as well? or is it automatically switched to the right one? Dec 14 13:39:15 you can go directly with rocko branch by doing "repo init -b LinuxImageV2.8-next" Dec 14 13:39:56 or pickup another env. tag here http://git.toradex.com/cgit/toradex-bsp-platform.git/refs/tags Dec 14 13:39:59 okay, but I need it in pyro branch, how do I do that? Dec 14 13:40:10 one of my layers is specific about this Dec 14 13:40:51 you can mix layers branches Dec 14 13:41:18 so I need to specify it in the mnaifest file? Dec 14 13:41:24 as upstream Dec 14 13:41:48 yep Dec 14 13:41:50 sorry for noob questions, I find this very confusing Dec 14 13:42:06 thank you, I will try to add the repo to manifest file Dec 14 13:42:11 repo is just convenient tool to handle lots of git repo Dec 14 13:42:44 got it, im just generally new to bitbaking, and have been struggling to get it running for a week Dec 14 13:43:05 i need to get meta-mender-core up and running and somehow doesnt go well with my env Dec 14 13:43:24 meow: i'm not a toradex guy, but it looks like they jump pyro version (sagner?) Dec 14 13:43:44 jump pyro? Dec 14 13:43:55 so they dont have one? Dec 14 13:44:54 meow: looks like there is morty and rocko in -next, but no pyro Dec 14 13:45:50 but i think you can use rocko latest stuff and have mender layer in pyro Dec 14 13:47:00 Hi all, I was in here the other day asking about rocko and u-boot issues I was having with swig missing. I fixed my issues by adding swig-native as a DEPENDS, but I also had to soft think inside the ../hosttools directory. Dec 14 13:47:50 meow: last thing, it is better when you make changes on manifest.xml to have your own git repo to host those changes Dec 14 13:48:35 so when i add my repo to the manifest I should not specify the branch it does it automatically? Dec 14 13:52:21 meow: what i mean is that you must have your own git repo to initialize google repo tool Dec 14 13:52:57 because if there is any change upstream, your local changes will be erased Dec 14 13:54:13 okay go it, thanks! Dec 14 13:56:12 zeddii: any luck with figuring out the selftest? Dec 14 13:59:02 meow> in the same time you can make an issue on mender github to have a rocko branch :) Dec 14 14:02:26 I now get the following error after having added the layers in morty branch Dec 14 14:02:28 ERROR: Task (virtual:native:/home/rama/repositories/oe-core/build/../layers/openembedded-core/meta/recipes-connectivity/openssl/openssl_1.0.2j.bb:do_compile) failed with exit code '1' Dec 14 14:23:03 New news from stackoverflow: Bitbake error openembedded-core/meta/recipes-connectivity/openssl/openssl_1.0.2j.bb:do_compile) failed with exit code '1'? Dec 14 14:26:34 gnupg recommends pinentry, is there a way to make it not be included on the image anyway? Dec 14 14:28:59 alexlarsson: yes, you can disable installation of recommended packages Dec 14 14:29:17 That is not what i want though, that will drop all recommended packages, no? Dec 14 14:30:14 alexlarsson: yeah. in that case, you can probably turn pinentry into a PACKAGECONFIG-style option Dec 14 14:30:45 alexlarsson: or there is also some kind of specific package exclude mechanism, I think Dec 14 14:31:33 alexlarsson: yes - BAD_RECOMMENDATIONS Dec 14 14:32:04 kanavin: thanks! Dec 14 14:38:09 Is there a way to disable x service after build ? Dec 14 14:38:22 I always get the terminal in the hdmi output Dec 14 14:38:57 Is there a way to kill it (after build, from shell command in target) Dec 14 14:39:59 I don't have /etc/inittab Dec 14 14:42:42 RP: yes and no on the selftest work. Dec 14 14:42:47 It failed last night Dec 14 14:42:54 So I manually booted and logged in Dec 14 14:42:59 and now the selftest is passing Dec 14 14:43:03 grrr Dec 14 14:43:26 Is there a log I can find of the actual test to see what the "passed" one did ? Dec 14 14:43:48 ranran: do you need x11 in your image ? (maybe remove x11 image feature ?) Dec 14 14:44:42 no Dec 14 14:44:59 If I knew I would use fb distro, but now I want just to disable it Dec 14 14:45:09 is it possible ? Dec 14 14:45:17 in a running target ? Dec 14 14:46:03 I have tried "systemctl set-default multi-user.target" , which did disable the desktop, but I still get xterm terminal, and can't get rid of it. Dec 14 14:46:15 desktop is gnome Dec 14 14:46:38 when I try to kill getty process, another one is created. Dec 14 14:47:22 is it possible to redirect stdout maybe to somewhere else (not hdmi) ? Dec 14 14:48:04 ranran: are you using systemd or sysvinit ? Dec 14 14:48:18 systemd Dec 14 14:51:43 ranran: so don't want any output ? no console, no nothing ? Dec 14 14:53:10 New news from stackoverflow: Yocto iotivity query Dec 14 14:53:22 ranran: in that case, you can remove console u-boot env. variable or unset any hdmi related Dec 14 14:56:51 nayfe, I am using qt5 and gstreamer Dec 14 14:57:13 I already tried to remove console u-boot env, it did not help, I still see terminal in hdmi Dec 14 14:57:44 RP: yah, it is now passing for me: https://pastebin.com/iA0vxrmD https://pastebin.com/ved4xvbQ Dec 14 14:58:09 ranran: cat /proc/cmdline ? Dec 14 14:58:47 I checked that, it has no console in it. Dec 14 14:58:55 I totally removed console Dec 14 14:58:59 nayfe Dec 14 14:59:59 hum, I have an application that DEPENDS and RDEPENDS on ncurses Dec 14 15:00:26 when building the SDK using populate_sdk, I don't get ncurses-dev in the SDK Dec 14 15:00:49 SDKIMAGE_FEATURES correctly contains dev-pkgs Dec 14 15:04:08 zeddii: you found a fix? Dec 14 15:05:48 ranran: don't know Dec 14 15:06:45 RP: no. that's the problem. I didn't change anything yet :( Dec 14 15:08:04 nayfe, it show: rootwait console=ttymxc0,115200 Dec 14 15:10:09 zeddii: ah :/ Dec 14 15:10:56 I'm running it on a loop now. hopefully it'll fail and I can see the logs .. since I've figured out all the moving parts now Dec 14 16:13:11 vmeson: https://wiki.yoctoproject.org/wiki/TipsAndTricks/DebuggingHardQemuFailures Dec 14 16:14:49 ok, for whatever reason, the complementary list is empty Dec 14 16:18:03 zeddii: I'm also seeing if I can make it fail here. There were a ton of these failed on the autobuilder, I then reproduced locally, reverted the patch, it worked, I reported it. Very odd Dec 14 16:21:16 do the default compiling options build the at86rf230 module into the kernel? and where could i find this information if i have more questions in the future Dec 14 16:23:27 Hey all. I'm curious, the recipe 'linux-wandboard' doesn't appear in the OE Layer Index for Rocko but does for master and Pyro. Anyone know why it wouldn't appear in Rocko branch? Dec 14 16:25:35 It's present in meta-freescale-3rdparty github Rocko branch. Dec 14 16:29:56 majuk: maybe because it uses linux-fslc by default now ? Dec 14 16:30:09 'it'? Dec 14 16:31:38 majuk: forget it :) Dec 14 16:31:43 Wandboard? Maybe. Dec 14 16:31:59 Just curious that it would still be present in Master if that were the case. Dec 14 16:32:49 majuk,otavio: you know why http://layers.openembedded.org/layerindex/branch/rocko/recipes/?q=linux-wandboard returns nothing ? Dec 14 16:34:01 Is it possible to instruct bb to disable network fetching/downloads and only rely on the local download cache? Dec 14 16:34:15 sveinse: BB_NO_NETWORK Dec 14 16:34:19 thanks Dec 14 16:36:30 https://www.irccloud.com/pastebin/wLr9MZl0/ Dec 14 16:37:18 Is oposite also possible? to only execute download of the recipes and stop Dec 14 16:37:31 bitbake -c fetchall Dec 14 16:37:56 brilliant Dec 14 16:45:26 nayfe: learned a few things here. BB_GENERATE_MIRROR_TARBALL isn't a prerequisite for using own-mirrors, it is? It's just for convenience/space savings, right? Dec 14 16:46:09 the former would generate the scm tarballs to use to populate the mirror that you'd then use for own-mirrors. it's used in creation of the mirror, not using the mirror. Dec 14 16:46:48 it won't pull scm repositories from a directory used as a mirror, only a directory used as DL_DIR. if the former, then you'd need to generate mirror tarballs to avoid contacting upstream for scm recipes Dec 14 16:47:05 so the pastebin above is somewhat a mashup of the two stages? Dec 14 16:49:18 sveinse: indeed :) Dec 14 16:54:48 zeddii: I just booted it and there is something odd going on. It appears to be swallowing the first character on the serial line Dec 14 16:55:12 zeddii: so "root" becomes "oot" and I can't login first time Dec 14 16:55:45 That typically happens if there are two processes reading the ttyS line Dec 14 16:56:07 interesting. Dec 14 16:56:11 * zeddii ponders Dec 14 16:56:47 or broken serial driver :) Dec 14 17:00:27 I've seens this mostly on embedded system if a) the system is setup to serve tty on ttyS0 and that the kernel is set with console=ttyS0, in which it starts a tty on /dev/console. Your case might of course be different Dec 14 17:03:07 zeddii: I just put in a print to the serial output in the testimage code and confirmed it only sees echo of "oot" Dec 14 17:03:18 sveinse ya, thats what I've seen as well.. which is why I tend to only open default consoles on /dev/console and use the kernel to regulate Dec 14 17:06:11 zeddii: I'm also puzzled, you updated to 4.12.16 but https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/log/?h=linux-4.12.y has only 4.12.14 ? Dec 14 17:09:51 Hmm, with BB_NO_NETWORK = "1" and I get: NOTE: Fetching uninative binary shim from http://downloads.yoctoproject.org/releases/uninative/1.7/x86_64-nativesdk-libc.tar.bz2 Dec 14 17:11:35 ok, debianutils-native is apparently not able to function with BB_NO_NETWORK, from a mirror that has been populated with -c fetchall Dec 14 17:16:24 nayfe: the wandboard has it on meta-freescale-3rdparty Dec 14 17:16:29 ERROR: debianutils-native-4.8.1.1-r0 do_fetch: Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command /usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /srv/builds/standard-benchmark/build/downloads Dec 14 17:16:34 nayfe: I think the layers is outdated Dec 14 17:16:34 'http://snapshot.debian.org/archive/debian/20170402T211732Z/pool/main/d/debianutils/debianutils_4.8.1.1.tar.xz' (for url http://snapshot.debian.org/archive/debian/20170402T211732Z/pool/main/d/debianutils/debianutils_4.8.1.1.tar.xz) Dec 14 17:17:45 otavio: sure, i think majuk question was just about http://layers.openembedded.org website Dec 14 17:29:44 How can I see why a package is pulled into the build? like reverse dependencies. Dec 14 17:31:18 nayfe: right; majuk I think it is outdated. Dec 14 17:31:45 otavio: Ok, thanks for your time. Dec 14 17:31:50 nayfe: You too. Dec 14 17:39:58 I'm building vanilla poky rocko, and the only additional local.conf I use is DISTRO_FEATURES += " pam x11 opengl" (for me to build core-image-lsb), and I get this failure: https://bpaste.net/show/02127f3597fc Dec 14 18:25:25 Have I missed something since glibc-locale in rocko isn't building? Dec 14 19:08:24 is it possible/supported to not build the bootloader? Dec 14 19:09:15 somehting always seems to pull it in for me. I have unset EXTRA_IMAGEDEPENDS. Dec 14 19:10:08 I tried not setting UBOOT_MACHINE but this then generates the error `Nothing PROVIDES 'virtual/bootloader'` Dec 14 19:40:44 I'm looking for a clue, is there a list of events and the order/what triggers them? Dec 14 19:40:55 I need to run something AFTER ConfigParsed.. but before the actual build starts.. Dec 14 19:46:22 fray: not sure there is a reference, but looking through the code I'm not sure there is such an event Dec 14 19:46:59 fray: you could catch BuildStarted though, your handler should be processed before tasks start executing Dec 14 19:48:41 ParseCompleted MAY be what I want.. Dec 14 19:48:52 ya, that seems to have worked.. Dec 14 19:49:19 I'm trying to identify if a specific configuration is out of whack.. I would normally use ConfigParsed.. but ti turns out that there is another event that is actually setting the variable in ConfigParsed.. :P Dec 14 19:49:24 so I need to run it AFTER.. somehow Dec 14 19:49:54 fray: ah ok Dec 14 19:50:37 ah yes of course... so ConfigParsed is just after loading the global config, ParseCompleted is after loading all recipes into the cache Dec 14 19:50:47 ya Dec 14 19:50:54 yay naming :) Dec 14 19:50:55 tkaes a bit longer, but should do what I need.. Dec 14 20:18:19 the granery/garage are directly west of the house Dec 14 21:23:20 pyro does not fail to build on vanilla poky it seems, only rocko Dec 14 22:24:40 New news from stackoverflow: How to disable a Virtual Terminal in Yocto Linux **** ENDING LOGGING AT Fri Dec 15 03:00:02 2017