**** BEGIN LOGGING AT Fri Jul 24 02:59:59 2015 Jul 24 03:28:54 khem`: the sstate part is pretty straightforward, instead of installing to the final destination, you install it to an isolated directory, and let sstate put the files from ther eto the final location. there's a flag for the input path and a flag for the output path. Jul 24 03:29:14 e.g. with deploy you inherit deploy and install to DEPLOYDIR instead of DEPLOY_DIR_IMAGE, iirc Jul 24 03:29:39 but yes, i doubt you can install files into a nativesdk area from a crosssdk recipe or vice versa Jul 24 03:29:50 * kergoth gets caffeine Jul 24 03:37:21 kergoth: yeah figured Jul 24 03:37:41 I was mixing installs for native and nativesdk in single recipe Jul 24 03:38:01 the recipe being crosssdk considered only native pieces Jul 24 03:38:28 right solution is to separate out nativesdk piece into recipe of its own hopefully I can get going Jul 24 03:40:34 ah. indeed Jul 24 05:44:41 can anyone help me with the "Please use a umask which allows a+rx and u+rwx" sanity check ? Jul 24 05:44:56 I did a "find . -exec umask a+rx,u+rwx {} \;" which didn't help Jul 24 05:51:00 umask is an environment setting Jul 24 06:21:57 redengin: ok, so at which level it should be set ? Jul 24 06:25:34 http://man7.org/linux/man-pages/man2/umask.2.html Jul 24 06:28:56 from a commandline umask will show your current setting, mine is at 0002 and works fine Jul 24 06:29:37 but if you're using acl's you'll need to check those Jul 24 06:37:08 drou: sure that you're not building on some filsystem or network share that messes with the umask? Jul 24 06:44:22 umask is set to 0011 atm. I've root access on this server but i'm not admin on it. It has selinux enforced, i don't know if it can be a clue Jul 24 06:45:22 atm, there is no nfs and the filesystem is xfs Jul 24 06:45:36 try the command "umask 0002" Jul 24 06:46:17 1 is execute permissions right? Jul 24 06:47:37 looks good when i run umask 0002 Jul 24 06:47:44 if you are building on a mount point, you may want to check what the mount point's umask is Jul 24 06:47:58 but as soon as i log out & log back in, umask remains at 0011 Jul 24 06:48:44 ah, that's probably the matter Jul 24 06:48:59 you can add the change to your bashrc or change the /etc/profile Jul 24 06:53:10 alright thanks Jul 24 06:54:07 Hi ! I have two images, and a bbappend on init-ifupdown. I would like to test if I install one image or the other to have one /etc/network/interfaces file with DHCP in the first case and static IP in the second. How can I test which image is currently installed ? Is it even possible/the correct way to do it ? Jul 24 07:00:52 i see most sample layers at yocto stopped using libfaac. most old recipes found are not working either, why was this lib deleted? Jul 24 07:17:53 jmleo: i would say you'll need different machine configurations and then you should generate two different images with the appropriate setup. Jul 24 07:18:48 I have a yocto/meta-drou/recipes-core/init-ifupdown/files/ directory which contains subdirectories refering to the machine names (lets say machine-a machine-b). Jul 24 07:19:13 In each of the subfolders, you'll have to create a interfaces file that contains the proper configuration Jul 24 07:19:54 You'll also need to create a init-ifupdown_1.0.bbappend which will contain FILESEXTRAPATHS_prepend := "${THISDIR}/files:" Jul 24 07:20:03 i hope it's enough clear Jul 24 07:21:31 drou: well, I already have something like that, but when the bbappend is called, how is the interface file copied from one or the other directory named after machine name ? Jul 24 07:25:41 jmleo: you have to create the interfaces file manually according to the configuration, the main init-ifupdown recipe install the default "interfaces" file, except if you specify MACHINE=machine-a or MACHINE=machine-b in you $BUILDDIR/conf/local.conf Jul 24 07:28:00 Good morning Jul 24 07:53:22 Hi ! I have a question, after the do_fetch the patch are applied , but from where ? is supposed that it was applied on ${S} directory but it seems that it is not :/ am i missing something ? Jul 24 08:04:48 Happycat: all files (and patches) listed in SRC_URI are copied into ${WORKDIR} Jul 24 08:07:07 Thanks :) Yes i saw that patches went into ${WORKDIR}/patches but i have doubt about where it si applied from. i get "can't find file to patch" and when i do it manually it works. I must have missed something. Jul 24 08:08:23 Happycat: run recipe with -v and you'll see what happens Jul 24 08:12:23 Thanks a lot for the information :) i fixed the problem ! Jul 24 08:14:04 Hi everybody, I am trying to understand why adding dhcp package in my recipe invoke an error. Problem is in do_rootfs (opkg_install_cmd: Cannot install package dhcp) It is says some symbolic links cannot be created because files (not links) already exist. Is there something to clean ? Any idea ? Jul 24 08:19:35 Vincenet: I remember having problems when adding dhcp too, i am not sure but i think i had some kind of conflict with udhcp or something similar. You should have clues in the log file. Jul 24 08:25:48 Happycat : I already check the logfile of failure and I learnt it is about the linking. Do I fail read some information in the log ? http://pastebin.com/ynbbczbQ Jul 24 08:28:44 Happycat : hum, It seems there is linking of udhcp in the process... Jul 24 08:31:08 Go here, i think it is related to your problem https://lists.yoctoproject.org/pipermail/poky/2014-May/009752.html Jul 24 08:32:09 Happycat : Maybe I do not need dhcp and I can simply use udhcp Jul 24 08:32:34 Yep maybe you can :) Jul 24 08:36:43 Happycat : Thank you :-P Jul 24 09:16:37 morning all Jul 24 09:48:14 hey guys Jul 24 09:48:28 could somebody take a look at this sh*t: http://dpaste.com/3AQQKRH ? Jul 24 09:48:33 I am using kernel 2.6.37 Jul 24 09:50:02 Ox4: is inotify enabled in the kernel config? Jul 24 09:50:14 bluelightning: verifying right now Jul 24 09:54:40 bluelightning: Symbol: INOTIFY_USER [=n] Jul 24 10:24:43 bluelightning: http://dpaste.com/1SV0R1G Jul 24 10:24:59 bluelightning: I've enable inotify in the kernel Jul 24 10:25:18 Ox4: clearly there is something still not enabled though Jul 24 10:25:42 Ox4: my suggestion to you would be to review the udev README for 182 and check that the stated requirements as far as kernel config are met Jul 24 10:27:15 Ox4: http://git.kernel.org/cgit/linux/hotplug/udev.git/tree/README?id=a3a304ddc090db59cb3be0dcbf1c0d83fe84c33a Jul 24 10:28:18 bluelightning: so the problem is not in udev version, right? Jul 24 10:28:30 Ox4: I very much doubt it Jul 24 10:28:31 but I will look through README Jul 24 10:28:43 bluelightning: can I switch to the oldest one? Jul 24 10:29:31 Ox4: according to that readme your kernel version is newer than the requirement, so you don't need an older udev - just the appropriate kernel configuration options enabled (as documented) Jul 24 10:32:04 bluelightning: ok, thanks Jul 24 10:43:01 pidge, seems my patch mail never errived to the mailing list Jul 24 10:47:44 AzaToth_, just send it to me then elizabeth.flanagan@intel.com Jul 24 10:48:23 bluelightning: the same. Here is the config of the kernel which I use: http://dpaste.com/3954T10 Jul 24 10:50:29 Ox4: have you checked it against the list? Jul 24 10:51:22 are there any suggestions? Jul 24 10:55:25 hi. I get the error "Could not initialize SDL(No available video device) - exiting Jul 24 10:55:25 " when trying to run qemu. Have double-checked that SDL is installed on my build machine and that is included in my SDK build sysroot. Any ideas on what can be wrong? Jul 24 10:58:00 bluelightning: sorry, I've been disconnected Jul 24 10:58:29 bluelightning: here is the .config: http://dpaste.com/3954T10 but I still have this problem Jul 24 10:58:45 Ox4: my last question was have you gone through the configuration to see if all of the options in the document are enabled? Jul 24 10:59:25 bluelightning: yep Jul 24 11:02:21 bluelightning: and here is the image manifest file: http://dpaste.com/26NS29A Jul 24 11:07:09 Ox4: I don't know for sure, but google searching suggests that your kernel may not have the appropriate support for the accept4() system call, which may require a patch Jul 24 11:07:30 pidge, how do you take care of culling old nighlies? atm I'm using a simple cron daily script running `find * -maxdepth 0 -type d \! -newermt "5 days ago" -exec rm -rf {} \;` but if feels a bit funky :/ Jul 24 11:08:23 bluelightning: could you please send me a link? Jul 24 11:08:24 couldn't find a KEEP_NBR_NIGHTLIES variable Jul 24 11:10:16 Ox4: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648325 https://git.congatec.com/yocto/meta-fsl-arm/commit/fc06661291bb97a778bd2f8225c66afc1c7ce680 Jul 24 11:10:35 Ox4: I really have no idea if this is definitely applicable or if it will solve your problem Jul 24 11:14:03 good morning Jul 24 11:52:27 bluelightning: I have this lines in the kernel Jul 24 12:02:44 bluelightning: maybe udev needs some flags? Jul 24 12:21:37 kergoth: great! Jul 24 12:24:51 kergoth: I commented on it Jul 24 12:36:14 so I am very confused. When I built the qemu bsp it had X and some a full blown window setup. When I built sato for beagle, it has X but the lcd does not work. Jul 24 12:36:30 Is this because the lcd cape is not included? Jul 24 12:37:43 Also, when I look at poky/build/conf/local.conf I see where you can add global options such as rpm or deb but not individual packages. ie. java, cape, qt, etc. Jul 24 12:38:14 i don't see where you config sato vs minimal. Jul 24 12:39:47 i see poky/meta/recipes-sato but not poky/meta/recipes-minimal Jul 24 12:46:34 hi folks, I would like to generate some images.tar.gz.md5 automatically, because the flashing tool uses them Jul 24 12:46:41 what is the best way to do this? Jul 24 12:57:22 Ox4: that won't be it Jul 24 13:00:39 LocutusOfBorg1: md5sum ? Jul 24 13:03:15 bluelightning: grep accept4 kallsyms Jul 24 13:03:16 grep: kallsyms: No such file or directory Jul 24 13:04:15 Ox4: I can't really help further I'm afraid Jul 24 13:06:32 bluelightning, yes, but which method should I override? Jul 24 13:07:20 LocutusOfBorg1: you could create a shell function and add a call to it from IMAGE_POSTPROCESS_COMMAND perhaps Jul 24 13:08:26 I did a shell script Jul 24 13:08:34 I would like to call it automatically Jul 24 13:10:02 finally solved the qemu/sdl problem I had. The problem was that I hade removed x11 from DISTRO_FEATURES, apparently it's required in order for libsdl to build correctly. Jul 24 13:10:03 bluelightning: ok, how can I downgrade to older udev version? Jul 24 13:10:46 Ox4: you'll need to create a recipe for it or copy one in from an older version; assuming that will even fix the issue Jul 24 13:11:21 bluelightning: bbappend recipe? Jul 24 13:11:57 Ox4: no, introducing different versions through bbappends isn't usually practical Jul 24 13:31:36 thanks blitz00 Jul 24 13:31:40 thanks bluelightning ^^ Jul 24 13:37:57 Hi all, I have a simple question ... how to add multiple BBMASK in local.conf ? because my differents BBMASK seems to not be handled ... thank you Jul 24 13:40:56 aurelihein: it seems you can use regex, I'm using BBMASK = "(meta-myown/recipes-badrecipes|meta-someones/recipes-other)" Jul 24 13:42:32 so you add brackets ? Jul 24 13:44:17 mansandersson: It means that you have to put everything in the same line Jul 24 13:44:34 Hi ! I'm having trouble to build only the rootfs for an image. bitbake -c rootfs myRecipe build everything , i can't find options in the board Layer (zc-702 from xilinx). Maybe some BBMASK would do the trick but's i feel like it's a bad solution :/ do you have any idea ? Jul 24 13:45:28 Happycat: only the rootfs as opposed to what sorry? Jul 24 13:46:23 Oh yeah excuse me ><, it build u-boot, the Linux kernel , the devicetree and the rootfs Jul 24 13:46:27 mansandersson: Everything in the same line is working ! Thank you very much Jul 24 13:47:27 Happycat: you won't get away without building the kernel I'm afraid, things that have dependencies on the kernel will ensure it's built no matter what Jul 24 13:48:39 Hmm yeah i understant , i am including linux-firmware in the recipe that sould be one of the dependencies you are talking about :/ Jul 24 13:48:46 understand * Jul 24 13:50:35 I'll just focus on adding my kernel recipe , thanks for the help :) Jul 24 14:04:14 hob looks like the make menuconfig equivalent for buildroot Jul 24 14:11:11 ok, I have several udev recipes for different version, how can I install a particular one? Jul 24 14:13:43 Ox4: PREFERRED_VERSION_udev in your local.conf or custom distro config Jul 24 14:14:19 custom distro config? Jul 24 14:14:58 Ox4: http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#creating-your-own-distribution Jul 24 14:15:40 if you are setting things like this then you should probably create your own distro config and set them there if you're doing anything more than experimenting Jul 24 14:43:56 morning Jul 24 14:44:01 bluelightning: how's the little one? Jul 24 14:44:07 morning kergoth Jul 24 14:44:21 kergoth: great thanks, starting to grow :) Jul 24 14:44:29 kergoth: how about yours? Jul 24 14:44:36 :) they do that so quickly. change from week to week at times Jul 24 14:45:23 he's good, almost 8 months now. https://carousel.dropbox.com/photos/cc/nxU4LL2cZ5YASvk Jul 24 14:45:49 not crawling yet, just going around in circles and backing up, still no forward :) Jul 24 14:46:09 * kergoth downs caffeine Jul 24 14:47:26 ah ok, ours is almost at the point where she knows her hands belong to her though they still have a mind of their own :) Jul 24 14:56:57 bluelightning: nice :) Jul 24 15:42:14 RP, I tested master-next bitbake patches and bitbake -e seems to be faster now Jul 24 15:42:37 nice Jul 24 15:42:54 kergoth you should try -p case too Jul 24 15:42:59 i wonder if what i thought was hangs was just me not waiting long enough :) Jul 24 15:43:19 yeah it took 27 mins for mine to finish Jul 24 15:43:27 yikes Jul 24 15:43:39 but I let it run overnight Jul 24 15:47:21 khem`: glad its a little better now :) Jul 24 15:47:36 khem`: with the removal of the stat() calls, it should be faster then before ;-) Jul 24 15:48:46 bluelightning: do the new commit messages for the recipetool/devtool bbpath series look clearer now in v3? Jul 24 15:51:23 kergoth: they do, thanks - I've just acked the series Jul 24 15:51:35 k, thanks Jul 24 16:50:28 khem`: offhand do you know which dynamic loader musl uses? and is there a gcc option which forces it to use the right one? (like -mmuclibc) Jul 24 16:51:36 RP: it will be -mmusl Jul 24 16:51:44 but its not in gcc5 Jul 24 16:51:49 only gcc6 so far Jul 24 16:52:06 khem`: ah, that explains why I couldn't see it Jul 24 16:52:22 khem`: so how do our musl builds currently work? Jul 24 16:52:23 musl support for gcc has landed in gcc6 Jul 24 16:52:40 I carry patches in meta-musl Jul 24 16:52:55 khem`: ok. I'll just patch this to use -mmusl then Jul 24 16:53:19 e.g see https://github.com/kraj/meta-musl/blob/master/recipes-devtools/gcc/gcc-5.1.0/1002-musl-dynamic-linker.patch Jul 24 16:53:36 khem`: We're seeing issue where our "one gcc" in the sdk is running into problems with uclibc and I might as well fix musl at the same time Jul 24 16:54:11 hmm but uclibc support is there in 4.9 Jul 24 16:54:16 onwards Jul 24 16:54:17 so how it not working Jul 24 16:54:40 khem`: build a glibc build, then in the same tmpdir switch to uclibc and build meta-toolchain again Jul 24 16:54:54 RP: btw. I have now got meta-clang working too such that you can build it into SDK Jul 24 16:54:56 khem`: gcc-cross-candian doesn't rebuild Jul 24 16:54:57 and use it Jul 24 16:55:05 as well as build nativesdk packags Jul 24 16:55:17 khem`: ideally one gcc-cross-canadian should work for all the libcs Jul 24 16:55:30 ah Jul 24 16:55:31 khem`: but turns out it needs a hint as to which one to use Jul 24 16:55:56 meta-clang sounds interesting Jul 24 16:56:06 so in sdk you should be able to use -muclibc Jul 24 16:56:26 on commandline Jul 24 16:57:04 RP: meta-clang is done such that it can live along with gcc as of now Jul 24 16:58:11 khem`: I'll just inject the right option into meta-environment Jul 24 16:58:17 yep Jul 24 16:58:30 musl patches for gcc add -musl option too Jul 24 16:58:38 so you can inject that as well Jul 24 16:58:44 it will work Jul 24 16:59:07 khem`: right :) Jul 24 16:59:18 RP: one nice thing about meta-clang is the static analyser Jul 24 16:59:30 It can be used unconditionally Jul 24 16:59:41 I tried it on busybox for tests Jul 24 17:00:14 khem`: hopefully I'll manage to stop drowning in bugs and have a look at it :) Jul 24 17:00:23 yes Jul 24 17:00:52 right now we can build clang+musl+toybox Jul 24 17:02:05 which gives us a system which does not use GPL in userspace more or less I am still left to do clang c/c++ runtime once I have that done it will be possible to have end to end non-gnu toolchain Jul 24 17:10:24 khem`: sweet, very cool Jul 24 17:10:59 kergoth: I am very impressed with clang, Jul 24 17:11:06 i'm assuming you're still using binutils on the cross toolchain end since elftoolchain doesn't include a linker, iirc Jul 24 17:11:14 I should probably do a post on how to use meta-clang Jul 24 17:11:19 that'd be cool Jul 24 17:11:35 kergoth: yeah binutils still Jul 24 17:11:59 but thats ok Jul 24 17:12:19 yeah, its the runtime we're more concerned with Jul 24 17:12:26 i'll have to play with it Jul 24 17:15:20 kergoth: yeah although the real game begins when libc++ and compiler-rt become drop in replacements for libstdc++ and libgcc Jul 24 17:15:28 * kergoth nods Jul 24 17:15:33 in meta-clang Jul 24 17:15:48 its a bit of work to cross compile them Jul 24 17:15:55 in OE Jul 24 17:23:57 doing all my builds in a pflask container now, since the remote vm i'm in doesn't have systemd installed, so no nspawn. seems to work fairly well thus far. hmmmmm Jul 24 19:55:21 I'm trying to add STAGING_KERNEL_DIR and/or STAGING_KERNEL_BUILDDIR to CFLAGS, but it ends up cleaning kernel-build-artifacts dir for some reason... any clues? Jul 24 20:01:19 denix: it wouldn't surprise me in the least that do_compile being re-run would clean out the build dir first, otherwise you can have remnants of the prevoius task execution Jul 24 20:01:31 not sure if thats actually the case, but it doesn't seem surprising Jul 24 20:17:44 Hmm, we should enhance the runqueue to, via a hook, automatically sort do_clean tasks before anything else, then you could use the recipe:task syntax to do a clean + re-run of a task without running bitbake more than once. Jul 24 20:17:48 though, maybe i should just use memres :) Jul 24 20:18:41 kergoth: right, but I'm mangling CFLAGS of a package that DEPENDS on kernel, not kernel itself Jul 24 20:18:44 Hmm, could presumably provide a custom scheduler class for that Jul 24 20:19:20 denix: huh, that doesn't seem ideal. what's that recipe's S and B? Jul 24 20:43:09 SUCCESS! Jul 24 20:43:11 \o/ Jul 24 20:43:16 just the one perf failure so far Jul 24 20:43:23 (looks at zeddii) Jul 24 20:43:44 PSA: the perf build system is mental. don't look at it. Jul 24 20:52:15 hmm, i should add some selftests for the recipetool-create python buildsystem, to test the python dependency scanning in various circumstances Jul 24 20:54:57 kergoth: the problem is with a package that uses both regular kernel headers and generated ones, but uses single path variable to point to them. so I'm trying to hack it since STAGING_KERNEL_DIR != STAGING_KERNEL_BUILDDIR now Jul 24 20:56:49 ahh, i see Jul 24 21:00:04 kergoth: so, I'm passing STAGING_KERNEL_BUILDDIR as before, but trying to shove STAGING_KERNEL_DIR into CFLAGS. now that package triggers kernel unpack and cleans its build artifacts for some reason Jul 24 21:05:10 hello Jul 24 21:06:13 im tyring to get java in a beaglebone yocto build. I found a meta-oracle-java layer on git.yoctoprojectr.org Jul 24 21:06:53 after I downloaded it, I tried to use it from a peer directory of poky and the in hob added that dir as a layer. Jul 24 21:07:13 however when i click the all recipes tab I don't see java available. Jul 24 21:07:38 so I moved the meta-oracle-java dir down one level to be a child of poky Jul 24 21:08:16 same thing. i added the layer by selecting the meta-oracle-java dir and then looked for java in the list of available package. its not there. Jul 24 21:08:33 i'm new to yocto but is this the correct approach? Jul 24 21:09:37 * kergoth can't remember the last time he ran hob, can't be of much use with that Jul 24 21:10:15 understood Jul 24 21:10:48 i looked a guys email where he was adding a layer to a conf file. it looks like you just add the top level dir Jul 24 21:11:07 does the dir need to be a child of poky or can it sit elsewhere? Jul 24 21:11:29 it doesn't matter where it lives, as long as its path gets added to the list of layers in BBLAYERS in conf/bblayers.conf, which hob does for you when you select that layer, presumably Jul 24 21:11:49 ok that is good to know Jul 24 21:12:54 for grins, i see sato and some other targets. I just want the lcd and java to work, would sato be a good base for starters as I build uocto experience? Jul 24 21:17:10 you can add java to any image. i don't know of any that include it out of the box. so it doesn't really matter, up to you Jul 24 21:17:21 sato is one of the only graphical images Jul 24 21:17:26 ok very good Jul 24 21:18:10 odd that when I add the meta-oracle-java layer I don't see any java vms in the list of packages Jul 24 21:18:25 the layer index is useful to browse what a layer includes Jul 24 21:18:26 among other things Jul 24 21:25:29 * kergoth mulls over the shallow clone stuff Jul 24 21:28:28 this meta-oracle-java dir has a conf, custom-license and recipes-devtools subdirs. I wonder if i am supposed to add each as a layer Jul 24 21:29:41 no Jul 24 21:29:42 ahh, i see something about these recipes will not build by default. it needs a whitelist entry fo rlicense files Jul 24 21:30:06 a layer, by defintiion, is a dir that contains conf/layer.conf and recipes* directories Jul 24 21:31:39 kergoth: thank you. I appreciate the information. Jul 24 21:32:23 np Jul 24 21:33:31 i'm wondering if I will be able to find a package conf or layer for the LCD shield I'm using. I'm pretty sure when I do this build it will not have the lcd again Jul 24 21:33:51 however, if I can at least get java in there, that will be good for testing the jvm Jul 24 21:46:02 have a good night Jul 25 00:55:42 Hello there, I just received a device running Poky. Before this date I wasn't even aware of such distribution, I am used to debian. I have tons of questions, like why running udhcpc -i epth0 only works temporarely but doesn't survive a reboot? why isn't there a /etc/network/interfaces file. Why isn't there a package manager (like apt-get) and how can I install packages then? Is there a place I can look at to start understanding how to co Jul 25 00:55:44 nfigure my device? full question asked here: https://superuser.com/questions/945044/how-to-make-udhcpc-changes-permanent-in-poky-yokto-dizzy-ditribution **** ENDING LOGGING AT Sat Jul 25 02:59:58 2015