**** BEGIN LOGGING AT Tue Oct 22 02:59:58 2013 Oct 22 03:10:49 kmacleod: https://wiki.yoctoproject.org/wiki/Build_Performance Oct 22 03:46:44 can anyone explain how the require keyword works? Oct 22 04:23:53 it includes a file, adn fails if the file doesn't exist. 'include' will silently proceed if the file is missing Oct 22 10:35:28 Hi all. How to add a flag to CFLAGS to bitbake? I am trying CFLAGS += "-std=c99" in my .bb file but it is not working Oct 22 10:41:06 drasko: EXTRA_OEMAKE maybe, look in the yocto manual for that Oct 22 10:59:44 Hi, I've sent a patch for psplash to the yocto mailing list some weeks ago, but nobody replied or applied it. So I'd like to know if I sent it to the wrong mailing list or if it was just ignored. Thanks for the help ;-) Oct 22 11:10:00 g0hl1n: reply to your message with a ping. This week is going to be slow though as many developers are out of town at conferences Oct 22 11:10:23 However, if it is for the psplash recipe in meta, then I suggest you send it to the oecore mailing list Oct 22 11:16:42 thanks for your answer. No it's for the psplash sources (not the recipe). Is the yocto mailinglist still correct in this case? Oct 22 11:17:07 jackmitchell, EXTRA_OEMAKE += "'CFLAGS=${CFLAGS} -std=c99'" gives no effect neither Oct 22 11:20:00 Where can I get reference of possible QT_CONFIG_FLAGS? Oct 22 11:20:10 drasko: maybe your makefile is overriding the cflags Oct 22 11:20:49 g0hl1n: where are the psplash sources sorted? Oct 22 11:20:57 sorry, stored, not sorted Oct 22 11:21:53 jackmitchell, maybe. It is generated with clake, so I use inherit pkgconfig cmake Oct 22 11:22:07 but there are a lot of flags added from Yocto Oct 22 11:22:11 Ah, nvm. Stupid me, these come from Qt install, not OE specific. Oct 22 11:22:27 hello all, i am new to yocto reading the quickguide, do i have to install gawk texinfo chrpath libsdl1.2-dev as prerequisite? my intension is to develop a headless arm application on my linux x86 computer Oct 22 11:23:07 in the yoctoproject's git. cgit is available here: http://git.yoctoproject.org/cgit/cgit.cgi/psplash/ Oct 22 11:27:45 poky == yocto? Oct 22 11:39:44 drasko: ah there is a special cmake flag Oct 22 11:40:05 drasko: EXTRA_OECMAKE Oct 22 11:40:28 g0hl1n: yes, yocto mailing list is correct hen Oct 22 11:40:47 g0hl1n: I would just reply to your original email with a ping to remind whoever deals with that Oct 22 11:41:20 pagios: yes I think those are host tools that are required Oct 22 11:41:42 pagios: poky is the default distro used in the Yocto provided meta layer Oct 22 11:42:00 so poky != yocto, but poky is part of the Yocto Project Oct 22 11:42:51 if i have an x86 program X that depends on libraries A,B,C and i need to cross compile that program X to ARM, do i need to also cross compile the libraries of that program too on my x86 machine and then copy Libraries and Program into ARM? or will yocto handle cross compiling the x86 libraries into ARM? Oct 22 11:43:51 jackmitchell: Thanks! Oct 22 11:44:52 pagios: if the library recipes are present in the buildsystem and recipe specifies them as depends, then yes, they will be built automatically Oct 22 11:45:24 jackmitchell: dealing with gstreamer dunno if recipe is there Oct 22 12:04:27 pagios: there is, just take a look Oct 22 13:07:17 * fray has made it to the UK.. they even let me in. :) Oct 22 13:08:47 fray: hooray! are you attending the Yocto Dev Day? Oct 22 13:12:00 yes, I'm giving a talk on our (Wind Rivers') Yocto Project commercialization experience.. (and no it's not a sales pitch).. Oct 22 13:12:07 topic is "Yocto Project Continuous Integration" Oct 22 13:12:39 basically explaining from an OSV point of view the two types of integration we see, and what we ended up doing and why.. then ending with some recommendations for device manufacterers, semi's, ISVs, etc.. Oct 22 13:13:03 I should arrive in Edinburgh some time around 19:00 Oct 22 13:13:04 fray: fantastic, I will see you there then; I've got a 6 hour train journey in a few hours, the joy :D Oct 22 13:13:10 (sitting at Heathrow right now) Oct 22 13:13:26 ah you;re going London -> Edinburgh now Oct 22 13:13:34 ya.. Oct 22 13:13:45 I'm finally cooling down.. it's really warm and humid in the terminal.. Oct 22 13:14:15 make the most of it, it'll be cool in Edinburg ;) Oct 22 13:14:22 feels like it's 30C (85F) in here... I came from Minneapolis where it was 4 C (40F) Oct 22 13:14:33 I'm looking forward to the cool.. ;) Oct 22 13:14:38 ah, not that cool I don't think! Oct 22 13:14:44 it was still a bit warmer in Edinburgh then MSP Oct 22 13:14:54 7c - 10c I would imagine Oct 22 13:15:04 thats what I planned for.. ;) Oct 22 13:22:06 hey guys, my plane is landing wednesday afternoon so I won't be able to attend the Yocto Dev Day, can someone get a tshirt for me ? Oct 22 13:22:27 (if there are tshirts obviously ;) ) Oct 22 13:22:53 I wear the ones from barcelona every week, they are much better than the one from elce Oct 22 13:24:57 :) Oct 22 13:25:09 I never got one of the Barcelona shirts..... Oct 22 13:25:29 I've got all of my YP shirts saved up so far, I'm going to frame them and hang them at the office.. (just have to find the time to do it) Oct 22 13:27:13 it's getting warm in the terminal again.. yeesh.. Oct 22 13:28:40 Hi all... I do not know how to pass CFLAGS through my .bb recipe Oct 22 13:28:56 I tried EXTRA_OEMAKE += "'CFLAGS=${CFLAGS} -std=c99'" Oct 22 13:29:00 that had no effect Oct 22 13:29:24 fray, do you slides for your talk posted yet, or will that be after? Oct 22 13:29:27 all depends on the makefile.. you should cehck the run files and make sure the make call has the cflags in it.. Oct 22 13:29:56 I've got two talks.. one DevDay and one ELC-E.. I've sent htem both up to the organizers.. (Jefro and LF) Oct 22 13:30:17 I know Jefro said he was going to post the DevDay talks "soon".. but I don't know if that meant today or tomorrow.. Oct 22 13:30:38 (and for once I'm not making last minute edits to presentations.. I actually finished them all last week) ;) Oct 22 13:31:02 fray, I am actually using cmake Oct 22 13:31:19 I don't know in that case, sorry.. Oct 22 13:31:27 you may have to do something special for cmake Oct 22 13:31:33 and I just fugured out that EXTRA_OECMAKE should be used Oct 22 13:31:40 :) Oct 22 13:31:42 ;) Oct 22 13:35:41 uh, actually no.. Oct 22 13:35:53 EXTRA_OECMAKE passes flags to cmake Oct 22 13:35:58 during Makefile generation Oct 22 13:36:19 but it does not pass flags to make that is using generated Makefile Oct 22 13:59:26 drasko: you could have a look into the CMakeLists.txt files Oct 22 13:59:51 by default cmake obeys the CFLAGS variable, but this can be overridden in the cmakelists Oct 22 14:00:33 tobiash, yes, but that would say that it does not permit EXTRA_OECMAKE? Oct 22 14:00:44 Only CMAKE_C_FLAGS? Oct 22 14:01:21 EXTRA_OECMAKE is given as argument to the cmake call Oct 22 14:01:34 Not really... Oct 22 14:01:41 That;s why I am complaining Oct 22 14:01:50 sorry Oct 22 14:01:57 yes EXTRA_OECMAKE Oct 22 14:02:09 but not EXTRA_OEMAKE Oct 22 14:02:55 EXTRA_OECMAKE is given to cmake, but later when make is called on generated Makefile, EXTRA_OEMAKE should be passed Oct 22 14:02:57 and it is not Oct 22 14:03:19 so I am forced to change third-party CMakeLists.txt file Oct 22 14:05:31 in most cmake based projects the CFLAGS are handled in the makefile generation step so there should be no need to pass any cflags to the make step Oct 22 14:05:44 that would be at least unusual Oct 22 14:06:57 did you check that the CFLAGS variable is exported in the configure task before the cmake call? Oct 22 14:08:13 No, but I guess it did. So, I see that only way is to change CMakeLists.txt file, which I avoided. Oct 22 14:13:56 drasko: if the makefile really obeys the cflags environment variable then you could also export the CFLAGS in do_compile_prepend of your recipe Oct 22 14:39:14 hi all. I build kernel module that has to link to a static library. This library is also build with Yocto in a separate package. Oct 22 14:39:36 How to tell kernel module where to look for .a file? Oct 22 14:40:08 i.e. what to put in Makefile of module? Oct 22 14:40:51 Basically - this module has to fetch library public headers for compiling and static library for linking. Oct 22 14:45:22 drasko: can't you use -L ${STAGING_LIBDIR} -I ${STAGING_INCDIR} and -lyourlib as you would if it wasn't a kernel module? Oct 22 14:47:04 erbo, let me try. So far I am trying this approach : http://www.linuxquestions.org/questions/linux-newbie-8/how-to-link-a-static-library-to-a-kernel-module-587406/ Oct 22 14:51:34 erbo, these -L ${STAGING_LIBDIR} -I ${STAGING_INCDIR} has to be added to .bb file? Oct 22 14:51:56 Actually, in my .bb file I have "inherit module" call Oct 22 14:52:02 and that's all Oct 22 14:52:19 rest is done in module's Makefile Oct 22 14:54:11 drasko: I guess the modules Makefile need to add -I ${STAGING_INCDIR} to CFLAGS and -L ${STAGING_LIBDIR} -lyourlib to LDFLAGS.. don't know what taken care of by module.bbclass Oct 22 14:54:42 drasko: note that I haven't done this myself, I'm just speculating :) Oct 22 14:55:39 https://github.com/openembedded/oe-core/blob/master/meta/classes/module.bbclass Oct 22 14:56:12 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS Oct 22 14:56:17 drasko: looks like it unset any CFLAGS or LDFLAGS set in recipe, so I guess the makefile need to contain that Oct 22 14:56:28 exactly Oct 22 14:56:46 but how to pass this info to Makefile? Oct 22 14:57:01 ${STAGING_INCDIR} is accessible in .bb file Oct 22 14:57:05 but not in Makefile Oct 22 14:58:37 if you do "bitbake -e yourkernelmodrecipe", don't you have it as an environment variable? Oct 22 15:00:07 YPTM: Welcome to the technical team meeting, Please let me know who's on the bridge. Oct 22 15:00:22 YPTM: Scott Rifenbark just joined Oct 22 15:00:34 Cristiana joined too Oct 22 15:00:39 erbo, yeap... Oct 22 15:00:56 So I guess it is there. Let me try putting these vars directly in module Makefile Oct 22 15:01:01 YPTM: Matthew Weigel joined Oct 22 15:02:35 YPTM: Cristian present Oct 22 15:02:40 YPTM: Corneliu joined Oct 22 15:02:55 * nitink is on the YPTM Bridge Oct 22 15:03:25 YPTM: Bjorn joined Oct 22 15:03:29 gm all Oct 22 15:04:05 YPTM: polk is here Oct 22 15:05:02 YPTM: Any open? Oct 22 15:07:24 Congratulations! :-) Oct 22 15:13:30 erbo, unfortunately STAGING_INCDIR is not defined in Makefile of kernel module Oct 22 15:14:29 Any ideas how to pass public headers directory and STAGING_LIBDIR where static lib is compiled for the kerenel module compilation? Oct 22 15:14:50 This has to be done in kernel modules Makefile Oct 22 15:15:07 but STAGING_INCDIR and STAGING_LIBDIR seem to be out of reach Oct 22 15:16:33 YPTM: thank you all for joining the meeting. Have a nice day/evening Oct 22 15:18:22 I know I have seen it before, but I can't find the doucmentation for how to do submissions to yoctoproject. Can anyone point me to where this information is? I have 5 separate changes I would like to get submitted, but I can't find the information now that I need it. Oct 22 15:19:02 blloyd: there is a wiki page Oct 22 15:19:13 submitted patches to openembedded should get you there through google Oct 22 15:19:31 http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded Oct 22 15:21:23 any ideas? How to pass these info to kernel module Makefile? Oct 22 15:33:21 that's for openembedded, upstream of Poky. what about for poky? Since I was searching for Yocto I didn't find the upstream page. So is yocto now not taking contributions directly? Oct 22 15:35:46 blloyd: poky is an integration of oe-core, meta-yocto, and a couple other things. generally you push directly to the upstream. so if its a change in poky/meta/, it goes to oe-core's list Oct 22 15:36:04 blloyd: changes meant for meta-yocto & co should go the poky or yocto list, presumably Oct 22 15:36:08 check the layer readmes for details Oct 22 15:37:17 everyone who is going to be at ELEC, I will see you all tomorrow/thursday! Oct 22 15:37:21 * jackmitch|home heads off for train Oct 22 15:37:30 ok, thanks. Oct 22 15:38:39 pointing to the README files did it. I knew I had seen it somehere! Thanks Oct 22 15:42:11 between the README and the wiki, I am set. Now off to the office for a while. I'll start getting the pieces submitted when I get back to this machine this afternoon. Oct 22 15:42:20 blloyd: glad to hear it, np Oct 22 15:45:05 I knew I was overlooking it somewhere obvious.... Oct 22 15:46:09 heh, to be fair, some sort of contribution guide on the site should likely be better covered, or at least point folks to the readmes :) Oct 22 15:58:18 how to pass STAGING_INCDIR to kernel module Makefile? Oct 22 15:59:00 I have noticed that kernel module CFLAGS can be manipulated only from ccflags-y in module Makefile Oct 22 15:59:48 How can I pass information there from .bb file? Oct 22 16:03:26 shouldn't be necessary, afaik, we already pass --sysroot= in CC Oct 22 16:03:36 nope Oct 22 16:03:48 I am missing STAGING_INCDIR Oct 22 16:04:08 and especially STAGING_INCDIR/myheaders Oct 22 16:05:56 not sure why you'd need that, given a kernel build shouldn't ever be using userland headers Oct 22 16:06:04 but you could try KERNEL_CC += "${TOOLCHAIN_OPTIONS}" Oct 22 16:07:53 Tried it - does not work Oct 22 16:08:21 kergoth, maybe I badly compiled my library? I want to use it form linking with kernel module... Oct 22 16:10:47 hi, I have need a recipe wiich need to be link with a lib in STAGING_DIR_TARGET/lib instead of STAGING_LIBDIR but when i add -L${STAGING_DIR_TARGET}/lib -lmylib, Ihave a qa error bad RPATH Oct 22 16:11:32 someone know how ti fix this? Oct 22 16:13:17 I'd like to add STAGING_INCDIR/myheaders in my keenel module compilation. However, STAGING_INCDIR is not propagated from Bitbake to kernel module Makefile, so ccflags-y += -I${STAGING_INCDIR}/myheaders will not work. Is there any other ay how I can instruct kernel module makefile to change CFLAGS and LDFLAGS? Oct 22 16:20:07 i want to add a symbolic link to my kernel-image package Oct 22 16:21:41 i've create a kernel_do_install_append which installs it into package/, but i can't figure out how to get it into packages-split Oct 22 16:22:53 FILES_kernel-image +=, FILES_kernel-image_append, FILES_kernel-image-${KERNEL_VERSION}_append & += have not worked Oct 22 16:24:20 it's FILES_kernel-image. but you also have to remember that packages are created in the order of their listing in PACKAGES, and the first package to grab a given path will get it Oct 22 16:27:45 i don't think it's getting picked up at all because of the QA Issue... installed but not shipped Oct 22 16:30:03 out of curiosity, what link are you looking to create? Oct 22 16:31:53 a link for grub /boot/vmlinuz-3.8.11-yocto-standard to bzImage-3.8.11-yocto-standard Oct 22 16:33:43 ah Oct 22 16:34:12 great, your tip helped and it just worked... i switched the line in my bbappend to FILES_kernel-image =+ " ${KERNEL_IMAGEDEST}/vmlinuz-${KERNEL_VERSION}" Oct 22 16:34:31 nice Oct 22 16:49:07 hi, quick help, I'm using 1.5 "Dora" release and baking the recipe eglibc-locale panics with: Oct 22 16:49:10 ERROR: QA Issue: eglibc-locale: Files/directories were installed but not shipped /usr/lib/locale Oct 22 16:50:09 (this was while doing a meta-toolchain, and I have multiarch enable) Oct 22 16:51:09 ddompe, propably FILE_${PN} missing in your .bb Oct 22 16:52:17 beuh: yeah, I can probably just add that one, but this is an standard recipe from meta, wondering what could be happening that only I see it Oct 22 16:53:22 in theory the usr/lib/local should be gone from the eglibc_package_preprocess on meta/recipes-core/eglibc/eglibc-package.inc Oct 22 16:53:42 why the QA is capturing it? I'm missing something Oct 22 16:55:57 hm, was there just a push to http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-dev/log/ from 3.10.0 to 3.12-rc3? Oct 22 17:01:02 ah i see, was tracking standard/base branch Oct 22 17:13:41 rburton: hey can i bug you for a sec to help me understand linux-yocto-dev.bb? In my case PREFERRED_PROVIDER_virtual/kernel == linux-yocto-dev, does that mean i've been tracking the standard/base git branch of linux-yocto-dev? If so...at what point does bitbake "resolve" that branch to a commit? During the first fetch? Oct 22 18:32:46 walters: I'd think yes, during fetch--only way it would know of a new git version is by calling into the fetch2 module, which it won't do again once do_fetch succeeds (unless you do_clean)... Oct 22 18:36:38 no, by default bitbake does the map between ref and commit at parse time for autorev or equivalent recipes Oct 22 18:36:41 not at do_fetch time Oct 22 18:38:44 kergoth: at parse time? does that mean it accesses the network (via fetch2) at parse time? Oct 22 18:40:19 when using the default fetch cache policy and when you have autorev recipes, yes Oct 22 18:40:26 it calls git ls-remote to look up the refs Oct 22 18:46:10 hmm, ok Oct 22 18:46:56 it all depends on what SRCREV is set to Oct 22 18:46:59 well regardless they're equivalent for me since i have a higher level build system that drives bitbake, and it's only run if the revision of the toplevel module changes Oct 22 18:47:05 if it's set to a commit, it doesn't contact the network at parse time Oct 22 18:47:33 if its set to a branch or autorev, it'll resovle at parse time and therefore rebuild if necessary (assuming SRCPV is in use) when the branch changes Oct 22 18:47:37 so i'm looking to derive from linux-yocto-dev since i want 3.10, but i don't want to autorev Oct 22 18:47:58 sounds reasonable, set SRCREV to the commit you want Oct 22 18:48:26 yeah, have been testing a commit to do that, but re-cloning is...very slow Oct 22 18:49:12 ahh yes Oct 22 18:49:52 is there a way to wedge --depth=1 into the fetch? Oct 22 18:50:16 sadly no. it would be nice, but it'd also limit what we can do, since you can't shallow clone an arbitrary commit, only teh tip of a branch (afaik) Oct 22 18:50:24 would be nice to have an as option Oct 22 18:51:20 i like to keep around an _git recipe that's autorev, but has a negative DEFAULT_PREFERENCE, then a locked down default recipe using an exported archive, rather than git Oct 22 18:56:27 my higher level build system (gnome-continuous) has a clean separation between a git mirroring layer and the build metadata Oct 22 18:57:31 the nice thing about this is if you're say building both gtk3 and gtk2, you only fetch one git repo, and they share storage Oct 22 19:21:08 goddamnit bitbake Oct 22 19:21:18 amen Oct 22 19:21:29 bitbake-whatchanged reports squat for differences between these two builds, but it's rebuliding everything anyway, 6008 tasks Oct 22 19:21:42 sstate is so freaking brittle and random at times Oct 22 19:21:44 makes no sense Oct 22 19:23:20 rebuliding ncurses, and whatcahnged on ncurses says not one single thing has changed Oct 22 19:23:45 * kergoth sighs Oct 22 21:21:17 Morning all, can someone explain to me what inherit core-image does in a lot of the recipes? Oct 22 21:29:10 read poky/meta/classes/core-image.bbclass Oct 22 21:31:43 Thanks kergoth, i had read that, more specifically, im trying to determine the difference between: require/include/inherit Oct 22 21:35:05 inherit foo is equivalent to 'require classes/foo.bblass', except it avoids re-inheriting already inherited classes Oct 22 21:35:19 i explained the difference between require and include yesterday :) Oct 22 21:36:05 ok thanks, ill go thru the logs Oct 22 21:37:21 the word alone implies what it does Oct 22 21:37:28 it includes the file, and fails if it doesnt exist Oct 22 21:37:33 include doens't fail if the file doesn't exist Oct 22 21:37:49 they're equivalent to 'include' and '-include' in a makefile, respectively Oct 22 21:42:59 yeah its not easy to figure it out tho from a newbies point of view, lots of keywords thrown around. think i get it now though. thanks for the help kergoth Oct 22 21:46:38 inherit is for inheritence. it facilitates sharing common bits of functionality between recipes Oct 22 23:08:24 It took me an unusually long time to figure out that "README.md" => Markdown Oct 22 23:42:33 damnit, buildtools-tarball's git binary is screwed up again Oct 22 23:51:28 hello :) don't know if it's dora or launching it using qemu, but poky now ask me for a root password... what is the default or pb ? Oct 22 23:54:30 root entry in shadow is still blank, so its because of qemu/vnc what is the good way to be able to log in when using qemu/vnc ? **** ENDING LOGGING AT Wed Oct 23 02:59:58 2013