**** BEGIN LOGGING AT Tue Mar 07 03:00:03 2017 Mar 07 03:11:48 anybody else get a linker fail with nss on morty? Mar 07 03:12:15 the infamous hardened build host has gold as default Mar 07 03:12:55 nss fails with/without ld-is-gold in distro_features... Mar 07 03:15:15 * nerdboy just trying to build boundary-eval-image with vanilla (upstream) manifest Mar 07 04:01:04 khem: I'll only have a usable build machine on Thursday ... will do it later Mar 07 05:51:52 ok np Mar 07 07:50:55 hello Mar 07 07:54:04 I'm trying to build "perf" profiling tool using poky 1.7.3 Mar 07 07:54:37 the build fails, complaining about missing headers Mar 07 07:54:52 http://paste.debian.net/918522/ Mar 07 07:56:15 I'm obviously missing something, could someone help please ? Mar 07 08:05:49 hi, when I enable dev-pkgs the task "do_rootfs" fails with the error error: "argp-standalone-dev-1.3-r0 conflicts with argp-standalone = 1.3-r0" Mar 07 08:06:41 image is core-image-full-cmdline, i use musl, target is the zybo board from meta-xilinx Mar 07 08:10:20 now I disabled the dev-pkgs, then the image bitbake ran fine, but populate_sdk failed with the same old error Mar 07 08:18:33 has anyone looked into f2fs rootfs support? Mar 07 08:21:21 hmm, looks fairly straightforward to do Mar 07 08:21:38 I switched back to default libc (glibc I assume) and am trying again. Mar 07 08:22:05 also, why does it build mesa and gstreamer when I don't think I have a package that uses X... Mar 07 08:26:53 yourfate: try bitbake -g core-image-full-cmdline Mar 07 08:27:29 sec, the bitbake with glibc intead of musl is still running Mar 07 08:27:35 and then `grep gstreamer pn-depends.dot` Mar 07 08:27:37 what are contents of argp-standalone-dev and argp-standalone ipks Mar 07 08:27:38 oki Mar 07 08:28:17 glibc based systems dont use argp-standalone so you wont run into this error with glibc but the problem still remains Mar 07 08:28:18 ah, -g builds graphic dependency treee, nice Mar 07 08:28:28 yup Mar 07 08:28:33 khem: where do I find those Mar 07 08:28:39 but looking at the generated graphs is pain, so I usually just grep Mar 07 08:28:45 :D Mar 07 08:28:47 brb Mar 07 08:28:49 in the builddir for argp-standalone Mar 07 08:29:05 go under packages-split Mar 07 08:29:17 and it will have directories corresponding to each ipk Mar 07 08:29:21 inspect the content Mar 07 08:29:47 a conflict would mean there is some duplication probably Mar 07 08:38:31 so I assume under build/tmp/work ? there are toons of packages-split folders in there somewhere according to find . :D Mar 07 08:39:22 yourfate: go into argp-standalone dir Mar 07 08:39:46 under build/tmp/work// dir Mar 07 08:42:11 hmm, that directory is empty Mar 07 08:42:37 bitbake -ccleansstate argp-standalone && bitbake argp-standalone Mar 07 08:42:54 it could be that it was used from sstate Mar 07 08:44:21 ok, after the current bitbake finishes. this will take quite a while I suppose as It probably has to rebuild everything right now, after switching from musl to glibc Mar 07 08:45:24 thanks so far tought :) Mar 07 08:45:30 +h Mar 07 09:12:36 any clue for this "perf" build issue ? http://paste.debian.net/918522/ Mar 07 09:23:37 apelete: it looks like there is something wrong with the kernel headers but I don't know what specifically Mar 07 09:29:33 RP: another hint about menuconfig/ncurses. Only kernel is failing do_menuconfig: for busybox is ok. Mar 07 10:48:06 maxin: there? Mar 07 10:48:58 Hi guys, anyone knows which is the package that causes the installation of the file "/etc/locale.conf"? Mar 07 10:50:10 try oe-pkgdata-util find-path /etc/locale.conf Mar 07 11:08:25 ERROR: Unable to find any package producing path /etc/locale.conf Mar 07 11:09:40 I've executed the command from my build dir Mar 07 11:10:04 after the execution of the "source oe-init-build-env build_imx6qsabresd" command Mar 07 11:10:10 correct? Mar 07 11:11:17 hello Mar 07 11:11:54 what is the correct way to run bitbake-layers if you want to peek into the yocto project? invoke with path or set PATH env to include its dir? Mar 07 11:12:51 robsta: run oe-init-build-env first to get the paths all set up right Mar 07 11:12:58 source it, that is Mar 07 11:13:51 rburton: ping Mar 07 11:14:14 rburton: someone here insists on wrapping oe-init-build-env so maybe that's where things go belly up Mar 07 11:14:36 rburton: where do patches for yocto-autobuilder tree go? Mar 07 11:14:43 kanavin: yocto@ Mar 07 11:15:06 maxin: would http://errors.yoctoproject.org/Errors/Details/134742/ be something caused by the useradd fixes you sent? Mar 07 11:15:57 rburton: thanks :) I'm going to disable lib64-core-image-sato-sdk as it was working more by accident than anything Mar 07 11:16:09 rburton: checking Mar 07 11:18:20 rburton: possibly. I will test it with lib32-dbus Mar 07 11:33:44 maxin: I think its the removal of the PSEUDO piece in that patch you sent Mar 07 11:34:28 kanavin: you're worrying me a little ;-) Mar 07 11:35:10 RP: for some strange reasons, it didn't fail with rpm (failing now with ipk) Mar 07 11:35:56 RP: didn't fail with deb either Mar 07 11:36:20 RP: will look into the PSEUDO part, thanks Mar 07 11:36:29 maxin: we're lacking good tests for a lot of the useradd pieces :( Mar 07 11:37:09 RP: true, documentation as well Mar 07 11:38:20 maxin: please add comments liberally whilst you fix :) Mar 07 11:39:09 rburton: will do :) Mar 07 11:40:21 cheers Mar 07 11:41:53 RP: the issue is that noarch packages pull in 32 bit dependencies, while the bulk of the system is made of lib64- stuff, then clashes happen Mar 07 11:42:54 RP: it worked with rpm5 because it does some very convoluted remapping of package names and architectures at package creation time, and then again at package install time, which I do not want to repeat Mar 07 11:43:39 kanavin: well, simply dropping that case really isn't going to work Mar 07 11:44:21 kanavin: when you say convoluted remapping, you mean dropping the multilib prefix and using the elf colours or flavours or whatever they were? Mar 07 11:45:01 moving the multilib prefix into the package architecture Mar 07 11:45:25 and then doing it again when installing packages into an image Mar 07 11:46:18 kanavin: well, there are two points you have to map OE names to rpm names, yes Mar 07 11:55:01 RP: why remap though? Fedora and opensuse don't do it, and we should follow that Mar 07 11:55:39 (I mean that multilib prefix/suffix stays in the package name) Mar 07 12:03:49 kanavin: I'm not saying we should remap, we do need core-image-sato-sdk to work though Mar 07 12:04:27 kanavin: in the rpm5 world this was the way multilibs were designed to work. I don't know enough about the differences with rpm4 to know how it should work there Mar 07 12:05:19 RP: core-image-sato-sdk does work, what does not work is lib64-core-image-sato-sdk Mar 07 12:09:52 it does not work because dnf tries to install a mixture of lib32 and lib64 packages into it, and they clash Mar 07 12:11:56 I guess I should try to fix it though Mar 07 12:16:13 kanavin: is there any similarities between rpm and deb here ? In this case, just ipk seems to fail. Mar 07 12:17:49 maxin: I don't know to be honest - deb isn't tested with multilib at all, and ipk gets only minimal testing Mar 07 12:19:40 kanavin: thanks, just wanted to know if it was a known bug .. Mar 07 12:24:23 kanavin: sorry, I meant that we need to find a way to make lib64-core-image-sato-sdk work Mar 07 12:25:13 RP: yes, I've already reverted my attempt to simplify things :) Mar 07 12:25:23 the remaping is back :) Mar 07 12:25:29 is 'BB_STRICT_CHECKSUM = 0' still a thing for overriding the md5/sha256 checking in specific recipes? Mar 07 12:26:33 kanavin: I'm not keen on the remapping fwiw, its the fact those images to work currently that we need to retain Mar 07 12:28:21 RP: yeah, I'd need to figure out how to translate lib64-stuff into stuff.lib64_somearch (and then give it to dnf), that isn't too convoluted Mar 07 12:28:43 RP: the code that's there for smart I did not like, at all :) hence the attempt to drop the remapping Mar 07 12:33:28 hello, what would be the best way to have a different kernel config for different images Mar 07 12:33:29 ? Mar 07 12:33:38 but same machine Mar 07 13:54:57 Has anybody had any luck with using qbs (next generation qmake) buildsystem in a recipe? Mar 07 13:56:50 I have gotten as far as to verify that there is no qbs.bbclass in the qt5-meta/class directory... Mar 07 13:57:03 patches welcome! Mar 07 13:57:15 So I would gladly help in making such... but I am not sure how to get started Mar 07 13:58:06 just implement do_configure do_compile do_install in a class Mar 07 13:58:32 waf.bbclass is about a minimal as it gets, with a few bits to eg transform PARALLEL_MAKE into the right syntax for waf Mar 07 13:59:14 Cool, thanks. Mar 07 14:02:43 maxin, kanavin: is jku around? Mar 07 14:03:38 rburton: no idea, I am at home today Mar 07 14:09:21 anyone know why only libf2fs.* is picked up when building f2fs, and not e. g. mkfs.f2fs? Mar 07 14:10:41 it should be a plain autotools recipe Mar 07 14:22:34 seems like it doesn't like /sbin Mar 07 15:16:45 Hello! Mar 07 15:16:48 Can Yocto export its toolchain without including the whole SDK ? Mar 07 15:16:53 The dream goal is to export something with the same structure as something like gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabihf.tar.xz Mar 07 15:17:14 mjourdan: "bitbake meta-toolchain" is probably similarish Mar 07 15:18:16 Alright thanks I'll try that Mar 07 15:28:13 hi, why does the kernel package not remove the uImage belonging to the previously installed kernel-image package? Mar 07 15:36:47 is there any feature added for cleanup? I understand that it may help to leave the old kernel around should the new one not boot, but the uImage is 2 MBs, and it is quite a critical size on our very limited board. Mar 07 15:37:08 I wanted to ask, for infotainment development, what do you think will be the most used programming language Mar 07 15:37:16 and are there any third party apps developed for infotainment Mar 07 15:56:13 YPTM: Ready-Access Number: 8007302996 Access Code: 2705751 Mar 07 15:56:22 YPTM: Stephen joined Mar 07 15:58:20 YPTM: Joshua joined Mar 07 15:58:52 YPTM - armin is on Mar 07 16:00:00 YPTM - stephano is on Mar 07 16:00:35 YPTM: Sona is on Mar 07 16:01:26 YPTM ross on Mar 07 16:01:59 YPTM: Richard joined Mar 07 16:03:56 YPTM: Saul joined Mar 07 16:05:14 I am trying to get CII badge for Yocto Project. I have started to fill the application, I haven’t submitted yet: https://bestpractices.coreinfrastructure.org/projects/765 Mar 07 16:14:30 armpit: are you trying to say something? Mar 07 16:17:45 lol, I realized you must be referring to a telecon Mar 07 16:21:06 meta-spdxscanner Mar 07 16:24:52 * armpit dropped to head to other meeting Mar 07 16:26:49 YPTM is over. Mar 07 16:29:10 i just built a poky image with bitbake. where is it? Mar 07 16:29:39 tmp/deploy/images Mar 07 16:29:53 where is tmp? Mar 07 16:29:56 relatively to cwd of the completed command invocation Mar 07 16:30:05 please read the docs Mar 07 16:30:08 there is no tmp directory in the cwd Mar 07 16:31:00 do you mean TMPDIR? Mar 07 16:31:28 yes, you do Mar 07 16:33:14 by the way, i did read the docs. specifically the quickstart guide Mar 07 16:33:32 it doesn't tell you where "tmp" is, or how to change it with TMPDIR Mar 07 16:33:45 it just tells me the same (incorrect) thing you just did Mar 07 16:34:58 sure, the quickstart doesn't assume you've changed TMPDIR Mar 07 16:37:46 and why on earth is the build result in tmp anyway? rather than somewhere sensible like the build directory, where one might expect it? Mar 07 16:38:28 the vague rationale from a decade ago was "this is generated, so in tmp" Mar 07 16:38:37 it isn't really correct to say the quickstart assumes i haven't changed TMPDIR Mar 07 16:38:48 tmp is going to be TMPDIR whether i changed it or not Mar 07 16:39:12 change DEPLOY_DIR if you really want it somewhere else Mar 07 16:39:18 it is by default a subdir of the buldir, I don't think that's strange Mar 07 16:39:28 it's not /tmp on your host... Mar 07 16:40:10 That would be slightly un-sensible :) Mar 07 16:40:15 why? Mar 07 16:40:36 Because you'd lose everything on reboot Mar 07 16:40:43 because tmp may be far too small, and on many modern systems you can't execute from /tmp which would make putting a compiler in there tricky Mar 07 16:40:43 so? it's temporary Mar 07 16:41:03 any directory named tmp must be able to gracefully handle arbitrary deletion of files at any time Mar 07 16:41:24 which is why it is strange the put the final build result in there Mar 07 16:41:30 rename it then. Mar 07 16:41:34 change DEPLOY_DIR Mar 07 16:41:35 whatever Mar 07 16:41:39 okay Mar 07 16:41:49 I'm really not sure what the issue is Mar 07 16:43:05 the issue is that the way TMP_DIR is used a) violates the dictionary definition of the word "temporary" and b) this unexpected violation is not adequately documented in the quickstart guide Mar 07 16:44:08 the contents are temporary in the sense that they can be re-generated. patches welcome for the quickstart though: http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/tree/documentation/yocto-project-qs Mar 07 16:46:58 Hi, someone already work with zynq7 (xilinx) and yocto ? I don't really understand how to link vivado (xilinx tools) and yocto. The goal is to generate my own hdf file. I use the conf machine zybo-linux-bd-zynq7, and I think (not sure), the layers meta-xilinx give us a template project to be able to create a core-image-minimal then boot on zybo. It works very well, but I don't really understand how to include my own vivado project ? Mar 07 16:49:12 rburton: does it build any files that can't be re-generated? Mar 07 16:49:36 also, why is there a directory named "cache" in the build directory? Mar 07 16:51:58 i doubt its possible to move deploy_dir anymore now that its tracked with sstate, given sstate operates relative to tmpdir, no? Mar 07 16:53:16 ali1234: tmp/cache is the bitbaek cache Mar 07 16:53:24 kergoth: hmm Mar 07 16:53:33 * kergoth shrugs Mar 07 16:53:36 no, not tmp/cache Mar 07 16:53:43 yohboy: the meta-xilinx layer doesn't deal with vivado tooling, the zybo-linux-bd-zynq7 only uses the hdf as a means of getting the bitstream and ps7_init files. Mar 07 16:53:44 $cwd/cache Mar 07 16:53:51 ali1234: *everything* in tmp/ can be regenerated, in fact my TMPDIR is a tmpfs Mar 07 16:54:01 ali1234: sorry. that's the bitbake cache Mar 07 16:54:18 can it not be regenerated? Mar 07 16:55:02 its not going to be moved to under tmp/ because its the bitbake cache and tmp/ is OE Mar 07 16:55:19 ali1234: do you have a specific problem? Mar 07 16:55:21 is $cwd used for anything at all? Mar 07 16:55:54 yes, its where conf, cache, and tmp go Mar 07 16:56:04 ernstp: no, it's just a general inability to understand how any of this works Mar 07 16:56:20 kergoth: not tmp, that goes in TMPDIR Mar 07 16:56:28 ali1234: I had conf/local.conf and conf/bblayers.conf in version control in one project Mar 07 16:56:38 ali1234: huh? Mar 07 16:56:44 no, TMPDIR *itself* lives in BUILDDIR Mar 07 16:56:47 read bitbake.conf Mar 07 16:57:06 nrossi: ok I understand, what is the hdf used by default ? can we change it by our own hdf ? or something else ? Mar 07 16:57:32 where is bitbake.conf? Mar 07 16:57:34 ali1234: those are the only two files that you may not want to delete depending on your setup Mar 07 16:58:18 meta/conf/bitbake.conf is what defines tmpdir, among nearly every other important var / path Mar 07 16:58:26 rburton: btw looking into the gettext - libintl, i don't think its worth getting that change into oe/meta since nothing else even uses its version of libintl except mingw (i thought uclibc was used/available somewhere, but its not). So you can ignore that patch Mar 07 16:59:10 what does musl use for intl? Mar 07 16:59:11 kergoth: and then my local.conf overrides it Mar 07 16:59:25 ali1234: it can, yes, bitbake.conf is what includes local.conf in the first place Mar 07 16:59:25 kergoth: provides a version now Mar 07 16:59:38 ah, nice Mar 07 16:59:54 in fact it overrides TMPDIR, but none of the other dirs Mar 07 17:00:06 oh wait it also overrides DL_DIR and SSTATE_DIR Mar 07 17:00:11 are we supposed to care whether you override tmpdir or not? Mar 07 17:00:18 i don't see the problem Mar 07 17:00:46 nrossi: thanks Mar 07 17:00:54 the problem is that you keep incorrectly stating that tmp is in BUILDDIR Mar 07 17:00:59 this is incorrect, it is in TMPDIR Mar 07 17:01:00 by default it is Mar 07 17:01:11 the fact that TMPDIR sometimes = BUILDDIR is 100% irrelevant to anyone Mar 07 17:01:20 you're the one who asked what lived in $PWD Mar 07 17:01:23 by defualt tmp is Mar 07 17:01:25 yohboy: you can provide your own hdf, but you should be doing that with a custom recipe. Use the zybo-linux-bd one as a reference, http://git.yoctoproject.org/cgit/cgit.cgi/meta-xilinx/tree/recipes-bsp/reference-design/zybo-linux-bd.bb Mar 07 17:01:33 are you really this dense? Mar 07 17:01:39 what lives in PWD and cannot be overriden? Mar 07 17:02:29 that's quite a different question. nearly everything can be overridden somewhere, that's a key driving force of the project, flexibility Mar 07 17:03:25 ali1234: do you know how ?= works? https://www.yoctoproject.org/docs/current/bitbake-user-manual/bitbake-user-manual.html#setting-a-default-value Mar 07 17:03:40 nrossi: thank you very much for help, i'll try it ! i'll come back soon, nice irc :) Mar 07 17:07:54 rburton: my local builds of go are building successfully for musl based systems Mar 07 17:08:12 rburton: do you have a handy link into erros log where we see errors ? Mar 07 17:08:13 khem: ok. i'll back out the musl disable and see what happens Mar 07 17:08:18 shall try to find it Mar 07 17:08:22 rburton: ok Mar 07 17:08:37 rburton: I remember to have an issue with clang+musl+x86_64 Mar 07 17:08:44 but with gcc it works ok Mar 07 17:08:59 go 1.7 did not support mips Mar 07 17:09:09 go 1.8 does Mar 07 17:09:28 which we will send update once we have used 1.7 Mar 07 17:09:32 for some time Mar 07 17:09:55 rburton: binutils 2.28 world builds for my targets appears to be all green as well. Mar 07 17:10:45 there sure are a lot of DIR variables Mar 07 17:10:47 khem, I'll test 2.28 this evening for armv4 Mar 07 17:11:11 khem: unfortunately errors.yp is being veeery sloooowww Mar 07 17:13:12 rburton, pray that RP or khem do reproduce the menuconfig/ncurses issue or you'll be my next target (git blame) Mar 07 17:13:17 going home now... Mar 07 17:13:25 rburton: I noticed that and I stopped sending logs to it Mar 07 17:13:31 ant_work: thanks, Mar 07 17:13:51 ant_work: on your rpi kernel question I havent tried to reproduce it myslelf Mar 07 17:14:02 ant_work: but I guess we are missing a dep on ncurses-native Mar 07 17:14:19 it is in sysroot but not found Mar 07 17:14:52 because of kernel dirs split Mar 07 17:15:18 ant_work: it should be in path isnt it Mar 07 17:15:21 proof is, menuconfigs is ok with busybox Mar 07 17:15:38 work-shared? Mar 07 17:15:42 khem: https://autobuilder.yoctoproject.org/main/tgrid <— ross/go will appear shortly, that's master + go and go-helloworld in core-image-sato Mar 07 17:15:44 ant_work: even for busybox S != B Mar 07 17:16:39 I tried STAGING_KERNEL_DIR and STAGING_KERNEL_BUILDDIR with no luck Mar 07 17:16:45 (no target to build) Mar 07 17:18:52 bbl Mar 07 17:20:14 kergoth: how can overriding things be a "driving force" if you don't care whether people do it? Mar 07 17:27:20 ali1234: its a strong feature of OE build system Mar 07 17:27:47 your use may be more or less depends on your projects Mar 07 17:34:47 RP: so the code that handles multilb packages at do_rootfs time is not actually too awful, I thought it's subverting the package manager's dependency resolution entirely and produces a gigantic list of packages to install from recursive RDEPENDS run, but it's not the case. Mar 07 18:02:24 ali1234: sorry if i was a bit harsh. let me try again. when you run bitbake, it sets TOPDIR to $PWD, then searches upward from $PWD to / to find a 'conf/bblayers.conf' file. if it finds it, it's parsed, and conf/layer.conf in each layer in BBLAYERS is parsed. then layer priorities are calculated, etc. then it parses conf/bitbake.conf. both bitbake and oe use TOPDIR and define everything relative to it. there are cases where bitbake has to write to Mar 07 18:02:24 TOPDIR before bitbake.conf is parsed, so obviously it can't write into TMPDIR at that point. bitbake.lock, for example. but everything beyond that is defined via bitbake.conf and the files bitbake.conf includes. if you want to know what files/dirs will end up in TOPDIR, other than conf/bblayers.conf, look for all variables in bitbake.conf defined using that variable. conf/local.conf is usually next to bblayers.conf, but that's a convention, to keep the Mar 07 18:02:24 local build configuration next to its output. the "yocto" chapter of the freely available Architecture of Open Source Systems book (http://www.aosabook.org/en/yocto.html) may also be of interest for general background on how bitbake works Mar 07 18:38:32 kergoth: thanks, that's useful. is there a list somewhere of all the different *DIR variables and what they are used for? Mar 07 18:38:53 the yocto project reference manual might mention some, but bitbake.conf is likely definitive Mar 07 18:39:38 bitbake.conf lists them all sure, but it doesn't tell me what they are used for, and if i guess based on the name, in the case of TMPDIR at least, my assumptions are probably wrong Mar 07 18:40:26 did you look at conf/documentation.conf ? most are defined in there Mar 07 18:40:30 there seems to be a section with variable cross reference at the end of the docs Mar 07 18:41:50 fray: TMPDIR[doc] = "The temporary directory the OpenEmbedded build system uses when it does its work building images. By default, the TMPDIR variable is named tmp within the Build Directory." Mar 07 18:42:12 iow, it doesn't mention that build products also go there Mar 07 18:42:23 although i suppose they dont Mar 07 18:42:25 anything you build is disposable Mar 07 18:42:29 they go to DEPLOY_DIR Mar 07 18:42:41 correct Mar 07 18:43:54 bitbake -e will probably help me too Mar 07 18:44:15 yes, this is why it is documented the way it is.. so bitbake -e will provide the info Mar 07 18:44:35 it produces quite a lot of output though Mar 07 18:47:54 does it matter whether i clone external meta-* stuff inside or outside the main poky dir? Mar 07 18:48:11 like meta-qt5 for example Mar 07 18:48:27 does it have to go along side meta? or can is that just convention? Mar 07 20:00:52 khem: https://autobuilder.yoctoproject.org/main/builders/nightly-x32/builds/1076/steps/BuildImages/logs/stdio <— go doesn't like x32 Mar 07 20:01:03 damn that error for not being clear Mar 07 20:01:26 I'm not surprised by that.. :| Mar 07 20:03:36 khem: https://autobuilder.yoctoproject.org/main/builders/nightly-ppc/builds/1097/steps/BuildImages/logs/stdio <— goarch explodes on ppc Mar 07 20:04:01 khem: https://autobuilder.yoctoproject.org/main/builders/nightly-mips/builds/1086/steps/BuildImages/logs/stdio <— and mips the same way Mar 07 20:04:14 if it just doesn't work on those arches then we need some compatible machine statements Mar 07 20:05:18 oh there's a skippackage in goarch Mar 07 20:05:30 but that doesn't really give neat errors Mar 07 20:05:58 can we also have COMPATIBLE_* statements in the core recipe to make it clearer? Mar 07 20:53:04 i'm reading this: http://www.yoctoproject.org/docs/1.6.1/kernel-dev/kernel-dev.html#changing-the-configuration Mar 07 20:53:44 "If you have a final Linux kernel .config file you want to use, copy it to a directory named files, which must be in your layer's recipes-kernel/linux" Mar 07 20:54:23 the layer i am looking at doesn't have that directory, but it still has "file://defconfig" in the .bbappend Mar 07 20:54:30 so what is that about? Mar 07 20:55:35 it actually specifies it a bit different, but it still doesn't exist Mar 07 20:55:43 see https://github.com/jumpnow/meta-rpi/blob/morty/recipes-kernel/linux/linux-raspberrypi_4.9.bbappend Mar 07 20:55:57 and https://github.com/jumpnow/meta-rpi/tree/morty/recipes-kernel/linux/linux-raspberrypi-4.9 Mar 07 21:03:21 ali1234: that's actually a very good question Mar 07 21:03:27 it ought to be there... Mar 07 21:04:17 i want to use 100% my own custom kernel config Mar 07 21:04:27 but i don't understand where i am supposed to put it Mar 07 21:06:27 ali1234: if you have your own bbappend with FILESEXTRAPATHS_prepend... in your own layer, which has a higher priority, and you put your defconfig in the directory you specify in the value, then it will be used in preference to any other Mar 07 21:07:01 meta-rpi is someone elses "own layer" which works on top or meta-raspberrypi Mar 07 21:07:09 so they've already done that, or something similar to that Mar 07 21:07:15 but i don't understand how it works Mar 07 21:08:08 khem, ouch..testing master with binutils 2.28 Mar 07 21:08:11 ERROR: Task (/oe/oe-core/meta/recipes-devtools/cmake/cmake-native_3.7.2.bb:do_compile) failed with exit code '1' Mar 07 21:08:44 or rather i dont understand WHY it works.. because it does appear to work Mar 07 21:18:11 khem, parsing errors Mar 07 21:18:13 | g++: internal compiler error: Killed (program cc1plus) Mar 07 21:18:14 | Please submit a full bug report, Mar 07 21:19:04 ali1234: ah, now I understand Mar 07 21:19:15 ali1234: the defconfig is in the original meta-raspberrypi layer Mar 07 21:19:33 there is one, yes Mar 07 21:19:53 but in a different directory Mar 07 21:19:57 and i dont think it is used Mar 07 21:20:01 ali1234: that's already in the default search path Mar 07 21:20:55 so what actually happens? Mar 07 21:21:19 ali1234: the bbappend needs to include file://defconfig in its SRC_URI value because it's setting it outright, so the previous addition of that in linux-raspberrypi.inc won't be applicable Mar 07 21:21:45 linux-raspberrypi.inc doesn't use it, it runs "make whatever_defconfig" manually Mar 07 21:21:50 what actually happens is that defconfig will be used, assuming there is no other in the search path Mar 07 21:21:53 ie using the in source config Mar 07 21:22:16 well, shoot the layer maintainer for setting it up confusingly ;) Mar 07 21:22:25 which layer tho? Mar 07 21:23:22 the defconfig file in meta-raspberrypi is empty except a comment that says "this is only here to get past initial kernel config and we wipe it later" Mar 07 21:23:25 meta-raspberrypi, that's where what you are describing is being done Mar 07 21:23:28 or something like that Mar 07 21:23:34 ok, then that explains that Mar 07 21:25:04 this is a real mess looking over these files :( Mar 07 21:25:27 it makes me feel better about my own hand-rolled image building scripts that i'm trying to get rid of because they are a mess Mar 07 21:25:29 two inc files, multiple config handling pieces Mar 07 21:25:39 and a class as well Mar 07 21:25:56 khem: paulbarker: ^ Mar 07 21:42:46 khem: the log is here https://filebin.net/f9nxz2lnljp70vpj Mar 07 22:06:26 khem, somehow cmake-native did compile now after cleaning tmpdir. It failed on first run from scratch. Doh Mar 07 22:54:42 bluelightning: for https://bugzilla.yoctoproject.org/show_bug.cgi?id=7733 Mar 07 22:54:43 Bug 7733: enhancement, Low, Future, paul.eggleton, NEW , Add an option to execute task for target and all of its dependent targets Mar 07 22:54:56 bluelightning: how do you envision invoking bitbake? Mar 07 22:55:53 mattsm: I guess something like bitbake --runall do_patch core-image-minimal Mar 07 22:56:39 khem, sorry for the noise, I was just OOM :/ Mar 07 23:00:53 mattsm: just replied to RP's comment Mar 07 23:02:04 bluelightning another one or the one from 28 min ago? Mar 07 23:03:02 bluelightning: also replied :) Mar 07 23:03:45 ok Mar 07 23:04:26 I'm also not saying this is the way it has to work, just the way I'd thought about it in the fairly short time I have spent thinking about it ;) Mar 07 23:04:51 bluelightning: having spent a lot more time in the past on this, I think it probably does ;-) Mar 07 23:21:26 bluelightning i didn't see any new comments, just the emails you sent Mar 07 23:22:18 mattsm: we're up to comment 3 on https://bugzilla.yoctoproject.org/show_bug.cgi?id=7733 - is that not what you are seeing? Mar 07 23:22:19 Bug 7733: enhancement, Low, Future, paul.eggleton, NEW , Add an option to execute task for target and all of its dependent targets Mar 07 23:22:25 Oh, ok Mar 07 23:22:27 on the bug itself Mar 07 23:22:33 was looking for emails Mar 07 23:22:47 mattsm: ah right, sorry for the confusion, so many different communication mediums :D Mar 07 23:23:31 good info there Mar 07 23:23:49 make sense why the BB_DEFAULT_TASK was there now Mar 08 02:58:35 RP bluelightning sent a patch to bitbake devel for the issue earlier **** ENDING LOGGING AT Wed Mar 08 03:00:01 2017