**** BEGIN LOGGING AT Thu Jan 26 02:59:57 2012 **** ENDING LOGGING AT Thu Jan 26 03:37:48 2012 **** BEGIN LOGGING AT Thu Jan 26 03:55:12 2012 Jan 26 07:43:33 hi Jan 26 07:43:41 i have a problem in yocto Jan 26 07:43:51 can any one assist me please Jan 26 07:43:52 ? Jan 26 07:45:16 i am trying to run Jan 26 07:45:28 bitbake meta-ide-support Jan 26 07:45:42 and keep getting stuck at stage 15 Jan 26 07:45:49 NOTE: Running task 15 of 63 (ID: 60, /home/user/yocto-project/poky-edison-6.0/meta/recipes-devtools/m4/m4-native_1.4.16.bb, do_fetch) NOTE: package m4-native-1.4.16-r0: task do_fetch: Started Jan 26 07:45:50 code: Jan 26 07:52:17 hi Jama Jan 26 07:53:06 hi Jan 26 07:54:13 can you hel e? Jan 26 07:54:16 *help Jan 26 08:00:49 there are like 50 people in this channel Jan 26 08:00:56 no one offers any help Jan 26 08:01:00 great Jan 26 08:01:22 dunno where you are; here, it's about 2 AM and I was on my way to bed. :) Jan 26 08:01:56 here its about 10AM Jan 26 08:06:35 bye Jan 26 08:27:31 Hi guys Jan 26 08:28:09 Does a recipe for wvdial exist in yocto? Jan 26 08:53:35 mrAlmond: there's one in OE-Classic you could port Jan 26 08:56:14 http://git.openembedded.org/openembedded/tree/recipes/wvdial Jan 26 08:58:22 thank you guys...in the meantime I wa looking at ofono...do you think that it's better than wvdial to handle a 3G USB device? Jan 26 09:02:01 mrAlmond: I would say yes, a fair amount of work has gone into ofono to support 3g modems Jan 26 09:02:54 we've had some people on the yocto team doing 3g modem testing with ofono as well, so it should work pretty well Jan 26 09:03:10 * bluelightning -> office, brb Jan 26 09:06:16 Ok...I'm compiling it, thank you bluelightning ! Jan 26 10:22:28 Hello everybody. Jan 26 10:22:33 ANybody around? Jan 26 10:49:05 Still nobody here? Jan 26 10:53:11 ag: I would say the rule is "don't ask to ask, just ask" :) Jan 26 10:54:48 Thank you. Jan 26 10:55:46 Well. I want to understand this part of bzip2: PROVIDES_append_virtclass-native = " bzip2-full-native" Jan 26 10:56:09 Hi. Can new board configurations be approved to meta-yocto inclusion? Jan 26 10:56:15 This is because i got into a strange behavior on a x64 machine. Jan 26 10:56:36 gcc fails because some bzip arhives are empty. Jan 26 10:57:00 Well, this -full- thing, what is it used for? Why isn't -native as all the other? Jan 26 10:57:49 the only dependency for this is in quilt. Jan 26 10:58:08 Is anybody able to explain me why? Jan 26 11:05:04 ag: seems coming from old days Jan 26 11:05:06 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e419523cbf54ee3d3d05325ad9ab5d09c52e8308 Jan 26 11:05:32 I know. Jan 26 11:05:41 I thought it was something that was still functional Jan 26 11:05:44 i will commit the change Jan 26 11:05:47 is still in oe-classic Jan 26 11:05:52 Thank you ant_work Jan 26 11:05:56 yw Jan 26 11:06:39 @jenkor You could ask this in mailing list. Jan 26 11:17:45 jekhor: we tend to have just one reference board per architecture in meta-yocto Jan 26 11:18:28 jekhor: otherwise we would encourage you to create another BSP layer for the device Jan 26 11:22:33 bluelightning, OK, thanks Jan 26 11:23:12 jekhor: what board are you looking to support, if you don't mind me asking? Jan 26 11:25:41 Intel Midfield :) Jan 26 11:27:54 bluelightning, p2020rdb Jan 26 11:28:05 freescale, powerpc Jan 26 11:28:33 p2020rdb.conf Jan 26 11:28:43 This is already done in a meta layer. Jan 26 11:28:56 Wait a sec to give you the git link. Jan 26 11:29:18 git://git.yoctoproject.org/meta-fsl-ppc Jan 26 11:29:22 there is separated meta-fsl layer, yes Jan 26 11:29:51 Indeed. You can add this layer to your build. Jan 26 11:30:38 I'm not sure why would you like to include this in meta-yocto. Jan 26 11:32:06 Our customer something wants strange things :) Jan 26 11:32:47 :) Goo done. Jan 26 11:32:49 good Jan 26 11:34:11 Your customer may wants this machine in meta-yocto? Jan 26 11:34:32 Your customer wants this machine in meta-yocto? Jan 26 11:34:59 ag, yes :) Jan 26 11:36:20 :) Funny. Anyway, the best way to do it is to use that meta layer. About including this machine in meta-yocto.... don't know. And sa Chris said.... "we tend to have just one reference board per architecture in meta-yocto" Jan 26 11:36:50 As a final result you want a build and not layers. So you will have the result in this way. Jan 26 11:37:05 jekhor: I would suggest going back to your customer and pointing out that there's already a Freescale-supported layer for this machine Jan 26 11:37:27 jekhor: is this ppc64? Jan 26 11:37:40 He knows about it. Jan 26 11:38:09 And what is the problem with this layer? Jan 26 11:38:36 powerpc-e500v2 core Jan 26 11:39:12 32 bit Jan 26 11:40:11 Yes. e5500 has a 65bit version as i remember. Jan 26 11:40:40 64* Jan 26 11:43:28 jekhor: I don't know but it's possible we might change the official ppc machine (and maybe add a ppc64 one)... as ag suggested probably best to ask on the yocto mailing list Jan 26 11:44:42 what we provide in meta-yocto is really just for reference though Jan 26 15:44:00 I wrote a recipe and it seems to work - I have expected files in tmp/work/core2-poky-linux/mono-2.10/image/usr/lib - however not all of these file make it to tmp/deploy/images/core-image-autif-crownbay.ext3 Jan 26 15:44:30 How is the image built from individual recipes? Jan 26 15:46:55 autif: there are some details, but basically everything in IMAGE_INSTALL goes into the image Jan 26 15:47:05 i.e. every package named in that variable Jan 26 15:50:24 bluelightning - true, I do have IMAGE_INSTALL += "mono" in core-image-autif.bb - and mono does get built - its make makes (say) 80 binaries - all of these are copied correctly to tmp/work/core2-poky-linux/mono-2.10/image/usr/lib and tmp/work/core2-poky-linux/mono-2.10/image/usr/bin Jan 26 15:51:04 bluelightning - however, out of these 80 binaries only like 20 or 40 are copied to tmp/deploy/images/core-image-autif-crownbay.ext3 Jan 26 15:51:19 why might that be? Jan 26 15:51:21 autif: so I'm assuming those go into separate packages Jan 26 15:51:25 autif: each recipe emits binary packages. PACKAGES in a recipe is a list of packages that will be emitted. FILES_ is a list of globs which match the files to be included in that package. Jan 26 15:51:27 chances are that I am missing something somewhere Jan 26 15:51:36 autif: have a look at packages-split in the mono workdir Jan 26 15:51:58 * autif looks into that Jan 26 15:54:30 ah, what goes into the image is not the output of the recipe, but what packages are included - I was not aware of this Jan 26 15:54:32 thanks! Jan 26 15:54:46 will add mono-dev and others to my imge recipe Jan 26 15:54:49 that should work Jan 26 15:54:50 right? Jan 26 15:55:07 bluelightning Jan 26 15:55:08 ? Jan 26 15:55:33 autif: if what's in mono-dev is what you want in your image, then absolutely yes Jan 26 15:55:50 thats true - will do thanks again! Jan 26 15:55:53 np Jan 26 16:05:32 is there a good reason for not having ruby in oe-core/yocto? I see that there is openembedded.git/recipes/ruby/ruby_1.8.7-p302.bb Jan 26 16:05:54 oe-core is meant to be a minimal core Jan 26 16:05:55 probably no one needed it yet...? Jan 26 16:07:39 what layer/repo would be appropriate for yocto? Likely doing ruby-1.9.3 Jan 26 16:17:12 vmeson: we probably need a meta-ruby Jan 26 16:17:41 or a meta-languages Jan 26 16:17:54 isnt the meta-development Jan 26 16:17:55 Ruby (just based on demand and usage) falls outside the core.. but a meta-ruby or as you just mentioned, a meta-languages might be useful.. Jan 26 16:18:07 autif, perhaps.. this is where things get a bit interesting.. Jan 26 16:18:55 Things submitted to Yocto need to have a maintainer. Either in an existing project/layer -- or via a new project/layer... Jan 26 16:18:57 sorry, I confused recipies-devtools with meta-devtools - it does not exist Jan 26 16:19:42 yes, so yes, we probably need a meta-languages/meta-dev/meta-devtools Jan 26 16:20:23 this is also where the meta-oe comes into place.. if it's a single component, it's a reasonable first step to publish the item, especially if the author isn't likely to do more then simple maintenance on it.. Jan 26 16:20:43 I hate to say it this way, but meta-oe is kind of a dumping ground when it's not obvious where to put the component otherwise Jan 26 16:21:33 so whatever division you make there has to be someone (or a small group) prepared to maintain all of the recipes in the layer Jan 26 16:21:55 so a division such as meta-ruby would make sense; meta-languages is likely to be unmanageable Jan 26 16:21:59 or become that way Jan 26 16:22:12 yup... Jan 26 16:22:30 fray: yes, there's a danger of meta-oe being seen as that Jan 26 16:23:08 thats something we (oe) folks are trying to watch.. keeping it from being a pile of unmaintained garbage.. Jan 26 16:23:16 as long as the components in it remain useful, we're good.. Jan 26 16:24:41 bluelightning: I'd like to separate the klibc recipes, maybe meta-initramfs Jan 26 16:25:25 ant_work: what else will that have in it? Jan 26 16:25:40 the recipes building static packages Jan 26 16:25:57 i.e. kexec-tools-klibc Jan 26 16:26:27 (I have to talk with sgw about the right naming btw) Jan 26 16:31:19 bluelightning: ideally klibc would reside in oe-core, though Jan 26 16:31:56 ant_work: have you floated that idea with sgw/RP? Jan 26 16:32:39 I did not insist yet. I'll try soon with upcoming klibc_2.x. Jan 26 16:33:00 I've had some talk with Darren fwiw Jan 26 16:34:47 klibc makes sense for "tiny" Jan 26 16:43:42 has anyone built boost recently? my build seems to be generating x86 binaries rather than arm Jan 26 16:46:07 xumbi, I'm wondering if the machine layer you're using might have issues. Try building for qemuarm and see if it does the same thing? Jan 26 16:47:14 zenlinux: sure I'll give it a try, seems odd that it would just be that one recipe though Jan 26 16:48:02 true Jan 26 16:48:22 if the build of boost results in a failure, pastebin'ing your error msg might help too Jan 26 16:52:40 xumbi, I'm off to a meeting, will be gone for at least an hour Jan 26 16:53:09 zenlinux: ok thanks, I'll try a qemuarm build in the meantime **** ENDING LOGGING AT Thu Jan 26 17:46:57 2012 **** BEGIN LOGGING AT Thu Jan 26 17:48:20 2012 Jan 26 18:32:23 zenlinux: I just verified that boost is using the system g++ by renaming /usr/bin/g++, now to figure out why... Jan 26 18:34:52 xumbi, are you using a particular poky release, or building from master? Jan 26 18:35:39 I'm using poky-edison-6.0 Jan 26 18:37:25 looking at the recipe, it's not using autotools. I believe we typically ensure Poky's compiler is used by setting CC within the build environment. My first guess would be that a boost makefile is overriding this somewhere Jan 26 18:37:58 yes that's my guess too, I'm reading up on boost cross compiling Jan 26 19:27:41 how is it determined if a specific library goes into mono or mono-dev package - in my case libmono.so goes to mono, however libMonoPosixHelper.so goes to mono-dev package - under tmp/work/core2/mono/packages-split Jan 26 19:28:10 is id determined by yocto/OE or by autotools in mono? Jan 26 19:28:16 or something completely else Jan 26 19:32:28 autif, I think you'll find the hueristics in package.bblcass Jan 26 19:32:45 you can of course override anything using the FILES_ metadata variables Jan 26 19:53:53 autif: where is libMonoPosixHelper.so installed ? Jan 26 19:54:21 autif: generally .so are symlinks to .so.X which are really only needed for development Jan 26 19:54:45 it is supposed to be in /usr/lib - however it is mono-dev package, I need it to be in mono package Jan 26 19:54:57 same will be true for libmono.so as well. unless the recipe has packaged it differently Jan 26 19:55:12 yes thats ok. Is it a symlink ? Jan 26 19:55:18 That is true, except that libmono.so is indeed in the mono package Jan 26 19:55:37 and is libmono.so a symlink too Jan 26 19:55:46 none of these are symlinks Jan 26 19:55:51 they are proper files Jan 26 19:56:22 ok by default package splitter thinks that if a file ends in .so then its a symlink Jan 26 19:56:30 I did mean the full files - when in fact I was referirng to their symlinks Jan 26 19:56:42 let me check again Jan 26 19:56:50 so if you know your package is anamoly then make sure you add it properly to FILE_ Jan 26 19:57:01 ? Jan 26 19:58:08 khem - http://pastebin.com/fTh6PW8F <———— this is what it is currently Jan 26 19:59:18 I need lines 11, 15 and 19 to be in mono package Jan 26 19:59:41 I have added FILES_${PN} += "${libdir}/lib*${SOLIBS}" Jan 26 19:59:45 to my recipe Jan 26 20:00:42 how do I clean and rebuild the image - so that only mono and the image is rebuilt Jan 26 20:03:57 do you guys have any tooling around modifying upstream sources? it seems to me the best thing here is exactly what you have to do in fedora/debian since you're working from a tarball; git init;git add.;git commit -a -m 'upstream' in the unpacked tarball, then modify, git format-patch -1 HEAD, add the patch to the recipe? Jan 26 20:13:30 khem - now I see your point. Mono is funny this way it seems - it had made at least 3 file (not symlinks) that end with .so and atleast one of these is required for .NET Windows Forms apps to run properly Jan 26 20:13:53 autif: add FILES_${PN} += "${libdir}/libMonoSupportW.so" to your recipe Jan 26 20:13:55 that file would be libMonoPosixHelper.so Jan 26 20:14:20 yes I have added something even better I think Jan 26 20:14:22 FILES_${PN} += "${libdir}/lib*${SOLIBS}" Jan 26 20:14:30 stole it from one of the recipes Jan 26 20:14:46 that would be wrong Jan 26 20:14:59 enlighten me :-) Jan 26 20:15:20 since now it will also get libmono-2.0.so into mono which should be be -dev Jan 26 20:15:40 true Jan 26 20:15:50 its alsways better to be explicit Jan 26 20:15:59 regexps are greedy Jan 26 20:16:12 understood - will add the three libs in my recipe Jan 26 20:16:19 thanks Jan 26 20:16:36 this other example you saw probabaly is wrong too Jan 26 20:16:42 which recipe is it ? Jan 26 20:17:11 Its from the poky ref manual Jan 26 20:17:13 http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#var-PN Jan 26 20:17:24 section 3.1.5 Jan 26 20:18:26 autif: actually what you did it correct Jan 26 20:18:47 SOLIBS = ".so.*" Jan 26 20:19:18 can you try with the original fix you had ? Jan 26 20:19:30 and see where does libmono-2.0.so goes ? Jan 26 20:20:12 test is running Jan 26 20:20:31 do_package() is running, not done yet Jan 26 20:20:33 I think your problem should not be solved with FILES_${PN} += "${libdir}/lib*${SOLIBS}" Jan 26 20:23:13 funny, no difference - http://pastebin.com/pJWnEuav - notice that mono's recipe revision changed from r0 to r1 Jan 26 20:23:42 thats what I expected Jan 26 20:23:42 do I need to clean some cache or something? Jan 26 20:23:54 what did you do ? Jan 26 20:24:05 did you use FILES_${PN} += "${libdir}/lib*${SOLIBS}" ? Jan 26 20:24:16 Added FILES_${PN} += "${libdir}/lib*${SOLIBS}" to the recipe Jan 26 20:24:25 yes Jan 26 20:24:39 oh becaise SOLIBS is .so. Jan 26 20:25:03 so, I need to be explicit Jan 26 20:25:07 right Jan 26 20:25:11 like your other example Jan 26 20:25:12 will do Jan 26 20:25:34 will report in a few - image is still building - i just peeked in the work/../temp directory Jan 26 20:42:20 Seems like I have what I wanted to have http://pastebin.com/vtQrp3u8 Jan 26 20:42:33 khem Jan 26 20:45:09 ok Jan 26 20:48:49 thanks for all the help! Jan 26 21:40:06 ls Jan 26 21:40:10 oops Jan 27 01:58:15 sgw, so ranpwd and genmac still don't install Jan 27 01:58:24 genmac doesn't even have a log.do_install log Jan 27 02:00:54 dvhart: you cleaned netbase or bump'ed it's PR right? Jan 27 02:01:09 I did a cleanall, did not bump the PR Jan 27 02:01:16 the cleanall should be sufficient Jan 27 02:01:22 and it did rebuild Jan 27 02:01:39 yes it should, but a PR bump for an RDEPENDS is warranted. Jan 27 02:02:56 how did we decide to do PR bumps in bbappends? Jan 27 02:03:07 not sure I saw a final resolution on that... Jan 27 02:03:40 oh, I missed that this was a .bbappend! Jan 27 02:04:21 We would have to consult the ml archives on that, I am not sure I remember either, or take a look in meta-oe Jan 27 02:05:00 it's irrelevant anyway Jan 27 02:05:09 PRINC := "${@int(PRINC) + 1}" Jan 27 02:05:10 I bumped it, it rebuilt, the other files still do not appear Jan 27 02:07:07 So genmac is being build, but not installed? Jan 27 02:07:29 yes, same with ranpwd Jan 27 02:07:42 what does -g -u depexp show? Jan 27 02:07:56 on netbase Jan 27 02:08:01 netbase->genmac->renpwd Jan 27 02:08:11 what about on the image you are building? Jan 27 02:08:36 need a moment for that... Jan 27 02:09:31 same Jan 27 02:10:19 dvhart: you got me, I am at a loss at this point, RDEPENDS should get it installed on the image. Jan 27 02:10:42 Thanks for having a look. I'm guessing I broke the do_install or something Jan 27 02:10:49 not sure what to look for though Jan 27 02:12:19 you could try simplifing it to an echo and see if do_install gets run Jan 27 02:14:36 OK, I'll let it stew, I've burned all the time I can on it for now, need to get back to another BSP boot debug Jan 27 02:14:55 thanks for having a look Jan 27 02:15:15 dvhart: sure thing, sorry I could not get you fixed up, probably something we are both overlooking. Jan 27 02:15:40 30min+ and the genext2fs is still running! Jan 27 02:21:30 sgw, little overzealous with the debug were we? Jan 27 02:21:53 no just a 4G image and no -02! **** ENDING LOGGING AT Fri Jan 27 02:59:57 2012 **** BEGIN LOGGING AT Fri Jan 27 02:59:58 2012 Jan 27 09:07:08 hi all Jan 27 10:07:29 morning all Jan 27 10:09:02 hi RP__ Jan 27 10:43:38 hi RP__ Jan 27 10:51:26 about that tzdata postinst, do you mean to let it run twice? First on host (instead of providing /etc/localtime on do_install) then on target by pkg upgrade? Jan 27 12:51:39 JaMa: do you have any hint about ^^ ? Jan 27 12:52:31 I think he meant to create $D/etc/localtime in postinst Jan 27 12:52:55 which works right for both do_rootfs and "upgrade" Jan 27 12:53:13 in fact if you look at the ebuild, there is cp -f "${ROOT}"/usr/share/zoneinfo/"${tz}" "${etc_lt}" Jan 27 12:53:22 I have overlooked it Jan 27 12:53:38 I intended to run only on target Jan 27 12:54:05 but running on do_rootfs is also usefull ie for read-only rootfs Jan 27 13:50:37 JaMa: I would not like to abuse of [[ ]] && constructs Jan 27 13:55:58 JaMa: seems to be posix (documented in ksh) Jan 27 13:57:53 I don't see the need for them Jan 27 13:58:12 and gtg Jan 27 15:35:14 where can I read about the initial/intermediate/final package concept in yocto? Jan 27 15:35:34 that's for toolchains Jan 27 15:35:57 yes, and libc Jan 27 15:36:19 I still want to know about it :-) Jan 27 15:43:20 google for info on building crosscompiler toolchains. it isn't specific to yocto Jan 27 15:43:29 the naming is, but the concept is not Jan 27 15:43:53 I've built tons of cross compilers, but I never used three stages like yocto does Jan 27 15:44:26 intermediate becomes necessary when you introduce c library addons like nptl Jan 27 15:50:56 kergoth`: ok, thanks. do you know if that is described anywhere? Jan 27 15:57:29 hmm, not offhand, might try googling for building a crosscompiler with nptl Jan 27 15:58:24 Zagor all cross compilers run in three stages, and have for a very long time.. Jan 27 15:58:44 it's not just nptl, it's matching the C library to the compiler.. the compiler will munge the kernel headers and C libraries slightly to "fix" things.. Jan 27 15:59:05 NPTL support does cause more updates then regular.. Jan 27 15:59:12 ah, right Jan 27 15:59:37 * kergoth` clearly doesn't build them by hand anymore, and lets khem do all the oe work :) Jan 27 15:59:50 where does /usr/bin/libtool (not /usr/bin/libtoolize) come from? on fedora it appears to be from the same package that provides libtoolize, but i'm not getting it in the libtool.rpm in deploy-rpms Jan 27 16:00:03 usual order is... kernel headers, binutils, bootstrap gcc, bootstrap glibc, full gcc, full glibc Jan 27 16:00:05 the upstream libtool Makefile.am clearly has bin_SCRIPTS = libtoolize libtool Jan 27 16:00:27 'er.. that bootstrap_two gcc, full glibc, full gcc.. :P Jan 27 16:00:39 hehe, was thinking that wasn't quite everything Jan 27 16:00:45 i had it at one point and then changed my package set, now it appears to be gone Jan 27 16:00:52 walters in the cross compiler.. there is a libtool-cross that populates the sysroot.. Jan 27 16:01:04 on a target system.. the libtool package I believe provides both libtool and libtoolize.. Jan 27 16:01:28 wow.. my english is apparently leaving me.. Jan 27 16:01:36 lets try that first statement again.. Jan 27 16:01:47 walters: when cross compiling.. there is a libtool-cross that populates the sysroot.. Jan 27 16:01:59 right, that makes sense Jan 27 16:02:01 i was picturing walters in a crosscompiler somewhere, lost Jan 27 16:02:03 :) Jan 27 16:02:03 i want libtool on the target system Jan 27 16:02:13 kergoth, so was I after I re-read that.. :P Jan 27 16:02:18 hehe Jan 27 16:02:23 ya, it SHOULD just be the target libtool package.. Jan 27 16:02:29 although i did end up just fixing the bug in libxml2 where its autogen.sh looks for /usr/bin/libtool even though it just runs libtoolize Jan 27 16:02:35 it's not normally installed in any of the images, other then perhaps anSDK image.. Jan 27 16:02:54 ok, i'll see if i can dig into why it's not being installed on target Jan 27 16:03:36 ya.. the libtool target package on my system contains both libtool and libtoolize Jan 27 16:03:43 libtool-2.4.2-r0.0.x86_32-dbcc721.rpm Jan 27 16:04:04 (ignore the -dbcc721 bit... thats something local to my build) Jan 27 16:04:30 $ rpm -qpl tmp-eglibc/work/i586-gnomeos-linux/libtool-2.4-r4/deploy-rpms/i586/libtool-2.4-r4.i586.rpm |grep /usr/bin Jan 27 16:04:30 warning: tmp-eglibc/work/i586-gnomeos-linux/libtool-2.4-r4/deploy-rpms/i586/libtool-2.4-r4.i586.rpm: Header V4 DSA/SHA1 Signature, key ID 9f977b0c: NOKEY Jan 27 16:04:30 /usr/bin Jan 27 16:04:30 /usr/bin/libtoolize Jan 27 16:04:35 $ Jan 27 16:04:59 I have both /usr/bin/libtool and /usr/bin/libtoolize here Jan 27 16:05:34 looks like my version is newer then yours.. 2.4.2-r0 Jan 27 16:06:30 Hi All, whats the point with the three step build of the compiler ? i.e. gcc-cross-initial, gcc-cross-intermediate, gcc-cross Jan 27 16:06:55 gcc-cross-initial is the first bootstrap.. this gives the system the ability to process raw binaries for a given target Jan 27 16:07:08 gcc-cross-intermediate gives the ability for the system to produce basic binaries for a given Linux system.. Jan 27 16:07:20 gcc-cross includes the ability to produce binaries for a given Linux system & libc Jan 27 16:08:07 usual order is... kernel headers, binutils, bootstrap gcc, bootstrap glibc, second bootstrap gcc, full glibc, full gcc Jan 27 16:08:20 each step needs the items produced from the prior step to work Jan 27 16:08:21 there's an echo in here I feel sure of it... Jan 27 16:08:24 ;) Jan 27 16:08:29 yup Jan 27 16:08:50 probably would be worth documenting this briefly somewhere Jan 27 16:09:12 there used to be a cross toolchain generation script.. but for the life of me I can't remember what it was called.. Jan 27 16:09:24 it could build cross toolchains for most major architectures... Jan 27 16:09:35 er, crosstool...? Jan 27 16:09:39 that might have been it Jan 27 16:09:48 well, crosstool-ng now I think Jan 27 16:09:58 ya.. thats it (the orgiinal version) Jan 27 16:10:02 But why ?, last time I compiled a cross-gcc, or even a canadian cross. It was a one shot build. Why is this special ? Jan 27 16:10:05 I helped the guy who originally wrote it get the order right.. Jan 27 16:10:16 fray: cool :) Jan 27 16:10:27 you need to have kernel headers and glibc headers and glibc libraries in place to build the cross compiler.. Jan 27 16:10:35 without those, you won't get a functional cross compiler due to the dependencies Jan 27 16:10:46 ah, I see Jan 27 16:10:54 if you have final kernel headers and glibc, you can skip the bootstrap and intermediate and go right to the final Jan 27 16:11:21 it's been this way for a long time now.. 2002/2003 time frame... Jan 27 16:11:49 prior to that it was a two step process.. because the glibc/gcc were not linked.. Jan 27 16:11:53 * fray has to go.. back in a bit Jan 27 16:12:07 thx for the explanation. Jan 27 16:15:07 hi, I got no answer in #oe so I post here Jan 27 16:15:36 could that be the cause of the illegal instruction I get: 0x2c050044 <+540>: ; instruction: 0xffffd3d4 Jan 27 16:24:44 or is this normal gdb stuff Jan 27 16:25:01 because for instance symbols that are to be loaded are undefined Jan 27 16:25:12 U in arm*-nm Jan 27 16:36:45 /me thinks he is missing something in master Jan 27 16:36:51 * zeddii also can't use IRC. Jan 27 16:37:04 | Makefile:432: *** No gnu/libc-version.h found, please install glibc-dev[el]/glibc-static. Stop. Jan 27 16:37:08 * zeddii pulls Jan 27 16:38:56 after my update: ERROR: Task do_package_setscene depends upon nonexistant task /home/bruce/poky/meta/recipes-extended/shadow/shadow-native_4.1.4.3.bb:do_populate_sysroot_setscene Jan 27 16:38:59 ech. Jan 27 16:39:04 * zeddii tries again. Jan 27 16:39:24 thats due to a recent bug fix.. Jan 27 16:39:29 but why it errored, I don't know Jan 27 16:39:43 (note, I havn't updated since that fix was introduced) Jan 27 16:39:47 yah. I am now fully up to date. Jan 27 16:39:55 * zeddii suggests that you don't, unless you want to fix it. :) Jan 27 16:41:02 I think it was RP and zenlinux working on the original fix.. Jan 27 16:41:14 * fray updates to see if it's busted Jan 27 16:41:26 (or if Zeddii is having a bad day) Jan 27 16:42:23 zeddii: that doesn't sound good. My builds work and the autobuilder doesn't seem to be doing so badly Jan 27 16:42:40 RP__ could it be due to an existing package cache or something? Jan 27 16:42:41 * zeddii is trying to debug now. Jan 27 16:42:57 * zeddii would definitely have stale caches floating around. Jan 27 16:43:03 zeddii: try moving tmp/cache out the way Jan 27 16:43:12 will do. Jan 27 16:44:28 zeddii: you're using poky, right? Jan 27 16:44:34 RP__, correct. Jan 27 16:44:41 and no changed with the move of cache Jan 27 16:44:46 zeddii: not bitbake and oe-core separately or anything like that Jan 27 16:44:58 nope. full poky, that's it. Jan 27 16:45:09 + my kernel grafts. but they wouldn't be in play here. Jan 27 16:45:30 zeddii: can you pastebin the bitbake output please, I'd like to see that error in context Jan 27 16:47:32 RP__, http://pastebin.com/ga2eBLwK .. let me know if that's not the output you wanted. I can dump the env, etc. Jan 27 16:48:01 d4ny: FOr toolchain info please see the mailing list archives. Its been covered by me there before Jan 27 16:48:19 RP__: OK, thx Jan 27 16:51:05 zeddii: If it helps, if I bitbake linux-yocto here I see that error Jan 27 16:51:16 zeddii: other targets have been working fine Jan 27 16:51:39 interesting. something changed underneath. hmm. Jan 27 16:52:24 I was doing final builds and boots on 3.2 hence my multiple provider warning. Jan 27 16:52:31 zeddii: as a workaround, add another target like dbus Jan 27 16:52:40 zeddii: I'll figure out why this is breaking Jan 27 16:53:14 zeddii: I think your build has to include something from the useradd class Jan 27 16:53:42 what a lovely odd bug to end the day with Jan 27 16:54:12 indeed. it's mid friday for me, and I could do without it as well. I can yank my bzImage directly out of the build as well to keep moving. Jan 27 16:56:06 zeddii: you could also just revert out the last useradd change to workaround this Jan 27 16:56:23 * zeddii does just that. Jan 27 16:57:58 zeddii: I have a proper fix too, will push Jan 27 16:58:32 thx RP__ most appreciated. back to kernel building and booting then~! Jan 27 17:00:18 zeddii: np, fix should be in master now Jan 27 17:04:06 zeddii: have you got a patch for the edison 1.1.1 kernel done (maybe I missed it)? Jan 27 17:24:51 sgw, josh has it and just emailed me about it. Jan 27 17:26:55 sorry zeddii, apparently the place I was yesterday didn't have WWW so I'm a bit behind :-/ Jan 27 17:27:10 no worries! Jan 27 17:28:36 fray: checkout my next error. Jan 27 17:28:41 /home/bruce/poky/build/tmp/sysroots/x86_64-linux/usr/bin/rpmbuild.real: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory Jan 27 17:28:48 * zeddii clears out more Jan 27 17:39:29 kergoth`: that code I added to collect overlayed recipes in cooker collect_bbfiles? Jan 27 17:39:53 turns out, bitbake retains information in the cache about recipes that directly overlay eachother Jan 27 17:40:07 so that code was unnecessary... oh well Jan 27 17:41:21 heh, hate it when that happens Jan 27 17:58:15 kergoth`: have you had a chance to look at the Source Archiver Email? Jan 27 18:49:24 zeddii, looks like Steve Sakoman found the problem... a missing quote Jan 27 19:48:51 ERROR: Package version for package wpa-supplicant-cli went backwards which would break │ Jan 27 19:48:54 package feeds from (0:0.7.3-r7 to 0:0.7.3-r7.1) Jan 27 19:48:56 wtf? Jan 27 19:49:03 since when is 0.7.3-r7 newer than 0.7.3-r7.1? Jan 27 19:58:43 RP__: last commit (63d006b) lacks a double quote in USERADDSETSCENEDEPS Jan 27 19:59:40 kergoth: I don't know how yocto does it specifically, but version number comparisons make SCSI termination seem comprehensible. Jan 27 19:59:48 haha, true Jan 27 19:59:56 I like the approach P2 (in eclipse) took Jan 27 20:00:38 they encode the information used to split up the version into components into the version string itself. under the hood, everything gets a common form, but you can use it to say this version is under rpm rules, that one under debian, .. Jan 27 20:00:45 It might be that { 3, r7.1 } is smaller than { 3-r7 } Jan 27 20:00:46 no need for a central authority, since its self contained Jan 27 20:01:02 good point, i'll append to PV instead for now Jan 27 20:01:38 It's the only obvious thing I can think of; the trailing ".1" could be preventing something from noticing the - seperator. Jan 27 20:01:39 Actually. Jan 27 20:01:51 Yeah, that would make sense. Split on ., then check the last one for a -rN. Jan 27 20:02:12 the thing is, it should be separating on any number/letter/separator boundary, and logically extending a shorter one to match a longer one with zeros Jan 27 20:02:15 (imo anyway) Jan 27 20:02:20 ... in other news, I can totally spell separator most of the time. Jan 27 20:02:24 hehe Jan 27 20:03:00 I was thinking the - thing might be a special case, used for stuff like svn checkouts which are often -rN for integer N. Jan 27 20:03:32 Of course, sometimes version numbers are Just Plain Wrong. I know of at least one case where 1.0 is later than 1.9. Jan 27 20:03:39 http://wiki.eclipse.org/Equinox/p2/Omni_Version - i was thinking it'd be cool to make bitbake support it internally, and take any non-marked-up version and say it's the current scheme, to avoid breaking compatibility Jan 27 20:03:49 heh, yeah, not much you can do about those, other than bump epoch, which is why we have epoch :) Jan 27 20:05:14 Wow, that's really neat. Jan 27 20:05:35 I have this vague sense that this is probably one of the highest sinks of developer time and attention compared to the marginal value out there. Jan 27 20:06:46 I really dont' envy the people that created that omniversion scheme. trying to come up with a format syntax that'd cover everything coudlnt' have been fun Jan 27 21:23:39 RP__: commit 63d006b2d3fc2223c74f81b91f70f5c841108c80 has a missing quote Jan 27 21:23:55 can you please correct it before you head to weekend :) Jan 27 21:24:47 http://paste.ubuntu.com/819336/ Jan 27 21:24:50 is the fix Jan 27 21:25:14 RP__: bb parsing is broken otherwise Jan 27 21:25:17 with errors like Jan 27 21:25:32 ERROR: Nothing PROVIDES '"base-passwd' Jan 27 21:25:39 s/parsing/build/ Jan 27 21:25:50 err yes :) Jan 27 21:27:02 gold finds interesting issues with linking Jan 27 21:27:13 that GNU ld will never see in its life time Jan 27 21:27:16 I am happy Jan 27 21:27:36 like accessing hindden symbols from .so Jan 27 21:28:39 neat Jan 27 21:28:43 that sounds useful Jan 27 21:29:01 I always wondered why exception handing was not working on mips here Jan 27 21:29:08 and it was a folklore Jan 27 21:31:11 now I know how it does it on i386 Jan 27 21:31:40 SIGFOOD Jan 27 21:31:56 oops ECAFECLOSED **** ENDING LOGGING AT Sat Jan 28 03:00:00 2012 **** BEGIN LOGGING AT Sat Jan 28 03:00:00 2012 **** ENDING LOGGING AT Sun Jan 29 02:59:58 2012 **** BEGIN LOGGING AT Sun Jan 29 02:59:58 2012 Jan 29 13:19:48 hello Jan 29 13:19:57 is anyone online here? Jan 29 13:20:07 or should i go to #poky **** ENDING LOGGING AT Mon Jan 30 02:59:59 2012 **** BEGIN LOGGING AT Mon Jan 30 02:59:59 2012 Jan 30 05:28:45 HI! Yocto support compulab cm-x270? Jan 30 10:23:15 morning all Jan 30 10:24:59 moin Jan 30 10:26:14 RP__: kergoth: fwiw: after reverting switch to futures d104f29871c04a5a36600a35b2568b49e5b21ca0 I haven't seen bitbake hanging in last couple of days Jan 30 10:39:19 morning all Jan 30 10:39:36 JaMa: kergoth knows that area of the code much better than I do :/ Jan 30 10:42:58 RP__: I know, just adding you to "To:" as it doesn't look like sqlite issue at all now Jan 30 14:10:54 RP__: do you have any objection about merging gitpkgv onto oe-core? It is going to be used by other layers and they might to not depends on meta-oe just for this class. Jan 30 14:11:44 RP__: I'd like to prepare and send a patch for it but would like to check with you before. meta-ti seems to be the first layer going to use it. Jan 30 14:17:20 otavio: Remind me what this adds which the fetcher can't do? Jan 30 14:17:44 RP__: it allows for use of git describe output for package versioning Jan 30 14:19:16 otavio: I think I've said this before but it really should be an option in the fetcher, a bit like BB_GIT_CLONE_FOR_SRCREV is to trigger git rev-list Jan 30 14:19:50 otavio: or do I remember rightly that this just injects the package version at package creation time now? Jan 30 14:20:29 RP__: it wasn't easy to integrate onto the fetcher Jan 30 14:21:09 RP__: besides, using it on the fetcher doesn't fix our use case as we'd need a newer bitbake and it won't happen soon (and a higher version requirement as well) Jan 30 14:22:06 RP__: besutes it also supports multiple repositories Jan 30 14:22:25 RP__: is it not complex but it doesn't seem to fit the fetcher code Jan 30 14:22:42 RP__: (by SRCREV_FORMAT) Jan 30 14:23:03 otavio: Looking at the code, there is no good reason there shouldn't be a helper in the fetcher which that code could all into, just like SRCPV Jan 30 14:23:30 otavio: I don't buy the version requirements argument, yet it means it needs some thought but its not really a blocking issue, just takes a little bit of effort Jan 30 14:23:47 otavio: SRCPV supports multiple repositories too... Jan 30 14:24:11 s/all into/call into/ Jan 30 14:24:22 RP__: I don't understand the fetcher code well enough to do that myself ... Jan 30 14:24:46 RP__: couldn't we go by the easy path as merging it and later refatoring it? it has been in use by ages in meta-oe Jan 30 14:24:53 RP__: I and others use it a lot. Jan 30 14:25:06 otavio: Who is going to refactor this later? Jan 30 14:25:16 otavio: everyone will just say "too hard" Jan 30 14:25:39 RP__: maybe I; no problem. But I'd like to get it merged soon so we don't hold on this refator requirement for now. Jan 30 14:26:01 otavio: I'm not taking that patch, this needs cleanup before it gets merged Jan 30 14:26:02 RP__: and depending on a newer version of bitbake is a problem for us right now as it might take too long Jan 30 14:26:04 otavio: sorry Jan 30 14:26:37 RP__: besides you not agreeing with it not being done in bitbake's internal, there's any other reason? Jan 30 14:27:01 otavio: not really, I just want to see it done properly Jan 30 14:27:30 otavio: We have way too much of a mess in the fetcher code already. Several of us have tried very hard to improve things, this would be significant backwards step Jan 30 14:27:39 RP__: many things are not done properly in OE currently ... it will always have batter ways of doing things Jan 30 14:27:58 RP__: it will not. It will be ONE class Jan 30 14:28:06 otavio: I think many things have been steadily improving Jan 30 14:29:05 otavio: Its one class until the next one. This same argument has been used for many other things, even by you on occasion Jan 30 14:29:10 RP__: sure ... I agree but I really disagree with the reasoning of you nacking the code. It is well written code, it works and works well for more then ONE user. Jan 30 14:29:43 RP__: sure. I can't wait for everything be perfect before having things done. Jan 30 14:30:16 RP__: you merged not ready code on occasion ... nobody has shout this in your fact (until now) Jan 30 14:30:37 RP__: so you don't seem to follow your own rules Jan 30 14:30:37 otavio: You're not even *trying* to refactor this or fix the problem I'm talking about Jan 30 14:30:59 otavio: I try very hard to be very clear about why decisions get made Jan 30 14:31:24 RP__: well, I am not paid to work on this. I am paid to work in our product ... so I don't have all the time to work on refator stuff all the time. Jan 30 14:31:59 RP__: I do contribute refatoring improvements (if you don't recall my contributions, this is a bad thing) Jan 30 14:32:17 RP__: but expect I'll have time for everything is no sense Jan 30 14:32:20 otavio: As far as I can see, this class not being in oe-core doesn't severely impact your product Jan 30 14:32:40 RP__: as I said, it is going to be used by other layers Jan 30 14:32:50 otavio: I do remember and appreciate your contributions and I'm puzzled about what I've said above which would suggest otherwise Jan 30 14:33:12 RP__: and depending on meta-oe just for this class is going on the wrong direction of making users need satisfied. Jan 30 14:33:36 otavio: and merging code that isn't ready into oe-core isn't correct either Jan 30 14:33:59 otavio: Its not a hard job to fix this properly. I could even probably do it if I was given a suitable incentive Jan 30 14:34:14 RP__: It is ready. It can not be the best possible code, sure ... and I agree on that. But it works for all users of it and works fine. Jan 30 14:34:34 instead I'm just getting accused of various things here which doesn't really encore me Jan 30 14:34:42 s/encore/encourage/ Jan 30 14:35:21 RP__: this is not the point. I could do it too ... but this seems the wrong thing to do now. I do have a deadline for product in end of Feb and a big backlog to work on. Jan 30 14:35:52 RP__: so what seems wrong for me is you forbit to merge it just because it wasn't done as you'd like it to be done. Jan 30 14:36:03 RP__: this is not a technical reason Jan 30 14:36:12 RP__: it is a matter of taste Jan 30 14:36:15 otavio: It is not in keeping with the effort to clean up the whole fetcher mess Jan 30 14:36:28 otavio: I'm asking it try and be in keeping with that effort Jan 30 14:36:33 RP__: well and neither making it worse Jan 30 14:36:46 RP__: as the fetcher doesn't support it currently Jan 30 14:37:06 otavio: It does make the situation worse, this s what you're not seeing Jan 30 14:37:42 RP__: I'll stop discussing it here. I will send the pull request and we discuss it on mailing list. Jan 30 14:37:56 RP__: this is no sense for me Jan 30 14:38:24 otavio: I will respond as I have here and we can discuss from there Jan 30 14:38:31 RP__: (not the refactoring possibility, I agree with it, but it being a reason for non-mergning) Jan 30 14:39:20 otavio: Its not even like this is a new problem. I've asked this happen before, I just get ignored Jan 30 14:39:49 RP__: I said, I don't know bitbake enough to do it Jan 30 14:40:04 RP__: it would take a lot of time for me to figure it, and I don't have this time now. Jan 30 14:40:11 RP__: so I won't work on this now. Jan 30 14:40:36 RP__: I am working on udev right now and won't move from it for this. Jan 30 14:40:36 otavio: Instead of accusing me of various things above, why don't you perhaps ask if I can give some pointers about how to improve this, maybe even write a patch that you could help test? Jan 30 14:41:22 RP__: the problem is not about doing it ... as I said above; the problem is you nacking it without a technical reason for it. Jan 30 14:41:29 RP__: due a taste matter Jan 30 14:41:42 RP__: I know you can do it in 15min or less ... Jan 30 14:41:46 otavio: technical reason is very clear, you just don't like being told no Jan 30 14:41:58 RP__: but this wouldn't change it Jan 30 14:42:41 RP__: it is not a technical reasoning. And it has nothing to do with 'no'. But with: No, because I don't like it. Jan 30 14:43:27 RP__: but no problem. I will back to udev work Jan 30 14:43:54 RP__: ahh, I've been working on it for tree weeks ... (see? refactoring) Jan 30 14:44:50 otavio: I know you do refactoring work and I appreciate it. Again, I'm puzzled where you think I said otherwise Jan 30 15:57:49 RP__: not sure if you saw, but ensc in #oe found that the ParseError/ExpansionError block of the exception handling in parse_next() is missing a shutdown(clean=False), apparently Jan 30 15:57:59 * kergoth wonders how/why this is the case, must have been an oversight Jan 30 16:08:17 kergoth: ah, that does sound like an oversight and might explain JaMa's problem? Jan 30 16:11:47 makes me wonder if that case was missing in the pre-futures switch too. don't know how i could have missed that Jan 30 16:19:25 I'll revert that revert when this is pushed and will test if I still see any hangs Jan 30 16:20:02 if you're up for it, test a few different types of parse failures. e.g. do rp's s/setVar/setVar2/ in teh native conditional in sstate.bbclass Jan 30 16:21:51 I got 2 hangs per day with normal usage on buildhost.. so I'm not planing any special cases.. Jan 30 16:22:17 yes, but you already said you didn't see the previous hangs Jan 30 16:22:38 still good to verify, but we need to cover our bases too :) Jan 30 16:22:50 * kergoth 'll do some testing too if he manages to find some spare minutes Jan 30 16:23:32 I meant that I haven't had any hangs before switch to futures, then I got 2 per day and now it's fine since revert of futures switch Jan 30 16:26:37 I know, and I'm explaining that we had hangs in both cases, so we need to make sure that *neither* happen before we can say with any confidence that the underlying issues are resolved Jan 30 16:32:51 kergoth: if you have a patch for this, feel free to merge it. If not I'll get to it but probably not until quite a bit later on Jan 30 16:32:58 k Jan 30 16:33:28 it certainly shouldn't hurt anything, so i'll do some basic testing to sanity check and then push it today if i have the time Jan 30 16:34:43 kergoth: thanks Jan 30 17:04:07 I am seeing bitbake hangups after finishing parse it never gets to runqueue stage and Ctrl+c doesnt work as well Jan 30 17:04:19 machine uses 8 python processors Jan 30 17:04:45 anyone else seeing it ? Jan 30 17:05:06 this is something new in past week Jan 30 17:08:38 khem: same here, see my messages above Jan 30 17:09:01 khem, if it's what we think it is, it should only happen if you have a parse/expansion error. see lib/bb/cooker.py, go down to parse_next(), see the exception catch of ParseError/ExpansionError. try copying and pasting the shutdown(clean=False) from the other blocks. see if that takes care of it Jan 30 17:11:33 kergoth: the same for SyntaxError? Jan 30 17:12:55 probably Jan 30 17:14:22 kergoth: in my case if I start the bitbake second time all works fine Jan 30 17:14:31 to me it seems its an error clause Jan 30 17:14:48 mine seems not to be that since it works ok second time around Jan 30 18:52:23 khem: hmm, interesting, anything special about your setup? any idea how to reproduce it? I haven't found a way yet Jan 30 18:52:48 khem: oh, regarding the ppc/mips 32 vs 64 thing for the external toolchain, apparently the prefix is the same, distinguished via -m64/-m32 Jan 30 18:54:00 kergoth: it happens with angstrom. Jan 30 18:54:11 bitbake systemd-image Jan 30 18:54:21 and my machine has 4 cores Jan 30 18:54:28 so spawns 8 threads while parsing Jan 30 20:12:27 kergoth: so I just tried with the fix you suggested but my hang still remains Jan 30 20:12:37 kergoth: I have to kill python and not bitbake Jan 30 20:12:56 if I kill bitbake python is still running as defunt process Jan 30 20:12:57 Anyone seen an issue where there ends up being no font-alias package? It seems to be a missing dependency or similar, build ordering. Sometimes it emits just -dev and -dbg, but no mian package. if i clean and rebuild it without going from sstate, it emits all 3 Jan 30 20:13:14 i usually just pkill -9 -f bitbake Jan 30 23:54:59 pidge: any luck with buildhistory? Jan 30 23:56:13 bluelightning: I think it's PEBKAC atm. my AB class isn't picking up that yes, you do want to inherit this. But, I needed to run MUT, so I'll look at it tonight after MUT. Jan 30 23:56:26 pidge: ok, cool Jan 30 23:56:52 * bluelightning is very tired, time for some sleep Jan 30 23:57:04 night Jan 30 23:57:05 night bluelightning Jan 31 00:12:51 kergoth: reading back, for font-alias are you getting no fonts, thus square blank characters? Jan 31 00:18:12 nope. I'm getting a failure to emit a package, thus a do_rootfs construction failure due to font-util depending on it Jan 31 00:18:24 but i haven't managed to reproduce it reliably Jan 31 00:27:11 kergoth: Ok, I am seeing a different issue with the square font. Jan 31 00:27:24 ah Jan 31 00:45:09 sgw: square fonts issue is probably due to cairo not doing the right job is it when you boot core-image-sato Jan 31 00:45:17 sgw: and is it with uclibc/eglibc Jan 31 00:45:38 khem: with eglibc Jan 31 00:46:19 sgw: login into the system using a console Jan 31 00:46:31 and then d pango-querymodules Jan 31 00:46:37 see if that succeeds Jan 31 00:49:37 /help Jan 31 00:51:17 khem: thanks I will give that a try shortly. Jan 31 01:20:10 khem: that did fix it, not sure why it's not working at first. Jan 31 01:27:37 sgw: is this a new root file system Jan 31 01:27:48 sgw: it only is run once Jan 31 01:30:33 wanRight, I guess it's a rootfs install issue. I have to look at rpm vs ipk rootfs might be part of it. Jan 31 01:31:06 what are you using ? Jan 31 01:31:11 I know ipk works Jan 31 01:33:49 actually it's IPK! Jan 31 01:40:32 hmm Jan 31 01:40:56 well I build core-image-sato over weekend from top of tree and all booted fine into qemu Jan 31 01:41:13 using ipk and oe-core only Jan 31 02:19:49 * kergoth glares at font-alias Jan 31 02:30:14 hmm Jan 31 02:30:19 I wonder if there's a problem with allarch Jan 31 02:31:22 this font-alias recipe somehow ended up with a native-like prefix, the files in package/ are the path in sysroot, not usr Jan 31 02:31:27 * kergoth peruses allarch Jan 31 02:32:27 hrm Jan 31 02:34:08 kergoth: I wonder if allarch should have multilib suffic Jan 31 02:34:10 suffix Jan 31 02:34:26 meta/conf/multilib.conf has BBCLASSEXTEND_append_pn-font-alias = " ${MULTILIBS}" **** ENDING LOGGING AT Tue Jan 31 02:59:58 2012 **** BEGIN LOGGING AT Tue Jan 31 02:59:58 2012 Jan 31 08:53:53 hi Jan 31 08:53:54 i am using yocto Jan 31 08:54:07 and i am in the middle of the installation of the env now i ran the command Jan 31 08:54:13 bitbake meta-ide-support Jan 31 08:54:36 and it is running for like 10 hours and downed my diskspace in more then 5GB Jan 31 08:54:36 normal!?! Jan 31 09:31:59 morning all Jan 31 10:55:51 kergoth: bitbake hanging again with master and that shutdown added Jan 31 10:57:15 * JaMa lunch Jan 31 13:01:03 zeddii: ping? Jan 31 13:15:37 ???? Jan 31 13:16:16 pong Jan 31 13:16:27 :D Jan 31 13:56:37 At what stage are files in SRC_URI (specified in a recipe) copied to the WORKDIR? Jan 31 13:59:19 Blok: do_fetch Jan 31 13:59:42 or if they are to be unpacked, do_unpack Jan 31 14:03:45 bluelightning: I am trying to run this simple recipe http://tinyurl.com/yocto-recipe but it does not fetch any of the files specified in SRC_URI. Do you know why? Jan 31 14:05:09 Blok: where are the files you refer to in SRC_URI? Jan 31 14:06:35 Blok: "do_fetch" will get files over the network and ensure they're on local storage. "do_unpack" will place them in WORKDIR Jan 31 14:06:43 bluelightning: ...meta-test/recipes-demo/helloworld/files and the recipe is in .. relative to that path Jan 31 14:06:51 Blok: For file:// urls, do_fetch doesn't do anything Jan 31 14:06:56 since they're already local Jan 31 14:07:10 right, yes, my mistake Jan 31 14:08:06 Blok: that layout ought to work.. Jan 31 14:10:04 bluelightning: Then would not "bitbake myimage -f -c unpack" move the files? Jan 31 14:10:18 it would copy them, not move them Jan 31 14:10:29 but yes Jan 31 14:10:32 bluelightning: oh, sorry, copy Jan 31 14:13:27 bluelightning: No files are copied to /opt/test/build/tmp/work/image/helloworld-1.0-r0 . Jan 31 14:13:56 Blok: what is the recipes filename? Jan 31 14:14:25 RP__: helloworld_1.0.bb Jan 31 14:14:50 Blok: a good tip would be to run "bitbake helloworld -e | grep ^WORKDIR" and see what WORKDIR really is Jan 31 14:15:08 Blok: your path above doesn't look right to me Jan 31 14:16:45 Blok: I just tried that here and it works; so something else must be going wrong there... Jan 31 14:17:22 Blok: what machine are you building for? Jan 31 14:17:37 WORKDIR="/opt/test/build/tmp/work/image/helloworld-1.0-r0" Jan 31 14:17:51 P4080 Jan 31 14:19:14 hmm, how did you end up with "image"...? Jan 31 14:19:27 bluelightning: I'm wondering that too Jan 31 14:19:49 Blok: what about "bitbake helloworld -e | grep WORKDIR" and "bitbake helloworld -e | grep MULTIMACH_TARGET_SYS" Jan 31 14:24:23 Sorry, stupid obfuscation by me. WORKDIR is /opt/test/build/tmp/work/ppce500mc-foo-linux/helloworld-1.0-r0 Jan 31 14:25:58 right, that looks a bit more like it Jan 31 14:26:14 bluelightning: Just to make sure, when you run it it copies the files? (or tries to)? Jan 31 14:26:23 bluelightning: Sorry about that :) Jan 31 14:27:01 Blok: yes, it does Jan 31 14:31:01 Blok: just to confirm, "bitbake -e helloworld | grep ^FILE=" points to the recipe you think it does? Jan 31 14:31:52 yup, it points to my helloworld_1.0.bb Jan 31 14:31:58 ok, just checking Jan 31 14:32:00 hmm Jan 31 14:33:10 bluelightning: It is a pre-built run that I am trying to rerun. Would that mess up the unpack for example? Jan 31 14:34:05 Blok: should not... especially in the above example when you specified -f, that forces it Jan 31 14:34:32 you can do "bitbake -c clean helloworld" to start over Jan 31 14:36:12 Blok: what does /opt/test/build/tmp/work/ppce500mc-foo-linux/helloworld-1.0-r0/log.do_unpack have in it? Jan 31 14:38:53 bluelightning: now it works! Thanks! Jan 31 14:39:36 that would indicate -f doesn't do the same things as after clean Jan 31 14:45:17 I'm not sure I understand exactly what Blok did beforehand... Jan 31 14:46:47 JaMa: damnit. Jan 31 14:51:08 kergoth: btw: should parallel parsing respect BB_NUMBER_THREADS or some similar variable? Jan 31 14:51:32 with BB_NUMBER_THREADS = "1" I see like 8 bitbake processes during parsing Jan 31 14:52:17 then it reduces it to 3-4 python.*bitbake processes which is still more then I would expect with BB_NUMBER_THREADS = "1" Jan 31 14:52:26 BB_NUMBER_PARSE_THREADS, iirc. the potentially unexpected bit is that it defaults to the number of cores, not BB_NUMBER_THREADS Jan 31 14:53:09 ok will grep bitbake source to check, thanks Jan 31 14:54:06 I think we should make BB_NUMBER_THREADS default to the number of cores. given optimal is more like 2xcores, that should be conservative enough to make use of the user's resources without interfering with their ability to use the system Jan 31 14:54:26 heh Jan 31 14:54:36 but it should take amount of memory into account.. Jan 31 14:54:53 yeah, true Jan 31 14:55:03 because with 4 cores with 2GB of ram in virtual machine I got lot of swappiness Jan 31 14:55:12 which is not to my happiness :) Jan 31 14:59:55 okay, I'm stuck on this issue. sometimes font-alias ends up built with the prefix pointing to the native sysroot rather than the target, and as a result ends up with no ${PN} package emitted. if it does this and i cleansstate and rebuild it, it works fine. my only guess was that maybe allarch doesn't work well with variants, and somehow a native/nativesdk was overwriting the content from the target version, Jan 31 14:59:58 but thats unlikely given that there's no font-alias-native -- it doesn't define BBCLASSEXTEND :) Jan 31 15:00:00 anyone have any ideas? Jan 31 15:00:55 kergoth: are you using -jN with N>1 ? Jan 31 15:01:20 bluelightning: I modified my Makefile, but for some reason it uses some cached version. bitbake -f -c clean helloworld does not help. How do I get rid of the cache? Jan 31 15:01:56 or is this pure bitbake? Jan 31 15:02:09 * Zagor is new here :) Jan 31 15:02:29 Blok: when you say cached do you mean it only does setscene tasks when you rebuild? Jan 31 15:04:09 bluelightning: It also runs unpack etc Jan 31 15:04:23 Blok: what version of poky are you using? Jan 31 15:04:25 kergoth: and does bitbake read local.conf soon enough to see BB_NUMBER_PARSE_THREADS value there? I still have quite a few processes http://paste.pocoo.org/show/543568/ Jan 31 15:04:47 JaMa: yes. it uses the configuration metadata, the exact same way BB_NUMBER_THREADS does. Jan 31 15:04:57 it wouldn't be able to parse the recipes if the config metadata hadn't already been parsed, obviously Jan 31 15:15:23 hmm Jan 31 15:22:59 bluelightning: I just made a really silly mistake :) I had an old file in an archive and incorrectly assumed that files were cached Jan 31 15:28:24 Blok: ah ok, no problem Jan 31 15:28:35 Blok: I would be more worried if something was broken :) Jan 31 15:28:59 bluelightning: Now everything looks good, I am happy. Thanks again! Jan 31 15:30:11 Blok: happy to help :) Jan 31 15:30:47 Blok: so the "clean" vs -f thing was just a mistake? Jan 31 15:42:17 hi there Jan 31 16:03:41 * zeddii had this window hidden. hmm. Jan 31 16:46:02 I want to patch the kernel source before it is built - how do I do this? Jan 31 16:48:56 autif: we have some documentation for that http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#dev-manual-kernel-appendix **** BEGIN LOGGING AT Tue Jan 31 17:23:32 2012 Jan 31 17:37:41 incandescant - the section (B.1.1) talks about setting up git repositories - I am working off of tarballs - edison 6.0 yocto 1.0 Jan 31 17:37:46 still groking though Jan 31 17:42:20 autif1: I'm not intimately familiar with the documentation but I thought it covered tarballs too Jan 31 17:50:12 I have read these twice and I can not find it - there is no section like it Jan 31 20:35:37 ok, two things I need modified. Jan 31 20:35:59 the cc exp date needs to be in one field and in MMYY format Jan 31 20:36:36 and needed to add a country abbreviation selection box Jan 31 20:37:04 everything else is completed. Jan 31 21:55:44 I have created a new bbappend file - how do I make bitbake pick these changes up - this is a new bbappend file for an existing recipe Jan 31 21:56:18 the name has to be the same as the .bb file (pn_pv.bbappend), and it has to exist in a layer that bitbake knows about.. Jan 31 21:56:22 otherwise it's automatic Jan 31 21:56:34 oh, it is in a different layer Jan 31 21:56:41 and I want to keep it that way Jan 31 21:56:42 I just posted a new layer to git.yoctoproject.org -- look at the meta-selinux layer Jan 31 21:57:03 the conf directory matters, and the items in everything but recipes-security are simply small .bbappend fragments Jan 31 21:59:05 true - but i have different problem - the recipe.bbappend file seems to be fine or should be fine, but when I bitbake -b path/to/recipe -c clean, bitbake -b path/to/recipe - it does not regenerate pseudo, so bitbake thinks that it can get the recipe from the cache or whatever Jan 31 21:59:32 did you change the PR in the bbappend? Jan 31 21:59:34 the layer for recipe and recipe.bbappend are different Jan 31 21:59:38 yes Jan 31 21:59:51 then it's not working if it's reusing the older version Jan 31 22:00:16 verify your new layers configuration is correct.. that confused me for a bit when I first made the layer Jan 31 22:00:18 hmmmn, is there a way to clean pseudo cache Jan 31 22:00:32 bitbake -c cleansstate Jan 31 22:00:36 or force it to rebuild Jan 31 22:00:45 and this will not clean everything Jan 31 22:00:46 right? Jan 31 22:00:52 i dont want to wait another 5 hours Jan 31 22:00:53 :-) Jan 31 22:01:02 clean removes files.. cleansstate runs clean -and- removes the sstate cache files for the package.. Jan 31 22:01:21 bitbake -c cleansstate Jan 31 22:01:26 cleans for one recipe Jan 31 22:01:28 ah - got it Jan 31 22:01:32 thanks fray! Jan 31 22:01:33 bitbake -c cleansstate [no recipe] does world Jan 31 22:01:37 (I think) Jan 31 22:01:45 cool! Jan 31 22:01:49 http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/tree/conf/layer.conf Jan 31 22:02:05 the BBPATH and BBFILES are the critical lines for the bbappend files to be triggered.. Jan 31 22:02:18 yup - macthes mine - i have working recipes from it - just not bbapend stuff Jan 31 22:02:28 BBPATH adds the layers.. bbfiles adds recipes and bbapppends.. Jan 31 22:02:33 of course instead of _selinux, mine have autif Jan 31 22:02:34 you have both the *.bb and *.bbappend? Jan 31 22:02:37 yup Jan 31 22:06:10 git it - thanks again Jan 31 22:06:25 bbappend was misspelled Jan 31 22:06:28 that swas it Jan 31 22:06:35 picked up the bumped up PR Jan 31 22:06:40 thanks fray! Jan 31 22:06:53 it would not have struck me to look at conf files Jan 31 22:06:54 :) Jan 31 22:07:02 ya, it took me a while to find everything as well.. **** ENDING LOGGING AT Wed Feb 01 02:59:57 2012 **** BEGIN LOGGING AT Wed Feb 01 02:59:57 2012 Feb 01 09:59:03 morning all Feb 01 10:18:09 hi bluelightning Feb 01 10:21:38 hi RP__ Feb 01 12:40:45 Hello there, using bitbake recipes, how do I get the equivalent of %config in a RPM spec? ie. I would like to mark a file as "configuration file" so that it does not overwrite a local version. Feb 01 12:48:44 RP__: did you see the udev cache patch? does it looks fine? Feb 01 12:49:36 RP__: I will copy 164 onto meta-freescale for now as it lacks kernel newer then 2.6.35 (making it unusable with newer udev) and finish the update to newer udev. Feb 01 13:21:30 abustany: I could be wrong, but I'm not sure we currently have a mechanism for that Feb 01 13:22:11 otavio: its looks better, its still many more forks that the rest of the boot process has :( Feb 01 13:22:58 bluelightning, abustany: CONFFILES? Feb 01 13:23:05 abustany: actually I tell a lie, for RPM at least we have CONFFILES Feb 01 13:23:18 bluelightning: works for ipk too Feb 01 13:23:35 deb has a reference to it, presumably that works too Feb 01 13:23:41 * bluelightning learns something new :) Feb 01 13:24:01 hmm, it's not in our documentation though... Feb 01 13:28:06 bluelightning: yes, I found CONFFILES, thanks :) Feb 01 13:39:48 ok, I've emailed Scott R about adding that to the docs Feb 01 14:49:14 must finiah packing Feb 01 15:37:35 I added SRC_URI += "file:// …" in my recipe - however, I get en error - Here are the .bbappend and :q Feb 01 15:37:45 sorry, this is premature - ignore Feb 01 15:38:03 will have a full question with pastebin in a few Feb 01 15:45:00 OK, so I am trying to patch the kernel before it is built - based on Bruce Ashfield's answer to my question on the mailing list, I am trying to write a bbappend file with just SRC_URI += "file://..." to patch the kernel - however I get an error - I have tried a few combinations, but nothing seems to work - Here are all the relevant files - http://pastebin.com/DXBiuY35 Feb 01 15:45:31 The error is Unable to fetch URL file://linux/drivers/hid/hid-core.c.diff Feb 01 15:48:34 If I copy the my recipes/linux/linux directory at meta/recipes-kernel/linux/linux - this error does not seem to pop up, however, the patch is not applied Feb 01 15:48:46 but that is another story Feb 01 15:53:40 you have to add the path where the bbappend lives to the file:// search path Feb 01 15:53:44 grep for FILESEXTRAPATHS Feb 01 15:54:06 ah - thats what I was missing Feb 01 15:54:07 thanks! Feb 01 15:55:34 np Feb 01 16:10:13 anyone see Feb 01 16:10:14 https://gist.github.com/1717755 Feb 01 16:10:33 its a remaining useradd issue on edison1.1.1 Feb 01 16:11:23 looking over the recipes its not immeadily obvious why this is an issue Feb 01 16:11:31 maybe its a race with another useradd? Feb 01 16:20:44 kergoth - I have added files extra paths, bitbake moves further - as in completes the do_fetch and do_patch, however, my .diff files are not copied or applied to the tmp/work/i586/linux-xxx-r3/linux/drivers/hid/hid-ids.h file. what else can I be missing? Feb 01 16:24:42 do_fetch just wraps base_do_fetch Feb 01 16:24:46 msm: I've seen something similar recently... the problem is anything that reads /etc/group or /etc/passwd might do so at a time when it's being written to Feb 01 16:25:04 (by useradd) Feb 01 16:26:20 however, do_patch() does not seem to call do_patch_base() - Is this a difference between kernel and non kernel recipes? Feb 01 16:29:21 autif: for kernel you should look in kernel.bbclass lot of stuff happens there instead of recipe Feb 01 16:37:59 ERROR: Bitbake's cached basehash does not match the one we just generated (/scratch/clarson/mel5/qemu/sb-core/recipes/images/devel-image.bb.do_rootfs) Feb 01 16:38:01 hmm Feb 01 16:38:08 bluelightning: hmm, so we need a global useradd lock or osmething? Feb 01 16:38:12 anyone have a clue what this one is about, before I dive into the bitbake code? Feb 01 16:38:26 msm: in theory, but how do you do a lock for every call to getgrnam for example? Feb 01 16:39:11 msm: in the case of your error though where a lock is already being taken I think it might be enough if we just retried it enough times until it worked Feb 01 16:42:09 bluelightning: alright well ill look closer in a sec Feb 01 16:43:34 zeddii, I'm using meta-kernel-dev again (been a while actually) and it always rebuilds the kernel, even if I don't change anything Feb 01 16:43:40 zeddii, have you noticed this? Feb 01 16:44:28 zeddii, this obviously breaks most iterative workflows Feb 01 16:44:59 zeddii. doesn't do that here. maybe there's a bitbake variable we need to tweak ? Feb 01 16:45:30 hrm Feb 01 16:45:36 no idea what that would be Feb 01 16:45:37 s/zeddii// Feb 01 16:45:47 :) Feb 01 16:45:48 * zeddii is losing it. doing 4 things at once. Feb 01 16:45:55 talking to yourself in public again Feb 01 16:46:04 exactly. gotta keep that hush hush Feb 01 16:46:05 only 4? light work day. Feb 01 16:48:39 man, I'm trying to single task more, but doing work that involves 1h+ build times makes that a little difficult unless you want to stare at build output Feb 01 16:48:42 heh Feb 01 16:48:56 kergoth, so true Feb 01 18:30:00 I want to learn more about packages - for example - I want to copy some JPG files in /home/root/pics, when I bitbake my recipe, I get everything in image directory as desired, however, nothing in packages-split/recipe directory. How do I tell the recipe what to put where. Here is my recipe - http://pastebin.com/jJ9hKj0h Feb 01 18:30:11 I get WARNING: /home/root/cardiopics/zion2.jpg Feb 01 18:30:44 WARNING: For recipe cardiopics, the following files were installed but not shipped in any package: Feb 01 18:30:44 WARNING: /home/root/cardiopics/zion2.jpg Feb 01 18:32:52 FILES_ = "list of files or globs to put in this package" Feb 01 18:33:03 read bitbake.conf for the default list of PACKAGES to emit and FILES that go in them Feb 01 18:33:25 you really shouldn't be including anything from /home in a package ever, though :) Feb 01 18:37:04 kergoth - true - we are still in the phase where we are exploring a lot, eventually this will likely belong in /opt somewhere Feb 01 18:37:22 this as you may have guessed is for the app and not for the system Feb 01 18:37:48 * kergoth nods Feb 01 18:56:50 autif: FILES_${PN} += "/home" or similar should do it for you, btw Feb 01 19:04:00 yup, I did that and it worked - initially I did ${S}/*jpg and that did not work, so I cheated off of some of the recipes in meta, so, not I have /home/root/pics/*.jpg, seems to work, image is bulding Feb 01 19:04:22 thanks for the help! Feb 01 19:04:56 this was something that I was interrupted for - now back to trying to patch the kernel Feb 01 20:13:45 so there seems to be an issue with distutil recipes Feb 01 20:14:10 when doing a build, it seems to cache the linker step somehow such that it pulls out ld arguments from sstate-cache from a previous build Feb 01 20:14:21 instead of using ones for the current machine Feb 01 20:14:41 this has the effect of passing a —sysroot to ld that is incorrect, and consequently it can't find libraries to link against Feb 01 20:15:54 soemthing like this fixes it by adding the correct sysroot Feb 01 20:15:55 https://gist.github.com/1719059 Feb 01 20:18:20 msm: ick! Feb 01 20:22:17 i know nothing about distutils either Feb 01 20:23:44 it sounds like we need to make some changes to the class to cope better with sstate, I don't know exactly what they'd be though Feb 01 20:23:50 msm: care to file a bug? Feb 01 20:24:10 always export LDFLAGS, CFLAGS, etc would probably fix issues Feb 01 20:24:38 this is a 1.1.1 issue too, not sure about master Feb 01 20:24:46 so filing a properly bug becomes problematic Feb 01 20:25:14 * msm sighs Feb 01 20:25:39 msm: it does? you should be able to file bugs against 1.1 Feb 01 20:25:48 msm: I can file it for you if it's an issue Feb 01 20:26:37 im filing against 1.1.1 Feb 01 20:26:41 not sure if it effects 1.2 Feb 01 20:27:05 thanks Feb 01 20:31:26 incandescant: hi Feb 01 20:31:38 hi otavio Feb 01 20:31:41 incandescant: i just sent a patch for udev, can you give it a test? Feb 01 20:32:07 incandescant: http://bugzilla.yoctoproject.org/show_bug.cgi?id=1948 - let me know if that makes sense Feb 01 20:32:12 otavio: sure, I'll kick a build off promptly Feb 01 20:32:15 incandescant: it takes into account the changes asked by RP__; i did a test here and seems to work fine Feb 01 20:33:04 msm: that makes sense, thanks Feb 01 20:33:22 otavio: gotcha, I'll build and boot test on a board here and let you know Feb 01 20:33:48 msm: want me to try testing the external toolchain changes against edison? it's never been tested there, we're tracking master at the moment Feb 01 20:34:45 incandescant: good Feb 01 20:35:01 incandescant: i am using a 173 udev locally and now moving to 175 Feb 01 20:37:52 kergoth: i'd say if you guys want that in our next SDK Feb 01 20:37:57 kergoth: =) Feb 01 20:38:09 kergoth: im happy to add it if it's working Feb 01 20:38:15 i think it benefits all Feb 01 20:41:53 agreed. wanting to use an external toolchain is quite a common thing. actually, I'd like to take the time to get an external toolchain recipe for crosstool-ng toolchains too one of these days.. Feb 01 20:41:55 heh Feb 01 20:41:56 otavio: should there be a PR bump? Feb 01 20:42:13 incandescant: indeed Feb 01 20:42:17 incandescant: forgot it Feb 01 20:42:25 otavio: I do that *every* time... Feb 01 20:42:34 * incandescant can't wait for auto PR bumps Feb 01 20:43:10 incandescant: mostly in the cases as now that I am playing with that all the time and changing various udev versions Feb 01 20:43:15 incandescant: easy to forget Feb 01 20:43:21 incandescant: me too Feb 01 23:11:25 otavio: udev builds and boots without error here Feb 02 00:25:34 fray: ping **** ENDING LOGGING AT Thu Feb 02 02:59:57 2012 **** BEGIN LOGGING AT Thu Feb 02 02:59:58 2012 Feb 02 06:44:16 hi Feb 02 07:24:04 can anyone help me how to download files from lxr? Feb 02 08:46:28 kergoth: Hi, after looking at "[PATCH] setup.py: Install concurrent too" I guess that another difference in my setup is that I was using system concurrent and futures, not the version bundled in bitbake (as I'm using setup.py to install bitbake in gentoo) Feb 02 09:46:03 hi all Feb 02 09:59:31 good morning Feb 02 12:43:01 denix, Mail to you is bouncing again. [denix.org. 3600 IN MX 10 denix.no-ip.org.] Feb 02 15:02:48 JaMa: hmm, that's interesting, will try reproducing that way. what distro? Feb 02 15:03:55 kergoth: gentoo, but you can use my chroot with it Feb 02 15:04:49 JaMa: url? Feb 02 15:05:15 http://git.shr-project.org/git/?p=shr-chroot.git;a=summary Feb 02 15:05:57 and notice last patch there.. to reproduce it you need to revert this Feb 02 15:06:09 k Feb 02 15:07:27 that clone takes a while :) Feb 02 15:09:15 pushing after rebuild with newer glibc is a lot worse :) Feb 02 15:11:43 hehe, i bet Feb 02 15:11:59 also, you know what i really hate about http cloning? no progress bar Feb 02 15:12:08 the git folks should really look into that if possible :) Feb 02 15:18:33 kergoth: you should use git:// and depth limited to 2 :) Feb 02 15:19:09 ah, didn't realize there was a git-daemon running. your gitweb doesn't show it :) Feb 02 15:19:12 thanks Feb 02 15:19:44 ah it shows only git+ssh option, but public is enabled too Feb 02 15:19:46 nope, there isn't, will stick to http, but the depth limit is a great idea :) Feb 02 15:20:11 http:// doesn't support --depth AFAIK Feb 02 15:20:16 git:// doesn't work here, does the 'remote end hung up unexpectedly' thing Feb 02 15:20:18 or didn't when I tried last time Feb 02 15:20:37 yep, indeed Feb 02 15:20:38 weird it's used by most users here (our Makefile is using git:// + depth Feb 02 15:20:45 huh, weird Feb 02 15:20:48 * kergoth double checks the url Feb 02 15:20:49 git://git.shr-project.org/shr-chroot.git Feb 02 15:21:33 oh, right, yeah, i jus trealized that too. realized the repo prefix was only in the web server config :) Feb 02 15:21:37 unless it died from http:// workload :) Feb 02 15:21:38 s/repo/'repo'/ Feb 02 15:21:47 thanks again, will try to repro the hang with this Feb 02 15:23:15 kergoth: good morning, any chance you have had a look at the Source Archiver email (on oe-dev list)? Feb 02 15:25:54 sgw: it looks relatively sane to me, that sort of hook approach was what I was thinking as well. The key bit that I think is missing from this is determination of where in the task graph this occurs. If you just use a funcs type approach, that just runs that series of operations from your task, but it doesn't change where in the build process the task occurs. thoughts? Feb 02 15:26:13 e.g. after unpack before patch, after patch before configure, .. Feb 02 15:26:50 what happened to conf/machine/include/tune-ppc440.inc? I see a patch for it in the mailing list archive, but I don't find it in the git repo Feb 02 15:28:09 * kergoth ponders Feb 02 15:32:21 kergoth: right, I thought I put that timing in there, there's another issue I thought about which is if we want the do_compile/do_install logs/scripts, but not all the build bits, we would need to use an alternate ${S} for the unpack/patch possibly. Feb 02 15:33:47 yeah, i was thinking that too. maintaining a parallel dir and if needed pulling bits over from ${S}/${WORKDIR} perhaps via task completion events. hmm Feb 02 15:35:47 gm Feb 02 15:36:06 kergoth: I figured my kmod problem is really a pseudo issue. Feb 02 15:36:25 kergoth: pseudo does not wrap opendir() calls Feb 02 15:36:42 and kmod does opendir() and then openat() Feb 02 15:36:48 interesting idea, I think that's what RP suggested based on the way sstate works, this would be analogous to but would just capture source,patches,log based on distro requirements. Feb 02 15:36:51 and openat() is wrapped Feb 02 15:38:08 khem: ah! interesting Feb 02 15:39:15 sgw: in an ideal world, I'd like to see bitbake paying attention to both input *and* output of tasks, not just metadata. so if the metadata for this task changes, but when run it doesn't change its output, the tasks which depend on it would end up being skipped/noexec, or something.. Feb 02 15:39:16 heh Feb 02 15:39:28 sgw: whats holding up patches some regressions Feb 02 15:39:56 kergoth: how do you track output Feb 02 15:40:03 its in time Feb 02 15:40:17 aha, it's in meta-xilinx. Feb 02 15:40:18 iow you wont know until after Feb 02 15:40:36 fray: around ? Feb 02 15:41:48 khem: would have to mark up the tasks with the directories they write to, and track their changes with git or similar. non-trivial. Feb 02 15:44:36 kergoth: gotcha. Feb 02 15:45:16 not directly related, just dreaming :) Feb 02 15:45:32 khem: are you asking about your patches? I have been a little distracted, and moving slower on patches this week, RP has been working through some. Feb 02 15:46:21 what is the reason for putting ppc440 under meta-xilinx instead of under meta, like e500 etc? Feb 02 15:50:43 I'm not complaining, just trying to understand Feb 02 16:53:04 I am tuning the ext4 filesystem for faster builds - as described on the wiki - https://wiki.yoctoproject.org/wiki/Build_Performance - I was wondering how to get the information after tuning - is there something like ext4dump command which tells me what the "has_journal" is set to, likewise for barrier, commit etc Feb 02 16:56:11 autif: what you want is to check for journal on a ext4 partition Feb 02 16:56:12 ? Feb 02 16:56:26 I guess Feb 02 16:56:46 how do I do this? I am not sure of the command is Feb 02 16:57:02 The fastest idea that comes into my mind is dmesg | grep EXT4. Feb 02 16:57:08 ah Feb 02 16:57:10 will do Feb 02 16:57:15 thanks! Feb 02 16:57:21 You should see something like: EXT4-fs (dm-3): mounted filesystem without journal Feb 02 16:57:39 No prob. Feb 02 17:01:45 sgw: I was asking about the fonts issue you had did you find offending patch Feb 02 17:02:15 I dont worry about patches going upstream as long as they are out there for someone to try Feb 02 17:02:28 beauty of distributed scms Feb 02 17:12:49 can anyone suggest a better fix here? Feb 02 17:12:50 http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=mattsm/edison1.1.1&id=183967bded26ca4d31a65846044fba0bc30096a1 Feb 02 17:13:07 useradd locks /etc/passwd Feb 02 17:13:35 I'd suggest changing useradd/group add to have a locking / retry argument Feb 02 17:13:51 this could potentially be a problem during target filesystem installs as well if things become threaded Feb 02 17:15:13 fray: add an argument to these bash functions? Feb 02 17:15:39 no.. actually modify useradd and groupadd (from shadow-utils) to support a retry option.. Feb 02 17:16:32 our other --root change was accepted upstream, the shadow maintainer might be interested in a retry option when we let him know we have a multithreaded package creation/install framework that is running into problems.. Feb 02 17:16:54 we need to either handle the lock/retry outside of the adduser/group calls -- or do it internally.. I prefer centralizing the functionality Feb 02 17:17:13 fray: i dont disagree Feb 02 17:21:33 fray: got few moments Feb 02 17:21:45 fray: I have something lurking in pseudo Feb 02 17:21:50 I'm here Feb 02 17:22:19 fray: ok. here is problem when kmod/depmod is run under pseudo Feb 02 17:22:31 it segfaults pseudo Feb 02 17:22:37 and I traced it a bit Feb 02 17:22:59 it happens at openat() wrapper Feb 02 17:23:20 Hmm.. ok Feb 02 17:25:14 oooh Feb 02 17:25:19 *is summoned* Feb 02 17:25:23 ahh you made it here.. ok Feb 02 17:25:30 khem, seebs is the maintainer of pseudo.. Feb 02 17:25:36 he's more likely to know what is doing on then I am Feb 02 17:25:40 (at least w/ openat) Feb 02 17:25:46 My static answer: Must be user error. Feb 02 17:25:50 HAHAH Feb 02 17:26:05 ... What's distressing is how often that's actually turned out to be correct, but I am inclined to think that a segfault is highly suspicious at the least. Feb 02 17:26:18 The *at() stuff isn't as carefully tested probably because it's only used sometimes. Feb 02 17:27:48 So. 1. What version of pseudo? ("pseudo -V" should say something like 1.2.) 2. Do you have a reproducer? 3. Any hope that you can give me a tiny test program that reproduces? 4. chroot functionality involved? Feb 02 17:28:35 Oh, and what's the host system? 32/64, x86/something-else, kernel version, etc.? Feb 02 17:36:46 seebs: its amd64 Feb 02 17:37:05 reproducer is there but its a bit large Feb 02 17:37:15 where do I get source for kmod to look at it? Feb 02 17:38:57 Ahh, nevermind. Feb 02 17:39:02 fray found it. Feb 02 17:39:06 * fray finishes relaying messages? Feb 02 17:39:08 I didn't know dirfd(DIR *) existed. Feb 02 17:39:30 Lemme make you a test patch. Feb 02 17:40:11 Hmm, I've never seen that function either.. ;) Feb 02 17:40:35 stream -> fd conversion for directories.. Feb 02 17:41:10 seebs: heh Feb 02 17:41:58 I am happy to change to something equivalent that pseudo understands Feb 02 17:43:29 hmm posix says Feb 02 17:43:31 This interface was introduced because the Base Definitions volume of POSIX.1-2008 does not make public the DIR data structure. Feb 02 17:44:16 Yeah. Feb 02 17:44:53 ha.. Feb 02 17:45:07 its implementation defined if opendir returnd fd somehow you wont need it Feb 02 17:45:30 but all we have is glibc Feb 02 17:48:36 seebs: I try hard to not make "user errors" :) Feb 02 17:48:44 madness Feb 02 17:48:59 I don't think you're allowed to use pseudo anymore, because I require that users be hilariously incompetent and not make work for me. Feb 02 17:49:04 You aren't in our target demographic, see. Feb 02 17:49:15 Okay, there'll be a delay while the ftp server moves stuff, but Feb 02 17:49:25 ftp://ftp.windriver.com/pub/pseebach/opendir.patch Feb 02 17:49:33 Give it a try. All I can promise is that it compiled. Feb 02 17:50:57 No such file `opendir.patch' Feb 02 17:51:07 it can take up to 5 minutes Feb 02 17:51:12 oh wow Feb 02 17:51:19 can you put it on pastebin.com Feb 02 17:51:20 ? Feb 02 17:51:22 thats faster Feb 02 17:51:22 we drop it on an internal server, and it's automatically mirrored Feb 02 17:51:32 I probably can, actually. Feb 02 17:51:38 you can use patebinit Feb 02 17:51:46 its handy cmdline utility Feb 02 17:51:59 err pastebinit Feb 02 17:52:02 Neat! Feb 02 17:52:07 That is an awesome tool. Feb 02 17:52:17 it is Feb 02 17:52:41 pastebin.com/XgjBA3su Feb 02 17:52:46 It made me do captcha stuff Feb 02 17:54:22 halstead: ping Feb 02 17:54:40 nitink, What's up? Feb 02 17:54:53 ima have breakfast, lemme know whether this helps Feb 02 17:55:03 seebs: ok will do Feb 02 17:55:04 halstead: sent you a private email regarding git repository descriptions Feb 02 17:55:12 * fray hopes dirfd doesn't do anything funky that can allow for the fd to change.. but otherwise the patch looks reasonable ot me Feb 02 17:55:35 if dirfd is that crazy, it DESERVES to segfault Feb 02 17:55:51 I still think it's funny that back when I started I made a dummy "error out with a message" implementation for renameat. Feb 02 17:56:04 Three (?) years later, no one's ever noticed except in code review. Feb 02 17:56:42 this sorta makes me wonder how needed that function really was. Feb 02 17:56:44 I think I was the one that noticed? Feb 02 17:57:03 yup Feb 02 17:57:17 also donn during the initial review, i think. Feb 02 17:57:31 heh Feb 02 17:59:18 ok pseudo compiled with this patch Feb 02 17:59:21 btw. I am at 1.2 Feb 02 17:59:29 seebs promise passed the test.. Feb 02 17:59:36 nitink, Done. Is meta-x32 still experimental? Feb 02 17:59:56 Hey, I didn't promise that it WOULD compile, only that it DID. Feb 02 17:59:57 nitink, btw I'm about to bring the x32 patch into the main prelink branch.. Feb 02 18:00:01 <-- very careful Feb 02 18:00:04 lets enable pseudo and off it goes to build image Feb 02 18:00:13 halstead: yes Feb 02 18:00:14 I will know in few minutes if it died Feb 02 18:00:27 nitink, Ok. We're set. Feb 02 18:00:35 I could test something small but I want to test the same crap Feb 02 18:00:45 fray: good, let me know when you do that then I will take it out from the the x32 layer Feb 02 18:00:51 halstead: thanks ! Feb 02 18:00:58 It *should* work. Heh. Feb 02 18:01:15 seebs: are you one of those power programmers Feb 02 18:01:19 :) Feb 02 18:01:35 oh well the patch looks ok. now that I understand pseudo better than I did yesterday Feb 02 18:01:49 will do Feb 02 18:02:21 I'm stereotypical ADHD. I can do the hard parts, but I still have trouble with stuff like missing semicolons or changing the name I use for a variable from one line to the next. Feb 02 18:02:26 It makes life interesting! :) Feb 02 18:02:36 heh Feb 02 18:03:03 I run a languages forus at my work here and 99% problems are user errors Feb 02 18:03:30 That low? :) Feb 02 18:03:48 khem: Hi, do you remember my gcc issues after switching machines? the one with unsafe -L from host? here is work-shared diff http://paste.pocoo.org/show/544740/ Feb 02 18:04:17 khem: but doesn't look very interesting except sdk dirs and temp/* changes Feb 02 18:04:27 seebs: here is next problem Feb 02 18:04:29 renameat Feb 02 18:04:38 ... Feb 02 18:04:46 ... Feb 02 18:04:48 AHHHAHH Feb 02 18:05:02 now that opendir is taken care of this is the next pitfall Feb 02 18:05:35 I am amazed. Feb 02 18:05:44 I never thought I'd see renameat used. Feb 02 18:06:58 hahahaha Feb 02 18:07:04 Oh, huh. Feb 02 18:07:05 you found the first user of renameat Feb 02 18:07:10 So, looking at it. Feb 02 18:07:22 I wonder if the author of kmod is trying to use as many obscure apis as possible Feb 02 18:07:55 The changes we had to make to rename() to handle the MAY_UNLINK/DID_UNLINK stuff. Feb 02 18:08:14 Mean that the same implementation could be used for renameat(), I think. With a couple of tweaks. Feb 02 18:08:42 I could do the thing where rename(a, b) becomes renameat(AT_FDCWD, a, AT_FDCWD, b) Feb 02 18:09:03 khem: Mind if it takes a few hours to get back to this? I wanna do it carefully and that requires me to be more awake and less on the phone. Feb 02 18:11:08 khem: back the font patch, the problem was that the image I was creating was using ipk and did not have package-management feature, so it was not running the post-installs correctly on the target. Feb 02 18:17:30 seebs: no problem take your time Feb 02 18:17:44 sgw: got it Feb 02 18:22:28 JaMa|Off: hmmm Feb 02 18:23:56 fray: they are not obscure they are newer Feb 02 18:24:05 so less used yet Feb 02 18:24:09 but effective Feb 02 18:24:26 renameat is obscure.. Feb 02 18:24:52 we've been running with it as an error in pseudo for a couple (3?) years.. and this is the first time it's been triggered Feb 02 18:25:11 Yeah. dirfd has been around since 4.3BSD, and I never knew about it! :) Feb 02 18:25:12 (dirfd I would say we were previously lucky not to hit) Feb 02 18:26:05 I would argue that until *at() were common, dirfd() was mostly useless. Feb 02 18:26:15 ya Feb 02 18:26:39 # Your branch and 'origin/master' have diverged, Feb 02 18:26:39 # and have 1 and 6853 different commit(s) each, respectively. Feb 02 18:26:41 -wow- Feb 02 18:26:56 kernel Feb 02 18:26:58 ? Feb 02 18:27:02 no bloody idea.. Feb 02 18:27:17 I wonder if I broke the "master" of my poky checkout at some point by accident.. Feb 02 18:27:19 just rebase it Feb 02 18:27:27 I just did.. ;) Feb 02 18:27:34 no divergence any longer Feb 02 18:29:10 systemd is another exotic piece of software which uses all kind of apis Feb 02 18:29:25 even beyond posix Feb 02 18:33:26 fray: i think shadow utils already has a lock retry in place Feb 02 18:33:48 fray: its just the build machine is so bogged down, its not enough Feb 02 18:34:03 Hmm Feb 02 18:34:40 fray: there are a few build parameters Feb 02 18:34:50 as in if there are other locking mechanisms in place Feb 02 18:34:53 it might use those Feb 02 18:35:00 Hmm.. Feb 02 18:35:02 could be an issue with the old linux distro we build on Feb 02 18:35:10 RHEL 5? (4?) Feb 02 18:35:21 and shadow-native is not getting built with "good defaults" Feb 02 18:35:37 CentOS 5.X Feb 02 18:36:20 anyone seeing: | cp: cannot stat `/opt/yocto/cache-build/p3060qds/build_p3060qds_release/tmp/sysroots/p3060qds/usr/share/aclocal/gst-element-check-0.10.m4': No such file or directory Feb 02 18:36:55 seems like this macro is not packaged properly, and then all the packages that depend on it fail Feb 02 18:37:01 its quite rare... Feb 02 18:37:12 when building from cache Feb 02 19:35:47 halstead|afk: thanks! I think I found the issue - looks like it was a stupid misconfiguration on my end... Will keep an eye on it Feb 02 19:56:32 denix, You're welcome. We don't want you bouncing off of our lists. :) Feb 02 20:00:38 :-) Feb 02 20:01:50 :) Feb 02 20:04:52 CMAKE_AR-NOTFOUND cr libmodman.a CMakeFiles/modman.dir/module_manager.cpp.o Feb 02 20:04:55 hmmm Feb 02 20:31:19 hello, I'm having an issue with image-core-rt Feb 02 21:20:22 Okay, time to go look at renameat() Feb 02 21:53:17 khem: http://pastebin.com/iZQC9sX5 Feb 02 21:53:32 First pass at renameat. Haven't tested it, but it compiled and it makes sense to me. ... that's not much of an endorsement. Feb 02 21:54:48 replacing or in addition to the previous patch? Feb 02 21:56:23 In addition to. Feb 02 22:20:19 seebs: ok will try it now Feb 02 22:29:29 seebs: seems these two patches do the trick on pseudo 1.2 Feb 02 22:29:38 I am able to build images with kmod now Feb 02 22:30:08 Cool. Feb 02 22:30:17 and ...... Feb 02 22:30:18 That renameat thing has been lurking forever. Feb 02 22:30:30 boots too Feb 02 22:31:49 seebs: cool. so will you make 1.3 release soon Feb 02 22:32:04 or should we apply these two on top of 1.2 and be happy in oe-core Feb 02 22:32:08 Dunno. I'm gonna get these changes in for review anyway. I might call it 1.2.1 or something. Feb 02 22:32:17 ok Feb 02 22:32:31 I will keep testing them on using various images Feb 02 22:33:08 Thanks. Feb 02 22:33:25 I got interesting problem on the side Feb 02 22:33:49 is there a way to find if loop device got wrong minor number due to bug in libc mknod Feb 02 22:34:19 I'd say the answer is about 99% likely to be no, because I can't imagine libc mknod being broken in such a way and it only breaking one device. Feb 02 22:35:00 seebs: its definitely a libc bug (uclibc that is) Feb 02 22:35:15 Well, okay, I'll believe nearly anything about uclibc. Feb 02 22:35:16 since stat on /dev/loop255 works Feb 02 22:35:27 but /dev/loop256 return EOVERFLOW Feb 02 22:35:29 from kernel Feb 02 22:35:35 hmm Feb 02 22:35:49 so I guess stat is not at fault here Feb 02 22:35:50 I don't know what the official ranges are for major and minor numbers. Feb 02 22:35:57 its the process of node creation Feb 02 22:36:41 since kernel will return something proper if it was not hosed during creation Feb 02 22:37:00 Maybe. Hmm. Feb 02 22:37:52 I don't actually have a spec handy for what values are reasonable. A quick check, though, suggests that major and minor are at a higher level than mknod(2). Feb 02 22:38:02 mknod(2) just takes a dev_t. Feb 02 22:38:19 yes dev_t is created in a fancy way Feb 02 22:38:50 dev_t is usually long long int on arm Feb 02 22:40:41 hmmm I guess more pseudo worries since core-image-sato failed Feb 03 02:06:50 seebs: here is next culprit Feb 03 02:07:04 fstatat Feb 03 02:07:24 seebs: it seems now we need *at() wrappers sound Feb 03 02:10:54 seebs: kmod uses following at functions openat() unlinkat() fstatat() renaemat() Feb 03 02:16:00 openat, unlinkat, and fstatat should all work, we use all of those. Feb 03 02:16:15 renameat() was the only *at() that we didn't see regularly used on some hosts. Feb 03 02:18:35 anyway I see that fstatat is failing now Feb 03 02:18:54 That's... odd. What are the arguments to it? Feb 03 02:19:19 Historical note: With the exception of rename/renameat, we do everything through calls to the *at functions. Feb 03 02:19:35 So under the hood, we're treating stat as fstatat(AT_FDCWD, ...) Feb 03 02:19:41 (slightly oversimplified) Feb 03 02:19:59 So we use our wrappers on these even on hosts that don't have them. Feb 03 02:21:51 if (fstatat(dirfd(d), "modules.dep", &st, 0) != 0) { Feb 03 02:21:51 err = -errno; Feb 03 02:21:51 ERR("could not fstatat(%s, modules.dep): %m\n", dirname); Feb 03 02:21:51 closedir(d); Feb 03 02:21:51 return err; Feb 03 02:21:53 } Feb 03 02:22:24 hmm Feb 03 02:22:40 d is DIR* Feb 03 02:22:55 I wonder whether the creation of d is somehow bypassing the opendir() stuff that's supposed to stash the fd for a DIR * when it's opened. Feb 03 02:23:25 That's new -- this is the first time I've ever seen dirfd used, so that code isn't heavily tested. Feb 03 02:23:52 hmmmm Feb 03 02:23:57 Well, there's another possibility. Feb 03 02:24:18 We actually trap _fxstatat, as I recall, because on all the systems we've tested on, fstatat() really calls that. Feb 03 02:25:31 Oh, it's __fxstatat. Same concept, though. Feb 03 02:25:32 DIR *d = opendir(dirname); Feb 03 02:25:45 I guess run with debugging on and see whether pseudo is noticing the calls. Feb 03 02:26:04 In theory, opendir(dirname) should be stashing the path to its associated fd, so fstatat should work. Feb 03 02:29:43 Just a quick dummy program doing nothing but the opendir/fstatat works under pseudo for me. Feb 03 02:30:55 ok make a neagtive test Feb 03 02:31:01 where the file does not existi Feb 03 02:31:21 Yup, I get ENOENT as expected. Feb 03 02:31:51 If the file doesn't exist, I get a -1 and errno is ENOENT. Which was passed up from the underlying call, I believe. Feb 03 02:33:16 seebs: it says if pathname is absolute then dirfd is ignored . thats from fstatat manpage Feb 03 02:33:19 and is my case Feb 03 02:35:39 hmm Feb 03 02:36:06 Yeah, that's what it does. Feb 03 02:36:31 We end up calling pseudo_root_path(__func__, __LINE__, dirfd, path, flags) Feb 03 02:37:02 And that ends up in base_path, which ignores dirfd if path starts with a /. Feb 03 02:37:55 But "modules.dep" isn't an absolute path; I was looking at that case, since that was the code I had seen. Feb 03 02:39:14 modules.dep is not yes Feb 03 02:40:08 Anyway, I tried also with an absolute path, and got the expected behaviors. Feb 03 02:40:31 Can you make a self-contained reproducer for the failure? Feb 03 02:40:35 hmm ok Feb 03 02:41:01 I think right now I only know that it works without pseudo. It could be that pseudo is catching an error in kmod Feb 03 02:41:05 who knows Feb 03 02:41:23 depmod is called with -F Feb 03 02:41:27 Possible, but... hmm. Feb 03 02:41:30 and system.map does not exist Feb 03 02:41:48 I will say, I've not seen any errors with fstatat as such before. The opendir stuff was new, but that should work too now. Feb 03 02:42:00 ok Feb 03 02:42:22 So if you can make a small test program where fstatat returns a different value under pseudo than not under pseudo, I can look at that. Feb 03 02:42:35 yes let me see Feb 03 02:43:34 afk for a bit, but I check on this channel, so I'll see stuff "eventually". **** ENDING LOGGING AT Fri Feb 03 02:59:57 2012 **** BEGIN LOGGING AT Fri Feb 03 02:59:57 2012 Feb 03 05:51:33 seebs: ok I think its fdopendir() thats causing pseudo gripes Feb 03 05:58:08 hmm Feb 03 05:58:19 seebs: dfd=dirfd(); fd = openat(dfd); subdir = fdopendir(fd); Feb 03 05:58:22 oohhhh Feb 03 05:58:30 hang on. Feb 03 05:58:51 If you do dir = fdopendir(fd), then closedir(dir), does that close fd? Feb 03 05:59:16 yes Feb 03 05:59:20 Anyway, if you can assemble a small reproducer, I can try to fix it. Feb 03 05:59:51 That looks like it *should* work. Feb 03 06:05:23 seebs: could not fstatat(/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-uclibc/work/qemuarm-oe-linux-uclibceabi/core-image-sato-1.0-r0/rootfs/lib/modules/3.2.2-yocto-standard+, modules.dep): No such file or directory Feb 03 06:05:36 but /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-uclibc/work/qemuarm-oe-linux-uclibceabi/core-image-sato-1.0-r0/rootfs/lib/modules/3.2.2-yocto-standard+/modules.dep exists Feb 03 06:05:56 and it does not happen without pseudo Feb 03 06:06:18 Any hope you can get a small program that just makes the necessary calls to illustrate that? Feb 03 06:06:24 i will try to reduce it but I dont know how successful I will be Feb 03 06:06:41 let me try Feb 03 06:06:47 and I should just do Feb 03 06:06:53 pseudo ./myproh Feb 03 06:07:00 and that will run it under pseudo Feb 03 06:07:09 Idle question, any chance that the + is relevant? I don't think I've ever seen a + on a directory name, and for all I know this triggers a hilarious bug in the path resolution. Feb 03 06:07:12 That should, yeah. Feb 03 06:07:54 And the idea is if you can make a small program that does various opendir, dirfd, fstatat, etc. calls and it fails, then we have something to try to fix. Feb 03 06:11:12 ok Feb 03 06:11:16 i might have it soon Feb 03 09:56:20 Hello. Feb 03 09:57:02 I faced a problem today. An upstream SRC_URI - keyutils has a bug: the archive even as it is bz2 file is not compressed. Feb 03 09:57:27 And if i want to compile it my build fails with bzip2: /home/agherzan/work/wrs/yocto-adige/2012-02-02-21-53/../downloads/keyutils-1.5.4.tar.bz2 is not a bzip2 file. Feb 03 09:58:01 Is there any way i can force or specify to build system that this is not a compressed archive? Feb 03 09:58:10 Or the only solution is local file archive? Feb 03 09:58:20 local file archive + rename Feb 03 10:41:02 Hi d4ny, I am Jerry Feb 03 11:39:56 hi there Feb 03 12:03:37 hi otavio Feb 03 12:06:43 :-) Feb 03 12:14:54 otavio: about udev cache, it does cause issues on some devices when using meta-oe Feb 03 12:15:07 why don't make it opt-in ? Feb 03 12:15:21 ant_work: really? what issues? Feb 03 12:15:50 the root fs is still RO when the script is executed Feb 03 12:15:56 ant_work: i am looking forward to fix all issues and it is opt-in. Feb 03 12:16:05 maybe because of broken initscripts in meta-oe Feb 03 12:16:49 ant_work: in this case, you might set BAD_RECOMMENDANTIONS and blacklist udev-cache Feb 03 12:16:51 I am trying to bitbake core-image-minimal I get a error Feb 03 12:16:52 http://patches.openembedded.org/patch/20103/ Feb 03 12:16:53 ERROR: '/media/work/yocto-prevas/poky-edison-6.0/meta/recipes-core/update-rc.d/update-rc.d_0.7.bb' failed Feb 03 12:17:04 anyone who has experienced this before? Feb 03 12:17:52 otavio: with devtmpfs all that device stuff seems crap to me Feb 03 12:18:29 ant_work: I agree; I personally do not use it in my images ... but I didn't want to drop features when updating the udev Feb 03 12:18:49 ant_work: instead of disabling the cache on the default file, we might drop the recommends Feb 03 12:18:59 well, Koen was the first who suggested to remove the devcache stuff Feb 03 12:19:03 :) Feb 03 12:20:22 ant_work: http://paste.debian.net/154605/ Feb 03 12:20:29 ant_work: see if it works for you Feb 03 12:22:35 I'll do, thx, still I'm unsure this initial devacche adds value to the oe-core recipe Feb 03 12:22:56 ant_work: I'd like to not drop features at this moment Feb 03 12:23:11 ant_work: we can remove it later if people really do not use it Feb 03 12:23:38 ant_work: but I'd like to make it an upgrade with same features at first Feb 03 12:23:43 if there are any, they are in meta-oe, not here Feb 03 12:23:57 (users needing it) Feb 03 12:24:11 ant_work: i am trying to have no udev in meta-oe (except the appends to systemd) Feb 03 12:24:20 I see, righto Feb 03 12:24:41 ant_work: so better to have it on oe-core and remove later if noone use it Feb 03 12:24:48 then we'll have only xserver-nodm-init to unify Feb 03 12:25:13 'only' means urgently Feb 03 12:25:33 ant_work: yes Feb 03 12:25:41 nice ! Feb 03 12:26:37 btw, I was looking about xinput-calibrator and wanted to port it to oe-core Feb 03 12:26:40 but.. Feb 03 12:26:48 I see there are systemd bits in the recipe.. Feb 03 12:26:56 what would yo do? Feb 03 12:27:02 purge and commit? Feb 03 12:27:52 put it in oe-core and move the systemd bits to a bbappend in meta-oe Feb 03 12:28:21 ant_work: those are only in my branch no? I don't see any systemd bits in xinput-calibrator Feb 03 12:28:44 maybe I was looking at you branch, can be... Feb 03 12:30:01 JaMa: I'm a bit amazed in oe-core kdrive and tslib seem to live and work well ;) Feb 03 12:30:36 I was under the impression recent kdrive lost that ability Feb 03 12:31:30 xf86-input-tslib was lost for some time http://git.openembedded.org/meta-openembedded/commit/?id=506d5f781f5ee93e3c9b8ca51a7fb65f40d4a8b8 Feb 03 12:34:41 khem: similar unsafe host libs while building gcc-cross-canadian-arm-4.6.2+svnr181430-r27 http://paste.pocoo.org/show/545133/ Feb 03 12:44:06 anyone, can you build an image-core-rt with poky 6.0? Feb 03 12:46:07 without geting an error fetching the kernel linux-yocto-rt-3.0.4 Feb 03 12:51:33 Hi All, is there any more detailed documentation on the 'pseudo' project ? Feb 03 13:20:47 hi all Feb 03 14:42:30 Saul? Arou you around? Feb 03 14:42:33 are* Feb 03 15:26:27 d4ny: It has a good man page which has a lot of info about how to use it Feb 03 15:26:42 ag: You want sgw and he probably isn't up yet Feb 03 15:27:26 RP__: I guess. Feb 03 16:07:08 Some one ping me this morning? Feb 03 16:08:05 ag: You rang earlier? Feb 03 16:18:00 sgw: Ye si did. Feb 03 16:18:04 Yes* Feb 03 16:18:24 Saul, I updated js. Feb 03 16:18:34 the new package name is js185 Feb 03 16:19:36 In this way, the library is now named libjs185 bla bla bla. The problem is that web use -js. As a temporary workaround a create a symlink named libjs .so. And things seems to be ok. Feb 03 16:20:28 Here is the commit: https://github.com/agherzan/yocto-dev/commit/f6ea44018ace05e47c73920f5db9072f4a6ce28f Feb 03 16:21:17 hi all :) Feb 03 16:23:22 ag: Thank you very much, I will review this and work with RP to merge next week. Feb 03 16:24:16 sgw: No problem. One more thing. I resent the patch of Otavo's about dhcp. Feb 03 16:24:38 In this way you eon't have to deal any conflicts between these two. Feb 03 16:25:14 won't* Feb 03 16:25:14 https://github.com/agherzan/yocto-dev/commit/f6ea44018ace05e47c73920f5db9072f4a6ce28f Feb 03 16:25:21 RP__: thanks for merging the external toolchain bits. think we can get http://lists.linuxtogo.org/pipermail/openembedded-core/2011-December/014432.html in as well? can't build core-image-sato with external without it Feb 03 16:27:42 ag: I saw that also, thanks for the rebase. Feb 03 16:28:13 sgw: No problem. Feb 03 16:29:08 any idea why tslib in yocto doesn't work with usbhid touchscreens? Feb 03 16:32:39 kergoth: yes, I'll add that Feb 03 16:33:24 kergoth: its in Feb 03 16:33:26 k, thanks Feb 03 16:35:59 kergoth: I was already halfway to that, had flagged his email as something to check :) Feb 03 16:36:33 :) Feb 03 16:59:41 I'm out. Have a nice weekend! Feb 03 17:19:44 this rampant systemd proliferation in meta-oe with no way to disable it is really starting to piss me off. someone needs to explain to koen that meta-oe is generic, not angstrom specific Feb 03 17:20:01 * kergoth thinks about avoiding that layer entirely Feb 03 17:22:09 kergoth: you are not alone Feb 03 17:25:54 Can someone help me to identify a dependency loop? it is not clear for me what the error message say's Feb 03 17:26:36 otavio: I can try Feb 03 17:26:37 http://paste.debian.net/154677/ Feb 03 17:27:52 is that not chicken depending on itself? Feb 03 17:28:23 incandescant: maybe; I just don't see where it is done Feb 03 17:28:48 otavio: share the recipe? increase the debug level (Pass -D's, more D's = more debugging i.e. -DDDD) Feb 03 17:29:03 https://github.com/OSSystems/meta-chicken/blob/master/recipes-devtools/chicken/chicken_4.7.2.bb Feb 03 17:31:05 hmm, I don't think I've ever seen BBCLASSEXTEND = "cross" - I wonder if that's buggy? Feb 03 17:31:53 incandescant: heh Feb 03 17:32:19 incandescant: this is the problem ... but not a big deal ... I just copied the cross to the openembedded class dir Feb 03 17:32:50 incandescant: I don't understand why the recipe did not use th class frm the layer Feb 03 17:35:22 otavio: nor I without diving into it, perhaps you could write a bug report/mailing list post? Feb 03 17:35:24 incandescant: we did it to avoid having duplicated recipes to all Feb 03 17:36:13 incandescant: I talked about having the cross extend merged with RP__ but he had a complain about something .. I don't recall what Feb 03 17:36:41 hmm Feb 03 17:38:09 otavio: you copied and pasted code that was clearly wrong for a -cross recipe iirc Feb 03 17:38:13 hey all, anyone seen issues with networking on the qemumips target? Feb 03 17:38:26 otavio: I replied on the mailing list to the patch explaining what the problem was Feb 03 17:38:46 RP__: I found the reply Feb 03 17:38:51 darknighte: no, and the autobuilder would show that up Feb 03 17:38:54 RP__: I am looking at the code now. Feb 03 17:39:14 RP__: can I paste the end result here for you to take a look before sending it to ml? Feb 03 17:39:18 RP__: hmmm, that's what I thought. I guess I need to dig a bit deeper. Feb 03 17:39:28 otavio: I'm going to be finished for the say shortly Feb 03 17:39:36 s/say/day/ Feb 03 17:39:43 RP__: oh OK Feb 03 17:39:47 RP__: no problem then Feb 03 18:09:30 "ERROR: Function 'Fetcher failure for URL: 'git://git.yoctoproject.org/linux-yocto-3.0.git" Feb 03 18:09:38 anyone else with this problem? Feb 03 18:12:18 Hi folks Feb 03 18:14:03 I'm having some problems with getting boost into my image. I was wondering if someone could provide some insights? Feb 03 18:53:36 zeddii, tomz1, my sys940x build is failing while trying to merge yocto/emgd-1.10 as it can't find the branch. I checked upstream and it's there. I check the workdir, and it isn't listed, only yocto/emgd is. Feb 03 18:54:12 zeddii, tomz1, so I expect this is a SRCRV issue of sorts... but I only specify the SRCREV for the yocto/standard/base and meta branches.... so it isn't clear what is required to see yocto/emgd-1.10 Feb 03 18:54:16 any ideas? Feb 03 18:57:36 dvhart: sounds like the build isn't picking up the updated repo Feb 03 18:58:10 dvhart: is the old autobuilder bug back? Feb 03 18:58:41 OK, maybe if I provide more specifics, like dvhart. :) I have created a layer, complete w/images directory, and recipes and added it to bblayers.conf. Bitbake finds everything and doesn't complain (even w/-DDD) Feb 03 19:00:42 In the image recipe, I have successfully added qt4-embedded to IMAGE_INSTALL, but when I add boost, nothing shows up in the image, nor the SDK. I've had a look at the boost recipe to get some clues (really funny read though! :)) and I've searched the gmane archives for clues as well. What am I doing wrong? Feb 03 19:00:55 * zeddii reads Feb 03 19:00:59 tomz1, could be Feb 03 19:01:08 yah. sounds like autobuilder not feeding the new branches again. Feb 03 19:01:09 tomz1, I'm also hitting the module ABI version issue Feb 03 19:01:25 emgd is 8 and server is 11, mouse/keyboard are 11 and server is 13 Feb 03 19:01:29 so server fails to start Feb 03 19:01:48 I cleaned the xorg-input bits and rebuilt, same failure (that worked last time) Feb 03 19:01:49 sigh Feb 03 19:02:29 paulobear, does boost get built? Feb 03 19:02:41 paulobear, if so, is the image dir in the boost workdir populated? Feb 03 19:04:36 dvhart: boost does get built, find finds it. I'll check the image dir Feb 03 19:06:16 did you add boost to IMAGE_INSTALL in the image recipe as well? Feb 03 19:06:27 dvhart: yes, the image dir has both include and lib dirs, and are populated. Feb 03 19:06:38 * dvhart notes there have been A LOT of "why doesn't my recipe get installed to my image questions lately Feb 03 19:07:16 hrm Feb 03 19:07:49 dvhart: yes, I put it in the image recipe. That recipe is of the type, where a base image is "required" and then I add in the needed packages to the IMAGE_INSTALL. Feb 03 19:07:52 pidge, poke Feb 03 19:08:21 pidge, see yocto/emgd-1.10 branch failures with linux-yocto - suspect AB isn't getting the new branches again Feb 03 19:08:35 dvhart: I've also tried IMAGE_FEATURES, and DEPENDS (now there's a variable that needs renaming! :)) and EXTRA_IMAGE_FEATURES. Feb 03 19:09:04 paulobear, try POKY_EXTRA_INSTALL += "boost" (or whatever the pkg name is) in your local.conf Feb 03 19:09:07 and rebuild Feb 03 19:09:18 that will at least show if the boost recipe is working correctly Feb 03 19:09:25 ok Feb 03 19:09:29 then you will need to look at your IMAGE_INSTALL assignments Feb 03 19:09:34 also, before you do that Feb 03 19:09:37 send us the output of: Feb 03 19:09:54 bitbake -e $YOURIMAGE | grep "IMAGE_INSTALL=" Feb 03 19:10:03 pastebin if it's long Feb 03 19:10:32 dvhart: Add to POKY... and remove from IMAGE_... rebuild. Correct? Feb 03 19:11:14 dvhart: but send the contents of the bitbake command above first. Feb 03 19:12:22 don't remove the IMAGE_ settings Feb 03 19:12:25 just leave them as is Feb 03 19:12:34 ok Feb 03 19:12:57 dvhart: running now. Feb 03 19:17:04 dvhart: these are the lines which are not commented out: Feb 03 19:17:04 IMAGE_INSTALL="task-core-boot task-base-extended task-core-basic task-core-lsb task-qt4e-base boost boost-dev" Feb 03 19:18:53 that's w/o the POKY_EXTRA_INSTALL set Feb 03 19:19:15 OK, so boost is listed there, interesting Feb 03 19:19:42 I suggest trying the POKY_EXTRA_INSTALL bit, then sending the results, including the above experiement, and the image recipe contents to the mailing list. Feb 03 19:19:48 * dvhart heas to hop in the car Feb 03 19:20:54 ok, will do Feb 03 19:21:10 thanks, dvhart Feb 03 19:28:32 the IMAGE_INSTALL line should be package names, so it's probably libboost? Feb 03 19:32:05 incandescant, that crossed my mind as well Feb 03 19:32:25 but the fact that they built made me think otherwise... Feb 03 20:49:54 zeddii, PING Feb 03 20:50:02 oops, silly capslock Feb 03 20:50:19 zeddii, we need a quick fix for the emgd-1.10 issue Feb 03 20:50:37 zeddii, wondering if we should just push a change to the sys940x.scc to use yocto/emgd Feb 03 20:50:45 this is what fri2 does still Feb 03 20:51:01 we can pull them all up to emgd-1.10 together once it works? Feb 03 20:51:12 tomz1, what has your plan been on this? Feb 03 20:51:41 pidge, is it possible we just need to refresh the linux-yocto-3.0.git mirror on the mirror? Feb 03 20:52:22 dvhart: I thought both fri2 and crownbay would be using emgd-1.10 Feb 03 20:52:45 not according to the linux-yocto-3.0.git pull I just did Feb 03 20:53:05 crownbay has it actually Feb 03 20:53:18 fri2 does not Feb 03 20:53:27 and for me, fri2 builds and sys940x does not Feb 03 20:53:28 dvhart: hmm, did I forget to do that for fri2? Feb 03 20:53:36 I thought I saw the patch go by Feb 03 20:53:44 maybe it just got dropped on accident during the push Feb 03 20:54:03 tomz1, have you successfully built crownbay without meta-kernel-dev? Feb 03 20:55:05 if I have PREMIRRORS="", then I should be doing a git clone directly to git.yoctoproject.org right? Feb 03 20:55:31 dvhart: i thought i had, but it looks like it was fri2 Feb 03 20:55:37 doh :) Feb 03 20:56:00 dvhart: but i think the autobuilder has, lemme check Feb 03 20:57:05 interesting, I have two linux-yocto.3.0 git dirs in my downloads Feb 03 20:57:11 one with a .git extension, one without Feb 03 20:57:19 the one without has 1.10, the one without does not Feb 03 20:57:28 * dvhart thinks this is the git bug rp found Feb 03 20:57:34 killing both and trying again Feb 03 20:58:55 dvhart: hmm, yeah, well crownbay on the ab didn't have the whitelist so failed du to that Feb 03 20:59:09 It's building now Feb 03 20:59:15 so I just hit the git alternatives bug Feb 03 20:59:25 phew, one less thing to deal with Feb 03 20:59:54 dvhart: anyway, I think changing the merge to emgd-1.10 should fix the fri2, and I'll verify the crownbay indpendently without meta-kernel-dev Feb 03 21:00:23 dvhart: though i'm curious how my fri2 without meta-kernel-dev built Feb 03 21:00:29 well the fri2 isn't broken in this regard :) Feb 03 21:00:36 yocto/emgd still exists Feb 03 21:00:42 dvhart: well it should be Feb 03 21:00:47 how so? Feb 03 21:01:26 dvhart: well, at least the userspace 1.8 is gone, the kernel yeah, would still have merged Feb 03 21:01:32 ah Feb 03 21:01:43 ok, that might explain some of the Xorg issues I'm having with the fri2 Feb 03 21:02:21 dvhart: so definitely the 1.10 kernel merge should help, I'll submit a patch to bruce for that Feb 03 21:02:32 ok, cool Feb 03 21:02:33 thanks Feb 03 21:03:00 sure, sorry it somehow slipped through the cracks with the other stuff Feb 03 21:06:06 I thought I saw it, but not finding it now Feb 03 21:06:13 the git alternatives were the bigger issue Feb 03 21:06:47 Bug 1859 is also giving me grief - I'll rebuild that with emgd-1.10 Feb 03 21:12:19 what recipe will I have to tweak if I also want to create a squashfs image? Feb 03 21:13:51 IMAGE_TYPES += "squashfs" in your local.conf Feb 03 21:13:53 will do it Feb 03 21:14:19 cool, even better Feb 03 21:14:22 thanks khem Feb 03 21:39:38 libdrm got updated I guess and now it needs open_memstream Feb 03 21:40:06 which is not there in uclibc. Its hard to keep adding all so called _GNU_SOURCE extentions Feb 03 21:43:09 alright so lets enable UCLIBC_HAS_GLIBC_CUSTOM_STREAMS Feb 03 21:47:57 dvhart, incandescant: sorry for the delay. 16" of snow needed to be cleared, and lunch as well. :) saw your comments above re: libboost. Trying that now. The POKY_EXTRA_INSTALL did not work, btw. Feb 03 22:07:04 dvhart: Adding libboost to IMAGE_INSTALL did not do the trick. Will pastebin the recipe and conf. however... Feb 03 22:07:19 dvhart: do I need boost both as a target on the command line *and* in IMAGE_INSTALL?? I kicked off a build like this: bitbake -k boost, and suddenly all kinds of packages are getting rebuilt. eglibc, linux-libc-header, gcc-cross, binutils-cross. Feb 03 22:07:28 IMAGE_INSTALL_append = " boost " Feb 03 22:07:39 try this Feb 03 22:08:08 or libboost fwiw Feb 03 22:08:35 hi ant_. sure, will do. willing to try just about anything at this point. :) Feb 03 22:09:31 iirc there is something obscure about boost... :/ Feb 03 22:11:15 ant__: can you please tell me why libboost instead of boost? trying to learn about it... Feb 03 22:11:42 sorry I miss the first part of your conversation... Feb 03 22:12:00 I thought you're trying to force-install a package Feb 03 22:12:08 or a lib fwiw Feb 03 22:12:21 ant__: I'm having a hard time getting the boost libs and headers into an image and sdk Feb 03 22:13:04 well, for a normal image what I wrote above will work Feb 03 22:13:13 can't say for the sdk Feb 03 22:14:31 ant__: I wrote a layer w/images directory and recipes. recipes use the "require ....core-image-lsb-sdk" plus IMAGE_INSTALL += formula. I tried to follow the templates in the manual. Feb 03 22:16:42 which recipe is complaining about boost? Feb 03 22:18:03 btw, I'm grepping and I find that Feb 03 22:18:08 "./recipes-support/boost/boost.inc:# "boost" is a metapackage which pulls in all boost librabries Feb 03 22:18:08 " Feb 03 22:20:02 paulobear: you have to differentiate between input recipes which are used to generate output packages Feb 03 22:20:15 there could be multiple packages generated from single recipe Feb 03 22:20:40 IMAGE_INSTALL variable wants output packages _not_ input recipe names Feb 03 22:20:53 hi khem Feb 03 22:21:19 so bitbake -e boost | egrep "^PACKAGES=" Feb 03 22:21:26 and see what all it generates Feb 03 22:21:29 ant__: hello Feb 03 22:34:49 khem: thanks for the clarification. Feb 03 22:35:32 khem: will do re: bitbake command Feb 03 22:40:12 ant__: thanks for the tip re: boost meta package. I didn't catch that. I was looking in the recipe to find the packages, and I only saw the individual boost libs being added as packages. Feb 03 22:43:26 khem: Oh, I think I see what you're saying, and yes, I have seen that in various recipes. boost recipe creates several "packages." ant__ just clarified that boost itself is a metapackage. So, if I put boost in IMAGE_INSTALL, it should build and install, right? Feb 03 22:45:31 paulobear: yes Feb 03 22:45:45 paulobear: although make sure that it gets into final IMAGE_INSTALL Feb 03 22:46:29 IMAGE_INSTALL_append_pn- = " boost" should be safer in local.conf Feb 03 22:48:09 khem: related to this, I seem to lack a simple knob to install kernel + modules on every image. I'd prefer to avoid Feb 03 22:48:11 IMAGE_INSTALL_append = " kernel-base kernel-image " Feb 03 22:48:19 in our machine.conf Feb 03 22:48:44 the point is, e.g. core-image-minimal and opie-image do not run task-base-extended Feb 03 22:52:34 ant__: well tasks are defined for this kind of stuff Feb 03 22:52:49 heh Feb 03 22:53:14 if you need something extra create a new task Feb 03 22:53:21 so you suggest to touch the images... Feb 03 22:53:33 no Feb 03 22:54:10 well, core-image-minimal is inheriting core-base.bbclass so there isn't much to do Feb 03 22:54:25 *core-image.bbclass Feb 03 22:55:59 khem: dvhart had me do the bitbake -e $MYIMAGE | grep IMAGE_INSTALL, and that showed that boost was in the build. Feb 03 22:56:20 khem: here's a pastebin of my layer, and conf files: http://pastebin.com/Efxaw9V7 Feb 03 22:57:27 dangit, where'd JaMa disappear to Feb 03 22:58:25 khem: Feb 03 22:58:25 (12:17:04 PM) paulobear: dvhart: these are the lines which are not commented out: Feb 03 22:58:25 (12:17:04 PM) paulobear: IMAGE_INSTALL="task-core-boot task-base-extended task-core-basic task-core-lsb task-qt4e-base boost boost-dev" Feb 03 22:59:06 khem: testing MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= Feb 03 23:00:28 paulobear: ok. So its not building you say ? Feb 03 23:01:28 I think it's building. It's in work/core2-poky-linux. However, it's not getting into my image, nor the SDK. Feb 03 23:03:42 khem: more importantly, it's in work/core2-poky-linux/boost-blah/image/user/[include lib] Feb 03 23:04:24 paulobear: yes so its built Feb 03 23:04:36 paulobear: and it should be packaged into your image too Feb 03 23:04:51 if it does not thats a problem but I dont see why Feb 03 23:05:04 I have something like this IMAGE_INSTALL_append_pn-core-image-minimal = " ltp" Feb 03 23:05:13 and when I bitbake core-image-minimal Feb 03 23:05:27 I get ltp into the final image Feb 03 23:05:44 dont know what your problems could be Feb 03 23:06:32 khem: oh, well, I have nothing like that. Do I need to add that sort of line to my recipe? Adding it to IMAGE_INSTALL isn't sufficient? Feb 03 23:08:04 paulobear: you seem to be doing it anyway Feb 03 23:08:17 its another form of expression with overrides Feb 03 23:08:31 where makes ltp only go into core-image-minimal and not other images Feb 03 23:08:46 urgh.. git.yoctoproject.org[0: 140.211.169.122]: errno=Connection timed out Feb 03 23:08:55 khem: oic. interesting. Feb 03 23:09:12 ant__: there was some downtime planned Feb 03 23:09:25 CPU %: 337% Feb 03 23:09:29 I like it Feb 03 23:09:45 opkg-utils is failing to fetch here Feb 03 23:09:54 * paulobear would like a cpu like that. :) Feb 03 23:10:12 seebs: on the pseudo end there seems no problem with pseudo but the problem was with kmod which I fixed Feb 03 23:10:26 seebs: so now I am able to generate kmod based images Feb 03 23:10:35 HAH! Back to my usual stance that it's always a user error. Feb 03 23:10:39 :P Feb 03 23:10:46 heh Feb 03 23:11:03 Seriously, though, thanks for the excellent bug reports. And for giving us a real test case for renameat. :) Feb 03 23:11:14 ant__: should be back up in 10-20mins, seems to have been fairly short notice downtime Feb 03 23:11:30 already fetched, np Feb 03 23:11:38 seebs: np. Feb 03 23:11:41 khem: If I clean boost, and then re-run my build, then it should build boost from scratch, yes? That would test whether my recipe was building boost? Feb 03 23:12:05 paulobear: yes bitbake -ccleansstate boost Feb 03 23:12:18 incandescant: ah, no, now is gone Unable to fetch URL from any source Feb 03 23:12:19 khem: yep Feb 03 23:12:20 ;) Feb 03 23:12:46 ant__: go fetch yourself some beer and wait till its back up Feb 03 23:14:09 seebs: so now I can build for minimal and sato images fine and they boot too Feb 03 23:14:40 * incandescant looks forward to using kmod Feb 03 23:15:07 incandescant: its already on my user branch if you are brave try it out Feb 03 23:15:25 khem: I'm following the kmod stuff too, what about the 'module_autoload' code now? Feb 03 23:15:26 http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/misc Feb 03 23:15:40 khem: I may see if I can squeeze a build/test in but my cores are all hot atm Feb 03 23:16:12 incandescant: yeah it does have some other patches alongwith but I dont have much time to separate them out Feb 03 23:16:51 one that might bite you is task-core-tools: Divide it into 3 recipes Feb 03 23:17:22 other are harmless Feb 03 23:17:39 khem: so I see! rationale seems sane to me :-) Feb 03 23:18:48 incandescant: yes it avoids extra build time and space Feb 03 23:19:21 khem: building my image did not result in boost being built. It jumped right into populating meta-toolchain-sdk, ide-support, & rfs. So I guess therein lies the problem. Feb 03 23:22:42 The network change is complete and service should be restored. Feb 03 23:22:49 paulobear: ok Feb 03 23:22:55 do this in local.conf Feb 03 23:23:05 pidge, Can you check that the master came up ok? Feb 03 23:23:20 IMAGE_INSTALL_append_pn-meta-toolchain-sdk = " boost" Feb 03 23:23:29 and retry bitbake meta-toolchain-sdk Feb 03 23:23:50 khem: ok Feb 03 23:25:40 paulobear: well may be meta-toolchain-sdk does not create a target image Feb 03 23:25:55 better would be some other image which creates a real target image Feb 03 23:25:58 khem: yeah, I figured, but it's a good test. Feb 03 23:26:06 khem: fwiw, the rebased patches for opendir/fstatat/renameat interactions are now in the github pseudo tree. Feb 03 23:26:17 seebs: ok. Feb 03 23:26:37 I have proposed them for oe-core too Feb 03 23:26:49 khem: did you have a minute to scan my pastebin? Maybe I'm just taking the wrong approach altogether. Feb 03 23:27:50 I'd prefer to have oe-core or whoever else pick up the merged and cleaned up commit I checked in, one of the people who's better at Python than me (a large set) suggested some cleanup in makewrappers. Feb 03 23:29:41 paulobear: are you trying to create SDK and SDK only ? Feb 03 23:29:55 khem: no. image + SDK Feb 03 23:31:06 paulobear: ok and boost you want in your SDK Feb 03 23:31:42 khem: image based on core-image-lsb. I'm guessing I'll need boost in both? the libs anyway. Feb 03 23:32:35 *core-image-lsb-sdk Feb 03 23:38:29 paulobear: what you are doing seems to be ok Feb 03 23:39:02 paulobear: ok add IMAGE_INSTALL_append_pn-phoenix-image-sdk = " boost-dev" Feb 03 23:39:06 * paulobear is happy to hear that, but not relieved. :) Feb 03 23:39:11 and then do bitbake phoenix-image-sdk Feb 03 23:39:26 does that pull it in ? Feb 03 23:39:55 khem: just waiting for the last build to complete. Feb 03 23:40:25 khem: add the above to local.conf, or recipe? Feb 03 23:40:40 local.conf Feb 03 23:40:55 ok Feb 03 23:41:34 I've already got the meta-toolchain-sdk override in there as well. So, we'll see how that turns out as well. Feb 03 23:41:36 ping Feb 03 23:41:51 gah, wrong window. Feb 03 23:43:09 khem: sigh, systemd sneaking in unwanted :/ http://paste.debian.net/154741/ Feb 03 23:43:36 (I removed /systemd to show the culprit) Feb 03 23:44:38 I think JaMA spotted thi sbefore Feb 03 23:44:52 yeah I wish it was cleaner Feb 03 23:45:13 so you could choose systemd or sysvinit with a snap of finger Feb 03 23:45:30 this systemd experiment should really have been done on a separate layer :/ Feb 03 23:47:17 and funny enough can't be fecthed right now ;) Feb 04 00:06:11 khem: looks like no joy. At least from what's showing up on the build screen. I'll check to see what actually shows up when it's done. But I don't see any build of boost going on. Feb 04 00:12:16 khem: I bisected up to "[oe-commits] Otavio Salvador : systemd.bbclass: depends on systemd" Feb 04 00:12:18 :/ Feb 04 00:12:54 khem: no issues reverting it Feb 04 00:12:59 khem: actually, when looking at the stamps, the image is i586-poky-linux, not core2. There are no stamps for boost in i586-poky-linux, and nothing in the work dir either. Feb 04 00:18:18 well, there's the cleansstate stamps for i586 Feb 04 00:20:59 gn Feb 04 00:25:29 khem: 'DOH! when using IMAGE_INSTALL +=, does one have to put a leading space in the quoted list?? Feb 04 00:35:15 paulobear no not with += or =+ Feb 04 00:35:22 only with _append and _prepend Feb 04 00:35:33 oh, ok, I saw it w/the append. Feb 04 00:36:14 khem: still no joy. It's 5pm on Friday. I think I'm going to call it a week. Feb 04 00:37:10 khem, dvhart, incandescent, and ant__: thanks all for being so patient with me. Feb 04 00:40:37 enjoy super bowl I guess you are in PST Feb 04 00:40:53 * paulobear is in MDT :) Feb 04 00:40:59 I dont like that sport so much Feb 04 00:41:09 I prefer rugby instead Feb 04 00:43:25 I'm not a big football fan. Played in high school, messed up my knee and shoulders (wrestling contributed to the shoulders mostly). I don't follow it much, but our local team, Denver, has a very charismatic quarterback named Tebow. Feb 04 00:43:34 * paulobear is a bigger tennis fan. :) Feb 04 00:43:54 isn't Tebow supposed to be the second coming? Feb 04 00:44:42 pretty much. He's been very vocal about his religious leanings, and so he tends to kinda lean over and put his elbow on his knee and fist on his forehead. :D Feb 04 00:45:11 Are we putting ka6sox to sleep? :) Feb 04 00:45:19 sadly for Denver the power of Christ didn't compel them to the superbowl Feb 04 00:45:45 heh, incandescant. too true. Feb 04 00:45:56 Tebow yeah he is news Feb 04 00:46:03 heh Feb 04 00:46:53 He did a pretty good job keeping them out of the cellar in their division, and getting the Donkeys into the playoffs. Gotta give him is "props" for that. ;) Feb 04 00:47:54 Alright, time to call it a night. thanks again! Feb 04 02:35:26 sgw: around ? Feb 04 02:50:58 khem late for both of us **** ENDING LOGGING AT Sat Feb 04 02:59:58 2012 **** BEGIN LOGGING AT Sat Feb 04 02:59:58 2012 Feb 04 03:36:10 sgw: indeed, wanted to know if you picked patches from my pull request then I have updated them with some feedback Feb 04 03:36:32 if not done then its fine but if you did then repick them Feb 04 17:11:58 Hi - are there any toolchain recipe knowledgeable developers available? I have a question about adding a library to a toolchain, any toolchain. Feb 04 17:29:20 In particular, I am trying to get boost libraries installed into the qte sdk. I have tried adding boost to the RDEPENDS list directly in task-qte-toolchain-target. I saw how the GMAE toolchain used SDK-EXTRAS, so I tried adding that to my local.conf, and to the target toolchain recipes (qte and core both). But nothing has seemed to work so far. Can someone point me in the right direction? Feb 04 17:29:42 boost is in the image. Feb 04 17:31:22 I have checked the dependencies using bitbake -g, and it does look like (to my untrained eye) that the toolchain does depend on boost. Feb 04 18:40:38 pidge, The new DNS setup is complete. Feb 04 18:41:02 pidge, Please let me know if all is well for the builders now. Feb 04 18:53:21 E-mail would be best while I'm away or afk. Feb 04 19:11:58 paulobear: what is your target image that you are building Feb 04 19:12:18 paulobear: add it to RDEPENDS in that recipe Feb 04 19:12:22 and see if that works Feb 04 19:13:08 SDK-EXTRAS is gmae SDK only thing Feb 04 19:13:14 wont work on qt or something Feb 04 19:13:18 its a local variable Feb 04 19:13:23 khem: it's the same we talked about last nite. The phoenix-image-sdk layer. I do have boost in that image now. Feb 04 19:13:50 what is your bitbake blah Feb 04 19:14:36 khem: I tried adding SDK-EXTRAS variable to the meta-toolchain-qte task and/or sub-tasks/recipes to force it. I also tried adding boost and boost-dev to those recipes to force it. Feb 04 19:15:04 answer me what i asked first Feb 04 19:15:10 lets go step by step Feb 04 19:17:44 khem: bitbake -k phoenix-image-sdk \ Feb 04 19:17:44 meta-toolchain-qte meta-ide-support \ Feb 04 19:17:44 | tee build.log Feb 04 19:18:05 wow try one image at a time please Feb 04 19:18:21 lets try bitbake phoenix-image-sdk Feb 04 19:18:32 Oh, well this morning I'm only building this: bitbake -k meta-toolchain-qte Feb 04 19:18:46 ok get that -k out of it for a while Feb 04 19:19:23 The phoenix-image-sdk is building correctly. It has boost in the /usr/include and libs dirs. Feb 04 19:20:12 ok, I'll drop the -k. Want to die immediately, sure. Feb 04 19:20:12 So, I'm 1/2 way there, yah? :) Feb 04 19:21:12 I have been studying the toolchain recipes all morning. Feb 04 19:23:58 ok so you want boost in both sdks Feb 04 19:25:19 No, not really. I have been building both, just to see what happens. My project is only going to be using qte for app development. Feb 04 19:25:41 so you want it only in qt sdk Feb 04 19:25:46 yes Feb 04 19:25:54 ok Feb 04 19:27:42 from what I read in the class recipe, the target sdk gets the dev stuff (includes, libraries), and the nativesdk gets executables. do I read that right? Feb 04 19:28:10 sorry kids needed some attention Feb 04 19:28:27 no worries. I probably need to take my wife to lunch soon. :) Feb 04 19:28:37 ok add TOOLCHAIN_TARGET_TASK += "boost-dev" Feb 04 19:28:43 to your local.conf Feb 04 19:28:52 that should do it for QT SDK Feb 04 19:32:30 Why didn't it work when I added it directly to the RDEPENDS? Feb 04 19:33:25 I saw that TTT variable, but thought that if I added boost-dev to the RDEPENDS it would pick it up. Clearly some other foo going on... Feb 04 19:38:43 did it work now ? Feb 04 19:40:08 it is because sdk populating class overwrites normal depends and expects it to be specified in TOOLCHAIN_TARGET_TASK and TOOLCHAIN_HOST_TASK Feb 04 19:40:24 you should checkout my presentation from last ELC Feb 04 19:40:29 checking... Feb 04 19:40:49 Oh. Can you post the link? Feb 04 19:41:09 dont have it Feb 04 19:42:37 Nice try, but no ceegar. IIRC, the meta-toolchain-qte uses "=" not "+=" for TTT. GMAE has TT_GMAE_TARGET, which uses += to set, and then it assigns TTGT to TTT. Feb 04 19:43:21 ok then it is restrictive of what it wants Feb 04 19:43:36 so either you can create a new sdk recipe where you add your stuff on top Feb 04 19:43:47 whoops Feb 04 19:44:16 you can create a patch to let it accept += Feb 04 19:44:44 sdk's are restrictive in what they provide Feb 04 19:45:55 so either you can do something like gmae or create your own sdk recipe whih does basically inhrit all qt does + adds boost to it Feb 04 19:46:06 I was thinking about adding that patch. I was also thinking I could create a recipe in my layer which requires meta-toolchain-qte and adds what I need. Feb 04 19:46:09 lol Feb 04 19:46:28 * khem has a crystal ball Feb 04 19:46:37 I have forced it for now in meta-toolchain-qte to verify. Feb 04 19:46:57 re: crystal ball -- apparently :) Feb 04 19:47:21 alright enjoy your new sdk Feb 04 19:47:22 ok, I gotta take my wife to lunch. I'll let you know how it goes. thanks! Feb 04 19:47:29 i think you now know what to do Feb 04 19:47:40 alright enjoy Feb 04 19:47:47 yup.. it's at least getting clearer. **** ENDING LOGGING AT Sun Feb 05 02:59:59 2012 **** BEGIN LOGGING AT Sun Feb 05 02:59:59 2012 Feb 05 08:07:55 good morning Feb 05 08:07:57 greetings from FOSDEM, Bussels - Belgium **** BEGIN LOGGING AT Sun Feb 05 08:38:10 2012 Feb 05 15:41:38 CHeers all! Feb 06 01:31:21 hi,all **** ENDING LOGGING AT Mon Feb 06 02:59:58 2012 **** BEGIN LOGGING AT Mon Feb 06 02:59:58 2012 Feb 06 08:13:21 good morning Feb 06 09:21:01 morning all Feb 06 09:51:30 I'd really like to remove the use of absolute paths in bitbake Feb 06 09:57:15 id really like to remove bitbake Feb 06 09:57:41 hehe Feb 06 09:58:06 what would you replace it with? Feb 06 09:58:12 then again i havented tried yocto yet Feb 06 09:58:30 only tried bitbake on oe, found it cumbersome Feb 06 09:59:31 Zagor: i currently use sourcemage gnu/linux for just about everything, although i poke around with openwrt, and ttylinux.net buildroot and my own buildscript from scratch (based on lfs) Feb 06 09:59:33 :) Feb 06 10:00:21 http://atccss.net. my website, im going to try yocto soon though for fun anyway. learned about its existance at designcon east 2011 in boston mass Feb 06 12:16:08 CcSsNET: which bit about absolute paths bother you? Feb 06 12:20:17 i didnt mention that. read above more Feb 06 12:20:45 Zagor mentioned that Feb 06 12:22:55 two things bother me: I can't move my build dir to another place without rebuilding everything. and I can't even fool it by symlinking, since it resolves symlinks and uses the absolute physical path anyway. Feb 06 12:23:11 CcSsNET: sorry, evidently not enough caffeine yet Feb 06 12:23:16 lol Feb 06 12:24:08 Zagor: Hmm, it does that for a reason. The sstate files *are* relocatable though Feb 06 12:24:14 what is the reason? Feb 06 12:24:25 Zagor: too many of the pieces of software we build encode paths within themselves Feb 06 12:25:04 Zagor: If you build somewhere else with the sstate-cache, you'll get the same effect as relocating but the relocation issues will get handled Feb 06 12:25:17 Zagor maybe you would be interested in helping finish the script i started working on recently: http://atccss.net/projects/build-toolchain.sh Feb 06 12:25:46 my main focus of the script is easy to read based on the KISS principle of coding Feb 06 12:26:12 CcSsNET: in that case, stick to <80 column lines :) Feb 06 12:26:19 lol Feb 06 12:26:24 O:-) Feb 06 12:26:44 but but. i got 1280x1024 desktop hehe Feb 06 12:27:54 I have 2560x1600 and still only write 80 column code Feb 06 12:28:45 hmph Feb 06 12:30:07 script currently assumes tarballs are already in a local folder with the script. current bugs are in stage 3,4, and 6. will work on it again soon Feb 06 12:30:45 missing patches and such Feb 06 12:30:55 I'm not sure what you are trying to do, but my focus is on improving yocto. Feb 06 12:31:15 ah yea. my goal is completely independant so nvm it then Feb 06 12:31:34 i highly dislike bitbake as i stated prior Feb 06 12:32:42 I think your goal is different from yocto's. Feb 06 12:32:57 not so much :) Feb 06 12:33:29 but i guess my goal is to keep the process of scripting as small as possible for readability sake Feb 06 12:36:31 but i feel this is off topic for yocto. sorry all Feb 06 12:39:18 RP__: can you give me a few examples of packages behaving like this? do you have a ballpark figure how many they are? Feb 06 12:40:07 I gues I'm naive but I figured most packages use autoconf which shouldn't depend on location Feb 06 12:57:56 Zagor: Given sstate allows you to relocate and not have to rebuild everything, the thinking is there are bigger issues to solve Feb 06 12:58:46 Zagor: I don't have numbers, I know how nasty the sstate relocation was to fix and that was enough :/ Feb 06 13:15:44 RP__: how is that done in sstate-cache? I see the full path in my .siginfo files Feb 06 13:44:05 another question: how come in depexp all non-native targets reverse-depend on themselves? Feb 06 13:52:54 Zagor: Those paths are for logging purposes only Feb 06 13:53:02 aha Feb 06 13:54:13 Zagor: as for the second question, depexp shows collapsed dependencies (i.e. not task based). I suspect its the likes of do_package depends on do_install which depends on do_compile etc Feb 06 13:54:44 Zagor: bitbake X -g and looking at task-depends.dot is the most accurate view, albeit harder to read Feb 06 13:54:54 ok Feb 06 14:21:52 if I remove a feature from MACHINE_FEATURES, what do I need to do to make it take effect in the generated rootfs? I removed 'keyboard' but still get /etc/init.d/keymap.sh installed in my root dir. Feb 06 14:39:15 Zagor: if you've already built packages or task packages that looked at that feature, changing it after the fact won't force a rebuild of the package Feb 06 14:50:17 bluelightning: fair enough. but how can I know which packages/tasks are affected by a feature? Feb 06 14:51:29 Zagor: probably the easiest way would be to git grep for it... perhaps git grep _FEATURES | grep keyboard Feb 06 14:52:31 looks like it'll be task-core-base and task-base Feb 06 14:53:13 ideally these kinds of options get set before starting any builds; that's not always possible, but that's the ideal situation Feb 06 14:54:03 right. in this case I'm learning and exploring, and thus modify iteratively Feb 06 15:03:45 does anybody knows internal details of hob? http://www.yoctoproject.org/projects/hob Feb 06 15:04:06 I don't understand how it works, where are sources? Feb 06 15:05:04 mckoan: the sources of v1 are within bitbake (lib/bb/ui/..) Feb 06 15:05:29 mckoan: v2 is being worked on and is currently available in poky-contrib branches Feb 06 15:05:44 bluelightning: so it could be considered 'a graphical bitbake' then? Feb 06 15:06:13 mckoan: it's a frontend to bitbake, yes, the same logic is used to run the actual builds behind it Feb 06 15:06:58 bluelightning: hmmmm... interesting thanks. Just what i imagined when I started uding OE in 2007 ;-) Feb 06 15:56:47 Hmm, I need to get a clearer picture of the interaction of the UI and the server during a failure / shutdown, to make certain that the UI event queue is being drained Feb 06 16:06:27 kergoth`: I think we handle it pretty badly tbh :( Feb 06 16:07:40 kergoth`: Have you done any profiling of our builds or have ideas on how we could reduce build times? Feb 06 16:07:45 I suspect so. we should probably set another variable, and if that var is set and we get None as our event, break instead of continuing. that way it continues until it runs out of work to do Feb 06 16:07:53 (in knotty, that is) Feb 06 16:08:07 not recently Feb 06 16:09:16 kergoth`: yes, that might be a better way to shut down gracefully although it might not cope with a still alive server which wasn't ready to return any event I guess Feb 06 16:10:38 I'd hope our server always shut down, but that's true, we should make absolutely certain Feb 06 16:14:22 kergoth`: Have a think about build time and whether there is anything creative we can do to improve it. Most of the ideas I've had have been implemented now :/ Feb 06 16:14:57 kergoth`: I suspect the biggest issue is our correct but long dependency chains Feb 06 16:16:37 RP__: what about something like a pre-compiled dependency chain? Feb 06 16:16:54 mckoan: like sstate? :) Feb 06 16:19:00 RP__: i don't know sstate sorry Feb 06 16:19:44 mckoan: sstate is a way of caching things you've build before and reusing them in later builds. There are details on the mailing list and in the manuals about it Feb 06 16:20:09 https://wiki.yoctoproject.org/wiki/Enable_sstate_cache Feb 06 16:20:13 I see Feb 06 16:20:32 sounds like what I said Feb 06 16:22:06 but I suspect that sstate will re-parse the whole dependency chain Feb 06 16:22:22 sstate provides a cache mechanism, where sstate files from server can be reused to avoid build from scratc Feb 06 16:22:49 a pre-compiled dependency chain is something different Feb 06 16:23:19 one of these days i'd really like to try building a more full chroot, with more of the -natives already satisfied with sane versions, add them to ASSUME_PROVIDED, and see how that affects the times, but I haven't bothered. and as you say, sstate makes it at least a mostly one time cost Feb 06 16:23:36 * mckoan apologise for his lack of yocto knowledge but is starting to evaluate its potential just now Feb 06 16:25:26 kergoth`: There is an image target in OE-Core which is a self contained system with all OE's build deps present Feb 06 17:30:21 sgw shall I call you? Feb 06 17:31:20 halstead: on a call right now Feb 06 17:33:36 Okay, ping me when you have spare time. Feb 06 18:50:29 Hello. Feb 06 18:51:00 I have a strange problem. I'm trying to build a core0image minimal onli with oe-core. Feb 06 18:51:14 Everything works ok NOTE: Tasks Summary: Attempted 63 tasks of which 0 didn't need to be rerun and all succeeded. Feb 06 18:51:24 After that I see The OE build configuration Feb 06 18:51:30 And : Feb 06 18:51:39 NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: Tasks Summary: Attempted 63 tasks of which 63 didn't need to be rerun and all succeeded. Feb 06 18:51:54 Here stays for 10-15 minutes and fails with; Feb 06 18:52:09 openembedded-core/scripts/bitbake: line 23: /bin/grep: Argument list too long Feb 06 18:52:50 openembedded-core/scripts/bitbake: line 33: /usr/bin/python: Argument list too long Feb 06 18:53:00 What's wrong? Feb 06 18:54:17 scripts/bitbake is a shell script.. it attempts to setup some things for you.. Feb 06 18:54:23 it sounds like something went wrong in the setup phase.. Feb 06 18:54:45 run it with bash -x and see if you can figure out what grep went too long Feb 06 18:55:22 there is this one: Feb 06 18:55:24 /usr/bin/env python --version 2>&1 | grep "Python 3" Feb 06 18:55:45 Yes. I saw the referenced line. Feb 06 18:55:50 bitbake -e | grep STAGING_BINDIR_NATIVE=\" | cut -d '=' -f2 | cut -d '"' -f2 Feb 06 18:55:54 If i run it by hand nothing is returned/ Feb 06 18:55:59 and that is it.. Feb 06 18:56:26 the second one I posted you'll need to run from the bitbake/bin directory to avoid the shell wrapper Feb 06 18:57:00 but the line 23 is the first grep.. the version check.. Feb 06 18:57:12 if /usr/bin/env python --version doesn't work.. your system is hosed.. Feb 06 18:57:33 Python 2.7.2+ Feb 06 18:57:36 It works. Feb 06 18:57:38 Python 2.6.4 Feb 06 18:58:05 then you need to figure out why it didn't work in your first run due to the error on that line.. Feb 06 18:58:08 similarly: Feb 06 18:58:13 python -c 'import sys; print sys.version_info >= (2,6,0)' Feb 06 18:58:15 says it failed as well Feb 06 18:58:47 python -c 'import sys; print sys.version_info >= (2,6,0)' True Feb 06 18:58:53 Very very strange Feb 06 18:59:13 ok.. what in /bin/sh on your system Feb 06 18:59:21 since that is the shell being used to run the script? Feb 06 19:00:22 bash Feb 06 19:00:41 so run bash /scripts/bitbake and what does it do? Feb 06 19:01:17 ag: Can you resend your updated patches for js and nspr as patches, I am having trouble fetching the git from your machine. Feb 06 19:02:06 sqw: yes. Just after i will figure out what is wrong with my build with fray Feb 06 19:02:24 fray: nothing Feb 06 19:02:31 ag: Ok thanks Feb 06 19:02:43 so run it with bash /scripts/bitbake does it suddenly work? Feb 06 19:02:50 (vs just running bitbake ) Feb 06 19:03:32 No output. Feb 06 19:03:54 run it with bash -x ... Feb 06 19:04:00 what is the last thing it does? Feb 06 19:05:54 + PSEUDO_DISABLED=1 + {build}tmp-eglibc-eglibc/sysroots/i686-linux/usr/bin/pseudo {path}openembedded-core/scripts/bitbake cassini-image Feb 06 19:06:04 And stays here Feb 06 19:06:20 your path i messed up.. it's going recursive Feb 06 19:06:34 Ye si see... Feb 06 19:06:36 yes.. Feb 06 19:06:42 BITBAKE=`which bitbake` Feb 06 19:07:00 OLDPATH=$PATH Feb 06 19:07:01 export PATH=`echo $PATH | sed s#[^:]*/scripts:##` Feb 06 19:07:23 so either your path has a second case of "Scripts" in it.. or something else that says scripts.. Feb 06 19:07:31 this may very well be a "real" bug.. but usually the path is: Feb 06 19:07:58 No it;s not a bug. I'm trying to setup my scripts Feb 06 19:07:58 /scripts:/bitbake/bin/: Feb 06 19:08:20 so it should have the poky scripts -first- in the path, os it can be removed easily Feb 06 19:08:39 (and prevent you from running anything accidently on the command line other then the bitbake script) Feb 06 19:08:48 yes obv Feb 06 19:08:53 anyway thank you Feb 06 19:08:59 now i know where to look into it Feb 06 19:09:38 cool.. Feb 06 19:10:31 Uh. I didn't know that i'm talking with a wr guy Feb 06 19:10:39 :) Feb 06 19:11:06 :) Feb 06 19:11:14 cheers colleague ! Feb 06 19:11:29 back to evening work Feb 06 19:14:19 Hmm. staticdev sanity check wants a /.debug/*.a to be in -staticdev, not -dbg Feb 06 19:14:37 that's incorrect.. Feb 06 19:14:52 the debug stuff should be excluded from the -staticdev checking Feb 06 19:15:43 (normally though .a isn't extracted for dbg.. or so I though.. maybe I'm forgetting that) Feb 06 19:15:45 * kergoth` nods Feb 06 19:16:43 damnit, I changed a PKGV_ and it didn't change the sig for do_package_write Feb 06 19:16:45 * kergoth` adds to todo Feb 06 19:19:30 ya, definitely a todo item.. that needs to work Feb 06 19:20:24 thought we'd already covered most of our bases on the packaging vardeps, but guess we missed one :) Feb 06 19:21:28 yup Feb 06 20:13:15 Anybody had any problems in setting collections BBFILE_PRIORITY in oe? Feb 06 20:13:18 Anybody had any problems in setting collections BBFILE_PRIORITY in oe?oe-core Feb 06 20:13:37 I have a layer with BBFILE_PRIORITY_mine = "6" Feb 06 20:13:48 and oe-core has: BBFILE_PRIORITY_normal = "5" Feb 06 20:14:09 Whatever package i try it is taken the one from oe-core Feb 06 20:14:31 Is there a known bug about this or a missed variable from me. Feb 06 20:14:32 ? Feb 06 20:14:37 not a known issue, works fine here Feb 06 20:14:51 do you have the layer stuff setup properly? every time I create a new layer I seem to missing something in the setup fils Feb 06 20:15:21 (thats really my only peave with the layer mechanism.. it's a pain to setup the first itme) Feb 06 20:15:29 http://git.yoctoproject.org/cgit/cgit.cgi/meta-selinux/tree/conf/layer.conf Feb 06 20:15:40 speaking of which, we should really improve all the layer.confs in the main layers. some are still using := from before the forced LAYERDIR expansion was in bitbake Feb 06 20:15:56 heh Feb 06 20:15:57 you need to setup the BBPATH right, BBFILES has to have the right expressions, as well as the others.. which I can't say I even understand well enough to change if they needed it Feb 06 20:16:04 all right Feb 06 20:16:10 nothing skipped. Feb 06 20:16:14 BBPATH Feb 06 20:16:16 BBFILES Feb 06 20:16:22 'mine' is in BBFILE_COLLECTIONS? Feb 06 20:16:23 COLLECTIONS Feb 06 20:16:29 and the BBFILE_PATTERN_mine is correct? Feb 06 20:16:32 yes Feb 06 20:16:42 well, you're doing something wrong, the only question is where :) Feb 06 20:16:47 kergoth` yes we should.. I patterned mine after the examples in Yocto.. but if they're wrong.. they should be fixed and explain why.. Feb 06 20:16:49 try putting the layer.conf on a pastebin Feb 06 20:17:07 ...and that is the other thing, I'd love a way to verify the contents of the layer.conf is "functional".. Feb 06 20:17:24 i.e. list the related rcipes /appends found.. that kind of thing.. it would help find incorrect files Feb 06 20:17:43 http://pastebin.com/BQD7dJiR Feb 06 20:18:01 everything is ok. Feb 06 20:18:05 trust me. Feb 06 20:18:13 somewhere else is the problem... Feb 06 20:19:06 isn't PRIORITY, the lower the number the higher the priority? Feb 06 20:19:12 nope Feb 06 20:19:12 so if normal is "5".. your stuff will be ignored.. Feb 06 20:19:19 afaik anyway Feb 06 20:19:27 could be wrong, though Feb 06 20:19:30 also make sure that, ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend actually maps to the right recipes Feb 06 20:20:21 All bb files and bb append are ok Feb 06 20:20:29 and the paths Feb 06 20:20:39 then it's likely the priority.. lower the number the higher the priority of the files Feb 06 20:20:42 So bigger PRIOROTY is better right? Feb 06 20:20:50 4 is higher priority then 5 Feb 06 20:20:55 -1 is highest priority? Feb 06 20:20:56 Damn Feb 06 20:21:07 this is one of those things that isn't well documented Feb 06 20:21:16 yes indeed Feb 06 20:21:18 (I know it -is- documented, but it's not a FAQ item and probably should be Feb 06 20:21:32 Never saw this writtem Feb 06 20:21:36 written Feb 06 20:21:47 so Feb 06 20:21:54 my priority is 4 now Feb 06 20:22:05 and still consolekit is from oe-core Feb 06 20:22:11 huh, how did I not know about LAYERDEPENDS? Feb 06 20:22:18 Tonight it;s not my night... Feb 06 20:23:13 I don't think layer depends is actually validated anywhere.. it's just used to help people figure things out Feb 06 20:23:42 according to the code in cooker.py, it's used Feb 06 20:23:59 further, it adds up the layer priorities of your deps to adjust yours Feb 06 20:24:09 huh, didn't realize it was ever enabled.. we talked about it a yer ago Feb 06 20:24:14 * kergoth` nods Feb 06 20:24:29 * kergoth` 'll have to try using it and see what blows up Feb 06 20:24:52 ya.. I dunno.. this is the confusing stuff for me.. I really don't understand the priority mechanisms in bitbake.. Feb 06 20:24:58 found it in cooker as well Feb 06 20:25:07 it seems to me that it makes more "obvious" sense to follow the priority of the BBLAYERS variable instead.. Feb 06 20:25:19 first item listed should be highest or lowest priority.. with everything going off of that.. Feb 06 20:25:27 in the WR build system last item listed is highest priority Feb 06 20:25:34 yes Feb 06 20:25:37 in LDAT Feb 06 20:25:40 (assumption there is with the layers each layer sits on top of each other layer) Feb 06 20:25:58 bitbake though has no concept of that.. it just has a list of layers, the priorities are set by the layers and can be overriden by the user.. Feb 06 20:26:03 I find it very confusing myself Feb 06 20:26:26 anyway... right now it's not working at all :) Feb 06 20:26:39 the bitbake / oe docs say 6 > 5 in the priority field.. Feb 06 20:26:47 but I swear last time I tested it, it was the other way around Feb 06 20:27:05 hm... not good Feb 06 20:27:34 6 or 4, nothing works Feb 06 20:27:35 I agree wrt BBLAYERS, the problem is today the priority of conf/classes is independent of recipes, but whats worse, they're in two different areas of responsibility. one the user, one the layer maintainer Feb 06 20:28:09 my old COLLECTIONS implementation handled both via a single priority ordered variable Feb 06 20:28:12 heh Feb 06 20:29:06 I have no problem with being able to manually select the priority.. it's lack of automatic inheritence for priority that annoys me.. Feb 06 20:32:23 ERROR: Nothing PROVIDES 'gnome-common' (but {...}openembedded-core/meta/recipes-support/consolekit/consolekit_0.4.5.bb DEPENDS on or otherwise requires it) Feb 06 20:32:29 ERROR: gnome-common was skipped: incompatible with license GPLv3 Feb 06 20:32:47 And i have another one in my layer priority 6. Feb 06 20:32:57 where there is no gnime Feb 06 20:33:00 gnome* Feb 06 20:34:24 ERROR: gnome-common was skipped: incompatible with license GPLv3 Feb 06 20:34:26 thats the error.. Feb 06 20:34:32 i know Feb 06 20:34:34 you have GPLv3 disabled in your configuration Feb 06 20:34:38 so you have no gnome-common package available to you Feb 06 20:34:45 but the recipe is taken from ore-core Feb 06 20:35:14 the gnome-common .bb file it found was listed as GPLv3.. you have that blacklisted.. so it will ignore it Feb 06 20:35:26 I know Feb 06 20:35:29 i wrote that code :) Feb 06 20:35:42 if you are providing your own that should NOT be ignored.. in your own layer, then something else is happening Feb 06 20:35:43 I didn't make this issue clear. Feb 06 20:35:48 So. Feb 06 20:35:52 I have 2 layers Feb 06 20:35:57 both with consolekit Feb 06 20:36:11 one with consolekit with depends on gnome Feb 06 20:36:18 one with consolekit without depends on gnome Feb 06 20:36:33 The one without gnome is in a layer with prority 6 Feb 06 20:36:48 The one with gnome is in a layer with prority 5 - oe-core Feb 06 20:36:55 Clear now? Feb 06 20:36:59 run bitbake -s Feb 06 20:37:08 that will show you the versions it found and the one its selecting Feb 06 20:37:27 are the version numbers -exactly- the same between the two? Feb 06 20:37:35 i.e. are they both consolekit_xxxx.bb ? Feb 06 20:38:31 consolekit :0.4.5-r7 Feb 06 20:38:37 this is from my layer = prority 6 Feb 06 20:38:45 bitbake-layers may be helpful too Feb 06 20:38:51 not sure what all it shows nowadays Feb 06 20:39:33 ya, bitbake-layers show-recipes is likely what you want Feb 06 20:39:48 let's check Feb 06 20:39:50 never used this Feb 06 20:39:55 consolekit: Feb 06 20:39:55 meta 0.4.5 Feb 06 20:39:58 thats my stock config Feb 06 20:40:21 Strange Feb 06 20:40:28 wheel i found the problem Feb 06 20:40:34 my layer has 0 prority Feb 06 20:40:45 even if i have it set in conf Feb 06 20:40:46 as 6 Feb 06 20:40:50 well* Feb 06 20:45:43 i realized the problem. I had 2 layers but when creating the last one i forgot to edit _[name of collection]. So i had 2 layers with the same _[name of collection] variables. And from a strange behavior, the rewritten layers ends in 0 priority. Feb 06 20:45:57 interesting Feb 06 20:46:13 yeah... Feb 06 20:46:49 this is not normal... it should be a mechanism of checking these variables somehow Feb 06 20:47:00 i will think about his and maybe write some code on this problem Feb 06 20:49:17 Thank you chris and mark Feb 06 20:49:47 i i learnt some stuff today with you guys Feb 06 20:49:55 so did I.. Feb 06 20:50:11 I'm really surprised higher number is higher priority... I swear it was the other way around Feb 06 20:50:41 Nope. Feb 06 20:51:11 It was this way. I used this before. But i went on your hand... as you are MARK H. :) Feb 06 20:51:28 ha Feb 06 20:54:54 It's 23:00 Feb 06 20:55:44 and i'm still at work... outside is Apocalypse as my car is stuck into snow. So wish me good luck! And have a great night /day! Feb 06 20:57:38 g'night! Feb 06 20:59:44 hmm, this article mentions that the verastile express emulation in qemu can go above 256 megs of ram. that could be useful Feb 06 21:00:01 anyone seen the texinfo build fail with: | make[2]: makedoc: Command not found Feb 06 21:00:06 I'm guessing a missing dep :) Feb 06 21:04:53 sounds like it.. Feb 06 21:04:59 I havn't seen that before, but it doesn't surprise me Feb 06 21:12:54 doc generation tools are a damn nightmare Feb 06 21:15:28 I just found a bug in the arch-armv7.inc file Feb 06 21:15:32 # VFP Tunes Feb 06 21:15:32 AVAILTUNES += "armv7hf armv7thf armv7hf-neon armv7thf-neon Feb 06 21:15:37 no trailing '"' Feb 06 21:16:09 heh, oops Feb 06 21:16:16 I really wish bitbake would catch that instead of treating the first " in the line as a litteral Feb 06 21:16:18 we should really just not allow that to happen Feb 06 21:16:20 yeah Feb 06 22:46:57 Second time in a week I've seen that causing problems :/ Feb 07 01:09:19 khem, you around? I am getting build failures with the kmod (see: http://pastebin.com/mxnjAnqF) Feb 07 02:23:35 sgw: hey Feb 07 02:25:01 that pastenbin id is invalid Feb 07 02:25:07 sgw: repase Feb 07 02:47:38 khem: sorry forgot to prove I was human: http://pastebin.com/y1pJ2Yzn Feb 07 02:48:06 heh Feb 07 02:48:32 sgw: your host does not have docbook-xsl installed Feb 07 02:49:03 Is docbook-xsl a new requirement? Feb 07 02:50:52 sgw: for lot of gnome-utils yes Feb 07 02:51:08 sgw: We might need it as a -native tool as well I think Feb 07 02:51:30 xsltproc and stylesheets Feb 07 02:52:34 We have gnome-utils Feb 07 02:53:11 sgw: yeah its on top can you add something like --disable-gtk-doc to EXTRA_OECONF ? Feb 07 02:53:14 and see if it helps Feb 07 02:53:15 for fedora, I see we include docbook-style-xsl and others but not on Ubuntu. Maybe these need to be -natives Feb 07 02:53:32 although I hate to disable building docs but this could be a workaround Feb 07 02:53:53 I agree, in the long run we want to increase building docs. Feb 07 02:54:02 yes we definitely need to have these tools -native versions Feb 07 02:54:53 I will check meta-oe and oe-classic and then build out recipes if needed. BTW, thanks for taking a lead on the meta-oe/oe-core thing, it been on the burner for me, but prep for ELC and DevDay has consumed my extra time! Feb 07 02:55:05 its nicer to have documents in portable formats so avoiding xsl will not go long Feb 07 02:55:42 yes we need to clear up the layers now we are there Feb 07 02:56:42 I think this will be discussed a little at ELC and on the ML in summary form. Feb 07 02:57:22 btw. kmod is a hot potato it will take some time for it to settle in so dont propose itf or oe-core yet Feb 07 02:57:42 I think I need people to test it out a lot before going upstream Feb 07 02:57:58 as I mentioned in my email as well Feb 07 02:58:17 Khem, can you break that out of your pull requests and do the task, uclibc as 2 separate pull requests. Feb 07 02:59:20 sgw: drop image.bbclass,kernel.bbclass: Use kmod-native instead of module-init-tools-cross Feb 07 02:59:26 module-init-tools: Delete Feb 07 02:59:34 kmod: Add recipes Feb 07 02:59:49 those three patches are essentially which does the switch **** ENDING LOGGING AT Tue Feb 07 02:59:58 2012 **** BEGIN LOGGING AT Tue Feb 07 02:59:58 2012 Feb 07 03:00:17 I could have added virtuals for it to coexist with module-init-tools as a transition time Feb 07 03:01:08 so just git rebase --onto ~1 Feb 07 03:01:19 will punt them out Feb 07 03:01:23 you have to do it three times Feb 07 03:02:01 khem, if you could help me out and create separate requests that would be best, I have to head out now. Feb 07 03:02:05 if you prefer it I can rebase the kraj/misc tree so they are not there Feb 07 03:02:12 ok Feb 07 03:02:17 let me do that in a min Feb 07 03:02:22 then you can head out Feb 07 03:04:41 ok the tree kraj/misc is rebased and kmod is gone Feb 07 03:04:56 sgw: now it should be ok to repull it Feb 07 08:28:59 good morning Feb 07 10:07:26 morning all Feb 07 11:40:45 Hello guys. Feb 07 11:41:01 Again i'm into trouble with my oe-core build - core image minimal. Feb 07 11:41:06 It's very similar to https://dev.yoctoproject.org/bugzilla-3.6.1/show_bug.cgi?id=1491 Feb 07 11:41:12 But on db-native package. Feb 07 11:42:12 I saw that pseudo i running correctly and i use bitbake from script but still... i'm into this error. Any ideas? I've been looking into this for more than 4 hours... And right now i'm out of ideas. Feb 07 11:43:50 ERROR: Task 310 ({oe-core-path}meta/recipes-support/db/db_5.1.19.bb, do_install) failed with exit code '1' Feb 07 11:43:59 And above a lot of: Feb 07 11:45:00 chown: changing ownership of `{buildpath}/tmp-eglibc-eglibc/work/i686-linux/db-native-5.1.19-r4/image{buildpath}/tmp-eglibc-eglibc/sysroots': Operation not permitted Feb 07 11:45:27 This is because in bb we have chwon -R root:root {D} Feb 07 11:45:34 chown* Feb 07 14:17:52 ag: Sounds like pseudo isn't working correctly Feb 07 14:28:07 RP__: The problem was the chown intercept script. This script is hardcoded in native.class. I moved this script directory for a local project. Feb 07 14:28:22 Anyway a symlink solved my problem. Feb 07 14:28:24 Thank you. Feb 07 14:29:03 ag: ah, pleased you got it sorted :) Feb 07 14:59:13 tomz2 - Fetcher failure for URL: 'file://lib'. Unable to fetch URL file://lib from any source. Feb 07 14:59:19 what am I doing wrong? Feb 07 14:59:36 I just switched from yocto 1.0 to 1.2 M2 Feb 07 14:59:57 this is for package emgd-driver-bin-1.8-r8 Feb 07 15:00:29 It must be 7 am on the west coast - will try the mailing list I guess. Feb 07 15:17:17 autif: yeah, emgd 1.8 is gone, replaced by 1.10 Feb 07 15:18:12 ok, so how do i create the image? Feb 07 15:18:17 autif: I think if you use master instead of 1.2, it should work Feb 07 15:18:29 hmmmn Feb 07 15:20:16 so, master for meta-intel - right - not yocto M2 - I can mix these two version - keep yocto 1.2 and use master meta-intel - until M3 is released _ i suppose Feb 07 15:21:40 autif: yeah, meta-intel, but actually 1.2 m2 should still work with 1.8, lemme try here Feb 07 15:22:56 autif: 1.2m2 does use 1.10, so not sure why you'd be seeing 1.8 errors Feb 07 15:23:21 not good - what could I be missing? Feb 07 15:23:35 why does bitbake try to compile 1.8 for me instead of 1.10? Feb 07 15:23:58 autif: that's the question - it shouldn't be Feb 07 15:26:48 my steps are what they used to be in 1.0 - . /path/to/poky/oe-init-build-env build, followed bu editing of conf/bblayers.conf - added meta-intel and meta-intel/meta-crownbay, then bitbaked core-image-sato Feb 07 15:28:22 I also do ln -s /downloads downloads - so that only new stuff is downloaded from the website(s) Feb 07 15:28:38 the /downloads have everything from 1.0 builds Feb 07 15:28:42 this should be fine Feb 07 15:29:00 autif: yeah, there shouldn't be anything left in meta-intel that mentions 1.8 Feb 07 15:30:06 autif: there is the LICENSE_FLAGS_WHITELIST that you now need to do, but that wouldn't explain why it's using 1.8 Feb 07 15:31:14 hmmmn - where is this license flags whitelist supposed to go and what should it be populated with? Feb 07 15:32:06 autif: in your local.conf - see the README in meta-crownbay Feb 07 15:33:19 autif: I'm building 1.2m2 from scratch here, will let you know how it goes Feb 07 15:34:01 autif: but I'm sure I've done it a couple times and all was well... Feb 07 15:34:34 thanks tomz2 - I read the README in meta-crownbay - there is nothing like WHITELIST there Feb 07 15:36:41 autif: ah, ok, i'm actually not looking at 1.2m2 then, but master. Let me try 1.2m2 for real then. Feb 07 15:37:02 he he he :-) Feb 07 15:39:21 autif: so anyway, for 1.8, you did set up the emgd-driver-bin as usual ala the README Feb 07 15:40:39 yes, MACHINE = crownbay, Feb 07 15:41:00 and adding meta-intel and meta-intel/meta-crownbay on conf/bblayers/conf Feb 07 15:41:02 thats it Feb 07 15:41:04 nothing else Feb 07 15:41:05 right? Feb 07 15:41:30 that is all that I get from README Feb 07 15:42:15 autif: I mean the part where you have to dowload the emgd driver, extract the binaries, put them in the right place in meta-intel, etc. See 'II. Special notes for building the meta-crownbay BSP layer' in the README Feb 07 15:42:39 autif: the 1.10 changes get rid of all that, so it might be easier for you to just use master Feb 07 15:42:40 hmmn - I have not done that - likely thats what I am missing Feb 07 15:43:14 let me get back to you after groking section II Feb 07 15:43:18 thanks for all the help! Feb 07 15:43:44 autif: ok Feb 07 16:23:40 Another one - I have a line in my recipe - FILES_${PN} += "${libdir}/libgdiplus.so" - However, in 1.2 aka M2 - I get an error - ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so: libgdiplus path '/work/core2-poky-linux/libgdiplus-2.10-r0/packages-split/libgdiplus/usr/lib/libgdiplus.so' Feb 07 16:23:54 don't do that Feb 07 16:24:02 instead .... Feb 07 16:24:25 the real library goes in the main package. the .so symlink is only required when compiling, and is as such placed in -dev Feb 07 16:24:59 yes, but libgdiplus is incorrectly written - its library is indeed libgdiplus.so Feb 07 16:25:47 sorry - not true - that is required for mono to run properly Feb 07 16:26:11 such .NET so libraries are indeed incorrectly written in mono - not libgdiplus as i stated Feb 07 16:26:24 so, suppose that I do want this - how do I do it? Feb 07 16:26:29 if the library was .so and wasn't a symlink, that QA error wouldn't have occurred Feb 07 16:26:35 short of including package libgdiplus-dev Feb 07 16:26:42 but fair enough, there are ways to disable the qa checks Feb 07 16:27:00 * kergoth` doesn't remember the exact variable offhand though, maybe someone else does Feb 07 16:27:20 I can grep in the recipes - anything ring a bell? Feb 07 16:27:44 you're probably better off checking the classes that do the qa checking Feb 07 16:27:54 autif: INSANE_SKIP Feb 07 16:28:09 ah, right, thats the one :) Feb 07 16:28:14 thanks Feb 07 16:29:18 that reminds me, i set INSANE_SKIP_ on some packages in the external toolchain recipe, yet it still whines about GNU_HASH. wonder if i typoed them or something Feb 07 16:29:20 * kergoth` digs Feb 07 16:42:01 haha Feb 07 16:42:18 RP__: if I make knotty drain the events after it exits its loop, I can't reproduce the parse error hang anymore Feb 07 16:42:34 my suspicion may well have been accurate Feb 07 16:42:37 * kergoth` digs further Feb 07 16:42:45 kergoth`: which one, the original or the new one? Feb 07 16:45:05 sgw: About your last email with Signed-off mesages. Feb 07 16:45:08 messages Feb 07 16:45:23 I will recommit with signed-off in my patch but should i add signed-off to patches that were applying as they are from the last version? Feb 07 16:45:43 I mean all i changed was that lcrypt in LIBS. Feb 07 16:45:54 And i will modify the header of that patch. Feb 07 16:45:58 RP__: actually, this is testing with the homerolled process pool i tried to use to fix the cancellation issue without futures, will test the others too Feb 07 16:50:31 ag: if you made changes to the patches then add your signed-off-by, if they are from before then you do not need to add SOB Feb 07 16:59:22 sgw: ok Feb 07 17:07:46 I can't help but wonder.. does anyone ever ^C bitbake without then ^C'ing it further to get out right away? It seems like the cases where I want to be patient are few and far between, especially given re-running the task doesn't always result in redoing all its work over again Feb 07 17:08:50 kergoth`: I do occasionally Feb 07 17:09:17 kergoth`: usually when I'm stopping it because it's making my machine too slow and I plan to resume it later Feb 07 17:09:55 lots of people wouldn't be patient enough for that though Feb 07 17:09:57 I'm just wondering about the value it adds. Most of the time a user expects their software to respond immediately, or close to it, and re-running part of a task rarely causes any sort of problem Feb 07 17:10:08 especially if you do it in the middle of eglibc do_package for example :/ Feb 07 17:11:02 heh, yeah, thats one of the ones that hurts Feb 07 17:12:02 most of the time i just end up hammering on ^C until it stops, I wonder what others users do. maybe I should do a poll or something Feb 07 17:17:01 kergoth`, RP__ - Another one - ERROR: QA Issue: Architecture did not match (3 to 62) on /work/core2-poky-linux/mono-2.10.8.1-r0/packages-split/mono/usr/lib/mono/2.0/mcs.exe.so - INSANE_SKIP_${PN} = "dev-so" does not seem to help Feb 07 17:28:02 autif: but arch in there might? Feb 07 17:29:46 RP__: I did not understand that Feb 07 17:30:17 autif: dev-so is the check for .so symlinks not in -dev packages. you didn't tell it to skip the architecture check Feb 07 17:31:02 ah, INSANE_SKIP_${PN} = "dev-so arch" Feb 07 17:34:52 OMG, I still have another QA error - ERROR: QA Issue: non debug package contains .debug directory - whats the magic for that? grep did not reveal anything in existing recipes - o I could read the code where packaging is done - where is that? Feb 07 17:35:06 bitbake.conf Feb 07 17:35:11 meta/conf/bitbake.conf Feb 07 17:35:26 this is the main configuration file, it includes all the others, including local.conf Feb 07 17:37:57 it does not seem to list either "arch" or "dev-so" - where are those checked? Feb 07 17:38:11 insane.bbclass is what does the checks Feb 07 17:38:12 what would it be for nondebug? Feb 07 17:38:17 ah Feb 07 17:38:29 .debug directories belong in -dbg packages. this isn't something you should override, its something you should fix in your FILES variables Feb 07 17:40:41 i considered this - it seems like these files are manually copied from another source - I will weed thru that another time (really, I will :-), however for now, I just want to move on to M2 to debug my kernel issues Feb 07 17:41:03 * kergoth` nods Feb 07 17:41:07 so, for now, I just want to override Feb 07 17:41:44 magic keyword seems to be "debug-files" Feb 07 17:42:02 thanks for the help kergoth` Feb 07 17:43:20 np Feb 07 17:49:59 RP__: that prototype task status footer you did for knotty was rather nice, but I think we'd need some sort of separator or background/foreground color difference to keep it visually separate from the rest of the output Feb 07 17:50:36 RP__: it felt slightly cluttered and the eye didn't quickly spot the deliniation, for me anyway, but the value was definitely there, I think Feb 07 17:52:25 kergoth`: Agreed, I think its the right thing to do but didn't merge it yet as it didn't seem 100% right Feb 07 17:52:43 kergoth`: There is at least one case it gets confused somehow with the linenumbers Feb 07 17:53:08 kergoth`: With 30 processes running it also makes me feel ill with the refreshed Feb 07 17:53:11 refreshes Feb 07 17:57:25 kergoth`: I just need some time to spend on it but colour difference would be a good way to show the user what was happening Feb 07 18:06:08 Isn't true that all static libraries should go in -staticdev/ ? Feb 07 18:06:24 ${PN}-staticde Feb 07 18:06:26 ${PN}-staticdev Feb 07 18:14:52 RP__, JaMa: okay, https://github.com/kergoth/bitbake/compare/hang-issue-fix seems to fix both issues. I'd like JaMa to verify this since he seems to hit the non-failure hang more often than most. Also, I think I can probably kill the Feeder process here, I'll look into that next to simplify, but this does seem to resolve both issues relatively cleanly Feb 07 18:17:06 i tested both forms of interruption (one ^C, two ^C's), a single task failing, setVar2 in sstate.bbclass, and a parse error in a single recipe. ran 100+ parses without issues so far Feb 07 18:17:27 and of course verified that building to completion seems to work fine as well Feb 07 18:18:21 * kergoth` kicks off a few more builds with it Feb 07 18:19:53 ag: yes, for the most part static libraries go into -staticdev Feb 07 18:20:37 ag: I have been doing some further review of the js upgrade and I am trying to understand why you removed all the patches? This might partly explain why you are having trouble with the internal nspr. Feb 07 18:26:40 sgw: configure.ac: i use configure from package Feb 07 18:27:00 jsautocfg.h Didn't complain about it. Feb 07 18:31:05 buildcc.patch jskwgen is compiled for host ok. Feb 07 18:31:17 file host_jskwgen host_jskwgen: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped Feb 07 18:35:42 About usepic.patch and link_with_gcc.patch... i think they should be back... Feb 07 18:36:06 Can;t remember why i removed them. Maybe in my struggle to make nspr compile Feb 07 18:36:31 And after that, after seeing that evering compiles without them, i kept them removed. Feb 07 18:36:50 everything* Feb 07 18:38:51 ag: sorry got called away Feb 07 18:39:31 No problem Feb 07 18:39:51 Let me check once more to compile intenal nspr with those patches Feb 07 18:39:51 ag: for configure.ac you should compare what is different, there are probably some setting in there that are needed to make it build correctly. Feb 07 18:40:58 ag: thanks, its always important to look at those difference, that's one of the reasons we want to have accurate Upstream-Status info, so we now if the patch is there because of a bug or configuration stuff. Feb 07 18:41:52 but actually the package is ok without all these packages and configure stuff Feb 07 18:43:28 The fpic patch is for MIps. Feb 07 18:43:42 There is a log and description in the patch Feb 07 18:43:54 But the other one is blown away Feb 07 18:44:40 Anyway. Gimme some time to check again for nspr. Feb 07 18:44:47 sgw: Anyway. Gimme some time to check again for nspr. Feb 07 18:45:25 ag: Ok, I will hold on the js and nspr patches, I am looking at the dhcp one again. Feb 07 18:49:15 ag: for the dhcp patch, I just noticed that those where not git renames, did you use "git mv" to rename the files? That would be better to prerve the history. Feb 07 18:50:22 sgw: my bad. Won't happen again. Do you want to resubmit it? Feb 07 18:50:34 ag: Yes please Feb 07 18:50:45 SOmt hing else/ Feb 07 18:50:53 Something else/ Feb 07 18:50:57 Something else? Feb 07 18:51:25 (hard to work with this new Dell keyboard) Feb 07 18:52:00 ag: I hope not, I look at all patches a number of times from different angles and at different points in the process, I am sorry I don't always find all the issues first thing. Feb 07 18:52:25 sgw: no problem. In the first place is my fault. Feb 07 19:04:33 sgw: about js i think the only solution is with external nspr. i cannot find any nspr code internally. "By default, ./configure will use the nspr-config program, installed as part of NSPR, to find the appropriate way to include and link to NSPR." I will resend the link_with_gcc.patch and usepic.patch patches Feb 07 19:07:06 "link_with_gcc.patch and usepic.patch patches" modified to match the new version Feb 07 19:18:37 sgw: what do you say? Do you have an arm build? would you please test js on it? If you have time... Feb 07 19:19:09 sgw: did you see my dhcp patch? Feb 07 19:20:19 otavio: ag: you both have dhcp patches that need a merge, Can I get a coordinated change set please. Feb 07 19:20:54 sgw: for me, it seems logical for him to add mine in his tree and send both Feb 07 19:21:01 ag: works for you? Feb 07 19:21:01 I already rebased otavio's Feb 07 19:21:09 ag: i did changes on it Feb 07 19:21:15 uh... Feb 07 19:21:16 ag: check current one if you did Feb 07 19:21:17 ag: I have all arches in various states, I will have to look at the JS patch more closely, RP__ mentioned that he did the orignal recipe and may have some insights. Feb 07 19:21:31 ag: it has an if on the post scripts Feb 07 19:21:52 yeah. i will send yours as well. Feb 07 19:24:04 ag: please take a look on it and if you have any problem ping me Feb 07 19:25:23 otavio: 10 minutes and Feb 07 19:25:37 otavio: 10 minutes and i will send your patch with mine Feb 07 19:27:10 ag: cool Feb 07 19:27:49 ag: great Feb 07 19:28:21 otavio: hey! Feb 07 19:28:30 incandescant: hi Feb 07 19:28:51 otavio: I'm wondering about trying to look at the BitBake changes for gitpkgv.bclass - any objections? Feb 07 19:28:58 * incandescant is trying to lower barriers for systemd in core Feb 07 19:29:43 incandescant: sure not Feb 07 19:30:04 incandescant: when you'd like to look at other systemd stuff I'm more then welcome to talk about that Feb 07 19:30:32 otavio: atm I'm trying to figure out what's required, I see a big changeset proposed for meta-oe - haven't looked in depth at that yet Feb 07 19:30:38 otavio: so you decoupled the udev-cache, but that will slow down non-systemd bootup time. Feb 07 19:31:02 sgw: not really Feb 07 19:31:20 sgw: most people are using devtmpfs and cache is slower then regular boot Feb 07 19:31:26 iirc the yocto kernel has devtmpfs Feb 07 19:31:35 incandescant: exactly Feb 07 19:31:52 it's enabled by default at least for MACHINEs I've looked at Feb 07 19:32:07 otavio: have you done any tests to confirm this? RP__ was thinking we need to add it back in our images. Feb 07 19:32:45 sgw: not recently ... i did compare it but i don't have numbers off hand Feb 07 19:33:59 incandescant: systemd is hard to get well integrated Feb 07 19:34:22 incandescant: what we have in meta-oe is more or less ok but far from best alternative Feb 07 19:34:47 otavio: that's the impression I've got too, my initial inclination is that it needs to be a DISTRO thing, to enable various OECONF etc Feb 07 19:34:59 incandescant: the right thing to do is what i suggested on the patchset. Feb 07 19:35:05 otavio: any chance of providing some numbers, I will integrate this change, but want to figure out if we need to bring it back for some set of images. Feb 07 19:35:12 otavio: I'd best read that today then Feb 07 19:35:46 incandescant: the state of art would to have both -systemd and -sysvinit packages for every package and at image building choose Feb 07 19:36:21 sgw: not easy for me to redo it as i am half way of getting udev 180 done and i'd need to undo a lot of stuff Feb 07 19:36:56 otavio: that seems like a good goal but I wonder if it's possible? for units vs initscripts sure, but what about where packages use systemd interfaces? Feb 07 19:37:15 * incandescant was pondering some shim implementation of the systemd interfaces for non-systemd systems Feb 07 19:37:32 incandescant: an acceptable solution for me is to have them generated depending on a distro feature Feb 07 19:37:47 incandescant: give an example, plz Feb 07 19:38:36 otavio: I'd love to but wiki.fd.o appears down Feb 07 19:39:07 incandescant: tell me, not need to be a pointer Feb 07 19:39:17 incandescant: by interface, what do you mean Feb 07 19:39:59 otavio: API, configuration files, etc. Feb 07 19:40:05 otavio: systemd is defining some interfaces which are being adopted by glib, X11, etc. d-bus API's, fi and I'm trying to figure out a nice way to support those in the core Feb 07 19:40:17 i.e. locale.conf and localed Feb 07 19:40:43 otavio: since you have had your hands in udev, does it really need to RRECOMMED usbutils-ids and pciutils-ids? Can we get away with out those? Feb 07 19:41:08 otavio: I don't think it's an immediate concern but I expect as systemd becomes more popular that software we build will rely on more of its features Feb 07 19:41:21 incandescant: well, in fact i do think we won't be able to build complex images without systemd in not a far future Feb 07 19:41:45 otavio: I hope that's not so, but I can see how that might be Feb 07 19:41:45 sgw: did't check it Feb 07 19:41:48 sgw: but i can do it Feb 07 19:41:59 sgw: but i will do after finishing 180 changes Feb 07 19:42:21 otavio: please, since in the minimal-image it adds a significant amount of space. Feb 07 19:42:26 sgw: most probably in a patch before applying the newer version but that i will do after Feb 07 19:42:32 sgw: sure, will do Feb 07 19:43:11 otavio: ok thank. lspci and lsusb bring them in for those human readable commands, which should be sufficient if udev does not need human readable output. Feb 07 19:43:22 if it becomes not possible to build complex images without systemd, people will just not use OE and homeroll or go back to buildroot Feb 07 19:43:44 incandescant: i'm not sure about what kind of uses udisks and polkit does when linking with systemd Feb 07 19:44:12 kergoth`: newer code will be more and more dependant of systemd in future. that is my impression Feb 07 19:44:27 kergoth`: agreed, that's why I'm trying to figure out this stuff sooner rather than later Feb 07 19:44:37 then people will use other projects. it'll never be ubiquitous, it'll just be popular Feb 07 19:44:41 kergoth`: not oe explicitly but some packages might enfore it Feb 07 19:44:48 then people won't use those packages. Feb 07 19:45:01 kergoth`: that's why i said complex images Feb 07 19:45:12 kergoth`: that involved desktop envinronments and like Feb 07 19:45:14 and? using alternative packages doesn't imply anything about complexity Feb 07 19:45:21 there are plenty of desktop environments around Feb 07 19:45:39 kergoth`: my idea is not to discuss Feb 07 19:45:51 kergoth`: but have systemd into core without breaking stuff Feb 07 19:46:25 as long as you can disable it, fine with me. I'd be happy enough if just meta-oe wasn't useless to me, heh Feb 07 19:47:27 kergoth`: if you skip to use their tasks, it works fine without systemd Feb 07 19:47:38 kergoth`: i have images without systemd Feb 07 19:47:44 ag: is the udpated dhcp patch coming soon? Feb 07 19:47:46 images, yes, but it still forces you to *build* it Feb 07 19:47:54 ahh Feb 07 19:47:54 youc an't even build busybox without building it, its ridiculous Feb 07 19:48:01 huh? Feb 07 19:48:07 kergoth`: this is going to be fixed Feb 07 19:48:13 there's a busybox bbappend in meta-oe that inherits systemd, yanking it into DEPENDS Feb 07 19:48:16 good Feb 07 19:48:20 sgw: yes. i had some conflicts in my branches with so many changes... Feb 07 19:48:44 I am just trying to get a bigger pull request done. Feb 07 19:48:55 * sgw has to meet with someone back soon Feb 07 19:54:43 oravio: would you please give me your commit one again? Feb 07 19:54:47 otavio: would you please give me your commit one again? Feb 07 19:54:51 ag: sure Feb 07 19:55:05 otavio: my repo is a mess... Feb 07 19:55:44 otavio: the new one Feb 07 19:55:53 ag: i am trying to connect on github; hold a sec Feb 07 19:56:25 otavio: bitbucket is a better solution. Feb 07 20:00:45 ag: https://github.com/OSSystems/oe-core/commit/f3c82bbf545c086ccd89c06020f8721637fe9202 Feb 07 20:02:19 otavio: slow... Feb 07 20:07:33 incandescant: your gitpkgv work won't depends on newer bitbake to be released and oe-core minimal version bumped? Feb 07 20:08:09 couldn't you have the class try the bitbake methods and fall back to internal ones, to retain compatibility for a period? Feb 07 20:08:28 that sounds like a reasonable approach Feb 07 20:09:11 kergoth: this will be even uglier Feb 07 20:09:12 heh Feb 07 20:09:13 crap Feb 07 20:09:53 otavio: if it's blocking on the review comments I don't see how we can address that without a newer BitBake version requirement? Feb 07 20:10:19 I'm not opposed to it being merged as is but there hasn't been any movement on that suggestion Feb 07 20:10:20 otavio: how so? it makes perfect sense to me. the class will get cleaned up when the minimum bitbake version is bumped. Feb 07 20:10:35 either you bump the version, or the class gets adjusted, you only have so many options Feb 07 20:11:20 heh Feb 07 20:12:04 well; let me keep working on fixing my tree here Feb 07 20:12:34 otavio: if you have alternative suggestions I'm open to them? Feb 07 20:12:58 incandescant: mine was to merge it and clean it up when support for bitbake was make available Feb 07 20:13:21 incandescant: but it's not my call Feb 07 20:13:43 otavio: http://git.gherzan.ro/yocto-dev/changesets Check there if your patch is ok. Feb 07 20:13:51 otavio: nor mine, but it hasn't been merged so I'm assuming we need to address the review concerns Feb 07 20:14:03 incandescant: right Feb 07 20:17:15 otavio: hope i didn't miss anything Feb 07 20:31:09 sgw: Sent patches to mailing list. Feb 07 20:31:53 ag. back and thanks, will review and test Feb 07 20:32:29 sgw: I'm waiting for your feedback so that i can go to bed. :) Feb 07 20:33:03 ag: JS is on hold, let me look at dhcp and get a build going Feb 07 20:36:44 sgw: One more thing about js. Fallowing Phil Blundell comment about js i removed the .so from nspr. Now it is in nspr-dev. In this way js needs this library at runtime. So a RDEPENDS is needed here or .so back to main rpm. Feb 07 20:37:02 sgw: If you want i can upload a new patch Feb 07 20:39:41 ag: this depends greatly on how the .so* are created and linked. Many times the version'ed .so.x.y is the real file which belongs in the ${PN} package, and the .so is a link that goes into the ${PN}-dev, do you need to understand how the .so files are linked. Feb 07 20:40:07 ag: what kind of runtime testing did you do with dhcp? Feb 07 20:42:05 dhclient Feb 07 20:42:13 sgw: dhclient Feb 07 20:42:50 on a x86 Feb 07 20:43:05 I didn't have time for more. Feb 07 20:43:29 If you want you can postpone it and i will have some serious testing on it. Feb 07 20:45:33 ag: I am sending another email, about some warnings, please address that, I think your testing should be OK. Feb 07 20:46:18 sgw: 5 minutes Feb 07 20:46:46 ag, I might go ahead and pull otavio's dhcp while you addess the dchp issues and I will get the upgrade tomorrow, OK? Feb 07 20:47:15 Ok then. I will leave it for tomorrow. Feb 07 20:48:18 ag, thanks and good night then, it must be late there. Feb 07 20:48:40 sgw: i will finish this warnings after that Feb 07 20:48:53 sgw: i will finish these warnings after that Feb 07 20:52:34 kergoth: pong, does it mean that I should enable futures again first right? Feb 07 20:59:55 ag: i have images both for client and daemon of dhcp Feb 07 21:00:10 ag: if you provide patches against oe-core i can test them Feb 07 21:00:55 otavio: thanks for that DEPENDS change :) Feb 07 21:01:52 JaMa: np; please review and ack it Feb 07 21:03:17 I'm thinking how to fix that issue with polkit RDEPENDING on systemd Feb 07 21:03:45 at least we should add note about it in this .bbappend Feb 07 21:04:11 JaMa: maybe if it builds a library only when it links against systemd we might put that on a package Feb 07 21:04:15 otavio: do you know the discussion sgw is talking about in his email about those warnings? I can't find those emails. Feb 07 21:04:52 otavio: without http://git.shr-project.org/git/?p=meta-smartphone.git;a=blob;f=meta-shr/recipes-extended/polkit/polkit_0.104.bbappend;hb=HEAD systemd ends in images and breaks boot Feb 07 21:04:59 ag: i don't recall the mails but the concern is to avoid having /sbin and /bin files linking at /usr/lib libraries Feb 07 21:05:35 otavio: iirc it's same library linked to consolekit or systemd Feb 07 21:05:49 otavio: so we would need to split lib from systemd Feb 07 21:06:07 JaMa: or have a distro feature for systemd Feb 07 21:06:28 /usr/libexec/polkitd -> libsystemd-login.so.0 Feb 07 21:06:39 JaMa: it looks like we won't be able to have systemd/sysvinit as an image decision but we'd need to have it as a distro decision Feb 07 21:06:42 so we can split libsystemd-login from systemd package Feb 07 21:07:08 but it won't help people which need consolekit much (unless libsystemd-login can work without systemd) Feb 07 21:07:12 JaMa: i doubt polkit will work without it Feb 07 21:07:47 yup but Andreas patchset is step in right direction Feb 07 21:07:58 JaMa: please reply about that in Andreas patchset Feb 07 21:08:10 JaMa: specially on the polkit issue Feb 07 21:08:18 ag: look for Duplicate Recipes (thread kind of morphed), also the timezone discussion with Koen Feb 07 21:08:52 sgw: dhcp and udev patches are going in your pull request? Feb 07 21:09:01 yes Feb 07 21:09:05 otavio: ^^ Feb 07 21:10:56 sgw: just send two new patches ;-) Feb 07 21:11:00 otavio: is your recent dhcp patch with cross.bbclass different that the orignal one? Feb 07 21:11:07 sgw: no Feb 07 21:11:09 sgw: same Feb 07 21:11:28 sgw: just send it because it is in our tree for pushing Feb 07 21:11:31 Ok, well those two are going the next 2 will wait for the next request. Feb 07 21:11:38 sgw: sure Feb 07 21:11:57 otavio: ok... Feb 07 21:12:04 sgw: those new two has been tested in our chicken based imaged and worked fine Feb 07 21:12:21 otavio: for now SHR is still using sysvinit and systemd support is in separate branch Feb 07 21:12:23 sgw: but take your time, no problem Feb 07 21:12:31 JaMa: i see Feb 07 21:12:36 sgw: /var/lib/dhcp is empty. Should i remove it or add it in client rpm/ Feb 07 21:12:37 otavio: I plan to switch all images to systemd after next release Feb 07 21:12:48 ag: it is need by the client Feb 07 21:12:50 otavio: understood, I am just trying to get something together today for RP__ Feb 07 21:12:56 otavio: but I have problem with some devices which have only quite old kernel (palmpre*) Feb 07 21:12:58 ag: and mine patch handled it Feb 07 21:12:58 otavio: i thought so Feb 07 21:13:22 otavio: so per image would be much easier for me to keep palmpre support without creating new kernel for it Feb 07 21:13:33 ag: with my patch in, it shouldn't be created Feb 07 21:13:39 ag: my guess is that /var/lib/dhcp will be needed by the running system so needs to be installed by the ${PN} package Feb 07 21:13:48 JaMa: yes but polkit now is the blocker for it Feb 07 21:13:57 JaMa: it works in one way or another Feb 07 21:14:15 sgw: not needed to be installed as postinst handles it Feb 07 21:14:47 otavio: yes we need to test standalone libsystemd-login.so.0 (without systemd itself) Feb 07 21:14:56 sgw: and both client and server needs the /var/lib/dhcp so it is not fair to put it on a single package ;-) Feb 07 21:14:58 otavio: because if it works it would be easiest way out Feb 07 21:14:59 otavio: Ok then it should be removed from the image. Feb 07 21:15:25 otavio: right, I am running a little slow today, too much stuff in the air and trying to finish off 2 presentation for ELC! Feb 07 21:15:35 otavio: with your patch i receive WARNING: /var Feb 07 21:15:35 WARNING: /var/lib Feb 07 21:15:36 WARNING: /var/lib/dhcp Feb 07 21:15:45 sgw: heh, np Feb 07 21:16:08 ag: put an rmdir on the do_install_append and let postinsts handle it Feb 07 21:16:09 ag: right, you should just rm then in the do_install_append() function Feb 07 21:16:18 deal Feb 07 21:16:33 just wanted to know if it is handled Feb 07 21:16:35 otavio: I owe you a drink sometime, too bad you can not come to ELC next week. Feb 07 21:17:17 sgw: heh, indeed ... i wanted to go but i couldn't make it Feb 07 21:17:28 sgw: but you owe me nothing Feb 07 21:17:32 sgw: heh Feb 07 21:17:50 sgw: but i'd accept it anyway heheh Feb 07 21:17:52 lol Feb 07 21:18:17 sgw: invite me! :) Feb 07 21:19:06 ok; enough for today ... Feb 07 21:19:11 i gotta go Feb 07 21:19:13 see ya Feb 07 21:19:15 cheers Feb 07 21:19:25 * sgw brain hurts today Feb 07 21:19:38 otavio: talk to you later. Feb 07 21:28:43 sgw: sent patch Feb 07 21:30:12 ag: Ok, will still be in the next round, thanks. Feb 07 21:32:39 sgw: abou .so's. I know how are linked but in this nspr case there are only {libraryname}.so files. Feb 07 21:33:53 ag: then they would go in ${PN} directly. Feb 07 21:35:31 sgw: It was the way i did it in the first place. But Phil wanted me to remove that. Anyway. I will post back these files. Feb 07 21:35:54 Add better commit message to help us understand why Feb 07 21:36:09 deal. sorry Feb 07 21:40:54 that should be it for today Feb 07 21:41:18 cheers! Feb 07 21:44:06 tomz1 - on crownbay - how do I get the kernel to send output to serial port? dmesg shows /dev/ttyPCH0,1,2,3 - after boot completes, I can successfully communicate over /dev/ttyPCH2, but when I pass console=ttyPCH2,115200n8, I do not get anything on the other end of the serial port, Do I need something more/else? Feb 07 21:45:44 autif: I've always just done boot console=ttyS0,115200 Feb 07 21:46:03 on crownbay - right? Feb 07 21:46:13 E640 based mobo Feb 07 21:46:25 autif: yeah, that's what I use Feb 07 21:48:09 I recall that not working, let me enumerate thru all of those - can you please "dmesg | grep -i uart" and verify that the kernel enumerates serial ports as ttyS* instead of ttyPCH* Feb 07 21:48:22 s/enumerate/iterate Feb 07 21:53:01 ttyS* do not exist for me in /dev - instead ttyPCH* do and I can communicate over them after boot completes - I am still not sure, how to divert kernel messages to the serial port Feb 07 21:56:19 autif: sent you the output Feb 07 21:57:26 thanks tomz1 Feb 07 21:58:36 autif: sure, np Feb 07 22:05:38 tomz1 - I am on 1.2 (aka M2) and I do not have the second set of lines (except the first one - which does not count) - was this something new after M2 or am I missing something - I am using the core-image-ato image Feb 07 22:07:26 autif: this was after M2, basically a test image for emgd 1.10 Feb 07 22:07:36 hmmmn Feb 07 22:14:09 I have copied my dmesg to http://pastebin.com/htnJQ7JX - serial shows up around line 550, as you can see there is no ttyS in that file - what could be the difference between your and my setup? Feb 07 22:19:20 leaving for home now - will catch you tomorrow. meanwhile the window is open - so I will get the messages in case you type something here, thanks for all the help again :-) Feb 07 23:07:13 khem: did you fix up zlib also? Feb 07 23:15:36 autif: please send/post your kernel config Feb 07 23:54:31 halstead|afk: ping me when you are back Feb 08 02:50:59 sgw: no zlib not yes I need to reproduce it first Feb 08 02:56:44 khem: not sure what else I can tell you I am running Ubuntu Feb 08 02:58:34 sgw: me too :) Feb 08 02:58:42 64bit 11.10 Feb 08 02:59:19 ok is it possible for you to expose the build dir of one of failing packages Feb 08 02:59:20 khem same here, which libtool it pixman finding? I see it using a local libtool Feb 08 02:59:44 khem not easy, it's my work desktop. **** ENDING LOGGING AT Wed Feb 08 02:59:57 2012 **** BEGIN LOGGING AT Wed Feb 08 02:59:57 2012 Feb 08 03:00:41 what was the third package Feb 08 03:00:47 pixman gconf and Feb 08 03:01:11 polkit Feb 08 03:01:14 ok Feb 08 03:04:46 cleaned sstate Feb 08 03:04:52 again all builds fine Feb 08 03:05:02 i586/eglibc Feb 08 03:08:08 sgw: did you do a clean build ? Feb 08 03:08:24 sgw: or do u have remnants from previous builds Feb 08 03:08:29 I did cleansstate on polkit, pixman and zlib, zlib-native Feb 08 03:08:30 in your staging Feb 08 03:08:59 ok and do you find zlib.la in your sysroot Feb 08 03:09:32 for the 2.6 build no zlib.la in sysroot Feb 08 03:10:18 sgw: ok. did you also clean gconf Feb 08 03:11:43 yes and gconf-native Feb 08 03:11:53 khem: cleansstate Feb 08 03:12:21 sgw: ok can you post the temp dirs of these three somewhere Feb 08 03:12:36 sgw: let me look at the build logs Feb 08 03:12:40 may be something will pop us Feb 08 03:12:49 I am on the phone right now will do it shortly Feb 08 03:13:00 do you have an ftp location I drop them? Feb 08 03:13:57 hmm not really Feb 08 03:14:09 Let me think about this maybe on ab infra Feb 08 03:14:21 tar them up and email me Feb 08 03:17:45 sgw: to be clear you did not do totally clean build from scratch right ? Feb 08 03:17:54 i.e. with new zloib Feb 08 03:17:57 zlib Feb 08 03:18:14 not totally clean, partial build with new zlib Feb 08 03:18:23 hmm that could be the problem Feb 08 03:18:31 and then cleansstate of broken items and they still broke Feb 08 03:18:42 ok can you search for zlib in your target sysroot Feb 08 03:19:05 yeah you will know how evil libtool can be Feb 08 03:19:24 there are indirect deps somewhere I believe Feb 08 03:24:43 sgw: can you try a totally fresh bitbake pixman Feb 08 03:24:54 khem will do so later Feb 08 03:24:55 sgw: just to be sure whats going on Feb 08 03:27:42 sgw: you did not submit the thumb rework did you see any regression because of them Feb 08 03:39:09 khem: RP__ asked me not to, still some concerns about them. Feb 08 03:39:20 I have no way to test those directly. Feb 08 04:01:46 sgw: ok, I will talk to RP__ Feb 08 04:16:14 khem, clean (w/sstate) build completed OK with new zlib for pixman, so there is some sort of contamination going on. Feb 08 04:16:26 Do we need PR bumps for some set of recipes to fix that? Feb 08 05:18:11 sgw: could be. I have no idea which ones those are Feb 08 05:18:42 sgw: can you check for zlib.* in your faulty sysroot Feb 08 05:18:46 that might give some idea Feb 08 07:07:00 hi there, is there any interest on adding pandaboard to the supported hardware? Feb 08 07:11:21 kergoth: on faster host I got today http://paste.pocoo.org/show/547645/ with those 2 patches from oe-core ML on top of bitbake/master Feb 08 07:31:13 kergoth: and it seems to be hanging since then http://paste.pocoo.org/show/547654/ Feb 08 07:35:50 kergoth: and it seems reproducible here.. only with BB_NUMBER_PARSE_THREADS = "1" it works Feb 08 09:07:28 good morning Feb 08 09:08:54 what is the idea of the linux-yocto-dev repo? the description says "tracks the next mainline release" but it's by no means tracking the torvalds repo Feb 08 09:54:26 morning all Feb 08 09:55:02 morning Feb 08 09:55:33 bluelightning: can you tell me the idea of the linux-yocto-dev repo? the description says "tracks the next mainline release" but it doesn't appear to be tracking the torvalds repo Feb 08 09:56:41 Zagor: I'm not the best person to advise on our kernel stuff I'm afraid, your best bet is to talk to dvhart or tomz1 when they come online (US east coast time) Feb 08 09:56:52 ok Feb 08 09:57:05 or zeddii, he's also a kernel guy Feb 08 11:18:55 morning Feb 08 11:58:26 hi otavio Feb 08 12:12:19 ag: btw, prepare a patch for meta-oe for dhcp too. Feb 08 12:13:46 bluelightning: how are you doing? :) Feb 08 12:14:28 otavio: good thanks, and you? Feb 08 12:15:03 bluelightning: doing fine as well :) Feb 08 12:23:53 otavio: today i will resend that Feb 08 12:25:06 Any ideas about -mno-unaligned-access flag in gcc? Feb 08 12:25:34 My imx53 kernel build fails while gcc says that it cannot understand that flag. Feb 08 12:28:53 ag: are you using meta-fsl? Feb 08 12:30:22 otavio: yes. meta-freescale Feb 08 12:30:47 ag: hum it built fine here last time I tried Feb 08 12:30:56 ag: but have you changed kernel? Feb 08 12:31:11 otavio: Nothing changed! Only userspace packages. Feb 08 12:31:20 ouch! Feb 08 12:31:22 otavio: meta-freescale + oe-core Feb 08 12:31:46 Something's crashed in gcc there... Feb 08 12:31:49 ag: I have meta-oe here so it might have changed the result Feb 08 12:32:09 Dunno. Feb 08 12:32:36 Anyway if i solve it i will tell you the result. Feb 08 12:32:42 ag: you might try to add meta-oe and try Feb 08 12:32:54 ag: just for a test, it might be worth it Feb 08 12:33:06 otavio: i will Feb 08 12:33:28 ag: please do. I've been merging fixes in meta-fsl from time to time and if you can provide an github pull request, even better ;) Feb 08 12:35:56 RP__: I think I have done what you wished with cross.bbclass ... in fact we where doing it byhand on recipes so it changed nothing for us Feb 08 12:44:16 urg, back on the plane again Feb 08 12:47:49 hi Crofton|work Feb 08 12:49:36 hi florian Feb 08 13:02:44 otavio: thanks, that is exactly what I feared. I'd rather not have code in there which isn't useful Feb 08 13:34:02 why is my bag so heavy! Feb 08 13:34:50 Zagor, linux-yocto-dev tracks what will become the next yocto release. I'm updating it to 3.3-rcX at the moment. It lags briefly when I produce a release kernel. (i.e. they were both 3.2 for a while, so I stopped linux-yocto-dev) Feb 08 13:35:55 zeddii: aha, ok. thanks. Feb 08 14:04:10 JaMa: hmmm, k, thanks for testing Feb 08 14:04:17 JaMa: will dig in to it today Feb 08 14:08:18 JaMa: what host is this? Feb 08 14:09:49 JaMa: try going to line 1470 of bitbake/lib/bb/cooker.py and changing 0.25 to timeout=0.25. see if that fixes it Feb 08 14:17:04 I've changed it to 1 in the morning and since then it builds Feb 08 14:18:08 * kergoth nods, k Feb 08 14:18:11 kergoth: it was doing this on both hosts depending on BB_NUMBER_PARSE_THREADS value (fails when > 1) http://git.shr-project.org/git/?p=shr-chroot.git;a=commit;h=befe455c0d4178534d17891488fe4d0f6873e8a1 Feb 08 14:19:07 and I'm not using futures now Feb 08 14:20:08 without the timeout=, i think it's taking the 0.25 as the value of 'block', rather than timeout. block is generally boolean, so maybe its translating that to 0/1. will investigate further Feb 08 14:25:25 kergoth: if you still have shr-chroot you can just update to get this :) Feb 08 14:25:44 i have it, but I never had any luck reproducing with it Feb 08 14:25:46 heh Feb 08 14:26:06 tried on a more resource limited vm, but that didn't seem to do it, will try slowing it down further Feb 08 14:26:14 can it be also size of metadata it needs to parse? Feb 08 14:26:38 I can give you 2 lines to reproduce also metadata (layers) I'm using Feb 08 14:27:01 could be, sure Feb 08 14:27:58 kergoth: http://wiki.shr-project.org/trac/wiki/Building%20SHR Feb 08 16:02:02 kergoth: Good Morning Feb 08 16:02:50 * kergoth fights bitbake and loses Feb 08 16:03:28 kergoth: I ran builds last night with your updated External-CSL patches and ran into build failures, seems that we build external-csl regardless, could you add a patch to disable it when not configured, please. Feb 08 16:03:42 kergoth: you can see the failure here: http://autobuilder.yoctoproject.org:8010/builders/nightly-arm/builds/294/steps/shell_34/logs/stdio Feb 08 16:05:15 hmm, it shouldn't be built unless its tcmode is set, will look into it. I suspect we just need to add another default provider preference for gdb/gdbserver Feb 08 16:06:38 bitbake -g will help to find why its being pulled in Feb 08 16:06:38 NOTE: multiple providers are available for runtime gdbserver (external-csl-toolchain, gdb) Feb 08 16:06:42 NOTE: consider defining a PREFERRED_PROVIDER entry to match gdbserver Feb 08 16:06:57 kergoth: that's one, possibly something else also, thanks for looking into it as it's in master now and needs a quick fix. Feb 08 16:07:19 khem: figured, thanks Feb 08 16:07:39 khem, you will note there is also issues with sat-solver and oprofile due to the zlib update Feb 08 16:07:42 I think real problem probably is that external-csl-toolchain is providing something more than that Feb 08 16:07:44 otavio: dhcp sent Feb 08 16:08:39 sgw: kergoth or there is a decrepency between what gdb provides and what csl toolchain recipe provides Feb 08 16:09:18 sgw: hmm I figured that there are lot of packages that add libz.la to its .la files thats why you see those errors on incremental builds Feb 08 16:09:23 ag: thanks for rebasing, I will build and test today. Feb 08 16:09:37 sgw: I have written a script which is groking the relevant packages Feb 08 16:10:03 khem, so I should expect PR bumps for those (with DEPENDS updates if needed)? Feb 08 16:10:06 I dont know if we should just recommend a clean rebuild Feb 08 16:10:13 * kergoth tests Feb 08 16:10:28 sgw: its a LOT of recipes Feb 08 16:10:31 almost a rebuild Feb 08 16:10:52 khem: that's pretty draconian for a point release of a recipe! Feb 08 16:11:05 sgw: again, no problem. I will look a little deeper into js tonight. When are you planing the next pull req? Feb 08 16:11:13 yeah I wonder if we should just bump the ABI version Feb 08 16:11:31 adding PREFERRED_PROVIDER_gdb = "gdb" to tcmode-default.inc should fix this issue, verifying now Feb 08 16:11:35 one day I will get rid of all .la in OE Feb 08 16:11:47 that'd be nice Feb 08 16:11:55 ag: It's kind of random dependant on pending and my overall workload, but later today probably a small one. Feb 08 16:13:21 sgw: i moved client to usr/bin/ I will resend the patch cause i didn't mention this in the commit message. But i will do this change after you review it so i'm waiting for a feedback from you tonight. Feb 08 16:15:52 sgw: think i'll just go ahead and commit this to oe-core directly if no one objects, it's a one line addition of a PREFERRED_PROVIDER to fix a build problem, so best to get it in quickly Feb 08 16:16:34 kergoth: verify that with RP__ please Feb 08 16:16:54 k Feb 08 16:18:13 RP__: mind if I check https://github.com/kergoth/oe-core/commit/4ef5e70f531f48cef90805402c16ec02ad3f2b92 into oe-core? it's needed as the external toolchain now provides gdbserver Feb 08 16:23:10 khem, can you look at the sat-solver failure, this occurs even with a clean build (just verified). - http://pastebin.com/C7jYCsr0 Feb 08 16:25:24 kergoth: let me pull that in, I'm not sure you can push there Feb 08 16:25:32 kergoth: I was just talking about this with sgw Feb 08 16:25:34 RP__: that works, thanks Feb 08 16:26:35 sorry for the build breakage, I should have realized that would happen Feb 08 16:28:17 kergoth: I should have waited on the test builds too ;-) Feb 08 16:28:22 kergoth: its merged Feb 08 16:29:35 damn, it's still possible to ^C at the exact wrong place during a bitbake build and result in the server choking on no rqexe defined. hmm, i thought that had been fixed Feb 08 16:30:36 hmm, maybe the signal() call to ignore SIGINT in the server hadn't yet been reached at that point Feb 08 16:30:39 kergoth: I've seen that before, its annoying but hard to reproduce when you actually try to... Feb 08 16:30:43 * kergoth nods Feb 08 16:31:13 one issue is, we want the UI to catch sigint and then shutdown the server, but the question is how to handle it before the UI starts :) Feb 08 16:31:22 we know the server shouldn't receive SIGINT at all once it starts, but.. Feb 08 16:31:23 kergoth: btw, I was thinking it might be a good idea to have external-toolchain* raise a SkipRecipe if they're not configured Feb 08 16:31:35 kergoth: Just so they really can't run when we don't want them Feb 08 16:31:42 RP__: Sorry about all my childish errors with comments and stuff. I'm in learning stages. :) I will re-upload the patch with a detailed comment. Feb 08 16:32:11 RP__: yeah, probably a good idea, better to be safe Feb 08 16:36:15 ag: to meta-oe? Feb 08 16:37:45 ag: you already replied on it. :) After we decide what to do with dhcp client / lcrypto i will edit the changelog. Feb 08 16:37:53 otavio: you already replied on it. :) After we decide what to do with dhcp client / lcrypto i will edit the changelog. Feb 08 16:38:03 ag: yes Feb 08 16:38:17 ag: I'd say it ought to be another commit. Feb 08 16:38:32 ag: be it fixing dhcp or libcrypto Feb 08 16:38:47 otavio: i can do it as well. Feb 08 16:38:53 ag: and does it really needs libcrypto? Feb 08 16:39:03 * otavio has no clue why it would use it Feb 08 16:39:35 otavio: :) do we have a doubt about this? i will check what is really linked to this. Feb 08 16:40:40 ag: this might be the easiest and preferred fix. In any case it ought to be in another commit. Feb 08 16:41:18 ag: I've trying to keep changes as small as possible so it is easy for review and also to spot what has broken something Feb 08 16:41:36 ag: sometimes I fail on this though lol! Feb 08 16:41:55 otavio: thanks for advice. i will apply it from now on. Feb 08 16:43:39 kergoth: https://github.com/OSSystems/meta-oe has the fixes to avoid building systemd on busybox ;-) Feb 08 16:43:48 nice Feb 08 16:44:31 * kergoth sighs at bitbake Feb 08 16:46:12 ag: as was mentioned above is libcrypto really required? Is there a configure option to disable or not require it, this seems to be a new requirement? Feb 08 16:47:36 sgw: i'm digging into it right now Feb 08 17:03:11 khem, thanks for helping us to get to 100% Upstream-Status in patches. Feb 08 17:07:54 sgw: do you know why one of the 4 external toolchain commits was dropped? I didn't see any reply to it indicating a problem Feb 08 17:10:58 sgw: it seems like dhclient doesn't need lcrypto. I think the best approach would be at lcrypto only to the needed module in dhcp. I cant remember which. But i will find it. What do you say? Feb 08 17:11:35 Right now my patch adds lcrypto in configure and after it LIBS will include lcrypto for all makefiles. Feb 08 17:13:56 "at" = "to add" Feb 08 19:19:48 kergoth: ping? wondering if you can offer tips on doing REPL-like interactions with BitBake? I want to play around with fetch2 without running full builds. Feb 08 19:19:59 I seem to recall seeing some github gists in the past but can't find them Feb 08 19:30:29 RP__: around ? Feb 08 19:32:23 RP__: with zlib upgrade I am trying to abandon the .la file and infact the autoreconf we do since upstream zlib does not use configure the way its meant to be so we better not autoreconf it. now the problem is lot of other .la files include it so when you do incremental build they fail to find libz.la Feb 08 19:32:57 I got all of the recipes who owned those .la files bumped PRs but it does not help either Feb 08 19:33:20 I believe thats because there are other missing dependencies and therefore the order Feb 08 19:33:24 is different for building Feb 08 19:35:14 I think this needs a LAYER_CONF_VERSION bump Feb 08 20:35:59 tomz1 - did you have a chance to look at my kernel config? Feb 08 20:38:22 autif: yeah, it looks the same as mine, so not missing any config options as i suspected Feb 08 20:39:13 autif: I guess I'll have to build M2 then and see if I see that here Feb 08 21:05:23 nitink1: did you see my latest reply about distutils? Feb 08 21:05:38 nitink1: i think im just gonna send the patch and see what everyone things Feb 08 21:05:41 thinks* Feb 08 21:06:29 msm: Yes I saw your response. Go ahead and send it Feb 08 21:06:40 k Feb 08 21:10:24 msm: BTW that change can be contained inside distutils_do_compile() Feb 08 21:12:27 nitink1: well, i was playing it safe =) what if someone adds do_compile_append? Feb 08 21:12:44 nvm - that would not matter Feb 08 21:12:57 anyways, i can send a v2 if there are no other comments Feb 08 21:13:01 do_compile_append would not hurt it Feb 08 21:13:12 it does not remove anything from do_compile Feb 08 21:13:20 nitink1: i realized that after i spoke Feb 08 22:45:30 sgw: I am sending a revised zlib patch which fixes some DEPENDS and bumps PR of the recipes that need zlib Feb 08 22:45:52 sgw: with that now you should be able to do incremental build Feb 08 22:46:16 khem, ok, I will try it with an incremental build today. Feb 08 22:46:51 yeah discovered that pixbuf needs to depend on libpng Feb 08 22:47:00 and some more missing depends on zlib Feb 08 22:47:08 so overall it should be an improvement Feb 08 22:47:30 sgw, khem: a doubt about staticdev and .a files Feb 08 22:47:32 sgw: let me push it to the ml Feb 08 22:47:58 ant____: staticdevs are useless unless you want static rootfile system imo Feb 08 22:48:12 static meaning statically linked Feb 08 22:48:26 so its good they reside in package of their own Feb 08 22:49:03 but for a libc isn't it normal to have some exception packaged in -dev ? Feb 08 22:49:12 for libc yes Feb 08 22:49:30 klibc-1.5.25: non -staticdev package contains static .a library: libklibc-dev path '/work/poodle-oe-linux-gnueabi/klibc-1.5.25-r0.0/packages-split/libklibc-dev/lib/klibc/lib/libc.a' Feb 08 22:49:32 usually we have to .a which are PIC are still ok Feb 08 22:49:54 thats a staticdev item Feb 08 22:51:24 I see Feb 08 22:52:04 khem: another question: in klibc.bbclass we Feb 08 22:52:16 export CFLAGS="" export CPPFLAGS="" export LDFLAGS="" Feb 08 22:52:30 in fact, this is only needed fo kexec-tools-klibc Feb 08 22:52:57 other binaries can be compileed with std oe flags Feb 08 22:53:04 sgw: just pushed the revised zlib patch to kraj/misc Feb 08 22:53:15 I'm wondering: better to let klcc do its' things alone? Feb 08 22:53:51 kexec-tools-klibc is jusr klcc ? Feb 08 22:54:32 is compiled by ${TARGET_PREFIX}klcc" Feb 08 22:55:02 ok then who all need klibc.bbclass Feb 08 22:55:26 should klibc.bbclass be called klcc.bbclass instead ? Feb 08 22:55:29 it's an easy way to set compiler and reset flags Feb 08 22:55:36 well, maybe Feb 08 22:55:42 or may be klcc-cross.bbclass Feb 08 22:55:53 the recipe just have yo inherit that class Feb 08 22:55:59 *to Feb 08 22:56:54 then, if you want a static version you have to edit its do_compile usually Feb 08 22:57:27 i was wondering if this can be automated in some way Feb 08 22:58:08 add a variable like BUILDSTATIC Feb 08 22:58:16 and let recipes set it Feb 08 23:00:01 hm.. see e.g. the two nandlogical .bb's http://cgit.openembedded.org/meta-handheld/tree/recipes-bsp/zaurus-utils Feb 08 23:00:11 diffs are at minimum Feb 08 23:01:36 well, we'd gain 2 line setting BUILDSTATIC ;) Feb 08 23:02:27 hm..., -I${STAGING_INCDIR} Feb 08 23:03:14 yeah thats not needed. Feb 08 23:03:34 but since you reset CFLAGS in klibc.bbclass Feb 08 23:03:36 be careful, klcc uses nostdinc and so on Feb 08 23:03:56 then it should move into the class Feb 08 23:04:09 if its common enough Feb 08 23:05:06 khem: I can't really judge, I just beat the packages to compile statically Feb 08 23:05:19 (mostly with patches) Feb 08 23:05:51 prolly all can be done in the recipe in an elegant way **** ENDING LOGGING AT Thu Feb 09 00:04:03 2012 **** BEGIN LOGGING AT Thu Feb 09 00:12:17 2012 **** ENDING LOGGING AT Thu Feb 09 00:58:30 2012 **** BEGIN LOGGING AT Thu Feb 09 01:10:18 2012 **** ENDING LOGGING AT Thu Feb 09 02:59:57 2012 **** BEGIN LOGGING AT Thu Feb 09 02:59:58 2012 Feb 09 09:02:44 good morning Feb 09 09:03:28 * Zagor raises his cup Feb 09 10:20:20 is PARALLEL_MAKE used explictly in each recipe, or inherited from higher level? it looks to me like a lot of tasks don't use it (currently looking at do_compile_kernelmodules) Feb 09 10:21:27 s/looking at/running/ Feb 09 10:22:14 Zagor: it's inherited from local.conf Feb 09 10:22:54 yes I define it there, but it seems it is not always used Feb 09 10:23:08 Zagor: some recipes override it ("") because they can't safely build in parallel (or couldn't, in the past) Feb 09 10:23:11 which makes sense in a way, since not all projects are parallel safe Feb 09 10:23:42 I would have thought the kernel wasn't one of them though :) Feb 09 10:25:04 well, do_compile_kernelmodules explicitly passes PARALLEL_MAKE to make so it ought to be building in parallel... Feb 09 10:30:31 not in my version (edison). it just runs: oe_runmake modules CC="${KERNEL_CC}" LD="${KERNEL_LD}" Feb 09 10:30:59 and as far as I can see oe_runmake() doesn't do it itself? Feb 09 10:32:37 right, $(PARALLEL_MAKE} was added later Feb 09 10:33:26 Zagor: ah yes, I didn't check... looks like Richard added that in december Feb 09 10:34:46 couldn't oe_runmake contain ${PARALLEL_MAKE} instead, since we override it in packages that don't support it? Feb 09 10:35:23 or am I missing something in the inheritance chain? Feb 09 10:35:34 Zagor: it gets prepended to EXTRA_OEMAKE in bitbake.conf Feb 09 10:35:53 I'm not sure why it has been implemented that way but I'd imagine there was a reason Feb 09 10:37:26 aha, and that too was added after edison. I should probably consider upgrading. Feb 09 10:39:37 Zagor: well, there hasn't been a release since edison... (next is planned for april) Feb 09 10:40:20 not a full release at least, we have had a couple of milestone releases Feb 09 10:41:51 oh, bitbake.conf sets EXTRA_OEMAKE_prepend_task-compile, which I guess isn't used for do_compile_kernelmodules? Feb 09 10:42:15 which would explain the seemingly redundant addition in kernel.bbclass Feb 09 10:42:25 there's a lot to learn! :-) Feb 09 13:57:02 otavio: Did you ever managed to boot a imx53sdb? Feb 09 13:57:31 ag: imx53qsb, yes Feb 09 13:57:37 ag: many times Feb 09 13:57:38 otavio: I just cannot make it say anything on serial. Feb 09 13:57:52 ag: humm Feb 09 13:57:58 ag: are you using what? Feb 09 13:58:02 I used a image with uboot uImage and rootfs from fsl and it works. Feb 09 13:58:23 But if i want to burn a uboot by myself... nothing happens. Feb 09 13:58:36 yes qsb Feb 09 13:59:35 ag: ahh it ought to be the offset Feb 09 13:59:38 otavio: i erased the sd card with "sudo parted --script /dev/mmcblk0 mklabel msdos" and burned uboot with "sudo dd if=u-boot.bin of=/dev/mmcblk0 seek=1 bs=1024" Feb 09 14:00:00 otavio: and minicom is mute... Feb 09 14:00:29 ag: check the sdcard_image class Feb 09 14:00:42 ag: it generated a sdcard image as result Feb 09 14:00:54 ag: and this is what i've been using Feb 09 14:01:37 otavio: i see. so you never used uboot and uimage separately. just as image Feb 09 14:02:14 ag: i used; but i ended writting a class to make my life easier and generated an image with them Feb 09 14:02:27 ag: but on the class, has the dd command i used Feb 09 14:02:49 found it. Feb 09 14:02:57 otavio: thank you very much Feb 09 14:03:05 ag: np :) Feb 09 14:04:43 otavio: about that dhcp problem. We don't have any conclusion now, right? Feb 09 14:05:09 ag: it seems people said for you to move crypto to /lib Feb 09 14:05:21 otavio: you said it :) Feb 09 14:05:30 otavio: ok then :) Feb 09 14:22:54 do_package_ipk would be nice to run in parallel Feb 09 14:24:55 BB_NUMBER_THREADS is only used by runqueue, right? Feb 09 14:25:11 yes Feb 09 14:26:46 are there any tasks that run jobs in parallel other than by running make -j? Feb 09 14:27:06 i doubt there are Feb 09 15:07:12 cmake or some other similar make replacements might, not sure Feb 09 15:07:17 * kergoth shrugs and yawns Feb 09 15:08:56 kergoth: fwiw I haven't seen any hang with your patch (and that small tweek with float->int) but this is without futures, where I haven't seen hangs before.. Feb 09 15:09:24 JaMa: k. well at least it didn't make it any worse for you, that's something :) Feb 09 15:10:05 :) Feb 09 15:25:35 has anyone produced training material for bitbake/yocto? Feb 09 15:57:22 Zagor: There is a bunch of videos over here -> https://wiki.yoctoproject.org/wiki/Main_Page Feb 09 15:59:42 d4ny: ah, nice Feb 09 16:46:02 otavio: Would you please review my last 2 commits here: http://git.gherzan.ro/yocto-dev/changesets. Just take a look if you have time. Thanks in advance Feb 09 16:46:58 * otavio looking Feb 09 16:48:52 ag: you are not moving dhclient to base_sbindir... Feb 09 16:48:59 ag: seems wrong to me Feb 09 16:50:32 otavio: base_sbin? Feb 09 16:51:26 otavio: Aren't we talking about base_libdir? Feb 09 16:51:58 http://git.gherzan.ro/yocto-dev/changeset/17d185de4280#chg_meta/recipes-connectivity/dhcp/dhcp.inc_oldline50 Feb 09 16:52:07 ag: yes; but you dropped this code Feb 09 16:53:13 otavio: Uh. I didn't push that commit. Just the openssl one. Feb 09 17:01:36 otavio: uploaded the dhcp patch as well Feb 09 17:22:32 Is there any way i can include a class in a an image file only for a specific MACHINE? Feb 09 17:23:09 ag: thats quite goofy why would you do that Feb 09 17:23:59 khem: :) For example i want to include sd_img class only for imx and not for a qemu or beagleboard as i use the same image for all of them. Feb 09 17:24:53 well best I can suggest is if something is controllable in machine.conf Feb 09 17:26:05 This is what i was looking for. But as well, this class should be loaded after rootfs is done. So this pointed me to the image file. Feb 09 17:27:33 what does this class do anyway Feb 09 17:27:45 Create an sd card image. Feb 09 17:28:03 It is in freescale meta layer. Feb 09 17:28:48 It uses parted and creates a boot-able sd-image from uboot, zimage and rootfs. Feb 09 17:29:23 IMAGE_PREPROCESS_COMMAND_ = "" Feb 09 17:29:40 or post_process Feb 09 17:29:43 YES. Feb 09 17:29:44 whereever you want it Feb 09 17:29:47 Post. Feb 09 17:29:54 Thank you very much. Feb 09 17:30:42 you want it after rootfs right ? Feb 09 17:30:49 or after image generation Feb 09 17:31:01 after rootfs. Feb 09 17:31:39 ROOTFS_POSTPROCESS_COMMAND =+ "task" Feb 09 17:31:42 ROOTFS_POSTPROCESS_COMMAND Feb 09 17:32:07 And this can me machine dependent as well right? Feb 09 17:32:27 ag: both patches are OK :) Feb 09 17:32:31 no Feb 09 17:33:07 otavio: Thanks. You are my first oe friend. :) Feb 09 17:33:16 khem: But this is what i want. Feb 09 17:33:21 Only for a specific machine. Feb 09 17:33:51 I guess it's not possible... Feb 09 17:34:42 ag: where are the sources of this class Feb 09 17:35:40 khem: freescale Feb 09 17:36:37 khem: or you mean the sources as needed files? Feb 09 17:38:01 khem: If so, it needs uboot, rootfs, and kernel from DEPLOY_DIR_IMAGE. Feb 09 17:38:24 ag: ahah :-) you're welcome Feb 09 17:38:39 ag: the class itself Feb 09 17:39:38 khem: Don't think i understand you question, sorry. Feb 09 17:46:34 ag: I wanted to look at the class sources itself Feb 09 17:46:42 nevermind found it Feb 09 17:46:52 khem: Got it now. Wait a sec. Feb 09 17:48:25 khem: https://gitorious.org/yocto/meta-freescale/blobs/master/classes/sdcard_image.bbclass Feb 09 17:51:27 ag: ok you have to hack something like this http://paste.ubuntu.com/835498/ Feb 09 17:52:07 then rename that class to be called image-sdcard.bbclass Feb 09 17:52:36 khem: oh. nice one! Feb 09 17:52:48 then in your local.conf IMAGE_FSTYPES_append_beagleboard = " sdimg" Feb 09 17:53:23 or in conf. Feb 09 17:53:28 machine conf Feb 09 17:53:55 yeah that works too you dont need the override then Feb 09 17:54:14 yes Feb 09 17:54:50 Thank you. Feb 09 17:55:22 actually beaware of sdcard and sdimg I might have mixed it up Feb 09 17:55:31 but you know now Feb 09 17:55:52 khem: yes. thanks Feb 09 17:56:03 np Feb 09 18:37:58 ag: they provide right feedback about the lib moving Feb 09 18:38:19 ag: you need to deal with case of base_libdir and libdir be the same Feb 09 18:39:04 ag: and also use sed with vars so it works with prefix not being usr Feb 09 18:41:40 otavio: yes. They are right about those. Feb 09 18:41:55 otavio: But should i move devel file to /lib as well? Feb 09 18:42:10 ag: fix and send the patch to your tree and i do a fast check Feb 09 18:42:28 check as in build? Feb 09 18:42:33 ag: devel, not need but you need to be sure the links point to the right files Feb 09 18:43:15 otavio: ok Feb 09 18:56:36 JaMa: if you happen to have time at some point in the near future, could you test with https://github.com/kergoth/bitbake/compare/hang-issue-fix ? the current version of that branch should resolve the float vs int thing Feb 09 18:57:57 kergoth: sure Feb 09 18:58:09 thanks, appreciate it Feb 09 19:07:52 otavio: o have to go. i will resend the patch later and send you an email. thanks for your help Feb 09 19:07:56 i* Feb 09 19:08:19 ag: sure; np Feb 09 19:44:41 sgw: did you have a chance to try my new patch for zlib ? Feb 09 19:47:49 otavio: This should be it. http://git.gherzan.ro/yocto-dev/changeset/88908b5b45ae Hope i didn't miss anything again.... Feb 09 19:55:03 khem, building now, yesterday turned out to be a bust for me, but I am seeing an issue with sat-solver and gzread and gzclose on the qemuarm build Feb 09 19:55:45 yes I am seeing that as well. when I build them alone Feb 09 19:56:36 khem: you working on resolution? Feb 09 19:57:35 sgw: havent analysed it yet. but yes. Feb 09 19:57:45 it could be something else in going wrong Feb 09 19:58:00 zlib is crazy about supporting any weird platform and compilers out there Feb 09 19:58:12 they use macros like ON OFF Feb 09 19:58:20 which could be a problem here Feb 09 20:00:21 khem, thanks for looking into this one, I am sorry it opened up a larger mess. Feb 09 20:02:10 sgw: yeah sometimes keeping the lid on is better Feb 09 20:02:11 :) Feb 09 20:08:18 sgw: would it be possible for you to squeeze in a uclibc based core-image-sato build for one arch say x86 for regular builds Feb 09 20:08:45 now that it works we should keep it that way Feb 09 20:09:48 khem, I will talk with pidge about that, I think she has plans for other builds, but they are not implemented yet, probably for post 1.2 as we are staring to lock down changes on the AB for 1.2 release. Feb 09 20:11:20 ok that would be nice Feb 09 20:42:24 sgw: Yes, there are plans for other builds. khem, if you email me directly with what you need, I'll see if I can get it incorporated before M4. I have 3 extra nightly targets going in (hopefully before M4, but if not, post-1.2 as no AB changes are allowed unless entirely needed in M4) Feb 09 20:49:48 pidge: ok sent Feb 09 20:50:06 khem: ty. I'll look at this after ELC Feb 09 20:52:24 pidge: fine Feb 09 21:29:00 otavio: I modified a little my last commit. Feb 09 21:29:07 otavio: This should be it. Feb 09 21:30:05 otavio: Wanna take a look before sending it to oe-core? Feb 09 23:53:15 * davest able to rejoin IRC, must have reinstalled the client correctly Feb 09 23:53:27 Now for jabber... Feb 10 00:12:32 heh Feb 10 00:12:58 sgw: sat-solver was a lousy bit of programming. I have fixed it Feb 10 00:13:11 sgw: you can grab the latest from kraj/misc Feb 10 00:15:10 Ok will do, so far other than that bit things are looking good. I am really happy to say that World is mostly building clean, need to fix a couple of issues on some target machines Feb 10 00:15:27 nice. Feb 10 00:15:55 if you have servers which are bored let me know I can give you scripts that can keep them busy doing all kind of stuff Feb 10 00:16:04 I think we might add world targets to the nightly AB for 1.3 and hold peoples feet to the fire if it breaks! Feb 10 00:16:22 Not to worry, we keep our cpu's pretty active around here. Feb 10 00:16:54 I think for 1.3 we are going to try and get a regular fuzzy going again on at least on of the AB machines Feb 10 00:17:03 currently I am running a build where its rebuilding each recipe from scratch Feb 10 00:17:14 which will tell me any assumed deps Feb 10 00:17:20 this will break a recipe Feb 10 00:17:21 nice, that will find all sorts of fun deps issues Feb 10 00:17:39 yes and it can take a week to run all combos Feb 10 00:17:48 zenlinux had a script to do that for checking documentation, he used bitbake -s to generate the list. Feb 10 00:18:32 khem what else does it do eglibc vs uclibc, poky vs plain oe? Feb 10 00:19:19 right now I only test with package_ipk and plain oe-core Feb 10 00:19:31 that takes a week? Feb 10 00:19:37 oh no Feb 10 00:20:06 Oh, I bet you clean after each recipe, vs building in the same tmp space (which is what zenlinux does). Feb 10 00:20:17 right now I have all kind of machines that e.g. angstrom supports Feb 10 00:20:28 ah ok Feb 10 00:20:49 this is one of excercise I am doing with individual recipe build Feb 10 00:21:00 but usually I let my machine do useful builds Feb 10 00:21:09 no time for other things Feb 10 00:21:22 it was prompted with zlib change Feb 10 00:22:25 I think next in line would be to get rid of .la linking its evil at best Feb 10 00:22:45 let me write a nuke_la task for laughs Feb 10 00:23:03 Khem, go for it! Feb 10 00:23:12 we still have license warnings Feb 10 00:23:21 someone should try to do another pass on it Feb 10 00:23:32 I can see break everywhere. Feb 10 00:23:45 e.g. sat solver says WARNING: BSD for sat-solver could not be copied for some reason. It may not exist. WARN for now. Feb 10 00:24:03 LICENSE = "BSD" Feb 10 00:24:04 regarding license warnings, pidge is still working that. Feb 10 00:24:27 I have also seen staticdev warnings that I need to fix. Feb 10 00:24:36 it's getting better slowly. Feb 10 00:25:34 another thing I saw was we have 46 PARALLEL_MAKE = "" Feb 10 00:25:41 that should be fixed as well Feb 10 00:25:48 will give some built time perf boost Feb 10 00:27:22 may be around 40 is what really are there Feb 10 00:27:44 recipes-devtools/gcc/gcc-cross-canadian_4.6.bb has it Feb 10 00:27:46 I wonder why Feb 10 00:28:39 no idea Feb 10 00:29:06 that must be really a looong compile **** ENDING LOGGING AT Fri Feb 10 02:59:57 2012 **** BEGIN LOGGING AT Fri Feb 10 02:59:57 2012 **** BEGIN LOGGING AT Fri Feb 10 07:28:11 2012 Feb 10 07:53:06 where do I find the actual tasks/features from https://wiki.yoctoproject.org/wiki/Yocto_Project_v1.2_Status ? Feb 10 08:12:00 Zagor: look at the schedule page that's associated with 1.2, will post it in a minte Feb 10 08:13:03 Zagor: https://wiki.yoctoproject.org/wiki/Yocto_1.2_Schedule also check the first link [1] just under the Yocto Project 1.2 header for the bugzilla entries that shows what's resolved and pending. Feb 10 08:13:52 excellent. thanks! Feb 10 08:18:05 good morning Feb 10 08:18:23 We just had a small downtime on the main website. All service should be normal now. Feb 10 08:19:46 halstead: what happened? Feb 10 08:19:58 Security update for openssl. Feb 10 08:20:12 good deal thanks Feb 10 08:20:18 It doesn't look like anyone received a page load error. Feb 10 08:20:30 Did you see any issue on the wiki? Feb 10 08:20:44 nope just looked at 5 minutes ago and it was fine Feb 10 08:21:38 It shouldn't have caused any problems but I wanted to mention in case anyone had a page load timeout. Feb 10 09:32:26 Hi All, is there anyway to tell yocto to do shallow clone:s of SRCU_URI git repos ? Feb 10 09:32:40 s/yocto/bitbake/g Feb 10 14:32:22 does Koen Kooi irc here? Feb 10 14:35:44 not this channel Feb 10 14:36:18 also, is there no image task in meta-oe? I just wanted "bootable image for qemu with systemd" to look at it, i have git master of meta-oe and poky. I could make my own image class inheriting from task-basic i guess but Feb 10 14:37:03 you can add meta-angstrom for image recipes Feb 10 14:44:27 you know what i need Feb 10 14:44:38 is just a one-line definition of the terms here Feb 10 14:45:08 i.e. poky, yocto, meta-oe, angstrom Feb 10 14:45:13 and how these relate to each other Feb 10 14:46:05 i get that meta-oe is a collection of recipes. but the relationship between poky/yocto/oe-core is still fuzzy to me, and what makes angstrom different I still don't know after reading the whole FAQ Feb 10 14:48:28 hm, maybe a key distinction of angstrom is it publishes the binary packages, so it's more like "linux distribution built with OE" Feb 10 14:49:11 and crucially, does not expect you to change its distro configuration Feb 10 14:49:26 right, ok Feb 10 14:50:06 yocto is the umbrella project including a number of sub-projects, one of which is poky (the build system) Feb 10 14:50:23 bluelightning, before you type more, let's figure out where to store this permanently Feb 10 14:50:56 the yocto wiki? Feb 10 14:51:00 sure Feb 10 14:51:03 we do have a faq Feb 10 14:51:34 I think Jefro is currently addressing some of these definitions btw, so we might not need to do anything for the moment Feb 10 15:02:34 morning Feb 10 15:04:54 morning Feb 10 15:05:05 kergoth: no hangs today :) Feb 10 15:06:57 great, thanks Feb 10 15:19:04 hmm zlib-native build somehow breaks system's /etc/ld.so.cache Feb 10 15:20:12 I have to touch /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/libstdc++.so.6 && /sbin/ldconfig; calling ldconfig isn't enough to repair cache Feb 10 15:27:17 that doesn't seem possible if you aren't running as root, unless its sneaking in a sudo or something :) Feb 10 15:37:29 kergoth: shr-chroot is owned by user running build Feb 10 15:38:19 exporting LDCONFIG = true is enough to circumvent it, but not sure if right solution Feb 10 15:38:24 will send RFC to list and see Feb 10 15:39:53 ah Feb 10 15:40:31 I wonder if any similar issues are floating around that just aren't noticed due to running in a root/root fs Feb 10 15:40:33 heh Feb 10 15:42:02 at least for this libstdc++ issue I guess zlib is not only one calling ldconfig :/ Feb 10 15:42:21 * JaMa gtg, cya Feb 10 16:11:02 hi, is __stpncpy_chk implementation part of gcc or glibc ? Feb 10 16:27:27 hmm Feb 10 16:49:51 not in gcc Feb 10 16:49:55 and not in glibc Feb 10 16:50:01 so I wonder where it can be Feb 10 16:50:06 *where it is Feb 10 16:53:00 maybe in the atomic builtin lib Feb 10 17:09:16 sgarman: I had to head out, back in about 1 hour Feb 10 20:24:16 Hello. Feb 10 20:24:54 I have a recipe which fails with "nspr-tests rdepends on nspr-dev" Feb 10 20:25:14 I added: RDEPENDS_${PN}-tests = "${PN}-dev" But still nothing. Feb 10 20:25:28 Am i missing something? Feb 10 20:26:28 ag: maybe it's complaining about the dependency rather than the lack of it...? Feb 10 20:27:02 ERROR: QA Issue: nspr-tests rdepends on nspr-dev ERROR: QA Issue: nspr-tests rdepends on nspr-dev ERROR: QA run found fatal errors. Please consider fixing them. Feb 10 20:27:28 right, I think by default we assume that a non-dev package should not depend on a -dev package Feb 10 20:27:40 and therefore if one does then it's a bug Feb 10 20:28:16 I see. Feb 10 20:28:25 I didn't get that from code. Feb 10 20:28:35 Thank you. Feb 10 20:28:43 if that's definitely not correct for your recipe you could use INSANE_SKIP to avoid the QA warning Feb 10 20:28:43 denix: Feb 10 20:28:59 ups Feb 10 20:29:06 ? Feb 10 20:29:27 denisATeukrea is whom I wanted to address Feb 10 20:29:33 tab completion failed me Feb 10 20:29:43 :) Feb 10 20:30:04 btw. I just wanted to check if Denys you are awake and paying attention or not Feb 10 20:31:18 always awake! Feb 10 20:31:23 when not sleeping :) Feb 10 20:31:33 khem: who's LC? Feb 10 20:31:59 no idea Feb 10 20:32:20 khem: aren't you at LC? Feb 10 20:32:34 oh yes Linaro Connect Feb 10 20:32:42 I was there monday and Tuesday Feb 10 20:32:56 but had to span my days since I will be at ELC too Feb 10 20:33:23 and cant go AWOL for 2 straight weeks where none of those conferences interest my employer :) Feb 10 20:33:55 I might go tonight to say good bye to hrw and other tools folks Feb 10 20:39:07 bluelightning: INSANE_SKIP_${PN} = "1" THis should skip all QA tests? Feb 10 20:39:28 ag: I don't think so; even if it did I'm not sure if you really want that Feb 10 20:39:44 Yes i want. Just for test. Feb 10 20:39:46 you should name the test(s) to skip explicitly Feb 10 20:40:44 as i see in insane.bbclass : WARN_QA ?= "ldflags useless-rpaths rpaths unsafe-references-in-binaries unsafe-references-in-scripts staticdev" Feb 10 20:40:57 these are the test names? Feb 10 20:41:03 uh no Feb 10 20:41:11 ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch la2 pkgconfig la perms" Feb 10 20:41:14 These are. Feb 10 20:47:09 bluelightning: Still nothing... :( Feb 10 20:48:12 ag: so INSANE_SKIP_${PN} = "dev-deps" does not do it? Feb 10 20:49:19 did an "insane" INSANE_SKIP_${PN} = "dev-so debug-deps dev-deps debug-files arch la2 pkgconfig la perms" Feb 10 20:49:23 and didn't work Feb 10 20:50:55 ag: ah right, I think in your case it should be INSANE_SKIP_${PN}-tests = "dev-deps" Feb 10 20:51:06 ag: it's the specific package name that's needed Feb 10 20:51:31 checking Feb 10 20:53:06 it worked. Don't worry i know the riscs. Feb 10 20:53:14 it worked. Don't worry i know the risks. Feb 10 20:53:24 ag: ok cool :) Feb 10 20:53:36 bluelightning: thanks once again Feb 10 20:53:40 np :) Feb 10 20:57:46 sgw: Are you around? Feb 10 21:27:02 RP__: kergoth what do you think of a patch like this http://paste.ubuntu.com/837095/ Feb 10 21:27:22 this would help BBCLASSEXTEND a bit Feb 10 21:27:32 I have not tested it fully Feb 10 21:28:08 it shouldn't be 'virtclass-target', as it's not a virtual. beyond that naming issue, seems reasonably sane to me Feb 10 22:10:24 bluelightning: Do we build tests fro packages? Feb 10 22:10:26 for* Feb 10 22:10:54 I mean in yocto. If a package come with a test suite do we build it as different rpm or something? Feb 10 22:17:47 ag: I don't think we currently do, no... we run build tests and sanity tests for images Feb 10 22:19:23 bluelightning: For example i compiled nsfr with tests. I wanted to make sure that nsfr is ok. Feb 10 22:19:49 And right now i don't know if a rpm -tests would be good. Feb 10 22:37:29 ag: I am around now Feb 10 22:54:19 bluelightning: combo-layer needs one fix Feb 10 22:54:36 otavio: what's the issue? Feb 10 22:54:45 bluelightning: in case you run it, and it has no change to commit, it rewrites the conffile and do another commit ;) Feb 10 22:55:14 otavio: ah right, yes, will fix that... thx Feb 10 22:55:23 bluelightning: ;-) Feb 10 22:55:50 have you built gtk+ after current patches ? Feb 10 22:55:57 it fails on me currently Feb 10 22:57:03 otavio: no, not since a week ago Feb 10 23:00:34 time to sleep... night all Feb 11 02:22:25 kergoth: ok. **** ENDING LOGGING AT Sat Feb 11 02:59:57 2012 **** BEGIN LOGGING AT Sat Feb 11 02:59:57 2012 Feb 11 12:47:54 ag: hi **** ENDING LOGGING AT Sun Feb 12 02:59:56 2012 **** BEGIN LOGGING AT Sun Feb 12 02:59:56 2012 **** ENDING LOGGING AT Mon Feb 13 02:59:58 2012 **** BEGIN LOGGING AT Mon Feb 13 02:59:58 2012 Feb 13 08:20:06 good morning Feb 13 09:22:20 hi all Feb 13 09:22:49 hi Feb 13 09:25:02 is someone already working on PR bumps to get rid of missing libz.la ? Feb 13 09:25:11 I have list so I can send it today Feb 13 17:13:43 khem: for some reason your PR bumps weren't enough in some cases so today I've sent another PR bump round which fixed it in my builds Feb 13 17:14:21 maybe something in meta-oe was still pulling libz.la and then it ended in more .la files even when they were rebuilt Feb 13 17:51:29 JaMa: yes thanks for doing it. Feb 13 17:51:55 JaMa: its a difficult problem I think these kind of issues are rare but bound to happen Feb 13 17:52:25 unless we get rid of .la completely which is a reality that I am seriously thinking about these days Feb 13 17:52:26 agreed, I'm not complaing about your patch.. it's libtool fault anyway :) Feb 13 17:52:56 pity that we cannot use lafilefixer like gentoo does to just "fix" .la files without rebuilding everything Feb 13 17:53:11 yeah such a tool would be handy Feb 13 17:53:29 but then why not get rid of it to start with Feb 13 17:53:41 we have compilers that understand sysroot very well. Feb 13 17:54:06 so probably not providing .la would make things better Feb 13 17:54:37 lafilefixer expands included .la entries so when some project stops shipping .la then it won't fail and still finds correct lib Feb 13 17:54:44 it would also fix the problem where packages dont have adjusted to new 2.4 libtool syntax etc. Feb 13 17:54:51 so it makes transition a lot easier Feb 13 18:58:38 khem: ping Feb 13 18:59:39 nitink: yes Feb 13 19:00:03 khem: how do I influence the specs of resulting gcc Feb 13 19:00:38 nitink: hmmm why do you need that I would ask first Feb 13 19:00:53 khem: for multilib Feb 13 19:01:22 I need to adjust the dynamic linker settings in the specs Feb 13 19:01:22 nitink: ok and what would you like to change Feb 13 19:01:47 nitink: so do you want to rebuild the compiler or not Feb 13 19:02:09 I want to modify building process so that I cen get specs output as I wanted Feb 13 19:02:17 khem: btw: I have just switched SHR to use gold.. I hope you still belive it's good idea :) Feb 13 19:02:33 if you can rebuild the compile then gcc/config//linux.h is best Feb 13 19:02:39 khem: I know I can add a specs file later also Feb 13 19:02:42 JaMa|Off: I think its a good path to tread on Feb 13 19:02:53 khem: ok thanks for the tip Feb 13 19:03:46 nitink: LINK_SPEC is i think the variable you need to muck with Feb 13 19:04:18 JaMa|Off: btw. did you notice any build speedup becasue of gold ? Feb 13 19:04:52 khem: now I know where to look, will ping you later if I still need more help Feb 13 19:05:05 JaMa|Off: I think I like the idea of munging la files to get rid of other .la dependencies Feb 13 19:05:12 nitink: no worries Feb 13 19:05:57 JaMa|Off: so I think we can have two way process where do la munging in any case its good and will speed up linking Feb 13 19:06:07 second step means death to .la files Feb 13 19:06:20 which would them make la munging moot later on Feb 13 19:15:33 khem: not yet.. but I wanted to enable gold now, because I'm rebuilding from scratch Feb 13 19:16:30 JaMa|Off: ok. Feb 13 19:16:42 JaMa|Off: dont expect a smooth ride with gold. for few reasons Feb 13 19:16:45 1. Its strict Feb 13 19:16:51 2. It does not overlink Feb 13 19:17:15 so you might have packages not linking due to missing libs blah blah Feb 13 19:17:20 but I think you know how to fix them Feb 13 19:17:29 and those patches will make sense upstream as well Feb 13 19:22:40 those should be fixed anyway, no? doesn't recent ld no longer do the implicit linking stuff? Feb 13 19:22:43 * kergoth yawns Feb 13 19:23:14 khem: you with latest binutils from oe-core I had to fix those issues already Feb 13 19:23:57 * kergoth got bit by it with the fall release codebench/sourcery toolchain Feb 13 19:24:11 kergoth: hopefully but SHR has lot of layers which arent build by me regularly Feb 13 19:24:37 i mean they need to be fixed whether we use gold or not, not that they're all arleady fixed :) Feb 13 19:25:00 khem: didn't realize you're presenting at elc, cool Feb 13 19:25:12 kergoth: yes I did not either unless last week :) Feb 13 19:25:25 I will talk on layers Feb 13 19:25:43 hopefully it will inform people new ways of doing things with OE Feb 13 19:26:14 kergoth: will you be attending ELC Feb 13 19:26:39 yeah Feb 13 19:26:49 I'm sure there's no shortage of confused people wrt layers :) Feb 13 19:27:46 yes Feb 13 19:27:53 cool. Feb 13 19:28:24 I would like to understand bitbake's memory consumption so may be talking to you will help Feb 13 19:28:36 it currently holds 600M of memory during build Feb 13 19:28:41 probably can be reduced Feb 13 19:29:28 e.g. bsd make that we use here hold around 128M of memory at max during dep generation here and our codebase is lot larger than OE Feb 13 19:33:22 I did some work on that in the past, but apparently either that was lost or more needs to be done Feb 13 19:33:39 at one point it wouldn't build with 1024 megs of ram, it does in that now, but its still ridiculously high Feb 13 19:35:00 note a big difference here is 32 bit hosts versus 64 bit hosts Feb 13 19:35:12 the cpython interpreter is very pointer-heavy Feb 13 19:44:38 kergoth: thats where golang can be handy since its compiled lang Feb 13 19:50:32 khem, now you're just making stuff up; the fact that the language is "compiled" has only a tangential relationship to the amount of memory processes created with it will use Feb 13 19:51:07 the fact that every Python object carries around a mutable dictionary *is* expensive Feb 13 19:51:34 but one can easily make a language that "compiles" and also allows that Feb 13 19:51:53 basically if you have a performance problem - use profiling tools Feb 13 19:57:31 you can use __slots__ in python to drop the dynamic dictionary which can be a very large improvement if creating a large number of objects Feb 13 19:57:32 http://docs.python.org/release/2.5.2/ref/slots.html Feb 13 20:01:35 walters: I definitely was thinking something else when I wrote Feb 13 20:01:44 however I was thinking of speed Feb 13 20:01:56 at the expense of memory and different gc Feb 13 20:02:20 we hold on to data for speed reasons Feb 13 20:02:26 in some cases Feb 13 20:03:01 treating bitbake like a compiler is probably not the right thing where memory usage is in spurts Feb 13 20:03:15 it should be treated more like vm Feb 13 20:37:12 otavio: Hello. Feb 13 20:37:49 ag: hi :) Feb 13 20:38:07 otavio: I uploaded a version o patch for nspr with tests. I don't know where to install these tests in fs. Feb 13 20:38:17 otavio: I picked /opt/nspr-tests. Feb 13 20:38:26 otavio: But i don't think is the best idea. Feb 13 20:38:47 ag: i'd use ${libdir}/nspr/tests/ Feb 13 20:39:40 otavio: I you pick your experience. Thanks a lot. Feb 13 20:41:11 i'll* Feb 13 20:44:12 ag: :) Feb 13 22:29:35 bluelightning: i didn't test your new patch yet but will do soon Feb 13 22:29:46 otavio: thanks Feb 13 22:31:08 bluelightning: np Feb 13 22:31:25 bluelightning: btw, why we still have qt 4.7? Feb 13 22:32:10 otavio: I want to hear from people using qt that they're happy for 4.7 to go away before removing it Feb 13 22:32:32 bluelightning: is there any regression from user's pov? Feb 13 22:32:51 bluelightning: i didn't update my systems to .8 yet but will do later this week Feb 13 22:32:59 otavio: I wouldn't know, I haven't extensively tested it Feb 13 22:33:22 qt is a pretty seriously-sized library Feb 13 22:33:41 bluelightning: but featurewise it is the same? the embedded (framebuffer) flavour Feb 13 22:33:56 otavio: it should be, yes Feb 13 22:34:15 otavio: like I said I want to hear from people using it "in anger" that 4.8 is ok Feb 13 22:35:17 bluelightning: i will give it a test later this week Feb 13 22:35:36 morning all Feb 13 22:36:11 morning Feb 13 22:36:18 hi RP__ already in CA ? Feb 13 22:36:20 * otavio in my world side, night Feb 13 22:36:37 khem: yes, arrived a short while ago Feb 13 22:36:45 RP__: k, Feb 13 22:36:51 welcome Feb 13 22:36:55 * otavio envy people by not be there :) Feb 13 22:37:02 bluelightning: In sight of a less maintained meta-oe for the next months, how to proceed? Send RFC for first splits? Feb 13 22:37:20 otavio: "morning" as in arriving. My day started at 3am "local" time ;-) Feb 13 22:37:29 lol Feb 13 22:37:51 weather is not best these days here Feb 13 22:38:06 ant____: I think it would be worth just proposing the splits before sending patches Feb 13 22:38:10 khem: here it is sunny and hot heh Feb 13 22:38:13 khem: so I noticed, I wasn't expecting to need the umbrella ;-) Feb 13 22:38:36 khem: et least, this is better here hehe Feb 13 22:38:38 RP__: yes, hopefully it will get better and people drive so slow here when it rains Feb 13 22:39:01 khem: I dread to think what would happen with snow then ;-) Feb 13 22:39:18 khem: Its light drizzle, not rain... Feb 13 22:39:20 RP__: heh Feb 13 22:39:44 RP__: are you put up in same hotel as the conf ? Feb 13 22:39:52 khem: yes Feb 13 22:40:51 RP__: I will be there tomorrow. I think if it rains I have to leave may be 30 mins early Feb 13 22:41:19 khem: People drive very differently in the US... Feb 13 22:41:43 yeah Feb 13 22:42:03 yes, they insist keeping the right lane ;) Feb 13 22:43:57 ant____ more so becasue left lanes are HOV lanes Feb 13 22:44:10 and you dont want to pay 300+ dollars early in the morning Feb 13 23:09:49 RP__: is there a way to avoid two tasks to not run concurrently? Feb 13 23:11:21 otavio: there's the lockfiles flag Feb 13 23:12:02 but I don't think bitbake tries to adjust the runqueue to avoid trying to run them simultaniously going by the flag, so they could still run at the same time, just one would block Feb 13 23:12:04 heh Feb 13 23:12:27 kergoth: I did it at https://github.com/OSSystems/meta-chicken/commit/ca868b52ca1af66406681b22231809c734d0f8f2 Feb 13 23:12:41 kergoth: but it didn't work properly Feb 13 23:13:33 otavio: lockfiles flag is a space separated list of lockfiles to automatically acquire on starting the task and release on ending it Feb 13 23:14:18 kergoth: i didn't understand ... have any example for me to look at? Feb 13 23:14:34 yes, git grep is your friend Feb 13 23:14:37 it's used in a number of places Feb 13 23:14:50 grep by lockfiles? Feb 13 23:15:08 line 39 of rootfs_rpm.bbclass, line 128 of image.bbclass, etc Feb 13 23:18:27 kergoth: http://paste.debian.net/156168/ would be equivalent? Feb 14 01:40:01 khem: Feb 14 01:41:15 RP__: yes Feb 14 01:41:46 khem: sorry, tab completion from earlier gone wrong :/ Feb 14 01:42:03 ok happens to me as wel **** ENDING LOGGING AT Tue Feb 14 02:59:56 2012 **** BEGIN LOGGING AT Tue Feb 14 02:59:56 2012 Feb 14 09:11:07 anyone using yocto (poky) + meta-ti to get pandaboard support? Feb 14 09:41:43 morning all Feb 14 10:42:04 bluelightning: morning Feb 14 10:42:27 hi otavio Feb 14 10:45:44 bluelightning: your patch worked :) Feb 14 10:46:50 otavio: great thanks for testing, will send a pull request out including it soon Feb 14 10:47:22 otavio: I also implemented your wish of being able to specify the component to update Feb 14 10:47:33 bluelightning: cool Feb 14 10:47:43 bluelightning: and branches Feb 14 10:48:38 otavio: you can already specify the branch for each component, or is that not what you mean? Feb 14 10:48:59 bluelightning: no no; this is what i meant Feb 14 10:49:45 branch = branchname Feb 14 10:49:48 (default master) Feb 14 10:49:50 ok Feb 14 10:49:51 :) Feb 14 10:49:56 although I still need to add it to the example config file Feb 14 12:08:27 khem: I've noticed that target gcc doesn't depend on target zlib but is looking for zlib.h, does it break sstate when I add zlib to DEPENDS in gcc-package-target.inc ? Feb 14 12:17:04 khem: ah found similar discussion in [PATCH] gcc-4.6: Some small performance tweaks thread and added it there Feb 14 13:30:47 Cheers! Feb 14 13:31:14 Is there any way i can skip a package from parsing / taking into build consideration in a image / build conf? Feb 14 13:44:02 ag: http://cgit.openembedded.org/openembedded-core/commit/meta/conf?id=a9dc7873415a21f28270d7f81db3e3c39a09b8f6 Feb 14 13:50:40 ant_work: thank you Feb 14 16:34:21 khem: have you seen u-boot failing like this after switching to gold? Feb 14 16:34:22 | arm-oe-linux-gnueabi-ld: error: u-boot.lds:34:24: OVERLAY section type is unsupported Feb 14 16:34:25 | arm-oe-linux-gnueabi-ld: error: address of section '.bss' moves backward from 0x8004c6b0 to 0x8004c6a0 Feb 14 19:17:13 JaMa|Off: i submitted a patch to meta-ti for addressing this issue Feb 14 19:19:11 ok I'll check that ML.. thanks Feb 14 19:19:28 btw that zlib.h issues is imho also for that nativesdk case you mentioned before me in that thread Feb 14 19:20:04 yes Feb 14 19:20:34 uboot can not use gold so the patch alwyas uses gnu ld Feb 14 19:21:20 found it Feb 14 19:22:58 ok Feb 14 19:28:28 sofar it looks good with gold, one patch for webkit-efl and resulting packages are a bit smaller (in most cases) Feb 14 19:31:35 pseudo just segfaulted on me immediately after starting a build. any suggestions? Feb 14 19:34:07 ... that's interesting. Feb 14 19:34:16 The official answer is that there are no bugs in pseudo, only user errors. Feb 14 19:34:23 But a segfault... well. That sounds bad. Feb 14 19:35:31 http://pastebin.com/U8UJ3LaW Feb 14 19:35:46 I'd be happy to provide more info if somebody tells me how :) Feb 14 19:44:01 First thing, I guess, would be to try to run something other than bitbake. Feb 14 19:44:33 What we ideally want is a minimal reproducer that illustrates the failure. Feb 14 19:44:37 Also, what's the host? Feb 14 19:45:07 CentOS 5.4 Feb 14 19:45:55 I guess I'd say start by making a copy of the script which is failing, and changing it so that it invokes pseudo echo foo Feb 14 19:46:19 If that segfaults, that's pretty informative. If it works, then we have to try to figure out what bitbake's doing that's triggering it. Feb 14 19:46:21 well, if I just run the binary without any args, it also segfaults Feb 14 19:56:04 Well, the default is to try to invoke $SHELL. Feb 14 19:56:28 If you get segfaults from "pseudo echo foo", that's a more interesting data point, because then we know the called executable isn't doing anything interesting. Feb 14 20:00:00 well, I deleted the pseudo binary and am rebuilding things Feb 14 22:31:54 poky for beagleboard seems to be missing USB drivers, e.g. g_cdc Feb 14 22:32:01 am I missing something? Feb 14 22:45:59 hmm... meta-yocto/conf/machine/beagleboard.conf has usbgadget in MACHINE_FEATURES, but the modules don't exist in the build output **** ENDING LOGGING AT Wed Feb 15 02:59:57 2012 **** BEGIN LOGGING AT Wed Feb 15 02:59:57 2012 Feb 15 06:18:49 JaMa: some section grew too large to satisfy where the linker script said that should go Feb 15 07:45:32 msm: you mean the u-boot issue? resolved by khem's patch to disable gold Feb 15 09:36:02 morning all Feb 15 10:29:34 morning Feb 15 12:24:32 In meta/classes/image_types_uboot.bbclass, the IMAGE_CMD functions run the un-wrappered command followed by mkimage to wrapper them. For some reason these commands end up in the run script on a single line and this breaks the build. Shouldn't these commands be separated by a ";" or "&&"? Feb 15 12:26:19 I'm using the edison branch, these commands look the same in the head, but I'm not sure if something else has changed. Feb 15 13:50:11 hii, where does libc.h comes from? Feb 15 13:50:15 *hi Feb 15 13:59:54 error: implicit declaration of function '__stpncpy_chk' Feb 15 13:59:57 oops Feb 15 15:19:27 bluelightning: you around? Wanted to ask about the universe issue with virtual/* and Multiple .bb files, are you working on a patch for that? Feb 15 15:23:24 hi sgw, yes I sent a patch to the bitbake list the other day Feb 15 15:24:12 sgw: http://lists.linuxtogo.org/pipermail/bitbake-devel/2012-February/001856.html Feb 15 15:24:31 bluelightning: missed it I will look again, this time at the bitbake list! Feb 15 15:24:41 bluelightning: thanks, now out for a run. Feb 15 15:24:46 sgw: no worries Feb 15 15:24:50 sgw: enjoy :) Feb 15 15:26:48 bluelightning: patch looks good, just need to wait for RP on it now. Feb 15 15:26:55 bluelightning: thanks Feb 15 15:30:05 np Feb 15 19:11:42 ls -l Feb 15 19:12:37 p0rn Feb 15 19:13:46 drwxr-xr-x 9 bitbake bitbake 4096 Feb 13 16:42 yyy Feb 16 00:05:43 is the .scc file syntax described anywhere? **** ENDING LOGGING AT Thu Feb 16 02:59:57 2012 **** BEGIN LOGGING AT Thu Feb 16 02:59:58 2012 Feb 16 09:35:15 morning all Feb 16 09:38:25 morning Feb 16 09:51:03 morning Feb 16 11:16:43 Hello guys. Feb 16 11:17:35 Is there anyway i can set a package preferred version in a image file? Feb 16 11:18:54 ag: no, this must be done as part of distro/local configuration Feb 16 11:20:04 So, if a have a layer with multiple recipes version of a package, i cannot define 2 images with different package versions? Feb 16 11:21:46 ag: I don't think so, no... Feb 16 11:21:55 Thank you. Feb 16 11:22:20 you might be able to fake it using RPROVIDES and RDEPENDS but that's not really what that mechanism is designed for Feb 16 11:23:06 This is a little bit tricky. Feb 16 11:23:17 It think is a needed functionality. Feb 16 11:23:23 I* Feb 16 11:24:21 ag: are you able to be more specific about why you need this? Feb 16 11:24:32 yes i can. Feb 16 11:24:41 I have a Genivi package - layer-management. Feb 16 11:24:49 With two versions. Feb 16 11:25:19 My client needs a version of this package in a image1 and another version of this package in another image. Feb 16 11:25:22 image2 Feb 16 11:28:29 ag: is this for maintaining an older product and developing a newer one at the same time? Feb 16 11:28:44 Exactly. Feb 16 11:28:48 ok Feb 16 11:29:08 normally I would expect people to use branches in the metadata to handle this, thus preserving the integrity of the older product Feb 16 11:29:49 The source is a git repo. Feb 16 11:30:08 With SRV_REV for every different version. Feb 16 11:31:23 an alternative way would be to have separate distro configs for each product, each setting PREFERRED_VERSION for the package as appropriate Feb 16 11:32:02 either way, you have more freedom to change the new product without affecting the old product than if the version was selected at the image level Feb 16 11:34:21 Thank you for you suggestions. I will go with the distro idea. Feb 16 12:04:31 ag: For this, I'd do it differently Feb 16 12:04:53 otavio: Shoot me! :) Feb 16 12:05:27 ag: I'd have a - Feb 16 12:05:37 and use image to use one or another Feb 16 12:06:08 they are from different branches so clearly different packages for thsi case Feb 16 12:11:56 ag: works for your goal, i think Feb 16 12:12:03 ag: and avoids two distros Feb 16 12:12:13 ag: and reduce total build time Feb 16 12:13:05 Uh. I good idea. Feb 16 12:13:08 A* Feb 16 12:22:08 ag: did you also did nss package? besides nspr? Feb 16 12:23:07 Nope. Only nspr. Feb 16 12:24:34 can you export the patch somewhere and put it for me to pick it? I want to update firefox build to use it Feb 16 12:26:54 git.gherzan.ro Feb 16 12:27:18 * otavio found so many problems in rootfs generation using ipk ... that is really sad that people seems to not test it very much Feb 16 12:28:23 ag: is it yocto or oe-core? Feb 16 12:28:28 yocto Feb 16 12:29:18 grr ok :P Feb 16 12:29:34 merged :) Feb 16 12:30:00 * otavio is cloning it to export the patches ... Feb 16 12:30:05 :-( Feb 16 12:31:04 Smile. It's not over! :) Feb 16 13:06:00 ag: you merged yocto master; so it is not easy to spot what patches where not merge Feb 16 13:06:04 argh. if I have multple kernel_x.y.z.bb files, and PREFERRED_VERSION_virtual/kernel = "3.0.21", why would bitbake choose another version? it insists on selecting my 3.2.6 recipe instead. Feb 16 13:06:26 ag: please, rebase them and export them for me to be able to pick them somewhere Feb 16 13:07:23 Zagor: something might be setting it to 3.2.6 later Feb 16 13:08:17 nothing does. there is literally not a single file containing "3.2.6". is there some sort of "choose latest" logic somewhere? Feb 16 13:09:52 Zagor: yes, bitbake but P_V overrides it Feb 16 13:10:09 Zagor: ah Feb 16 13:10:19 Zagor: you need P_V_linux Feb 16 13:10:34 Zagor: and P_P_virtual/kernel = "linux Feb 16 13:10:36 " Feb 16 13:15:56 aha, P_V_virtual/kernel is wrong? Feb 16 13:16:51 right, P_V_linux fixed it. thanks! Feb 16 13:19:05 otavio: Do you need this right now? Feb 16 13:19:21 otavio: May come back to this this evening. Feb 16 13:19:24 ? Feb 16 13:31:07 ag: sure; this night works fine Feb 16 13:31:25 Thank you. Feb 16 13:31:42 ag: i am trying to prepare a tree with changes i do need and will later maybe do a pull request with all this ... after well tested. Feb 16 13:32:45 otavio: Are there changes not merged in my repo? Feb 16 13:33:33 ag: not yours but many others heheh Feb 16 13:34:45 yes indeed Feb 16 13:35:56 ag: and i want to use yours to test our environment needs to see if it is going to break or not Feb 16 13:36:26 ag: am also in desire to get the systemd changes in our layer so we can prepare others that might depends on those Feb 16 13:37:23 otavio: Tonight. Feb 16 15:43:38 Anyone seen this failure: http://dpaste.org/hYTQc/ Feb 16 15:44:25 bluelightning: regarding qt3 branch, should I just move the edison 1.1.1 tag up to HEAD-1? Feb 16 15:44:30 MWelchUK_work__: looking Feb 16 15:45:34 On mainline. Didn't get it in Edison, but TBH the configuration is a bit different for each build Feb 16 15:45:40 sgw: yes that should be fine Feb 16 15:45:41 MWelchUK_work__: no, I have not seen that perl failure Feb 16 15:46:05 bluelightning: OK, I will work with folks here to straighten that out and get another 1.1.1 build going. Feb 16 15:46:24 sgw: There is no config.sh-x86-linux, but there is a config.sh-i586-linux Feb 16 15:48:51 MWelchUK_work__: what machine are you building for and did you tweak the machine configuration ? Feb 16 15:49:35 sgw: qemux86, just doing a comparison Feb 16 15:52:03 The newer sample local.conf is enabling buildstats. I'm running with image_type_uboot inherited, BB_N_T = 2; P_M = "-j 2" and modified fetch commands (to work around a killer local proxy). Feb 16 15:52:33 Haven't enabled our layer yet, hence compiling for qemux86. Feb 16 15:58:07 sgw: I assume this is a new dependence, I can't seem to find the build in my tmp dir for 1.1 Feb 16 16:00:11 MWelchUK_work__: interesting, I do builds all the time and have not seen this failure Feb 16 16:00:33 * MWelchUK_work__ wondering whether I'm using the right tree... Feb 16 16:01:13 git://git.yoctoproject.org/poky Feb 16 16:01:30 Was this a build that started with edison(1.1) and then you moved to master? Or fresh build in a new tmp dir for the master? Feb 16 16:01:47 Fresh build Feb 16 16:02:58 I had two builds running concurrently on my machine. I'm wondering whether something's gone a little wrong somewhere (different build and source trees) Feb 16 16:03:17 MWelchUK_work__: what's your host OS / Version Feb 16 16:03:34 Ubuntu 10.04 Feb 16 16:03:45 32-bit Feb 16 16:03:56 Oh, older OS, I wonder if that's causing the isssue. Feb 16 16:04:18 Alot of us are at ELC, I will touch base with some later this morning. Feb 16 16:04:55 My build show's Target arch is i586-linux in the first couple lines of the perl build. Feb 16 16:05:03 I tend to run LTS to LTS... Feb 16 16:05:51 MWelchUK_work__: understood. Feb 16 16:06:24 Thanks sgw Feb 16 16:07:42 sgw: I'll run a fresh build over night, with nothing else going to see what happens. Feb 16 16:09:25 MWelchUK_work__: can you post your log.do_configure in pastebin Feb 16 16:11:17 Um, sorry just blew it all away to start a fresh build for tonight. Feb 16 16:11:30 MWelchUK_work__: actually your run.do_configure. would be better, the last 5 lines or so creates the Cross/config file which sets x86 Feb 16 16:11:43 MWelchUK_work__: or in my case I see the i586 is set for ARCH Feb 16 16:12:05 sgw: If it fails again tonight I'll try and do a bit more digging. Feb 16 16:12:24 MWelchUK_work__: oh well. I am going to look backwards more, are you around alittle longer? Feb 16 16:12:51 sgw: Not long - getting towards home time for me. Feb 16 16:13:29 MWelchUK_work__: one small request then, can you run a bitbake -e perl > env and post the env file output. Feb 16 16:13:39 you might have to kill your current build and then restart Feb 16 16:16:13 sgw: http://dpaste.org/wqkag/ Feb 16 16:16:32 Hmm, TUNE_PKGARCH_TMP="x86" Feb 16 16:17:42 Though looking at it, I'm not sure that's relevant. Feb 16 16:18:09 MWelchUK_work__: the TUNE_ARCH should be i586, PKGARCH is not what we are looking for Feb 16 16:18:37 how can I get the kernel recipes to use a local (modified) copy of the linux-yocto-3.0 tree, instead of pulling it from git.yoctoproject.org? **** ENDING LOGGING AT Thu Feb 16 16:19:53 2012 **** BEGIN LOGGING AT Thu Feb 16 16:20:20 2012 Feb 16 16:20:38 hollisb, I think you'd need to provide at least a bbappend file in a layer or a whole new kernel bb file in a layer to do that. Feb 16 16:21:12 MWelchUK_work__: your TARGET_ARCH and TUNE_ARCH look correct Feb 16 16:23:07 MWelchUK_work__: thanks... my trouble is always figuring out exactly which recipe to look at. there's a huge chain of them for the kernel Feb 16 16:23:26 sgw: I'll try the build again tonight. Thanks for your time. Feb 16 16:24:13 hollisb, np. I hope that's right, I'm a little more familiar with classic OE than Yocto... Feb 16 16:24:22 MWelchUK_work__: no worries, I will check with other today also. **** ENDING LOGGING AT Thu Feb 16 16:24:35 2012 **** BEGIN LOGGING AT Thu Feb 16 16:26:17 2012 Feb 16 17:16:28 ag: ping Feb 16 17:16:51 sgw: pong Feb 16 17:16:55 :) Feb 16 17:17:07 I rebased the patches for otavio Feb 16 17:17:33 ag: thanks, I apperciate it, do you have a git repo or github location with your patch set? Feb 16 17:18:00 Yes indeed. Feb 16 17:18:07 git.gherzan.ro Feb 16 17:18:12 git@bitbucket.org:agherzan/yocto-dev.git Feb 16 17:18:22 Branch dev. Feb 16 17:21:03 ag, I now have 3 different gits from you, this one seems to require a key Feb 16 17:23:53 Thi sneeds a key? git clone git@bitbucket.org:agherzan/yocto-dev.git Feb 16 17:23:56 needs* Feb 16 17:24:41 ag: see my pm to you Feb 16 17:46:06 holgerwrs: Hello Holger! Feb 16 18:06:14 Is here anybody who used meta-xilinx with poky 1.2 lately ? Feb 16 18:14:14 TARGET_ARCH was reanamed to TUNE_ARCH? Feb 16 19:32:32 hi, trying to run a qemuppc image from git here and when I run "runqemu qemuppc", it hangs after "Running qmu-system-ppc..." message. Can anyone advise? Feb 16 19:43:01 I cloned the linux-yocto-3.0 git tree, added a patch, and changed SRC_URI and SRCREV in meta/recipes-kernel/linux/linux-yocto_3.0.bb Feb 16 19:43:34 however, when I try to build, I get "ERROR: Function failed: do_validate_branches" Feb 16 19:44:04 and no further information is present in /mnt/poky.git/build/tmp/work/beagleboard-poky-linux-gnueabi/linux-yocto-3.0.18+git2+7af8d6f8769335b79c1b76c8bded256b8f909c74_1+368e38c673ffac8b37fc2a2d4c1e4a1e6f8abf19-r3/temp/log.do_validate_branches.4796, although the error message says there should be Feb 16 19:44:07 what am I missing? **** ENDING LOGGING AT Thu Feb 16 22:21:34 2012 **** BEGIN LOGGING AT Thu Feb 16 22:22:15 2012 Feb 17 00:54:06 * kergoth digs into bitbake memory usage a bit again Feb 17 01:02:08 hmm, interesting, it's only showing about 30-40 megs of python objects in the server at various points. that's not too bad. time to check the individual python processes.. hmm, i wonder if heapy or meliae provide a diff/subtract mechanism to compare two memory objects **** ENDING LOGGING AT Fri Feb 17 02:59:57 2012 **** BEGIN LOGGING AT Fri Feb 17 02:59:57 2012 Feb 17 03:38:31 aw, no __del__ usage in bitbake, so don't get to blame cycles+__del__ for memory issues Feb 17 03:39:51 hmm, though, spoke too soon, it is used in the pysh code, but I don't think we keep around references to the pysh objects, and I don't see any cycles with those. ah well Feb 17 04:16:09 any ideas why bitbake would exit with non-zero exit status on a successful build? Feb 17 04:16:29 "NOTE: Tasks Summary: Attempted 2064 tasks of which 202 didn't need to be rerun and 0 failed.", yet $ echo $? Feb 17 04:16:29 1 Feb 17 04:17:07 this is on edison with stock yocto + my layers Feb 17 04:18:58 mebrown: it likely emitted ERROR messages. they cause a non-zero exit code. check the log/scrollback Feb 17 04:19:31 newer yocto than edison uses a bitbake which now summarizes the number of errors seen, so you know why the exit code is what it is more easily Feb 17 04:19:39 ah. ok. Feb 17 04:19:42 grep time Feb 17 04:19:44 yep Feb 17 04:22:27 Guess who forgot to tee the output to a logfile. :/ rebuild time I suppose Feb 17 07:52:50 good morning Feb 17 08:35:07 morning Feb 17 10:18:57 morning all Feb 17 15:44:54 morning Feb 17 15:58:04 Hello guys. Feb 17 19:49:57 Hmm, how does one go about creating a page on the yocto wiki? Would I need special rights to do that, or ask someone to create the page for me? Feb 17 19:51:08 (looking to create BitBake/PerformanceImprovement or similar, as a place to hold notes on bitbake's performance and analysis, so we have our discoveries in a single place Feb 17 19:51:10 ) Feb 17 19:51:48 maybe Performance or PerformanceNotes would be better, less wordy Feb 17 19:51:53 you should be able to go to the new page, and then edit.. Feb 17 19:52:12 kergoth, visit https://wiki.yoctoproject.org/wiki/index.php?title=Special%3ASearch&search=BitBakePerformanceImprovement&go=Go Feb 17 19:52:23 oh, right, i'm an idiot Feb 17 19:52:28 and click on the link after "Create the page" Feb 17 19:52:31 didn't confirm the email address, you can browse but not create until after that :) Feb 17 19:55:23 * kergoth 's finding cProfile.run/cProfile.runctx to be invaluable Feb 17 19:57:28 kergoth, were you able to confirm your e-mail and create the page? Feb 17 19:58:01 yep, all good now, feel free to ignore me Feb 17 19:59:28 RP__: did some basic task execution profiling, on this machine I have a per-task exec time of 0.6 to 1.0 seconds without exec_task in the mix (os._exit(0) before exec_task). I emitted cprofile data for the parse / cache load, and it turns out that parse is around 0.55 seconds of the total task run time on this machine Feb 17 19:59:45 I'm curious about the remaining 0.1 to 0.5 seconds of overhead, though Feb 17 20:00:09 kergoth: Interesting. That sounds a lot higher than I remember the overhead being Feb 17 20:00:41 this is in a VM on my macbook air, so I'm sure it's less on your beast of a machine :) but still quite interesting Feb 17 20:01:40 kergoth: Could be something to do with CoW in the VM Feb 17 20:01:56 We really depend on good CoW behaviour Feb 17 20:02:14 that could be. I noticed there's roughly 34M of unique set size for each task process, by the way. not sure how accurate smem is in that context, need to check meliae on the tasks yet Feb 17 20:02:37 on this machine, the parse process gets up to 240 megs for just oe-core, but drops down to 70 megs in the main server process after that. not too bad Feb 17 20:03:02 I expect depends_cache is the majority of that spiking ram usage, what you'd expect Feb 17 20:03:22 * kergoth digs in some more Feb 17 20:05:44 kergoth: In my case I see numbers like that but I never see the drop off - its as if the gc doesn't trigger Feb 17 20:05:57 Hmm, that's quite interesting Feb 17 20:06:09 we should investigate the gc behavior, I know there are controls you can fiddle with Feb 17 20:08:26 kergoth: I've wondered if we could tweak anything Feb 17 20:34:22 one task parse, 22387 ast.walk calls? sheesh Feb 17 20:34:39 wonder how much of that was parse_python Feb 17 20:35:16 ah, right, yep, there it is Feb 17 20:36:15 aside: python -m pstats is a nice interactive way to explore the profile Feb 17 20:39:30 RP__: ah ha the pstats browser lets you add other profile data to its statistics, so you can join together the data from multiple workers, or workers + server to get an overall picture! Feb 18 01:34:55 kergoth: Both those things sound rather interesting. I'll have to play around **** ENDING LOGGING AT Sat Feb 18 02:59:58 2012 **** BEGIN LOGGING AT Sat Feb 18 02:59:58 2012 Feb 18 21:02:06 hello **** ENDING LOGGING AT Sun Feb 19 02:59:58 2012 **** BEGIN LOGGING AT Sun Feb 19 02:59:58 2012 Feb 19 12:49:37 yocto support bcm47xx series? specificly the common ethernet of this series? is there support for ubicom32 v5? (ip8k chips) Feb 19 12:53:55 i ment to type also inbetween those questions... woops **** ENDING LOGGING AT Mon Feb 20 03:00:00 2012 **** BEGIN LOGGING AT Mon Feb 20 03:00:00 2012 Feb 20 08:58:37 morning all Feb 20 18:51:00 Hello everybody. Feb 20 18:51:14 One tiny question. Feb 20 18:52:12 In kernel do install we remove modules.order and modules.buildin. Feb 20 18:52:24 Why? Feb 20 19:52:51 Anybody around? Feb 20 20:05:54 People are often not around, but page back in occasionally. Feb 20 20:06:15 When I switched from asking whether people were around to just writing up my question to a quiet channel, I started getting lots more helpful answers. Feb 20 20:06:23 ... some of them 2-3 hours after I wrote the questions. Feb 20 20:06:40 indeed. IRC is typically quite async. ask the question, wander off and get the answer whenever it arrives Feb 20 20:06:56 one of the best things about it, really. fewer issues with timezones Feb 20 20:07:23 ag: we did not ship them ever in oe are you seeing issues ? we do cross module stuff Feb 20 20:08:41 khem: Got over that. But i need these files. Feb 20 20:08:55 And i found a very strange behavior. Feb 20 20:08:57 if they are to be packaged they should go with kernel image package Feb 20 20:09:06 Wanted to add them in base-files. Feb 20 20:09:13 base files ? Feb 20 20:09:23 Just add them there. Feb 20 20:09:34 empty ? Feb 20 20:09:38 Yes. Feb 20 20:09:45 I need them to avoid a warning Feb 20 20:09:57 what is the warning ? Feb 20 20:09:59 at runtime Feb 20 20:10:01 kmod Feb 20 20:10:05 not in poky Feb 20 20:10:34 ok what is the warning ? is this warning valid Feb 20 20:10:52 modules.order: No such file or directory Feb 20 20:10:54 or is kmod being overly paranoid Feb 20 20:11:01 yes it is Feb 20 20:11:06 but i just want to avoid this Feb 20 20:11:16 and i added these file in base files Feb 20 20:11:16 ok then kmod should be fixed since these files are not must they are optional Feb 20 20:11:40 added /lib/modules/${KERNEL_VERSION} Feb 20 20:11:43 in dir744 Feb 20 20:11:58 dirs755 Feb 20 20:12:15 But it just ignores my install lines. Feb 20 20:12:25 and de /lib directory is not installed anymore at all Feb 20 20:12:31 the* Feb 20 20:12:44 What the??? Feb 20 20:13:16 After seeing this... i did a checkout on base-file, clean + rm sstate and... NO LIB DIR in image! Feb 20 20:13:30 LIB DIR = /lib Feb 20 20:13:39 shoot me... if you got any idea Feb 20 20:16:14 khem: what do i do wrong? Feb 20 20:17:53 add install -d /lib/modules/${KERNEL_VERSION} Feb 20 20:18:34 I did this in dirs755 Feb 20 20:19:06 i added in dirs755 that path and then in install there is a for for this: Feb 20 20:19:08 for d in ${dirs755}; do Feb 20 20:19:16 install -m 0755 -d ${D}$d Feb 20 20:19:38 nothing works... Feb 20 20:20:49 and these lines: <------>install -m 0644 ${WORKDIR}/modules.dep ${D}/lib/modules/modules.dep Feb 20 20:20:49 <------>install -m 0644 ${WORKDIR}/modules.order ${D}/lib/modules/modules.order Feb 20 20:20:49 <------>install -m 0644 ${WORKDIR}/modules.builtin ${D}/lib/modules/modules.builtin Feb 20 20:20:53 are just skipped Feb 20 20:20:57 no error Feb 20 20:21:03 no log no nothing **** ENDING LOGGING AT Tue Feb 21 02:59:58 2012 **** BEGIN LOGGING AT Tue Feb 21 02:59:58 2012 Feb 21 10:11:08 hi all Feb 21 10:56:55 bluelightning: Hi! Feb 21 10:57:05 hi ag Feb 21 11:31:23 Hi there, I've heard that there was a presentation at the Yocto Developer Day about harddrives killed due to the yocto (daily?)build. Feb 21 11:31:43 Being held by the build manager or similar - I don't remember : / Feb 21 11:32:00 Does anyone know if her talk/presentation can be found online? Feb 21 12:33:07 (probably the talk wasn't about dying hdds exclusively but touched this topic at least) Feb 21 15:29:10 Hi All, what packages are included in the meta-toolchain and how do I control it ?, all packages using BBCLASSEXTED = "nativesdk" ?? Feb 21 16:08:04 * fray needs to figure out his yocto ToDo items.. been out of the way for too long w/ meetings, travel and holiday yesterday Feb 21 16:15:20 d4ny: There is a list in one of the task-* packages Feb 21 16:15:32 fray: I know the feeling... Feb 21 16:15:44 did Song just say there are no bugs? Feb 21 16:15:52 so we're good.. woohoo, no more work Feb 21 16:16:02 fray: for 1.1.1 ;-) Feb 21 16:16:20 :-) Feb 21 16:16:26 drat Feb 21 16:16:26 Is Bjorn here? Feb 21 16:16:31 RP__: that's me Feb 21 16:16:48 Zagor: ah, we should get people to include their irc names :) Feb 21 16:17:02 hehe Feb 21 16:17:11 Zagor: I hope the call isn't too confusing with all the names and people Feb 21 16:17:53 RP__: task-core-sdk I guess Feb 21 16:17:55 Zagor: good to have you there though! Feb 21 16:18:00 thanks Feb 21 16:18:24 d4ny: task-sdk-host-nativesdk Feb 21 16:18:45 Zagor: If you want to know who anyone is or have any questions feel free to ask here or on the call Feb 21 16:19:14 Zagor: Sorry, I missed that meeting. Feb 21 16:19:32 RP__: ok. I'm sort of standing quietly in the back learning still. Feb 21 16:19:46 Zagor: thats fine :) Feb 21 16:41:59 he's probably talking to mute.. ;) Feb 21 16:45:15 RP__: when you have time I have another round of interesting sstate issues :) Feb 21 16:47:07 [meeting] I'm rather having the opposite feeling, that bitbake isn't parallelizing aggressively enough Feb 21 16:48:15 Zagor: I was specifically talking about memory usage for the task execution Feb 21 16:48:32 Zagor: Where do you feel it could be more parallel out of interest? Feb 21 16:48:32 right, it's not exactly the same issue. Feb 21 16:48:57 Zagor: I have done a lot of work trying to get more parallelisation but I'd love to find more ways to improve! :) Feb 21 16:49:04 JaMa|Off: Sounds like we need to talk Feb 21 16:49:11 pidge, Do you want to do a follow up call with me? Feb 21 16:49:18 JaMa|Off: I did see some emails from you but haven't had a chance to read them yet Feb 21 16:49:53 I haven't looked into it in detail but I get the feeling it's blocking on packages that are not bottlenecks for the rest of the build. but I need to investigate more to be sure. Feb 21 16:50:36 RP__: yup, one is maybe just bug in bitbake-diffsigs.. but 2nd (with RDEPENDS on machine specific recipes) seems like conceptual problem Feb 21 16:50:47 halstead: sure, have my number? Feb 21 16:50:57 pidge, yep. Feb 21 16:51:56 JaMa|Off: I agree there is a conceptual issue there. We started to address it with changes like http://git.yoctoproject.org/cgit.cgi/poky/commit/meta/lib/oe/sstatesig.py?id=0bf6f8035cfe14dbc2b357bdc3e98d6e081561a1 Feb 21 16:52:11 JaMa|Off: This is the cleanest way I could find to handle this Feb 21 16:52:14 kenws: I'm told the sessions were videoed and should be posted as soon as they get processed Feb 21 16:52:28 kenws: (the presentations, at least) Feb 21 16:53:48 RP__: ah.. I was wondering how x11-common is not depending on formfactor but my xinput-calibrator depends on pointercal-xinput config recipe.. that could be it Feb 21 16:55:01 RP__: but this would be much nicer declared in recipe then in global sstatesig.py as I have few more recipes in meta-oe and meta-smartphone too Feb 21 16:55:11 JaMa|Off: I'm hoping we can isolate this list to a smaller list of known good packages Feb 21 16:55:12 bluelightning: aah, ok - sounds good. : ) Please let me know if you spot them. Feb 21 16:55:19 kenws: will do Feb 21 16:55:29 thanks! Feb 21 16:55:32 kenws: I wasn't there either so I'm keen to catch up as well :) Feb 21 16:55:35 JaMa|Off: We could do that globally but in reality people would just do it everywhere there is a PACKAGE_ARCH = MACHINE_ARCH Feb 21 16:55:50 JaMa|Off: I think we need to be careful about machine specific dependencies Feb 21 16:57:25 RP__: well but this doesn't cover my test case with kernel-module-* :/ Feb 21 16:57:56 JaMa|Off: The kernel module issue I have noticed and don't have a good answer for Feb 21 16:58:37 because sometimes such recipe (e.g. RRECOMMENDING some kernel module) is pretty deep in dependency tree and everything above is reexecuting do_package Feb 21 16:58:39 JaMa|Off: That code can't tell why there is a dependency as at the level it operates it just sees a dependeny on linux-* Feb 21 16:58:57 JaMa|Off: yes, this is a problem :/ Feb 21 17:01:34 cannot we introduce something like RRECOMMENDS_${PN} = "kernel-module-foo" and then RRECOMMENDS_${PN}[taskdepsexclude] = "something" ? Feb 21 17:01:36 sgw / RP__: when did we disable rootless X? I built an image prior to FOSDEM and that was still using it (in broken form) Feb 21 17:02:27 so that sstate code will detect from taskdepsexclude that we don't care how kernel-module-foo is built or if it's built at all, that we just want right metadata field filled in .ipk or .rpm Feb 21 17:04:15 bluelightning: have you added meta-oe to that build? Feb 21 17:04:40 ant_work: I don't think I did, but let me check Feb 21 17:05:48 ant_work: no, just poky + a small layer for pinpoint Feb 21 17:06:41 ah, ok then Feb 21 17:15:26 sgw: ping.. "The zlib patches were pulled" I have seen only PR bumps pulled.. not 2nd zlib patch from that pull request (which is still valid) Feb 21 17:16:41 JaMa|Off: PR Bump and the remove ldconfig was pulled: Feb 21 17:16:41 b2196ca zlib: remove ldconfig call from install-libs Feb 21 17:16:41 0761649 recipes: bump PR to rebuild .la files without libz.la Feb 21 17:16:55 JaMa|Off: am I missing another one? Feb 21 17:17:27 no but I don't see b2196ca http://git.openembedded.org/openembedded-core/log/ or in git pull --rebase Feb 21 17:17:58 but it's in poky Feb 21 17:18:21 maybe just pending git push somewhere :0 Feb 21 17:20:46 JaMa|Off: yeah, that's weird because normally they would be in oe-core first Feb 21 17:22:23 Richard is in a meeting atm but I'm sure he will look at it afterwards Feb 21 17:22:25 JaMa|Off: it might be stuck in RP__'s local repo still and he needs to push it. Feb 21 17:24:20 sgw: yup.. then it's relatively safe, thanks Feb 21 17:25:59 pidge, ab02 is ready with the minimum -devel packages as listed in the quickstart. (38 total with dependencies) Feb 21 17:33:10 halstead: Ok, I'll kick a world and see if anything blows up. I have ab02 out of the pool now. Feb 21 17:40:08 JaMa|Off: sorry, my fault. It was locally applied, I'd missed the push Feb 21 17:53:23 RP__: no problem, thanks Feb 21 20:00:04 qemuarm - does it have an FPU? If yes is it FPA or VFP? I need to define one of these (NONE, FPA, VFP) to compile mono. Feb 21 21:35:59 hello , on Windows every window has ID named HWND , on Linux , how can i access other apps windows? they have something like HWND ? My real problem is , i've java app , i want to show some video on C++ side combining with java but java slows up , I want to bypass Java side and directly render some video on HWND on Windows but i could not found any solution on Linux , how can i fix problem Feb 21 21:48:35 JDuke128: Its not really this room's area of expertise. I'd look at how some of the linux video player applications do it. There are X extensions iirc Feb 21 22:04:40 tomz1 - /usr/bin/X: symbol lookup error: /usr/lib/xorg/modules/drivers/emgd_drv.so: undefined symbol: EDID_bin_read Feb 21 22:04:49 I am on 1.2 M2 Feb 21 22:05:15 I followed the steps in README in meta-crownbay - for 1.8 Feb 21 22:05:26 copied the libs etc as described Feb 21 22:08:32 autif: tomz is not around today, will be back tomorrow Feb 21 22:08:56 RP__ - thanks! will ping him tomorrow Feb 21 22:09:42 on another note - mono ran wonderfully on ARM - trying out other qemu targets - mips, PPC, will have something on github tomorrow Feb 21 22:09:51 will let people know on mailing list too Feb 21 22:10:01 it is happenning :-) Feb 21 22:18:15 autif: sounds good, looking forward to the layer :) Feb 21 22:18:30 autif: mono is known to work on x86 and arm it would be interesting to see how it does on ppc and mips Feb 21 22:18:46 RP__: back home ? Feb 21 22:19:31 khem: yes, finally :) Feb 21 22:21:38 RP__: when you have a time can you comment on http://lists.linuxtogo.org/pipermail/openembedded-core/2012-February/017689.html Feb 21 22:22:18 this will give us an override depening on recipe type. Sometimes we do need target recipe override e.g. Feb 21 22:23:33 khem - i meant the mono produced in the image by my recipe, w/o my recipe - mono is also known to run on mips and ppc - in fact - there are alpha, hppa, s390 and sparc as supported architectures. I will of course only test those for which yocto/poky has provided a qemu Feb 21 22:23:49 khem: it will break old school -native recipes mixed with virtclass Feb 21 22:23:59 khem: I guess we probably don't care now though Feb 21 22:24:40 autif: Did it work on arm first time out of interest? Feb 21 22:25:53 RP__: hmm you mean foo-native.bb having a BBCLASSEXTEND = "native-sdk" or somesuch ? Feb 21 22:26:03 khem: I guess I'd just suggest a) calling it CLASSOVERRIDES b) drop the DISTRO ??= "" from that patch c) add directly to OVERRIDES, don't leave it until the end since that is less clear Feb 21 22:26:16 er, CLASSOVERRIDE Feb 21 22:26:16 yeah that distro think it a cruft Feb 21 22:26:44 ok will add your feedback thx Feb 21 22:26:58 khem: maybe assume its set and add the : in bitbake.conf too Feb 21 22:27:04 nope - It was missing a declaration for FPU - NONE, FPA or VFP, but adding a -DARM_FPU_NONE=1 for CFLAGS_append made it work - no major errors after that - there was a packaging error - there are some .so files that are being included unnecessarily - strip fails on this files - I am not sure how to deal with this error - but it is benign Feb 21 22:27:41 autif: great, was just curious how we were doing on portability :) Feb 21 22:27:54 autif: Fancy writing a blog post? :) Feb 21 22:27:58 guess you are testing on armv5t ? Feb 21 22:29:18 I intend to - I talked with my powers that be - they are very excited about all this - there are 2 blog posts in the works - one talking about why we chose yocto over android, buildroot, LFS and desktop distros like ubuntu/fedora - and the second about what all I had to do to get mono recipe Feb 21 22:30:09 autif: sounds good - I'd love to get those some visibility with the yocto blog :) Feb 21 22:30:14 these need to be pre-cleared by my manager(s) Feb 21 22:30:21 autif: no problem, I understand Feb 21 22:30:27 what yocto blog? Feb 21 22:30:35 reason #3: pseudo is so amazing that even if you don't actually use it it just makes life better to know it's there. Feb 21 22:30:59 autif: http://www.yoctoproject.org/blogs Feb 21 22:31:25 are you suggesting I write these in yocto blog - because - one of the thinkgs open to debate is where do put these things - should we host it - or use somethign by google etc - if one exists for yocto - that owuld be ideal Feb 21 22:31:49 seebs: why am I tempted to reply with some performance numbers about it being frustrating? ;-) Feb 21 22:32:27 RP__ - cool - have not seen this, do I have write permissions to this? does everyone? if yes, then i am amazed at lack of spam Feb 21 22:32:28 autif: if you post somewhere else I'm imagining we can link to it Feb 21 22:32:32 Well, keep in mind. Pseudo's design goal was "it may be slow but it will not force us to abandon projects and rebuild from scratch". Feb 21 22:32:46 autif: I think we could also arrange for you to put something on there Feb 21 22:33:00 The prior state was that if I built 20-30 projects, at least one would fail with cryptic errors like "rmdir: cannot remove foo: File is a directory." Feb 21 22:33:25 I am creating an account as we speak Feb 21 22:33:26 seebs: I know, but you did set yourself up for that reply ;-) Feb 21 22:33:54 nonsense! pseudo is benevolent and well-loved. people sing anthems to it every morning. Feb 21 22:35:06 * RP__ notes to send seebs some performance figures Feb 21 22:35:20 ... Also worth noting, since I wrote it, computers have gotten enough faster that performance under pseudo is now probably better than it used to be without. :) Feb 21 22:35:39 * RP__ wonders if this argument can hold for bitbake Feb 21 22:35:48 it certainly does for parsing on a 12 core :) Feb 21 22:36:46 autif: if you've any problems please pester jefro or halstead can probably help too Feb 21 22:36:55 RP__: reason to add CLASSOVERRIDE at the end was to have only one of this kind. if I do OVERRIDE += ".." in classes it might end with more than one of these in final OVERRIDES Feb 21 22:37:15 khem: I mean add to the OVERRIDES definition in bitbake.conf Feb 21 22:37:28 RP__: ah thats what I thought secondly Feb 21 22:37:34 ok Feb 21 22:38:49 I hope the userspace chroot feature in kernel gets implemented soon Feb 21 22:39:32 khem: userspace chroot in kernel soon? Feb 21 22:40:17 containers Feb 21 22:40:22 uh Feb 21 22:40:35 autif, New website users need extra permissions to post blog entries. Feb 21 22:40:47 autif, I can help with that when you're ready. Feb 21 22:41:58 thanks halstead - I have an account now (username autifkhan) - I should have clearance in about a week - my VP is out on vacation returning in March - Will ping when he is back. Feb 21 22:42:34 autif, Great. Feb 21 22:43:50 someone should clean the spam from the blog Feb 21 22:44:15 clearly there's no filter or too eager admins Feb 21 22:44:35 for example, see the comments to http://www.yoctoproject.org/blogs/sgarman/2011/proxy-problem Feb 21 22:45:13 Wow, yeah. Feb 21 22:48:23 use akismet on wordpress works great Feb 21 22:48:47 yes, that's great Feb 21 22:49:01 halstead: Jefro: ^ Feb 21 22:52:58 bluelightning thanks - missing part of the conversation, what happened? Feb 21 22:53:12 Jefro: spam on some of our blog posts apparently Feb 21 22:53:35 comment spam, that is Feb 21 22:54:07 dvhart: ping Feb 21 22:55:45 pong Feb 21 22:56:51 hi there, I gave a try to linux-yocto-tiny but w/out proper magic th ekernel won't fetch... Feb 21 22:57:29 maybe I'm missing some layer to be able to provide my defconfig crumbs? Feb 21 22:58:47 hrm... won't fetch? Feb 21 22:58:59 are you using any layers? Feb 21 22:59:23 no, any Poky/Yocto layer atm Feb 21 22:59:46 So currently the linux-yocto-tiny recipe uses the linux-yocto repository Feb 21 23:00:01 The config is also not particularly minimized Feb 21 23:00:18 I still need to push that into the meta data for linux-yocto tiny branch Feb 21 23:00:24 (ktype rather) Feb 21 23:00:31 but you should not have any trouble fetching Feb 21 23:00:36 what is the exact error you receive? Feb 21 23:00:58 seems stalled fetching Feb 21 23:01:49 tring to fetch i.e. linux-yocto-tiny-3.0.12+git1+04a52a32cbdf0972033b97b83eaa83eb275dfdc9_1+f389d310965a56091f688b28ea8be6d9cbb7fbbe-r1 Feb 21 23:02:11 that's a *huge* git repository btw Feb 21 23:02:21 how long have you let it run and what is your bandwidth? Feb 21 23:02:36 uh oh .... Feb 21 23:02:47 not so long tbh Feb 21 23:03:13 I have about 20MB D/L Feb 21 23:03:32 ok, so you've got good bandwidth, it will still take a few minutes Feb 21 23:03:42 if you haven't received an error, then it's probably just fetching Feb 21 23:03:47 you can check your downloads dir Feb 21 23:03:52 do a du on it Feb 21 23:03:53 Imy doubt is how to match my arm machine Feb 21 23:03:59 ensure it's still growing Feb 21 23:05:03 I think by itself that repo is something like 1.5 GB Feb 21 23:05:21 I'm a bit confused by the KMACHINE I should use: I decided to go with 'base' Feb 21 23:05:34 are you building for a different machine? Feb 21 23:05:59 fyes, for some old armv4 and armv5te Feb 21 23:06:11 OK Feb 21 23:06:18 usually I use vanilla Feb 21 23:06:32 for now, the biggest difference between poky and poky-tiny is the userspace image Feb 21 23:06:40 the kernel is still the same Feb 21 23:07:07 I have to refactor all the config fragments and get them into the ktype/tiny definition in linux-yocto Feb 21 23:07:14 ah, that's why #KMACHINE = "yocto/standard/tiny/base" Feb 21 23:07:42 so for now, you might try your regular kernel via PREFERRED_PROVIDER_virtual/kernel Feb 21 23:08:53 can I add the (few) patches to SRC_URI for the moment? Feb 21 23:09:46 of course, you can always do that Feb 21 23:10:04 but just don't expect to get a very small kernel out of linux-yocto-tiny at the moment Feb 21 23:10:13 the default config still builds a fairly large kernel Feb 21 23:10:37 should be better by next week Feb 21 23:11:17 I've noticed the bits of code are adding in-kernel modules (=y) Feb 21 23:11:37 that's fine for me , at least for basic boot-features Feb 21 23:11:52 which bits of code are you referring to? Feb 21 23:12:05 ata.cfg i.e. Feb 21 23:12:09 ah Feb 21 23:12:38 yes, in terms of getting a small userspace I opt to, by default, eliminate the need for an initrd Feb 21 23:13:25 you see, I squezed the defconfigs with do_savedefconfig and now I'm trying to modularize it Feb 21 23:14:20 but having to boot from SD/CF/USB and expecting ext2,3,4/vfat,jffs2,ubifs .. I have no chocie to compile modules Feb 21 23:15:40 in fact, at first I'm looking at linux-yocto-tiny to better modularize linux-kexecboot if I can Feb 21 23:16:30 right Feb 21 23:16:38 sorry I haven't gotten back to you on that btw Feb 21 23:16:55 btw there is a new meta-initramfs layer pending Feb 21 23:16:56 still in my todo list Feb 21 23:17:10 I'd like to have a look Feb 21 23:17:15 pls wait a couple of days more ;) Feb 21 23:17:42 I*)&U spammers. I already got rid of them once. Feb 21 23:21:05 ant__, no problem :-) please send me a link when you think it's ready Feb 21 23:22:14 sure, me and bluelightning we were discussing about where to host it Feb 21 23:22:39 at first will be committed in meta-openembedded/meta-initramfs I think Feb 21 23:24:43 but being it just depends on oe-core it could maybe live outside meta-openembedded Feb 21 23:29:38 ant__, you can put layers inside meta-oe and enable them individually Feb 21 23:29:57 that would reduce repo-madness :) Feb 21 23:31:19 sure, I did that as first step Feb 21 23:31:44 but as I said (too) many times, there are recipes within the layer which need special care Feb 21 23:32:19 like klibc and klcc-cross, very sensible to breakages due to changes in oe-core Feb 21 23:32:54 that is true for many recipes Feb 21 23:33:18 and finally I think that at least klibc would belong to oe-core Feb 21 23:33:40 (so I can give up with maintenance ;) Feb 21 23:38:10 ant__: can you please try with reversed order of layers? Feb 21 23:38:20 heh Feb 21 23:40:18 strange.. your order looks like meta-handheld version should won.. ah that's probably because you're not building spitz right? Feb 21 23:40:39 yes, only poodle Feb 21 23:41:08 anyway you are right about moving alltogether Feb 21 23:41:18 and 3.2 version have only spitz in COMPATIBLE_MACHINES Feb 21 23:41:38 I just tested with a single .bbappend Feb 21 23:42:15 unfortunately klibc_2 is still delayed Feb 21 23:42:32 so we should stay with 3.1 or add patches Feb 21 23:43:06 or a klibc_git Feb 21 23:43:15 when people talk about the meta-ti layer, are they referring to git://git.angstrom-distribution.org/meta-texasinstruments ? Feb 21 23:43:53 well 3.2 as kernel works fine, 3.1 is needed just to build klibc once :) Feb 21 23:44:19 yes, we can let it only in meta-initramfs Feb 21 23:44:33 so please don't remove recipes just because we don't have compatible klibc yet Feb 21 23:45:47 hollisb: I believe so, one of it and http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/ is a mirror of the other Feb 21 23:45:50 hollisb: http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/ which is currently the same as one at angstrom URL Feb 21 23:46:08 ahh Feb 21 23:46:26 JaMa|Off: I'm looking at linux-yocto- kernels as next step Feb 21 23:46:32 I've been wondering if meta-texasinstruments was intentionally named differently from "meta-ti" Feb 21 23:46:36 just don't get used to the one on angstrom, as it might go away in the future, due to some infrastructure problems Feb 21 23:46:51 meta-ti isn't listed at http://www.openembedded.org/wiki/LayerIndex ; should it be? Feb 21 23:47:07 it is listed there Feb 21 23:47:37 meta-texasinstruments is Feb 21 23:47:39 meta-ti is not Feb 21 23:47:57 (the former being the one you just told me might go away :) Feb 21 23:48:06 meta-texasinstruments vs. meta-ti - historical reasons, first got renamed into second Feb 21 23:48:44 the contents of both are the same, they are just public mirrors of our internal repository Feb 21 23:49:31 I get that now, but when all I see is people talking about meta-ti, and all I have is meta-texasinstruments, I wondered if they're the same... so if there are also infrastructure issues, maybe LayerIndex should point to meta-ti instead? Feb 21 23:50:21 ok, I'll update LayerIndex wiki with the new url... Feb 21 23:50:39 cool Feb 21 23:55:12 denix: I can do that for you if you like Feb 21 23:58:04 bluelightning: you don't trust people editing your page? :) Feb 21 23:58:48 denix: I don't mind either way... sometimes people don't already have access and it may be quicker for me, but if you want to do it go ahead :) Feb 21 23:58:51 I'll be splitting meta-ti into sublayers soon, so will eventually need to populate repo subdir column too Feb 21 23:59:08 ok Feb 21 23:59:24 I have to admit I have not done that for meta-intel, probably should Feb 21 23:59:37 i.e. listed the sublayers out Feb 22 00:00:43 denix: so if I just add meta-ti to my Yocto bblayers.conf, that will override the built-in beagleboard recipes? Feb 22 00:00:55 bluelightning: well, don't you think oe director ought to have wiki access? :-P Feb 22 00:01:21 denix: I think yes, but that doesn't mean key people haven't been locked out before in recent times ;) Feb 22 00:01:37 not intentionally Feb 22 00:01:50 bluelightning: I know, just teasing you :) Feb 22 00:02:31 hollisb: not so easy, there were some issues reported recently with angstrom dependencies getting into the way when trying to use meta-ti with oe-core/yocto directly... Feb 22 00:03:11 hollisb: you might want to read on the corresponding mail thread - there were some short-term workarounds suggested Feb 22 00:03:11 :( Feb 22 00:04:28 hollisb: but it's one of my tasks to make it work with oe-core/yocto as well as angstrom, arago etc., and not just angstrom Feb 22 00:05:26 denix: do you have a link to that thread? Feb 22 00:08:37 ah, it was a beaglebone thread? Feb 22 00:09:58 https://lists.yoctoproject.org/pipermail/meta-ti/2012-February/thread.html - read the "building Yocto for Pandaboard" both threads (I don't know why it split in 2) Feb 22 00:11:19 thanks Feb 22 00:11:52 hollisb, heya ;) Feb 22 00:13:38 hey dvhart Feb 22 00:19:11 gn Feb 22 00:24:40 bluelightning, Mollom is what most Drupal sites use instead of Aksimet. I've updated and enabled strict checking for it. Feb 22 00:25:12 halstead: ok cool, just wanted to draw your attention to the existing spam Feb 22 00:26:16 khem, ^ Feb 22 00:31:16 We are going to disable viewing comments until we can get them cleaned up. Feb 22 02:13:25 anyone in here? Feb 22 02:48:20 Just ask and leave yourself logged in for a few hours. IRC is mostly asynchronous. **** ENDING LOGGING AT Wed Feb 22 02:59:58 2012 **** BEGIN LOGGING AT Wed Feb 22 02:59:59 2012 Feb 22 04:13:45 I'm following the quickstart guide and when I try to build an image using 'bitbake -k core-image-sato' I get an error message. "ERROR: .../recipes-gnome/gnome-vfs_2.24.4.bb" failed amongst others. This is task 4367. I'm not sure what's going on. Feb 22 04:20:30 nlogax_ - still here? Feb 22 04:25:46 guess not, assuming that you are still there - take a look at tmp/work//gnome-vfs_2.24.xxx/temp and see what step failed Feb 22 04:26:04 you can also send the error to the mailing list where people can help Feb 22 04:37:57 gn now Feb 22 04:46:31 is there a specific file where I have to look? Feb 22 12:06:32 RP__: quick question.. is order of runtaskdeps important for hashing algoritm? or does http://paste.pocoo.org/show/554961/ look sane? Feb 22 12:32:54 Hi! Is there any PREFERRED_PROVIDER_qemu = "qemu-custom" juslt for uboot and kernel? Feb 22 12:35:48 RP__: ignore this patch.. sorting is not enough.. I'll split it to 2 different cases (task was changed and same tasks with different checksums) Feb 22 12:40:55 :-) Feb 22 12:41:28 bluelightning: I did a fix in qt4-native; mind to take a look before I send the patch for pull? Feb 22 12:42:01 bluelightning: http://paste.debian.net/157180/ Feb 22 12:43:10 bluelightning: we have some code generation tools that are written in qt4 that needs to be available for building the target packages, that's why i found this issue Feb 22 12:44:09 JaMa|Off: any idea about what's happening to your build? Feb 22 12:47:23 ant_work: no.. Feb 22 12:47:50 as you've seen I got bitten by udev, needing meta-oe Feb 22 12:47:58 but bitbake did signale that Feb 22 12:53:34 try to find someone with nickname jkd to confirm he had same configuration yesterday.. Feb 22 12:53:37 13:36:26 < jkd> I only get "ERROR: Command execution failed:" Feb 22 12:53:40 15:00:17 < jkd> Is there anyway to get more info on why bitbake fails? first run after init oe-core it fails with only ERROR: Command execution failed: Exited with 1, -v and/or -DDD gives nothing more and cooker.log only gives same line Feb 22 12:55:44 JaMa|Off: and he was also using meta-handheld ? Feb 22 13:05:07 no idea Feb 22 13:32:08 JaMa|Off: Right, there are a few cases to consider in that code :) Feb 22 13:34:26 RP__: it was there already, just hidden in one extra if :) Feb 22 13:34:56 JaMa|Off: I tried to fix that code recently but it sounds like I got the logic slightly wrong Feb 22 13:36:56 have you seen my patch? Imho it's step in right direction Feb 22 13:50:07 RP__: I'm looking at def get_taskhash code in siggen.py is there any way to pass more info to rundep_check (especially from where we got e.g. linux-gta04_git.bb.do_package_write dependency from RRECOMMENDS_${PN} or something else) Feb 22 13:50:40 RP__: I was trying to filter those kernel-modules but best I got is to drop all linux-*.do_package_write :/ Feb 22 14:10:21 JaMa|Off: This is where I got stuck last time I looked too Feb 22 14:11:09 JaMa|Off: there is always a way but its not simple in this case :/ Feb 22 14:12:06 I'm using this now, but maybe excludes more then what you would allow in default oe-core http://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/test&id=250d478a2d585408cc1c2ec90c1b11aa4d3cc341 Feb 22 14:13:10 and I guess adding recipes from other layers like this http://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/test&id=8ca28c599a596341f43a2c3cd97394a3011e5ff9 also doesn't scale right :/ Feb 22 14:18:35 JaMa|Off: right, we have still to commit xinput-calibrator/pointercal Feb 22 14:19:30 if this lands in oe-core we'll have a problem less Feb 22 14:38:07 JaMa|Off: I replied to the diffsigs patch, its not quite as simple as your patch :/ Feb 22 14:43:29 ok I see what you mean, do you have some example where task is changed without hash change? or will any recipe rename work? Feb 22 14:45:17 "Dependency on task linux-nokia900-meego_git.bb.do_package_write was replaced by linux-gta04_git.bb.do_package_write with same hash." OK? Feb 22 14:46:29 JaMa|Off: I don't think we need to print anything in the case it matches Feb 22 14:46:39 JaMa|Off: bitbake will treat that as not being any different Feb 22 14:47:56 JaMa|Off: btw, in your patch above, i'd add: Feb 22 14:47:56 if depname.startswith("linux") and not (recipename.startwith("linux") or recipename.startwith("kernel")) and ... Feb 22 14:48:12 or something like that. I worry about external kernel modules in this context :/ Feb 22 14:52:22 yes and also e.g. linux-libc-headers Feb 22 14:56:57 for -diffsigs I'm testing something like http://paste.pocoo.org/show/555052/ Feb 22 15:26:30 JaMa|Off: I have an idea for the kernel issue in the sigs Feb 22 15:26:39 great Feb 22 15:27:46 * JaMa|Off trying to debug why sstate_hardcode_path doesn't work sometimes Feb 22 15:29:05 I guess it packages sstate right, but if you still have image directory around and do_package is relaunched then it populates package with same old hardcoded paths from image Feb 22 15:29:47 and if you delete workdirectory and sstate has to unpack package from sstate-cache then it replaces paths right Feb 22 15:42:41 what version of gcc is edison 1.1 supposed to ship with? Feb 22 15:43:17 there is this patch: Feb 22 15:43:18 git show fd70cc0a Feb 22 15:43:27 which bumps to version but it appears to only add a patch Feb 22 15:50:23 and it looks like our gcc recipe is using a different svn tag number than the official tag?  http://gcc.gnu.org/viewcvs/tags/?view=log Feb 22 15:51:07 which is 180516 - where as we have 181460 Feb 22 15:56:32 msm: you should ask Khem, he's done the verison bumps Feb 22 15:58:30 JaMa|Off: http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rpurdie/a0&id=dc39271e949952647fafbe1f72b1a2e664321d64 Feb 22 15:58:43 JaMa|Off: Its gone from about 100 lines down to that :) Feb 22 15:58:55 JaMa|Off: only issue is the ABI change. I think the test does what we want Feb 22 15:59:31 * RP__ is also dubious about exposing dataCache like this but I don't see the alternative Feb 22 16:01:18 JaMa|Off: I need to clean bits up but it might give you something to experiment with Feb 22 16:14:28 RP__: yep, thanks Feb 22 16:42:34 Anybody saw this error / warning in qemu? Feb 22 16:42:56 warning: implicit declaration of function 'cpu_physical_memory_read' Feb 22 16:43:00 warning: nested extern declaration of 'cpu_physical_memory_read' Feb 22 16:43:06 undefined reference to `cpu_physical_memory_read' Feb 22 16:43:22 All in git/target-arm/translate.c Feb 22 16:55:13 fray: ping Feb 22 18:15:18 meta-mono is in OE Layer Index. Please take a look, specially at the README and let me know if any changes are warranted, do let me know if it worked for you. It will make me happy. Feb 22 18:15:26 email to the mailing list is forthcoming Feb 22 18:19:03 autif: great work :) Feb 22 18:19:15 autif: I've just fixed the git URI on the index page btw Feb 22 18:20:16 thanks! Feb 22 18:20:45 what was my error? Feb 22 18:21:07 i previewed 3-4 times before hitting save Feb 22 18:21:13 wonder what went wrong Feb 22 18:21:17 I could be wrong but I think the address you had there was the writable one that only works if you're authorised Feb 22 18:21:31 I just changed it to match the other github ones (and tested it) Feb 22 18:22:10 ah, and I would not have known this - thanks! Feb 22 18:22:29 yeah, easy to do... np Feb 22 18:22:31 autif, I need to get you access to meta-mono. Feb 22 18:23:07 autif, pm? Feb 22 18:23:38 sure Feb 22 18:23:42 halstead - sure Feb 22 18:24:29 I am not sure what you mean that you will give me access to meta-mono - i have access to meta-mono on KokoFitClub - do you mean in someplace else? Feb 22 18:44:37 thanks kergoth Feb 22 18:47:53 autif: excellent on the meta-mono! Feb 22 18:51:57 thanks pidge! Feb 22 19:11:18 autif, git@git.yoctoproject.org:meta-mono.git is ready for you to clone. Feb 22 19:11:36 It's seeded with the github data. Feb 22 19:12:36 great Feb 22 19:15:35 looks good Feb 22 19:17:05 meta-mono has not yet shown up at http://git.yoctoproject.org/ Feb 22 19:17:20 is than not dynamic? Feb 22 19:17:42 I guess it isn't because git seems to be working fine for me Feb 22 19:21:19 Ah. There is some caching of that page. Feb 22 19:21:25 I'll clear it out. Feb 22 19:22:02 cool, will wait for your signal Feb 22 19:30:57 autif, All cleared. You should see it now. Feb 22 19:31:30 got it, thanks, email on its way Feb 22 20:06:13 tomz1 - symbol lookup error: /usr/lib/xorg/modules/drivers/emgd_drv.so: undefined symbol: EDID_bin_read Feb 22 20:06:24 tomz1 - I get this error on corwnbay with M2 Feb 22 20:06:55 tomz1 - I have setup the libraries as defined in README Feb 22 20:11:17 autif: this is where? Feb 22 20:18:34 tomz1 - corwnbay 1.2 M2 Feb 22 20:20:33 autif: I mean the error - Xorg.log I guess. What does your xorg.conf look like? Feb 22 20:29:10 tomz1- for some reason vi is not playing nice with my xorg.conf - it seems like it is a single line file with many ^M - may be something bad happened to it - let me sort this out and get back to you. Feb 22 20:32:17 tomz1 - http://pastebin.com/j66zjAhp <——— this is my xorg.conf Feb 22 20:32:23 I still get the same error Feb 22 20:39:15 autif: no idea, haven't seen anything like that before, not sure why it would be trying to call EDID_bin_read in any case. Let me try here. Feb 22 20:41:28 autif: will take a while to build, will let you know when i have something Feb 22 20:42:19 thanks, will ping later Feb 22 20:54:08 fray: ping again =) Feb 22 20:56:43 tomz1 - I have emailed you the contents of emgd-driver-bin-1.8 directory - there is a chance I am missing some library in there Feb 22 20:56:53 msm, hey.. didn't see any ping before Feb 22 21:00:55 bluelightning, ping Feb 22 21:01:03 hi dvhart Feb 22 21:01:19 b62249f3db4f20dde50309b9ab3fbd4c5ac52e7e. Feb 22 21:01:39 bluelightning, I was having issues with bitbake saying it was interrupted when I hadn't interrupted it Feb 22 21:01:55 hmm :( Feb 22 21:02:03 and it would just say 63 of 63 tasks completed successfully, then it would return non zero Feb 22 21:02:07 (or said it was) Feb 22 21:02:19 but it wouldn't build what I asked (which had never been built before) Feb 22 21:02:28 I reverted that and it's building again Feb 22 21:02:50 fray: im trying to solve my multilib issue where i can't use ppc64e5500 but i can use powerpc64 Feb 22 21:03:10 dvhart: ok I will take a look at it now Feb 22 21:03:27 thanks Feb 22 21:03:57 msm, do you have your config file(s) somewhere? or is the config working, just not the multilib itself Feb 22 21:04:03 'er.. multilib config that is Feb 22 21:05:25 fray: yes, one sec Feb 22 21:06:54 dvhart: hmm, seems I didn't look closely enough at the variable I used to check interrupted, it's set under other conditions :/ Feb 22 21:07:33 dvhart: the result being if it thought it needed to build pseudo, it did that and then nothing else Feb 22 21:07:50 fray: first, how does multilib know which other arches are compatible? Feb 22 21:08:03 you specify it, it assumes they are compatible Feb 22 21:08:18 dvhart: indeed; last changes in bitbake has broken it Feb 22 21:08:21 bluelightning sounds right Feb 22 21:08:23 the software install side though has some compatibility settings.. but in general it's automatic (with rpm at least) based on ELF type Feb 22 21:08:24 fray: this is what I have Feb 22 21:08:24 https://gist.github.com/1887278 Feb 22 21:08:44 but it doesn't like the ppc64e5500 bit.. its a valid tune and powerpc64 there instead works Feb 22 21:09:03 ya.. that should be all that is required.. Feb 22 21:09:14 where is your ppc64e5500 tuning file? Feb 22 21:09:21 does your machine include the tuning file? Feb 22 21:09:49 fray: it needs to include both? Feb 22 21:10:20 machine needs to include the tuning file so that the options are available.. Feb 22 21:10:21 this is the machine conf Feb 22 21:10:22 http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/tree/conf/machine/p5020ds.conf?h=edison Feb 22 21:10:28 the machine should include all possible tunes, and then set the default Feb 22 21:10:54 looks reasonable.. the e5500.inc shoud have includes the ppc config.. Feb 22 21:11:45 require conf/machine/include/tune-ppce5500-32b.inc Feb 22 21:11:49 where is that file? Feb 22 21:12:18 hehe Feb 22 21:12:33 found it... bitbake -e now return non-zero Feb 22 21:12:37 this is wrong IMO Feb 22 21:12:47 fray: that's in oe-core Feb 22 21:13:00 otavio: yes I know, I'm fixing it now Feb 22 21:13:08 bluelightning: ah ok; good Feb 22 21:13:24 looking Feb 22 21:14:00 ok.. both a 32b and 64b tune file exists.. Feb 22 21:14:09 fray: right.. should it be just one? Feb 22 21:14:10 I didn't see the commit, or I would have recommended there only be ONE of them Feb 22 21:14:19 fray: ok… i can fix this Feb 22 21:14:30 i need to follow the ia32 one where they have TWO in one tune file? Feb 22 21:14:34 I'd suggest combining the two.. then adjusting the machine to include the one.. Feb 22 21:14:40 ia32 is "different" Feb 22 21:14:46 lol Feb 22 21:14:50 ok which is a good example then? Feb 22 21:14:54 looking Feb 22 21:16:00 ya.. it's the file let me work it out.. need to look at it locally quick.. Feb 22 21:16:21 fray: by the way, if this config is "wrong" bitbake sort of locks up with no messages Feb 22 21:16:24 so its hard to debug =) Feb 22 21:16:37 (it may be right that there are two.. I didn't see it before that powerpc was also split..) Feb 22 21:16:51 if it's locking up, that is a bug.. keep the files so it can be reproduced.. it absolutely should not be doing that.. Feb 22 21:16:54 fray: well i can take some time here to fix it all up Feb 22 21:17:00 I thought you were just getting incorrect results or errors trying to process the multilibs Feb 22 21:17:11 fray: no… im also using edison currently too Feb 22 21:17:22 fray: should have said that up front Feb 22 21:17:29 shouldn't matter on that Feb 22 21:17:42 but this isn't new either - been here since 1.1 released Feb 22 21:20:19 the FSL name is e5500 right, not PPC e5500? Feb 22 21:20:25 the hang bug in bitbake is fixed in current master, fyi Feb 22 21:20:25 (the official part name/core name?) Feb 22 21:23:09 it's an e5500 core Feb 22 21:23:11 and does the e5500 have traditional hardware floating point? Feb 22 21:23:18 its 32/64 bit part Feb 22 21:23:39 yes it has an FPU Feb 22 21:27:39 i think there are some wires crossed too Feb 22 21:27:45 ppce5500 vs. ppc64e5500 Feb 22 21:27:52 ö Feb 22 21:27:53 http://pastebin.com/0wzBuYuX Feb 22 21:28:00 e5500-32b v. e5500-64b Feb 22 21:28:00 let me explain this quickly.. and I think you'll get it.. Feb 22 21:28:18 yes Feb 22 21:28:22 this is sort of what i though Feb 22 21:28:24 the += bits Feb 22 21:28:39 and other stuff Feb 22 21:28:43 there is one file for the ppce5500.inc.. it includes arch-powerpc64.inc which defines HOW to specify a 64-bit thing.. and in turn includes the powerpc (32-bit) version which defines the basic PowerPC settings, including if it's hard float or not Feb 22 21:29:25 in this file we define a single additional tune value, e5500.. if set will enable the e5500 optimization, and also augment the TUNE_ARCH to include e5500.. (tune_arch is automatically set to "powerpc" or "powerpc64" based on the m32 or m64 feature setting) Feb 22 21:29:47 with this file, you should get two new availabel tunings.. ppce5500 and ppc64e5500.. by default ppce5500 (32-bit) will be used.. Feb 22 21:30:02 include this with the machine, and then in the multilib config add the ppc64e5500 as the alternative config.. Feb 22 21:30:07 does that make sense? Feb 22 21:30:19 (note I haven't tried this.. just worked it out in pastebin, but it should be close) Feb 22 21:30:50 yes Feb 22 21:31:00 i think this make sense Feb 22 21:31:27 but in short.. the way to add new tunings is by adding a minimal TUNEVALID and settings.. then later in the file specify all valid combinations.. DEFAULTTUNE simply sets teh default unless the machine (or user) overrides it Feb 22 21:31:31 we will no longer need the other tune file either? Feb 22 21:31:47 files* Feb 22 21:31:53 ya, the two other files should go away.. (for the change, I'd suggest renaming the 32b one to tune-ppce5500.inc, then making this change.. Feb 22 21:31:56 this one handles both arches Feb 22 21:31:59 it should be more obvious in a diff what changed then Feb 22 21:32:00 yes Feb 22 21:32:04 ya Feb 22 21:33:28 (on PPC at least it's pretty clear the default should almost always be 32-bit.. but witht eh DEFAULTTUNE ?=, it's easy to change to 64-bit if someone wanted to) Feb 22 21:35:05 msm, if you remind me.. I'll try to write up a "how to define a new process/core tuning file" document.. Feb 22 21:35:21 but you may have to pester me a bit.. I'm swamped from now through the first week of March Feb 22 21:36:16 fray: heh, maybe just file a bug Feb 22 21:36:48 fray: this looks to be working as you typed it.. so far =) Feb 22 21:36:58 autif: the binaries you sent look fine, the EDID_bin_read function looks like it gets called by emgd_drv.so, but I'm not sure which .so that lives in Feb 22 21:37:13 ;) Feb 22 21:37:42 tomz1 - ack Feb 22 21:37:45 so what next? Feb 22 21:37:47 autif: I mean EDID_bin_read. I'm also wondering why this hasn't been seen before, probably something different about your display Feb 22 21:38:09 have you been able to repro this with your M2 build? Feb 22 21:38:18 autif: and the EDID-related settings in the xorg.conf Feb 22 21:38:40 autif: I haven't finished building yet, but will try Feb 22 21:38:45 ok Feb 22 21:39:04 autif: will let you know later, but need to leave for a couple hours now Feb 22 21:39:21 I am trying SVDO - which I have been told is any standard monitor Feb 22 21:39:29 connected thru a VGA cable Feb 22 21:39:44 no problem, will catch you tomorrow or something Feb 22 21:39:54 msm - BTW I suggest you use -e and veriy the values of TUNE_ARCH, and PACKAGE_EXTRA_ARCHS is reasonable... Feb 22 21:40:31 autif: ok, I'll let you know once I've tried to reproduce Feb 22 21:44:10 otavio: fixed Feb 22 21:45:28 fray: i spoke too soon it wasn't working right out of hte box Feb 22 21:45:38 fray: whats the difference bettwen TUNE_ARCH and TUNE_PKGARCH Feb 22 21:45:50 On PowerPC the TUNE_PKGARCH is set based on a default value Feb 22 21:46:05 PPCPKGARCH = "${TUNE_ARCH}${PPCPKGSFX_FPU}" Feb 22 21:46:05 TUNE_PKGARCH ?= "${PPCPKGARCH}" Feb 22 21:46:29 since you don't have the e500 FPU stuff.. (and aren't runnign no fpu) the PPCPKGSFX_FPU is blank.. Feb 22 21:46:36 TUNE_ARCH then is used to define it.. Feb 22 21:46:44 TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", "m32", "powerpc", "", d)}" Feb 22 21:46:59 TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", [ "m64" ], "powerpc64", "", d)}" Feb 22 21:47:05 ...and then the new line Feb 22 21:47:09 TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", "e5500", "e5500", "", d)}" Feb 22 21:47:11 ah thats wht its looking for powerpce5500 Feb 22 21:47:16 so you should get powerpce5500 Feb 22 21:48:30 (note I prefer ppc over powerpc -- but that was an OE thing that we kept.....) Feb 22 21:48:49 to be truely correct is should probably be "power" and "power64".. but ANYWAY Feb 22 21:50:23 fray: its needed me to add arch info to meta/class/siteinfo.bbclass Feb 22 21:50:40 dvhart: fixed, thanks Feb 22 21:50:55 Hmmm.. Feb 22 21:50:57 yup. and pulled. thanks for the super quick fix! Feb 22 21:50:59 fray: its not really a new arch though Feb 22 21:51:05 no.. thus the Hmmm Feb 22 21:51:28 what error are you getting from siteinfo? Feb 22 21:51:34 fray: then binutils does not like the target either Feb 22 21:51:55 its using powerpce550 instead of waht the old tunes where for the target machine type Feb 22 21:52:07 ERROR: Unable to determine endianness for architecture 'powerpce5500' | ETA: --:--:-- Feb 22 21:52:07 ERROR: Please add your architecture to siteinfo.bbclass Feb 22 21:52:11 Ahh... that might be my mistake Feb 22 21:52:20 just a sec Feb 22 21:53:50 sorry back.. Feb 22 21:53:59 Ya.. TUNE_ARCH should not have been changed.. Feb 22 21:54:20 so remove the: TUNE_ARCH .= "${@bb.utils.contains("TUNE_FEATURES", "e5500", "e5500", "", d)}" Feb 22 21:54:21 thats wrong Feb 22 21:54:59 add in TUNE_PKGARCH_tune-ppce5500 = "powerpce5500" and TUNE_PKGARCH_tune-ppc64e5500 = "powerpc64e5500" Feb 22 21:55:05 I think that will then do the right thing Feb 22 21:55:23 (those later two should be added after line 10 and 14 of the original pastebin Feb 22 21:57:35 ahh Feb 22 21:57:40 i see you are updating the pastebin Feb 22 21:57:45 look at the one other fix: Feb 22 21:57:45 http://pastebin.com/diff.php?i=s3aQWtBN Feb 22 21:58:25 but it's still complaining about arch Feb 22 21:58:36 I wasn't meaning to update it.. ;) Feb 22 21:59:22 I didn't do the "${PACKAGE_EXTRA_ARCHS_tune-powerpc64}" because I don't see it defined in powerpc64.. ;) (it likely should be) ;) Feb 22 21:59:47 I'd consider that a bug in the existing powerpc/arch-powerpc64.inc BTW.. so feel free to fix it.. ;) Feb 22 22:00:01 for the arch, what is it being evaluated to now? Feb 22 22:00:06 it should be simple powerpc and powerpc64 Feb 22 22:00:28 (we -really- need a readme file or something to document expectations for various architectures and cores) Feb 22 22:00:52 fray: how can I tell? Feb 22 22:00:56 fray: bitbake locks up Feb 22 22:00:59 bitbake -e Feb 22 22:01:25 switch to oe-core, latest master bitbake and try.. see if that resolves the lock up like kergoth said Feb 22 22:01:44 if it does, we need to get the back into Yocto.. if it doesn't.. it's a bug that has to be found.. tunings should never cause lockups Feb 22 22:02:06 I have to run.. I've got my kids birthday in an hour and a half and need to get ready for it.. Feb 22 22:02:25 drop me an email, mark.hatle at windriver.com if you need more help... Feb 22 22:02:33 fray: PACKAGE_EXTRA_ARCH isnt' defined in arch-powerpc.inc either Feb 22 22:02:38 fray: ok thanks for the help Feb 22 22:11:19 meta/classes/kernel.bbclass has variables like moule_autoload_xxx = "xxx" - I am guessing that this makes the module load after boot up. Now, I can not append a bbclass, and I want to add my own module_autoload_yyy = "yyy" to load the yyy module at stat up. How do I do this from my own meta-layer? Feb 22 22:22:08 autif, I've also hit the emgd error, just opened bug 2023 Feb 22 22:25:13 msm: PACKAGE_EXTRA_ARCHS_tune-powerpc-nf = "powerpc-nf" Feb 22 22:25:23 ...and PACKAGE_EXTRA_ARCHS_tune-powerpc = "${PACKAGE_EXTRA_ARCHS_tune-powerpc-nf} powerpc" Feb 22 22:25:26 are in mine.. Feb 22 22:25:42 (note, the second looks wrong to me... since nf and (hardware float) are not compatible Feb 22 22:25:42 fray: ah powerpc-nf has some Feb 22 22:26:07 the second should simply be "powerpc" Feb 22 22:26:41 (there is apparently a lot of misconception that nf ppc and float ppc work together, because most things don't use floating point registers for argument passing.. but it's still wrong, even if it might work, sometimes.. Feb 22 22:26:54 (bash is a good example of something that doesn't work when mixed.. signal handling gets fowled up) Feb 22 22:27:01 dvhart - thanks - that helps Feb 22 22:28:05 tomz1 will get to the bottom of this - likely a missing library - everything compiled fine - just a runtime issue, so likely a missing library Feb 22 22:28:50 fray: ok.. i think ive almost got this sorted out.. and learned a little too Feb 22 22:29:03 i'll CC you on a patch that cleans this up Feb 22 22:30:25 msm: what are some differences between e5500 and e500mc other than e5500 is 64bit Feb 22 22:30:59 khem: not much, there are some new instructions Feb 22 22:31:19 khem: its almost annoying to have to deal with e5500 - but someone things it's worth the possible perf gains Feb 22 22:31:22 msm: so if I am using e5500 in 32bit mode its as good as e500mc Feb 22 22:31:29 khem: basically Feb 22 22:31:50 ok, does e5500 let you boot with 32bit kernel ? Feb 22 22:31:50 msm thanks Feb 22 22:32:41 khem: yes Feb 22 22:32:55 khem: and 64 bit, hence the interest in multilib =) Feb 22 22:33:35 msm: ok. I remember a IBM SOC which needed 64bit kernel since it could not boot into 32bit Feb 22 22:34:25 khem: we still require some 32-bit for booting even so 32-bit is required Feb 22 22:34:37 msm: ok. Feb 22 22:35:12 So do you have some nifty doc where it explains what do I lose if I use e5500 in 32bit mode Feb 22 22:35:17 like instructions etc. Feb 22 22:35:53 iow, does e5500 offer something more on top of say p2020 in 32bit mode Feb 22 22:36:50 khem: not too sure about that Feb 22 22:36:57 if you send me an email I can try to follow up Feb 22 22:37:10 msm: ok Feb 22 22:37:40 khem: the core should be "better" overall even in 32-bit mode Feb 22 22:37:45 khem: but not sure about specifics Feb 22 22:40:00 ok.. I'm gone.. later Feb 22 22:42:08 msm: better hmm in what sense Feb 22 22:45:13 khem: higher clock, larger caches are the obvious ones that come to mind Feb 22 22:45:22 but that's beynd the core a little Feb 22 22:45:59 improved hypervisor/virtualization support Feb 22 22:46:40 https://www.freescale.com/webapp/Download?colCode=E5500RM&location=null&fpsp=1&WT_TYPE=Reference%20Manuals&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Documentation&Parent_nodeId=1276525621883714098789&Parent_pageType=product Feb 22 22:46:47 what a lovely link Feb 22 22:52:38 dvhart: http://cgit.openembedded.org/meta-openembedded/tree/meta-initramfs Feb 22 23:03:39 msm: it asks me to register :) Feb 22 23:03:53 in order to view that link Feb 22 23:08:07 khem: yes.. but that's the relevant manual =) Feb 22 23:26:28 on topic, http://htwins.net/scale2/ Feb 22 23:26:31 barely :) Feb 22 23:31:55 I now know there is something smaller than yocto :) Feb 22 23:34:29 hehe Feb 22 23:38:21 that was awesome! Feb 22 23:38:33 Planck just doesn't have the same ring to it though Feb 22 23:40:08 I think debian should rename itself to yotta Feb 23 00:05:01 autif: my crownbay 1.2m2 build worked - since Darren has also seen it and opened bug 2023, can you also add your information there e.g. Xorg.0.log and dmesg as well as your display setup, thanks Feb 23 00:05:58 hrm, have we bumped the xorg recipes since m2 ? Feb 23 00:06:32 dvhart: are you using m2 or master? Feb 23 00:06:36 master Feb 23 00:07:59 dvhart: autif is using m2 with the same result Feb 23 00:08:03 ah Feb 23 00:26:55 tomz1, dvhart - dmesg and Xorg.0.log are attached to the bug - since this is the first time I have attached something, can you please let me know it made it OK, thanks!@ Feb 23 00:35:10 autif1: yeah, it made it there, thanks Feb 23 02:42:03 Humm /me fighting with bitbake Feb 23 02:42:25 I do that pretty regularly :) Feb 23 02:42:33 kergoth: :-) Feb 23 02:42:49 kergoth: I am getting exit 1 in parsing Feb 23 02:42:59 kergoth: but I didn't find where Feb 23 02:43:14 kergoth: it happens with last master tip only Feb 23 02:46:10 DEBUG: BB /home/otavio/hacking/ossystems/embedded-linux/openembedded-core/meta/classes/autotools.bbclass: handle(data, include) Feb 23 02:46:13 ERROR: Command execution failed: Exited with 1 Feb 23 02:46:18 kergoth: Any clue? Feb 23 02:46:58 kergoth: I tried to change the code in bitbake to show more information about where it is running to try to catch it but it is too complex to my head ;-) **** ENDING LOGGING AT Thu Feb 23 02:59:58 2012 **** BEGIN LOGGING AT Thu Feb 23 02:59:58 2012 Feb 23 03:35:48 kergoth: i found the parsing error ... Feb 23 03:38:07 Hi. Would it be difficult to twist yocto into a tool for build a toolchain to build portable Linux binaries. Feb 23 03:38:35 That is instead of build full cross-compiled disk images? Feb 23 03:40:49 Eddward: probably not, depending on exactly you wanted to achieve. Its a fairly generic build system Feb 23 03:41:50 Yocto make it easy to build Linux images for embedded use.... Feb 23 03:42:34 I'd like to do something similar and build a toolchain that can the produce binaries that should run on multiple distros/releases Feb 23 03:42:35 Eddward: but I once used the build system to cross compile an application for arm-darwin :) Feb 23 03:42:58 There are similar problems to address. Feb 23 03:42:59 Eddward: have a look at the meta-toolchain we generate (and the other nativesdk packages) Feb 23 03:43:18 Eddward: we generate a standalone python for example Feb 23 03:43:43 I'll give it a try and see what I can do. Thanks Feb 23 03:44:07 btw, I'm just following up on a thread here --> http://www.desura.com/groups/desura/forum/thread/missing-libraries#720252 Feb 23 03:44:19 I'm just starting by looking for code to reuse. Feb 23 03:45:42 Eddward: defintely have a look at the meta-toolchain pieces :) Feb 23 03:45:45 * RP__ -> Zzzz Feb 23 09:16:58 morning all Feb 23 09:20:07 morning Feb 23 09:53:37 morning all Feb 23 09:54:01 JaMa|Off: I posted the sstate kernel-module patches yesterday. Are there any other sstate issues you're still seeing? Feb 23 09:55:18 I've added those to my branches.. running tests now Feb 23 09:55:41 but at least I'll need to extend that list of excluded recipes Feb 23 09:56:35 now with datacache available, can we declare "sstate ignored" dependencies in recipe and add section to sig handler to ignore those? Feb 23 09:56:49 JaMa|Off: thanks. I'm in two minds about that exclusion list. I really only want things in there that are really needed Feb 23 09:57:05 JaMa|Off: recipe writers will just start excluding all kinds of things Feb 23 09:57:40 which is imho better even for stuff like pointercal, that we can exclude it from 1 recipe and keep it in some other Feb 23 09:58:01 yes but they will do it in their layers Feb 23 09:58:27 JaMa|Off: I've been hoping this list can be very very small Feb 23 09:58:30 not asking you to exclude all kinds of valid entries you haven't even seen because it's in some layer somewhere Feb 23 09:58:55 I have "config" recipes for lot of fso and shr stuff.. Feb 23 09:59:33 I know I can create my own SHRbasichash .. but that would require duplicate more stuff Feb 23 09:59:35 JaMa|Off: pulled in by task packages or dependencies from the apps themselves? Feb 23 09:59:52 and also imply that meta-smartphones depend on own basichash.. Feb 23 10:00:03 usually from apps Feb 23 10:00:17 so apps are rebuilt Feb 23 10:00:32 JaMa|Off: I guess I have no choice in this Feb 23 10:01:20 I think that "recipe writers will just start excluding all kinds of things" is just their problem.. it's the same as when they don't set (R)DEPENDS correctly etc.. Feb 23 10:02:04 JaMa|Off: well, we can try and stop them shooting themselves in the foot... Feb 23 10:02:23 JaMa|Off: perhaps we should do this at the layer level Feb 23 10:02:53 that some layer files lists excludeable recipes? Feb 23 10:03:22 JaMa|Off: yes. recipe level doesn't entirely make sense unless the exclusion list is per recipe which is going to cause duplication Feb 23 10:03:58 (since we want all users of pointercal to exclude it and if the info is in pointercal itself, that is a hard problem) Feb 23 10:04:01 * JaMa|Off is not sure if duplication in this case is so big problem Feb 23 10:04:22 if pointercal is included from xserver-common then we probably don't want to make xserver-common machine specific Feb 23 10:04:26 JaMa|Off: I mean every *user* of pointercal or base-files would have to exclude it Feb 23 10:04:52 but if it's included in task-foo, than maybe it's good that task-foo keeps pointercal as dep Feb 23 10:05:26 Either these things have a stable interface or they do not Feb 23 10:06:55 I mean that if task-foo is machine specific, than excluding pointercal from its deps doesn't have any advantage IMHO Feb 23 10:07:18 so we can be more carefull with excluding only from recipes where it does matter Feb 23 10:07:37 but I see your point about stable or not Feb 23 10:10:15 bbl Feb 23 10:10:26 JaMa|Off: I have a patch I'll propose Feb 23 10:34:33 morning all Feb 23 10:34:52 hi JaMa|Off, otavio, RP__ Feb 23 10:49:00 otavio: how did you get on with the build error? Feb 23 10:49:53 icanicant: i had an error in one recipe Feb 23 10:50:03 icanicant: most probably you also have it Feb 23 10:50:27 icanicant: not easy to trace it. Feb 23 10:51:13 * bluelightning -> office Feb 23 10:52:09 RP__: this is one thing it would be nice to get better in bitbake (although looking at code seems not easy to do) ... when bitbake trigger event as bb.command.CommandFailed it would be nice to have the recipe name that has it Feb 23 10:52:54 otavio: I think we should be able to address that Feb 23 10:53:00 otavio: did you find out which recipe yet? Feb 23 10:53:22 bluelightning: it took me two hours to trace it since it just blow up heh Feb 23 10:53:35 icanicant: it was one in our internal layer Feb 23 10:55:44 otavio: ah, ok. for me it happened when i pulled down updated layers last night. Feb 23 10:56:01 icanicant: what layers do you use? Feb 23 10:56:36 otavio: the full angstrom set and a couple of custom ones Feb 23 10:57:26 will dig deeper later. i just assumed it was a generic problem seeing as you saw something similar at the same time. Feb 23 10:58:06 icanicant: me too; but then i traced it down to our recipe Feb 23 11:14:25 otavio: there is an open bug about the error handling Feb 23 11:14:40 otavio: somehow the multiprocess parsing seems to be eating the error messages :/ Feb 23 11:16:23 RP__: heh Feb 23 12:34:33 is there support for a read-only remote sstate cache/archive? Feb 23 12:34:59 or even a read-only local one Feb 23 12:35:28 the refman only mentions SSTATE_DIR Feb 23 12:36:08 Zagor: yes, SSTATE_MIRRORS is what you want to set for that Feb 23 12:36:28 it functions exactly like MIRRORS / PREMIRRORS, so local URIs can be used as well Feb 23 12:36:53 excellent Feb 23 12:37:27 the next release should have much better sstate documentation btw :) Feb 23 12:37:55 nice! Feb 23 13:30:37 bluelightning: What the state of the SSTATE_MIRROR over http for edison. I can't seem to get it to accept anything from the remote side. Feb 23 13:31:47 d4ny: it should work if you've set SSTATE_MIRRORS (note _MIRRORS not _MIRROR) correctly Feb 23 13:57:42 is there any limit to cmd in os.system(cmd)? sed call for all from perl's sstate_hardcode_path is 560410 characters long and doesn't seem to be executed from python, but when I execute same command in shell it does work Feb 23 14:17:01 JaMa|Off: hmm, we probably should break that up a bit :/ Feb 23 14:17:17 JaMa|Off: I don't know what limitations os.system has in the regard Feb 23 14:18:23 Zagor: You can see the current documentation at http://www.yoctoproject.org/documentation/docs-in-progress Feb 23 14:19:22 ok Feb 23 14:19:41 Zagor: http://www.yoctoproject.org/docs/latest/poky-ref-manual/poky-ref-manual.html does reference SSTATE_MIRROR Feb 23 14:19:47 * RP__ just wanted to check :) Feb 23 14:19:56 yeah, I checked too :-) Feb 23 14:20:19 RP__: I was thinking about executing that send with find directly, do you see any issue with that? Feb 23 14:20:56 well as long as SSTATE_SCAN_CMD _is_ find :/ Feb 23 14:21:24 JaMa|Off: I think we should just split into say 100 file chunks Feb 23 14:21:34 but appending " | xargs ${SED_CMD} " should work too Feb 23 14:21:35 * RP__ did this somewhere else recently, where was that? :/ Feb 23 14:22:09 JaMa|Off: see chunks() in package.bbclass Feb 23 14:22:56 can I get more debug output from do_fetch? one target doesn't fetch from my mirror and I'd like to see what it does. Feb 23 14:23:38 RP__: and is it better (or faster) to read them in python just to join them back together for sed? Feb 23 14:24:15 JaMa|Off: likely that should be fine Feb 23 14:24:18 RP__: or is it just to generate sfixmepath ? we can do that too in pipe after SSTATE_SCAN_CMD Feb 23 14:24:34 JaMa|Off: it would be less exec calls than calling sed for eas file Feb 23 14:24:38 s/eas/each/ Feb 23 14:25:39 that's possible with xargs too, isn't it? Feb 23 14:25:51 JaMa|Off: true Feb 23 14:26:14 * JaMa|Off thinks it's even default xargs behavior Feb 23 14:26:22 to split it only to system posible chunks Feb 23 14:27:36 heh for cross it attaches all files even twice.. Feb 23 14:27:54 I guess 2 expressions in one sed command are also faster Feb 23 14:28:16 if it's not some extension of sed not portable to other systems Feb 23 14:34:50 RP__: I'll test something like http://paste.pocoo.org/show/555558/ tonight Feb 23 14:57:06 likewise, it's not using my sstate mirror either. I'd like to see why. Feb 23 15:00:07 JaMa|Off: looks good Feb 23 15:00:48 Zagor: -DDD might help you see what's happening Feb 23 15:01:03 Zagor: what did you set SSTATE_MIRRORS to? Feb 23 15:01:45 "file://.*/.* http:///sstate-cache/" Feb 23 15:02:09 JaMa|Off: I didn't follow in detail, does it mean we can have xinput-calibrator & pointercal in oe-core soon? Feb 23 15:03:32 ant_work: moving them to oe-core doesn't really depend on anything.. Feb 23 15:04:16 ant_work: you can just copy latest version from meta-oe and add pointercal-xinput to SIGGEN_EXCLUDERECIPES_ABISAFE Feb 23 15:05:15 ant_work: there was even patchset doing that maybe half year ago.. but author haven't used latest meta-oe version so it was full of machine specific stuff and after review comments he never sent v2 :/ Feb 23 15:06:04 I think it makes sense now that xinput is in oe-core Feb 23 15:06:54 and if I don't add the SIGGEN_ stuff what happens? lot of rebuilds? tolerable? Feb 23 15:06:56 RP__: neither -DDD nor -vvv gives me any more info. just "task do_fetch: Started" and "task do_fetch: Succeeded" Feb 23 15:08:17 ant_work: same behavior as now.. so it's fine to add it now and then update SIGGEN_EXCLUDERECIPES_ABISAFE later when RP's patch is in Feb 23 15:09:00 JaMa|Off: I plan to launch a multimachine build, I'll note what will be rebuilt Feb 23 15:10:09 hmm from where this is? :/ sh: /OE/oe-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/rpm/bin/rpmdeps-oecore: No such file or directory Feb 23 15:11:28 weird. gcc is fetched from yoctoproject while binutils fetches from my mirror. Feb 23 15:12:23 ant_work: better use RP's method to detect rebuilds without actually building them Feb 23 15:13:25 I've automated it for all machines like this: Feb 23 15:13:27 find tmp-eglibc//stamps/ -name \*sigdata\* | xargs rm -f; for MACHINE in om-gta01 om-gta02 nokia900 om-gta04 palmpre palmpre2 crespo; do export MACHINE; bitbake shr-image task-shr-feed -S; find tmp-eglibc/stamps/ -name \*sigdata* | sort > stampsall.${MACHINE}; grep -v "\(om_gta0\)\|\(nokia900\)\|\(palmpre\)\|\(crespo\)" stampsall.${MACHINE} > stamps.${MACHINE}; done Feb 23 15:14:30 nice. I can only say things have improved much e.g. when configuring multiple kernels Feb 23 15:14:53 for similar machines Feb 23 15:22:49 RP__: any suggestions how I can troubleshoot this? Feb 23 15:24:16 SSTATE_MIRRORS appears to have no effect whatsoever. PREMIRRORS_prepend have effect on some/most packages but is strangely ignored for others. Feb 23 15:26:58 RP__: with gcc 4.7 now libstdc++ will need libgcc build tree :( Feb 23 15:27:00 Zagor: Try file://.* Feb 23 15:27:19 RP__: so I looked briefly what we do Feb 23 15:27:40 RP__: I guess we need to change how we build libgcc a bit Feb 23 15:27:48 khem: why? That is a major step backwards Feb 23 15:27:50 RP__: as well gcc-runtime Feb 23 15:28:05 RP__: I dont know ask gcc devs Feb 23 15:29:07 RP__: to cope with it I think what I did is stuff the gcc-cross build tree into staging instead of just libgcc install tree Feb 23 15:29:29 then unroll it in both libgcc and gcc-runtime Feb 23 15:30:08 I guess I can cut it more down to just needed files Feb 23 15:30:21 instead of whole tree as I do now Feb 23 15:30:35 btw today I got couple off build issues with gcc-cross-initiall (undefined constants) is it possible that libgcc.do_headerfix is breaking shared gcc code if runs in parallel with gcc-cross-initial? Feb 23 15:31:08 or is do_headerfix executed only on local copy of shared gcc code? Feb 23 15:31:12 how can libgcc.do_headerfix run in parallel with gcc-cross-initial Feb 23 15:31:37 mmt I'll find that cooker log Feb 23 15:32:00 but I have seen that 3 times in the morning (always build from scratch without sstate or anything) Feb 23 15:32:02 sometimes I feel we should have done a unified tree build for toolchain Feb 23 15:32:12 RP__: that seems to work better. Feb 23 15:32:21 khem: I think stuffing the tree is our best option Feb 23 15:32:26 Zagor: cool :) Feb 23 15:34:23 khem: cooker log http://paste.pocoo.org/show/555585/ and referenced do_compile.log http://paste.pocoo.org/show/555586/ Feb 23 15:35:04 khem: I'm not 100% sure they were running in parallel just that libgcc.do_headerfix was close to that build error is suspicious Feb 23 15:35:28 khem: also that constant didn't disappear without reason.. reruning same build finished fine then Feb 23 15:35:29 oh, that was what manual actually says... *facepalm* Feb 23 15:36:25 JaMa|Off: what did we do to break it Feb 23 15:36:48 are there some patches that got you there ? Feb 23 15:39:55 khem: not sure if it's the same error (or cause) I've sent you while ago.. maybe it's Feb 23 15:40:13 RP__, is the bitbake-devel list subscriber post only ? I can't get the pages to come up to check :) and was trying to bast off my patch. Feb 23 15:40:19 khem: so it could be old issue just making things faster shows it more often now Feb 23 15:44:12 zeddii: hmm, lists.linuxtogo.org seems to be having some issues Feb 23 15:44:31 at least the web part anyway Feb 23 15:44:44 florian: do you know what's happening there? Feb 23 15:47:39 bluelightning: yes only the webserver bexause od some spam problems and noone with time to get it fixed. :-( Feb 23 15:48:51 I can work around that if I can post without being a subscriber .. otherwise, I'm in a catch-22 :) Feb 23 16:06:42 * JaMa|Off bbl (4hours) Feb 23 16:06:52 hmm, does the poky repo use combo-layer? I thought it did, but there doesn't appear to be a combo-layer.conf for it Feb 23 16:30:14 msm: were you able to get the lock up resolved Feb 23 16:35:38 fray: yes, i think it was fixed in master anyways Feb 23 16:35:48 fray: i've tested those patches i sent against master Feb 23 16:35:59 first i should ask if you saw the patches I posted Feb 23 16:36:35 I didn't.. I'll go look again Feb 23 16:36:47 ahh I see them now.. Feb 23 16:39:49 msm, ya it looks fine Feb 23 16:40:11 fray: forgot to cc you Feb 23 16:40:21 no problem Feb 23 16:40:34 this should also simplify things Feb 23 16:43:25 halstead - did something change between yesterday and today? when I git clone meta-mono, I get fatal: remote error: access denied or repository not exported: /meta-mono Feb 23 16:43:57 no issues with poky or meta-intel Feb 23 16:49:29 autif, Let me check. Feb 23 16:52:14 autif, I missed a line in the config. It should be fixed now. Feb 23 16:53:35 helstead - got it - works now, thanks! Feb 23 18:32:07 bluelightning: you have a couple of RFC's pending, are they now final as they have no comments? Feb 23 18:32:29 sgw: philip has just found an issue with the qt one Feb 23 18:32:50 sgw: the other two, I'll resend them as non-rfc Feb 23 18:32:59 bluelightning: Ok thanks. Feb 23 18:36:06 dvhart, tomz1- I built master, when I startx on corwnbay - I get twm, xterm, xclock not found - I bitbaked core-image-sato Feb 23 18:36:50 autif: so are you past the edid problem> Feb 23 18:37:35 tomz1 - this is on master - so, yes likely it is past the edid issue Feb 23 18:38:32 http://pastebin.com/Ryarmp7V <———— result of startx Feb 23 18:38:36 autif: so you're in a sato desktop, but the problem now is you're not finding the apps you want? Feb 23 18:38:39 need Xorg.0.log too? Feb 23 18:39:04 no, sot in sato, there is no X Feb 23 18:39:15 screen is text only Feb 23 18:41:35 autif: normally x is started using /etc/init.d/xserver-nodm start Feb 23 18:42:47 got it - before M2 - I was able to startx Feb 23 18:43:19 anyway = /etc/init.d/xserver-modm seems to be working - I just need to fix the hsync and vsync Feb 23 18:43:21 autif: so, before M2, everything worked fine, sato, etc Feb 23 18:43:39 yes, before M2 - on edison - everything worked Feb 23 18:44:04 it broke with M2 and seems like it is fixed in master - so I might stay with master until M3 is cut Feb 23 18:44:39 still waiting for xorg.conf changes from Jeff (local X expert) Feb 23 18:45:47 autif: ok, so bug 2023 is only 1.2 M2 for you, master works fine, and edison works fine, on the same hardware, etc? Feb 23 18:48:55 yes, i think so Feb 23 18:49:07 master seems to be running fine Feb 23 18:49:38 something is wrong with my xorg.conf Feb 23 18:49:54 incorrect resolution Feb 23 18:50:00 that should be resolvavble Feb 23 18:50:07 i think I might be all set Feb 23 18:50:11 thnaks! Feb 23 18:51:04 autif: ok, yes, xorg.conf can sometimes be hard to get right Feb 23 18:56:11 hrm Feb 23 18:56:24 wonder what is happening with the fri2 bsp then Feb 23 19:36:24 sgw: done Feb 23 19:36:30 bluelightning: thanks Feb 23 19:36:42 also sent out the corresponding poky patch Feb 23 20:41:27 * mranostay yawns Feb 23 21:38:23 so silly question time. does poky not have a amend.bbclass functionality? Feb 23 22:43:26 dvhart: linux-yocto(-tiny) is slowly fetching, I was just too impatient Feb 23 22:52:13 pidge: ping Feb 23 22:53:02 ant_: pong Feb 23 22:53:32 pidge: hi, how would you match with spdx scheme a recipe generally declaring BSD/GPL ? Feb 23 22:54:19 (is klibc, I'm reading the copyright file in the debian packages) Feb 23 22:54:29 ant__: which GPL version? Feb 23 22:54:33 heh Feb 23 22:54:52 let me see if git has more info Feb 23 22:55:09 mranostay: not needed anymore. bitbake supports it directly now Feb 23 22:55:24 LICENSE = "BSD & GPL-2.0" (or GPLv2.0 but it should be M.m) Feb 23 22:55:29 mranostay: for .bb, create a .bbappend, and ensure it's in BBFILES Feb 23 22:55:49 mranostay: all bbappends will be added onto the end of the recipe parse. this is instrumental to the use of layers, it'd be extremely difficult to leverage layers without it Feb 23 22:57:26 pidge: wrt BSD, here says 'clause 3' http://git.kernel.org/?p=libs/klibc/klibc.git;a=blob;f=usr/klibc/LICENSE Feb 23 22:58:26 and GPL "version 2" Feb 23 23:00:39 ant__: then LICENSE = "BSD-3-Clause & GPL-2.0" Although I'm seeing disagreement amongst distros on this. OBS says one thing Gentoo .ebuild another. Feb 23 23:01:01 I'm looking at the sources in kernel.org Feb 23 23:01:20 I think we can trust those Feb 23 23:02:15 ant__: Are you pkging up zlib with it? Feb 23 23:02:32 iirc no, let me see Feb 23 23:02:41 * pidge notices zlib under the src tree Feb 23 23:03:37 ant__: one moment, let me verify this. Feb 23 23:04:46 well, we package gzip Feb 23 23:05:25 ant__: ok, so, from the LICENSE file info I'm seeing this: LICENSE = "BSD & GPL-2.0 & MIT" Feb 23 23:05:33 ant__ the last bit is MITish Feb 23 23:06:07 oh, I did not sroll enough Feb 23 23:06:10 kergoth: thanks Feb 23 23:06:35 pidge, what about clause 3? Feb 23 23:06:38 ant__: yeah, but from the gzip recipe, correct? Feb 23 23:06:54 I suppose yes, maybe zcat too Feb 23 23:07:36 mranostay: np. downside is you have to create a bbappend for each recipe, whereas amend.inc could apply to multiple at once, but the upside is it gets around a few evaluation order problems amend.bbclass had, and is built into bitbake, so performs better Feb 23 23:07:41 pidge: I was confusing with kexec-tools-klibc, where we have EXTRA_OECONF += "--without-zlib" Feb 23 23:09:22 ant__: Sorry. LICENSE = "BSD-3-Clause & GPL-2.0 & MIT" (If it's --without-zlib). if not then it's: LICENSE = "BSD-3-Clause & GPL-2.0 & MIT & Zlib" Feb 23 23:10:31 pidge: many thanks Feb 23 23:10:42 I'm forwarding the info in #klibc Feb 23 23:10:44 kergoth: yeah i noticed.... Feb 23 23:10:57 oh well Feb 23 23:23:10 kergoth: so I assume INCOMPATIBLE_LICENSE="GPLv3" is dumb in that can't see that a "GPLv2 & GPLv3" is okay, right..? Feb 23 23:26:15 mranostay: That's not dumb. If something contains both GPLv2.0 and GPLv3.0 then it's incompatible as it has components that have those licenses. I'm not sure about " GPLv2.0 | GPLv3.0 " though. In that case it probably shouldn't set as incompatible. Feb 23 23:27:09 ah right d'oh Feb 23 23:27:56 Zyrtec has shut my brain off it seems Feb 23 23:29:49 dvhart: so far so good, linux-yocto-tiny is applying my patch and fetching my bootlogo Feb 23 23:30:40 ant__, great! Feb 23 23:30:45 dvhart: ah, is failing now :/ Feb 23 23:30:53 pffff Feb 23 23:30:59 d9cbb7fbbe-r1/poodle/gen_poodle_desc.scc_tmp: No such file or directory Feb 23 23:31:14 'ERROR. Could not update yocto/standard/base' Feb 23 23:31:22 the first error is the problem Feb 23 23:31:38 confirm that the file is in the FILESPATH and that it is listed on the SRC_URI Feb 23 23:31:45 ERROR: required features were not found. aborting Feb 23 23:31:58 hm.. I have to feed it with more infos... Feb 23 23:54:04 dvhart: somehow patch is failing, is trying to patch twice... hm.. Feb 23 23:54:28 are you applying a patch? Feb 23 23:54:55 if so, do you have it listed twice? once in the scc and once in the recipe? Feb 23 23:55:16 yes Feb 23 23:55:17 http://paste.debian.net/157359/ Feb 23 23:55:51 http://paste.debian.net/157360/ Feb 23 23:56:22 w/out .scc was erroring out Feb 24 00:01:08 dvhart: ok, adding an empty .scc is a way to go ahead... now, how to inject the initramfs like done in kernel.bbclass? Feb 24 00:01:22 /linux/scripts/gen_initramfs_list.sh: Cannot open 'initramfs.cpio.lzma' Feb 24 00:03:50 ant__, sorry, I wish I could dig into this right now - but I'm a bit buried in some time sensitive tasks atm Feb 24 00:04:16 np, sorry for having bothered you so much ;) Feb 24 00:04:24 ant__, I suggest an email to the yocto list with tomz, myself, and zedd on CC Feb 24 00:04:35 ant__ not at all, I want to see what you're doing Feb 24 00:04:48 sometimes other things get in the way of the fun stuff though :/ Feb 24 00:04:50 well, I'll spend some more hours on it before Feb 24 00:04:58 sending a mail ;) Feb 24 00:05:12 still some obscure edges Feb 24 00:05:27 thanks again Feb 24 00:05:58 sure Feb 24 00:39:23 dvhart: -rw-r--r-- 1 andrea users 1570288 Feb 24 01:37 zImage-3.0.12-yocto-standard+ Feb 24 00:39:26 :) Feb 24 00:42:30 yahwnn. Feb 24 00:42:32 gn **** ENDING LOGGING AT Fri Feb 24 02:59:58 2012 **** BEGIN LOGGING AT Fri Feb 24 02:59:58 2012 Feb 24 03:20:19 hah Feb 24 03:20:32 So I got a bug report about pseudo. Sure enough, user error. Feb 24 03:20:40 ... I was the user who'd written that hunk of build system. Feb 24 03:20:52 Hoist by my own petard. Feb 24 03:29:24 :) Feb 24 04:13:47 Question about rebuilds. I know that if you edit a recipe, bitbake will automatically rebuild that recipe. How about when a recipe points to a git repo? Is there any way to have bitbake automatically rebuild a recipe when things have been checked into the repo? Feb 24 08:25:32 morning all Feb 24 11:11:26 morning Feb 24 12:02:47 wrapping wget to produce a parameter log turned out to be a useful tool for debugging my mirror settings Feb 24 12:05:08 Zagor: did the log.do_fetch not help at all? if not we should probably improve the debugging output Feb 24 12:05:34 oh, I missed that suggestion. Feb 24 12:06:00 I only tried the -DDD and -vvv options Feb 24 12:06:06 ah right Feb 24 12:06:30 -DDD should be printing out everything in log.do_fetch however it will print out a lot of other noise Feb 24 12:07:19 in that case I would say log.do_fetch is insufficient Feb 24 12:08:39 Zagor: ok, if you could elaborate on what we could print out that it currently doesn't that would be great Feb 24 12:09:23 whee. with download and sstate mirror my "build" now takes 7m instead of 3h :-) Feb 24 12:09:38 :) Feb 24 12:09:51 sstate can make a massive difference Feb 24 12:12:43 even with -DDD do_fetch says nothing other than "Started" and "Succeeded". Feb 24 12:13:02 I would suggest it at least prints the URLs it tries, and any non-successful results Feb 24 12:13:45 hmm... that doesn't sound right Feb 24 12:13:53 I'll try that here now Feb 24 12:14:00 I'm on edison btw Feb 24 12:14:09 haven't tried on trunk Feb 24 12:14:32 ok Feb 24 12:16:54 hmm, even with master you're right, it doesn't print anything for the task itself Feb 24 12:17:00 this is a bug I think Feb 24 12:19:52 still, it definitely does log useful info to log.do_fetch Feb 24 12:20:21 oh, where is the log? Feb 24 12:20:35 for example http://pastebin.com/yWgWJRBT Feb 24 12:21:22 you can find it in TMPDIR/work/*/pn-pv-pr/temp/log.do_fetch Feb 24 12:21:56 right, that looks better Feb 24 13:06:32 I'm seeing odd behaviour with the sstate mirror. it just compiled dbus from source, but after a "cleanall dbus" it happily fetched it from my mirror! Feb 24 13:06:53 the mirror being unmodified between the runs Feb 24 13:17:38 mebrown: There is a way of enabling automatically incrementing source revisions Feb 24 13:17:47 mebrown: Look for information about AUTOREV Feb 24 13:22:58 Zagor: keep in mind the sstate files are not fetched as part of do_fetch Feb 24 13:23:27 Zagor: There are separate _setscene tasks which would do the sstate files fetch/install Feb 24 13:24:07 Zagor: The trouble is cleanall can't clean a remote mirror Feb 24 13:24:32 right, but it looks to me like it made different decisions the two different runs based on the same information Feb 24 13:25:56 the first run was in a clean dir without even having the download/ and sstate-cache/ local directories Feb 24 13:26:15 and the second was after "cleanall dbus" Feb 24 13:27:48 Zagor: so you're saying cleanall didn't remove something it should have from downloads or sstate-cache? Feb 24 13:28:21 I'm saying from my understanding both runs should have done the same thing: either fetching from the mirror or building from source Feb 24 13:29:19 s/fetching/downloading/ Feb 24 15:09:19 RP__: can we disable package creatin in shadow-sysroot_4.1.4.3.bb somehow? Feb 24 15:09:48 JaMa|Off: set PACKAGES = "" ? Feb 24 15:09:59 RP__: dbus-dev depends on shadow-sysroot-dev which depends on shadow-sysroot and this as another copy of /etc/login.defs already provided by shadow Feb 24 15:10:15 s/this as/this has/ Feb 24 16:35:53 JaMa|Off: did PACKAGES = "" help? Feb 24 16:36:09 JaMa|Off: I'm also curious if you tried my suggested altnerative to the NATIVESDK vars? Feb 24 16:37:33 RP__: build still running for PACKAGES Feb 24 16:37:43 and haven't tried NATIVESDK var yet Feb 24 16:37:56 but it's in my queue Feb 24 16:38:10 er INCOMPATIBLE_LICENSE="GPLv3" picks up the native bintuils. how can you build anything? :) Feb 24 16:38:31 RP__: hi, so I'v seen the fix for the QA about unpackaged empty dirs is to remove them before packaging Feb 24 16:38:48 ant_work: it depends on the particular case Feb 24 16:39:23 JaMa|Off: ok, I'm just working through the patches on the list and wondered about those ones :) Feb 24 16:39:50 RP__: I see, I have a couple of QA to fix in klibc, one is about empty dirs, the other about missing staticdev Feb 24 16:40:04 RP__: I guess it won't work for me.. because I was scannig whole -e output for variables which match my python location... Feb 24 16:40:42 RP__: and finally with the help of pidge we could sort out the correct license for klibc :) Feb 24 16:41:11 JaMa|Off: The STAGING_DIR* variables should be close Feb 24 16:41:26 JaMa|Off: One looked like it would need a ../ in it Feb 24 16:41:33 ant_work: great Feb 24 16:44:56 mranostay: hah Feb 24 16:45:08 mranostay: yeah, i've noticed that excluding gplv3 is not an easy prospect right now :| Feb 24 16:45:55 kergoth: iirc compiler + linker GPLv3 can produce non-GPLv3 code right? :) Feb 24 16:46:19 :) Feb 24 16:46:27 clearly the INCOMPATIBLE bits need a bit of love Feb 24 16:46:52 RP__: PACKAGES = "" helps a bit.. package doesn't exist so opkg wont be able to install it.. only issue is bug in opkg doesn't remove package entries from /var/lib/opkg/status so it complains "Package shadow-sysroot-dev is not available from any configured src." instead of "unsatisfied recommendation for shadow-sysroot-dev", but I'll send patch tonight as it's still improvement Feb 24 16:47:07 Its not covered by the autobuilder, it is covered by manual QA. Its what is now blocking 1.1.1 being released Feb 24 16:47:24 JaMa|Off: ok Feb 24 16:47:33 and of course dbus-dev still depends on shadow-sysroot-dev Feb 24 16:47:46 s/depends/recommends/ Feb 24 16:47:53 -on Feb 24 16:49:23 JaMa|Off: right, that is a bit messy Feb 24 16:50:11 JaMa|Off: although no worse than the 100s of other broken depends that code injects Feb 24 16:52:59 yep Feb 24 16:54:03 RP__: btw are you reviewing/build testing that sstate hardcoded-paths patch from yesterday? Feb 24 16:54:22 JaMa|Off: You said you were testing it further? Feb 24 16:54:39 RP__: I've tested it with my favourite qemux86-64copy and it's solid Feb 24 16:55:44 JaMa|Off: cool, I'll pull that in then Feb 24 16:55:58 * mranostay goes off to battle the trees Feb 24 16:56:00 I've changed sstate.bbclass to keep SSTATE_BUILDDIR and then greped all SSTATE_BUILDDIRs in tmpdir for qemux86-64copy and it was clean Feb 24 16:56:24 JaMa|Off: sounds good :) Feb 24 16:57:17 RP__: some time ago I posted patches for thumb tuning. It would be nice if you could look at them ? Feb 24 16:57:50 khem: I remember looking at them and they seemed wrong. I've not got back to figure out why I felt they were wrong but I think Phil replied Feb 24 17:06:37 RP__: let me find Phil's reply Feb 24 17:07:17 hmm ltg is down it seems Feb 24 17:07:57 khem: have you found any more patches for thumb+gold issue? I've rebuilt my image with bfd and I can confirm the issues are caused by gold only Feb 24 17:08:46 khem: and I guess important part is that affects only armv4t, armv5t and higher seems fine Feb 24 17:10:07 JaMa|Off: I had a hunch it was gold bug Feb 24 17:10:29 JaMa|Off: I will try to reproduce it here and see if I can dig out a fix Feb 24 17:10:57 great, thanks Feb 24 17:16:38 RP__: ok I refreshed thumb issue Feb 24 17:17:21 RP__: problem we have is following. We changed the meaning of 'thumb' with tuning overhaul Feb 24 17:17:43 RP__: thumb use to be in overrides if the code was being compiled in thumb mode Feb 24 17:18:03 but now its in overrides if the given core supports thumb Feb 24 17:18:28 thats a big semantic difference and some recipes use thumb override Feb 24 17:18:46 in the sense that code it being compiled for thumb mode Feb 24 17:19:20 now when I think a bit more I think we have used thumb to denote interworking semantics Feb 24 17:19:30 where we append 't' and 't2' to packages Feb 24 17:19:43 while the package itself may not be compiled in thumb mode Feb 24 17:20:47 so I think we have two aspects. 1. how its built what ISA is used 2. What package arch is it Feb 24 17:22:08 right now we kind of take care of 2. Feb 24 17:22:22 for 1. we use ARM_INSTRUCTION_SET variable Feb 24 17:24:46 khem: I'm sorry but I don't have time to do this conversation justice right now :( Feb 24 17:28:35 I will be sort of interested if you find a good way to resolve that distinction, because I know the WR build system has some kludges in that general area too. Feb 24 17:29:05 The possibility of intermixing code for two things that would otherwise be considered CPU variants breaks a number of assumptions. Feb 24 17:29:14 ERROR: Task do_package_setscene depends upon nonexistant task /home/otavio/hacking/ossystems/embedded-linux/openembedded-core/meta/recipes-core/base-passwd/base-passwd_3.5.22.bb:do_populate_sysroot_setscene Feb 24 17:29:14 yes Feb 24 17:29:30 I wipped out tmpdir and deploy; now my build fails with this Feb 24 17:29:33 seebs: thats why I introduced thumb and thumbmode Feb 24 17:29:41 any clue what might be the cause of it? Feb 24 17:29:42 where thumb means the core supports thumb Feb 24 17:29:54 and thummode means the code is compiled in thumb intructions Feb 24 17:30:57 I think what packaging care about is if the code is interworking or not Feb 24 17:31:10 it really does not care if its compiled in thumb or arm Feb 24 17:38:30 otavio: were you trying that externalsrc code? Feb 24 17:38:51 RP__: no ... it wasn't me. Feb 24 17:39:02 RP__: my case was the gitpkgv ;-) Feb 24 17:40:16 life would be so simple of we just did not support arm < armv5t :) Feb 24 17:43:00 khem: :) Feb 24 17:43:37 JaMa|Off: can I buy back your armv4t device Feb 24 17:44:56 khem: no but you can hope that everyone who still has om-gta0[12] will swap board for om-gta04 with armv7a Feb 24 17:45:27 ok, I will add that line to my daily prayers Feb 24 17:46:06 RP__ , sgw , So I've done my research and the software from reviewboard.org requires review requests to be made via the webUI or via a command line python tool. Adding any sort of e-mail gateway would be a huge project. Feb 24 17:47:56 halstead: thanks for looking into this, I guess we stick with same process we have right now. Feb 24 17:50:14 Good ... this error happens even with a build from scratch Feb 24 17:50:40 RP__: any guess what might have broken this? I am using oe-core and bitbake tip's Feb 24 17:50:45 sgw, Okay. If I could get some volunteer time with a process engineer would it be worth setting up a conference call to outline minimum viable product? Feb 24 17:56:52 otavio: my guess is something from today.. because yesterday I did few builds from scratch Feb 24 17:57:34 JaMa|Off: It seems to be on oe-core, not bitbake Feb 24 17:58:10 JaMa|Off: ahhh Feb 24 20:00:37 RP__: I'm building all combinations of SDKMACHINE/MACHINE/gdb-cross-canadian to be sure, but proposed STAGING_INCDIR doesn't match where my python-nativesdk is staged.. will send those combinations to list when it's ready Feb 24 21:45:14 if I build "virtual/kernel" it builds "linux-dummy", how do I make it build a kernel recipe I have in my layer? Feb 24 21:46:17 tomz2 - during ELC, you showed me how to configure the kernel "bitbake linux-yocto -c menuconfig", I now have a diff of .config in a file (say) config.diff - how do I append the linux-yocto recipe to include this config change? adding it in SRC_URI does not seem to help Feb 24 21:50:30 this is for the touchscreen - i think i need evdev - which is not configured for the kernel - I need to patch that Feb 24 21:51:41 autif: SRC_URI += "file://xxx.cfg" should work. Feb 24 21:54:12 trying to rename it Feb 24 22:00:22 tomz1 - http://pastebin.com/7ZXyCLeS I have this now. However, config.cfg is copied to tmp/work/crownbay/linux-yocto/ and it is not applied to tmp/work/crownbay/linux-yocto/linux-corwnbay/.config Feb 24 22:02:11 autif: is that the contents of the .cfg? Feb 24 22:03:51 autif: anyway, that looks like a patch, which isn't what you want for a .cfg Feb 24 22:04:03 oh Feb 24 22:04:08 autif: simply list the config items you want to set Feb 24 22:04:10 so, just the extra stuff Feb 24 22:04:13 ok Feb 24 22:04:14 will do Feb 24 22:04:32 e.g. CONFIG_INPUT_EVDEV=y Feb 24 22:04:49 autif: one per line, etc, it's just a list of config settings Feb 24 22:07:23 wow! it worked - like magic Feb 24 22:07:24 thanks! Feb 24 22:07:30 thanks tomz2 Feb 24 22:36:43 Bugzilla upgrade starts in 30 minutes. Expect 0.5 to 3 hours of downtime. Feb 24 23:12:44 zeddii: ping Feb 24 23:30:54 We have an upsteam delay on changing DNS. So were not quite back up yet. The rest of the bugzilla upgrade has gone well. Feb 24 23:37:41 halstead: good to hear :) Feb 24 23:38:19 RP__, Thanks. I'm testing with an altered host file and it looks good. Feb 24 23:38:49 RP__: I get a strange grep: Memory exhausted Feb 24 23:39:02 during do_patch of linux-yocto Feb 24 23:40:07 build is finishing ok, just this strange log Feb 24 23:41:04 http://paste.debian.net/157508/ Feb 24 23:41:13 Of course the bugzilla project decided to do a major 4.2.0 release on Wednesday. So we might have a step upgrade soon. Feb 24 23:50:53 halstead: typical! Feb 24 23:51:23 ant__: I'd ask zeddii about that Feb 24 23:51:38 ant__: Looks like it happened in the kernel tooling Feb 24 23:52:48 I'm still learning the 'compatibility mode', maybe is my faulty config Feb 24 23:53:08 or the chunk is just too big... Feb 25 00:12:58 DNS change complete. The new server should be visible to everyone within 5 minutes. Feb 25 00:15:37 Outgoing e-mail tested and working. Feb 25 00:16:01 RP__: I think I still need other way to exclude some dependencies from OEBasicHash :/ Feb 25 00:17:02 RP__: I have this usecase for it.. intone is graphical app for managing songs and movies, it's calling mplayer binary and as long as mplayer CLI is stable then it doesn't care how mplayer was built Feb 25 00:17:50 JaMa|Off: There are some very creative things you can do with that siggen code Feb 25 00:18:03 JaMa|Off: We perhaps need more examples Feb 25 00:18:10 and because I have patch for mplayer used with nokia900 then after MACHINE switch I'll get not only mplayer rebuilt but also intone Feb 25 00:18:24 JaMa|Off: I have some ideas about prebuilt sstate based toolchains that are probably similar Feb 25 00:18:59 JaMa|Off: If you whitelist mplayer with the existing code, it would work? Feb 25 00:19:08 I mean in this example I would exclude mplayer because all I care is its CLI Feb 25 00:19:42 but if for example there is mplayer-foo-module then same dependency on mplayer is now much more strict Feb 25 00:20:19 RP__: it would work.. but I was looking for way that I want to exclude it from intone but not from mplayer-foo-module Feb 25 00:20:49 JaMa|Off: you have recipename and depname Feb 25 00:21:25 but generic RDEPENDS_${PN} = "mplayer" ; RDEPENDS_${PN}[excludedep] = "mplayer" Feb 25 00:21:48 would work for everybody if implemented in OEBasicHash Feb 25 00:22:07 JaMa|Off: datacache won't store that data Feb 25 00:22:17 but if I create SHRBasicHash then I'll have to ask people to use that if they want to build intone.. Feb 25 00:23:05 JaMa|Off: In reality you'd just overwrite OEBasicHash and extend it Feb 25 00:23:48 with hardcode intone/mplayer combination? Feb 25 00:24:00 JaMa|Off: probably :/ Feb 25 00:24:07 JaMa|Off: Its not an easy problem Feb 25 00:24:13 what if in some other layer someone has different combination and I would like to build his recipe too? Feb 25 00:24:21 JaMa|Off: At least its not one big regexp anymore ;-) Feb 25 00:24:42 I still think this information needs to be part of recipe metadata, not BasicHash algoritm Feb 25 00:24:49 JaMa|Off: you'd inherit the original OEBasicHash code Feb 25 00:25:46 JaMa|Off: its a hard problem :( Feb 25 00:25:58 JaMa|Off: recipe metadata doesn't make it into the cache Feb 25 00:26:07 well, only a specific subset Feb 25 00:26:19 I know but you're clever guy so I belive you :) Feb 25 00:26:55 JaMa|Off: The thought we tried to do this with a regexp in bitbake still makes me shudder Feb 25 00:27:06 If I really have to then I can create recipe wrapper for it, but that's ugly too Feb 25 00:27:29 JaMa|Off: How many cases of things like this do you think we'll have?> Feb 25 00:27:58 ie mplayer-cli.bb excluded globally, intone RDEPENDing mplayer-cli and small mplayer-cli rebuilt after every MACHINE switch (but intone kept always the same) Feb 25 00:28:37 RP__: depends on how much we will be throwing in SIGGEN_EXCLUDERECIPES_ABISAFE Feb 25 00:29:00 JaMa|Off: I'm happy to drop some code into OEBasicHash in the core for now, until we get this better figured out Feb 25 00:30:43 I'll try to add something like SIGGEN_EXCLUDETUPLES_ABISAFE to be able to add "intone:mplayer" in meta-shr/conf/layer.conf Feb 25 00:31:23 would you accept such patch for OEBasicHash ? Feb 25 00:32:39 or maybe SIGGEN_EXCLUDETUPLES "intone->mplayer" to be more clear that's not only ABI and direction of dependency intone=recipename, mplayer=depname Feb 25 00:36:40 and one more idea before going to bed.. can we consider all task-* recipes as SIGGEN_EXCLUDETUPLES_ABISAFE, because e.g. task-x11-server is machine specific but IMHO it shouldn't propagate checksum changes Feb 25 00:39:51 okay, am i missing something, or is the get_hash in 1c1df03a6c4717bfd5faab144c4f8bbfcbae0b57 in bitbake completely idiotic? yeah, let's *reimplement* another hashing mechanism, which doesn't obey the exclusion variables the siggen stuff has, that makes a lot of sense Feb 25 00:42:58 RP__: and another good usecase is task-foo->mplayer, we don't expect task-foo to be rebuilt for each mplayer as long as debian.bbclass doesn't start changing runtime name of mplayer Feb 25 00:50:00 kergoth: thinking about it, it probably doesn't make sense :/ Feb 25 00:50:49 JaMa|Off: The task packages are cheap to rebuild if nothing else... Feb 25 01:04:15 JaMa|Off: I think we're getting to the bottom of that NATIVESDK issue finally :) **** ENDING LOGGING AT Sat Feb 25 02:59:59 2012 **** BEGIN LOGGING AT Sat Feb 25 02:59:59 2012 Feb 25 06:35:00 RP__: cheap but if PRSERV is going to bump them with every machine switch then user will be confused how many upgrades he is getting every time Feb 25 09:38:17 JaMa|Off: agreed, we need to fix it Feb 25 09:39:46 hi RP__, all Feb 25 15:02:23 hi bluelightning Feb 25 15:44:14 JaMa|Off: the sstatesig patch looks good, thanks Feb 25 15:44:21 JaMa|Off: just replied about the cross-canadian stuff Feb 25 19:21:35 RP__: I'm testing cross-canadian now.. Feb 25 21:36:42 in #oe Feb 25 21:40:28 er ok Feb 25 21:48:19 gah, typing mid chan window bring up. :) /join #ircfail **** ENDING LOGGING AT Sun Feb 26 02:59:59 2012 **** BEGIN LOGGING AT Sun Feb 26 02:59:59 2012 Feb 26 06:56:37 anyone mind taking a look at the following errors I get when doing the quickstart. http://pastebin.com/PfXjNDUd I'm not sure how to resolve. Feb 26 06:58:28 err quickstart guide Feb 26 09:24:36 nlogax_: That says what failed but not how. I'd run the command again and show the full error messages Feb 26 09:28:18 would there be any logs that I can look at in /var/logs or something? Feb 26 11:04:39 nlogax_: the logs are in TMPDIR/work/*/recipename-version-pr/temp/log.* Feb 26 11:51:49 * RP__ wonders if he should worry about the noises from inside the walls :/ Feb 26 11:56:59 I have been told that in most urban areas, noises inside walls are rats making more rats. Feb 26 12:19:18 seebs: its not rats. I'm hoping its just the wall drying out and loose stone falling down it Feb 26 12:19:47 Ahh, television, you've failed me again. Feb 26 14:22:14 seebs: It could well be different with american buildings. Rats tend not to like eating through stonework Feb 26 19:14:24 pidge, We need to start a new nightly. Feb 26 19:40:23 I triggered one. Feb 26 22:21:25 bluelightning: Hi.. seems like qt patchset went to wrong list... Feb 26 22:24:37 Hi my name is Andy. I was wondering if anyone could tell me how to get around my autotools problem. I was following the ADT guide. I followed it step by step! But when I try to compile the default Hellow Word C template file I get a "*** No rule to make target `all'." error. Feb 26 22:26:22 This error is so vague. I've never worked with auto tools and I'm getting really frustrated here. If anyone has see this problem let me know. I mean - why on earth doesn't the template Hellow World C program not build! AHHH! Feb 26 22:27:06 JaMa: argh whoops Feb 26 22:27:40 Andy44: It means there is no "all" target in your makefile Feb 26 22:27:40 anyone want to help out a noob here? Feb 26 22:28:13 Andy44: presumably if you're using autotools you have a makefile.am and then run configure to generate the makefile during configure? Feb 26 22:28:16 haha yeah I get that... but there's no makefile anywhere. There are Makefile.am files but none of them have "all" in it Feb 26 22:28:35 Andy44: Was the makefile.am turned into a makefile ? Feb 26 22:28:43 No Feb 26 22:29:10 I don't think so. There are two Makefile.am files. One is the src folder and one in the root Feb 26 22:29:25 Andy44: I'm not really familiar with the ADT but did you trigger something to run configure? Feb 26 22:29:26 sounds like a missing 'inherit autotools'. never looked at the adt guide, though Feb 26 22:29:30 * kergoth yawns Feb 26 22:29:39 is it supposed to spit out a makefile? Feb 26 22:29:54 no the ADT guide does not say I need to run a "configure" Feb 26 22:30:06 Andy44: a makefile should get generated Feb 26 22:30:09 it just says to open the template and build the project Feb 26 22:30:10 JaMa: thanks, I would have missed that :) Feb 26 22:30:19 ok well that's what I'm missing Feb 26 22:30:23 bluelightning: btw backfill distro featues are in DISTRO_FEATURES after LDISGOLD without space ${LDISGOLD}${@oe.utils.distro_features_backfill(d)} Feb 26 22:30:25 hi kergoth Feb 26 22:30:36 do you know what triggers making this file exactly? Feb 26 22:30:47 bluelightning: haven't looked which should add the space.. but looks like it could end badly Feb 26 22:30:58 Andy44: Are you following an example in the ADT user manual? Feb 26 22:30:58 JaMa: it's supposed to add a space itself Feb 26 22:31:07 ah ok Feb 26 22:31:15 yes. I've follow the ADT manual example step by step Feb 26 22:31:37 RP__: I don't have to use the autotools do I Feb 26 22:31:38 Andy44: which example specifically just so I can get some context? Feb 26 22:31:47 JaMa: it does: return " %s" % (" ".join(addfeatures)) Feb 26 22:31:57 RP__ one sec. Let me pull it up Feb 26 22:32:00 Andy44: I'm assuming the manual is the one at http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html ? Feb 26 22:32:33 RP__: yes that's the one Feb 26 22:32:41 JaMa: I wanted to avoid changing the value when the backfill is empty as it is now Feb 26 22:32:44 I chose to use the downloadable tarball Feb 26 22:33:33 Andy44: the step that sounds like its not happening is "Select Project -> Reconfigure Project: This selection reconfigures the project by running autogen.sh in the workspace for your project. The script also runs libtoolize, aclocal, autoconf, autoheader, automake --a, and ./configure." Feb 26 22:33:47 Andy44: assuming the example you're looking at is that one... Feb 26 22:33:58 Yes I your right! Feb 26 22:34:35 so this is weird when I try to do what it says in that step nothing happens. I select Project -> Change Yocto Project Settings and no window pops up... Feb 26 22:35:03 Andy44: it sounds to me like the eclipse plugin isn't installed or working properly for some reason Feb 26 22:35:13 bluelightning: then it's fine.. I just noticed it in -e output while checking something else Feb 26 22:35:25 RP__ it is installed. Feb 26 22:35:28 Andy44: if things don't work as described in the manual, I'd start from the first step there is a difference Feb 26 22:36:02 Andy44: If Project -> Change Yocto Project Settings doesn't bring up the dialog, there is something wrong Feb 26 22:36:42 RP__ thanks for the advice. I do see a problem here on that step like you said. However why doesn't the window pop up? Should I just restart with setting up eclipse from scratch? Feb 26 22:36:54 Andy44: this sounds like https://bugzilla.yoctoproject.org/show_bug.cgi?id=1915 Feb 26 22:37:14 Andy44: that bug is an incompatibility between the plugin and eclipse version :/ Feb 26 22:37:20 RP__ oh man Feb 26 22:37:29 amazing. how did you find that so fast? Feb 26 22:38:11 Andy44: I happen to know most of the high/major bugs :/ Feb 26 22:38:31 JaMa: ok, just as well to check :) Feb 26 22:38:42 RP__ thank you so much. So I should just setup eclipse again with an older version? Feb 26 22:39:00 Andy44: that should work, the bug gives some details of the known good versions Feb 26 22:39:15 Andy44: that issue is being worked on as you'll see in the bug and its priority rating Feb 26 22:39:45 wow thanks RP__ Feb 26 22:40:30 I'll let you know how it goes. I really appreciate your time. Feb 26 22:40:47 Andy44: no problem, sorry not to have a better fix Feb 26 22:41:29 Andy44: if you're confident about patching eclipse, http://git.yoctoproject.org/cgit/cgit.cgi/eclipse-poky/commit/?id=514c7a653b35a86ea30f0670831e4558e39b5907 might fix things for you Feb 26 22:41:47 (well, patching the plugin) Feb 26 22:42:01 I've never done it before but I'd be willing to try it out. Feb 26 22:42:12 RP__ Give me a minute. Feb 26 22:42:26 Andy44: I have little idea where the appropriate files are I'm afraid Feb 26 22:43:29 RP__ ahh using git wit the source code is a little above my head here. Feb 26 22:43:45 I'm going to just redo eclipse Feb 26 22:43:57 Andy44: fair enough, I just thought it might be worth mentioning Feb 26 22:44:30 is there anyway to know what ecplise works? Feb 26 22:44:58 i started with a download of 3.7.1 then get all the updates from the update manager in ecplise Feb 26 22:46:30 Andy44: you need an older version of the autotools plugin in eclipse Feb 26 22:46:52 RP__ ahh right that makes sense. Feb 26 22:49:43 RP__ i've never had to roll back a version of ecplise add ons. Do I need to go find the url to the older version of Autotools? How do I get the older version installed exactly. It seems Ecplise defaults to the newest version. Feb 26 22:50:09 Andy44: I'm not an eclipse user I'm afraid, I don't know :/ Feb 26 22:54:10 RP__: sorry I've missed at least one missing quote in that patchset.. sent it now Feb 26 22:54:38 JaMa|Off: Its ok, we'll get them eventually. I managed to miss rather a lot on my first attempt :/ Feb 26 22:55:07 kergoth: do you agree with the parser quoting change? Feb 26 22:58:20 RP__: for me that was easy as I always get full reparse with latest bitbake as reported in "[bitbake-devel] cache broken in master" thread Feb 26 22:59:43 JaMa|Off: ah, if you have a moment to apply Dongxaio's patch and report back to him that could be useful so we can check which variable is causing the issue Feb 26 23:00:01 JaMa|Off: PRC will be waking up in a few hours and I think that bug is first on their agenda ;-) Feb 26 23:02:40 I was just replying to that email :) Feb 26 23:03:18 RP__: hi, after a85f283 I'm seeing a glib-2.0-native error :/ Feb 26 23:04:08 ant__: what kind of error Feb 26 23:04:14 JaMa|Off: great, thanks :) Feb 26 23:04:20 rmdir: failed to remove `/oe/oe-core/build/tmp-eglibc/work/i686-linux/glib-2.0-native-1_2.30.2-r5/image/oe/oe-core/build/tmp-eglibc/sysroots/i686-linux/usr/lib/gio/modules/': Directory not empty Feb 26 23:05:01 ant__: right, this was mentioned on the mailing list. What files are in there? Feb 26 23:06:21 doh, it's empty Feb 26 23:06:30 RP__: So I got the older version of Autotools in Ecplise. And sure enough now the window pops up. However, doing step 4.3. doesn't fix my problem. Feb 26 23:07:15 RP__: It still says "*** No rule to make target `all'." when I build. Feb 26 23:07:30 Andy44: ok, is there a autogen.sh script? Feb 26 23:07:36 yes Feb 26 23:07:43 Andy44: what happens if you manually run that? Feb 26 23:07:45 I've tried running it from shell Feb 26 23:07:52 nothing seems to happen Feb 26 23:08:12 I mean bash doesn't give me anything back. Feb 26 23:08:22 does the file have things in it? Feb 26 23:08:29 yes Feb 26 23:08:40 it should show output... Feb 26 23:08:42 it has what the manual says it's supposed to do Feb 26 23:08:55 "runs libtoolize, aclocal, autoconf, autoheader, automake --a, and ./configure." Feb 26 23:09:07 I would be very surprised if those were totally slient Feb 26 23:09:22 ok I get that. So I tried putting a dummy file in that folder called test.sh Feb 26 23:09:59 all it does is add a dummy folder to $PATH and for some reason when I run that from the shell the folder doesn't end up getting added to $PATH Feb 26 23:10:52 so something messed up here. Also I had to run the contents of /opt/poky/1.1/environment-setup-x86_64-poky-linux one line at a time by hand because I couldn't get the script to run for me Feb 26 23:11:21 Andy44: This sounds like there is something wrong with your shell :/ Feb 26 23:11:27 are you using bash? Feb 26 23:11:32 yes Feb 26 23:11:37 is that wrong? Feb 26 23:11:45 Andy44: no, bash should be fine Feb 26 23:11:52 When I do $SHELL it says \bin\bash Feb 26 23:12:16 RP__: usr/lib/gio/modules libgiofam.la libgiofam.so (from my /image dir in workdir) Feb 26 23:13:03 but /usr/lib/gio/modules is not in sysroot Feb 26 23:13:06 ant__: Add --disable-fan to EXTRA_OECONF Feb 26 23:13:18 hmm, the problem really is that I can't run the autogen.sh by hand. Feb 26 23:13:21 er, --disable-fam Feb 26 23:13:35 Andy44: yes, it looks like that isn't running either by hand or by the system Feb 26 23:13:53 Andy44: does "bash autogen.sh" work any better? Feb 26 23:14:13 RP__: let me see Feb 26 23:16:43 RP__: native is ok with EXTRA_OECONF_virtclass-native = "--disable-dtrace --disable-systemtap --disable-fam" Feb 26 23:16:53 ant__: yes Feb 26 23:17:03 ant__: we should add it to both cases Feb 26 23:17:13 ant__: and check if there is anything else we should be disabling Feb 26 23:17:45 I'm rebuilding glib-2.0 now Feb 26 23:18:15 RP__: now where getting somewhere thanks man - when I run "bash autogen.sh" it says it cant find the programs - ie I get "aclocal: not found" back (and a line for every other call in the scripe Feb 26 23:18:30 so where is aclocal supposed to reside? Feb 26 23:18:52 that's an ADT tool right? Feb 26 23:19:26 Andy44: it depends which version of the adt you have. In modern versions it comes with the toolchain tarball Feb 26 23:19:42 by modern I mean cutting edge development Feb 26 23:19:56 yeah but that new version has the big right? Feb 26 23:19:59 bug* Feb 26 23:20:04 Andy44: I'm guessing with the last release you need autoconf and automake installed on the system Feb 26 23:20:49 Andy44: "apt-get install automake autoconf" or whatever your distro's command is Feb 26 23:23:27 ok got both of those installed. Now I run "bash autogen.sh" and it runs correctly. Feb 26 23:23:47 Now my project has all sorts of new files in it... Feb 26 23:25:09 Andy44: sounds much more healthy! :) Feb 26 23:25:35 haha thanks! Still doesn't build though when I do "build project" Feb 26 23:25:55 Andy44: Dare I ask what it says now? Feb 26 23:26:17 * RP__ assumes you now have a Makefile at least? Feb 26 23:27:40 RP__: I really appreciate your help so far. I feel like I'm close but I'm still getting the same error. Feb 26 23:27:55 "*** No rule to make target `all'." Feb 26 23:29:03 Andy44: sounds like there is still no Makefile? Feb 26 23:29:14 RP__: my src folder has a makefile.in and a makefile.am in it now... seems wrong. Isn't the "in" older? Feb 26 23:29:32 Andy44: configure didn't run Feb 26 23:29:55 Your expecting a file simply called Makefile to be there somewhere right? Feb 26 23:30:02 Andy44: automake turns makefile.am -> makefile.in, then configure turns makefile.in -> makefile Feb 26 23:30:04 Andy44: yes Feb 26 23:34:21 RP__: ahh you're right configure throws an error. I was just looking through config.log and it's not clear what's wrong. Feb 26 23:34:43 Andy44: pastebin the config.log Feb 26 23:35:10 I've heard someone say that before. What's pastebin? Feb 26 23:35:22 Andy44: pastebin.com Feb 26 23:35:26 got it Feb 26 23:35:27 one sec Feb 26 23:38:59 RP__: pastebin.com/22b1DTe7 Feb 26 23:39:38 RP__: glib-2.0 built fine, though I have now to retest after the drop-dbus patch Feb 26 23:43:26 Andy44: /home/lasx/workspace/try6/configure: line 3137: /opt/poky/1.1/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-gcc: cannot execute binary file Feb 26 23:43:39 Andy44: have you selinux running or something? Feb 26 23:43:42 ok I see it too Feb 26 23:43:50 um no Feb 26 23:43:59 It's Ubuntu in a VM Feb 26 23:44:15 Andy44: there is something really odd going on with your machine like there are security settings or something Feb 26 23:44:38 i made a root user Feb 26 23:44:40 sudo -i Feb 26 23:44:45 but that's about it Feb 26 23:45:11 Andy44: you need to figure out why it can't execute those files. Could be a permissions issue or some kind of some kind of security policy Feb 26 23:46:17 Andy44: if you run "cat /selinux/enforce" does that show anything? Feb 26 23:47:12 says no such file or directory Feb 26 23:47:46 I think I did a chmod -R 777 /opt Feb 26 23:48:02 would that be owning me? Feb 26 23:48:56 Andy44: What does "ls -la /opt/poky/1.1/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-gcc" say? Feb 26 23:49:47 -rwxrwxrwx 1 root root 367759 2011-10-05 17:27 /opt/poky/1.1/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-gcc Feb 26 23:50:09 Andy44: so its not a file persmissions issue Feb 26 23:50:21 apparently not Feb 26 23:50:22 Andy44: something else on the system is blocking access to execute that file Feb 26 23:50:58 I just have no idea what that would be. It's a virtual machine. Let me try to restart it again Feb 26 23:52:14 Andy44: you did pick the right toolchain? This is a 64 bit VM you're running in, right? Feb 26 23:52:47 oh dammit Feb 26 23:52:47 anyone mind taking a look at this I'm getting http://pastebin.com/Rwp4xwq8 . Thanks. Feb 26 23:52:56 no i don't think this VM is 64 bit... Feb 26 23:53:09 Andy44: grab the other toolchain, the 32 bit one ;-) Feb 26 23:53:13 :) Feb 26 23:53:28 jeez thanks RP__ Feb 26 23:53:34 let me try that out Feb 26 23:54:12 notespace1: build from scratch? Feb 26 23:55:34 nlogax_: try installing libxml-parser-perl on your machine Feb 26 23:56:00 nlogax_: or whatever the similarly named package is on your distro Feb 26 23:56:20 ok Feb 26 23:57:01 * RP__ thought we'd fixed those issues but this is probably the easiest way around it Feb 27 00:07:43 * RP__ -> Zzzz Feb 27 00:08:30 * mranostay waves Feb 27 00:09:32 RP__: Yay! I have a Makefile in my src directory! But it still wont build! Feb 27 00:09:45 I get a make:***[all] Error 2 Feb 27 00:10:00 looking online to see what that's about now... Feb 27 00:16:45 RP__: Can't open ../-libtool Feb 27 00:16:56 god I'm such a noob Feb 27 00:21:53 RP__: yahtzee! did a clean and another configure and bam it builds!!!! Feb 27 00:22:36 RP__: thank you so much for your help man. I really apreciate it. This has been a great learning exerience. **** ENDING LOGGING AT Mon Feb 27 02:59:58 2012 **** BEGIN LOGGING AT Mon Feb 27 02:59:58 2012 Feb 27 09:10:47 RP__: I have one more question about sstate, I've seen a lot of do_package reexecutions with OEBasic, now with sstate hashes almost consistent I'm sure it was happening only when sstate hash was different for do_package Feb 27 09:11:57 RP__: but with OEBasic I would expect do_package stamp to exist without hash in it so it would be enough to consider this task as covered, but for some reason do_package stamps end with MACHINE, e.g. ecore-2_1.1.0+svnr68448-r1.1.do_package.om-gta02 Feb 27 09:13:12 RP__: which is understandable for do_populate_sysroot.om-gta02 tasks, but why do_package too? Feb 27 09:15:50 it's also there with OEBasicHash bash-4.2-r1.do_package.a5ac1820a19b7bf2612d4978641a2461.qemuarm, but in this case it's OK, because if there is a5ac1820a19b7bf2612d4978641a2461 from different machine in sstate-cache then it's reused Feb 27 09:30:24 JaMa|Wrk: On my system here, bash do_package does not have a machine specific stamp Feb 27 09:37:46 hmm interesting Feb 27 09:37:54 I have it also with distroless oe-core only Feb 27 09:39:20 RP__: and I mean MACHINE in stamp filename (hash could be the same for different machines) Feb 27 09:51:40 JaMa|Wrk: you're right, that are machine specific Feb 27 09:52:25 RP__: once fixed glib/fam issue the build from scratch broke on libtool/ I'll check this evening Feb 27 09:55:13 RP__: and do they have to be? it causes OEBasic behave sort of like OEBasicHash after switching MACHINEs and I guess causing rm_work unusable with sstate (because rm_work keeps only package* directories but that's not enough to reexecute do_package) Feb 27 09:55:41 JaMa|Wrk: Its down to SHLIBSDIR which is in the machine specific sysroot Feb 27 09:56:05 RP__: we can keep /image dir too with rm_work, but keeping do_package stamp the same between machines would be more effective) Feb 27 09:56:08 ah ;/ Feb 27 09:56:13 JaMa|Wrk: rm_work was taught not to remove do_package's output files Feb 27 09:56:44 JaMa|Wrk: The question is why is it changing between machines Feb 27 09:57:45 I'm still adding few excludes, so it's in not so many cases now .. but still expected different behavior for OEBasic Feb 27 09:58:06 RP__: this weekend oe-core was broken like oe-classic in its brightest days :p Feb 27 09:58:15 we keep output of do_package, but to execute do_package again we need do_install stamp don't we? Feb 27 09:58:43 ant_work: There has been a lot of change going in :/ Feb 27 09:58:59 yes, and it's a good thing(tm) Feb 27 09:59:25 the check for unquoted vars is very nice ;) Feb 27 09:59:41 JaMa|Wrk: ah, I see what you mean, yes Feb 27 09:59:48 JaMa|Wrk: its been assumed the stamps would be the same Feb 27 10:00:09 yup so it behaves sort of like OEBasicHash Feb 27 10:01:15 without rm_work it's not big issue, do_package is realatively fast for smaller packages Feb 27 10:01:39 but with rm_work it starts with populate_lic and repeats configure/compile/install too Feb 27 10:20:49 JaMa|Wrk: have you tried bitbake-diffsigs to see what is changing? Feb 27 10:24:05 yup still excluding more and more stuff Feb 27 10:25:05 for example palmpre has patch for tslib support and that causes whole dependency of efl and sdl to be different then rest of armv7a machines I have Feb 27 10:29:03 and e.g. do_install in netbase is also machine specific due to: Feb 27 10:29:04 # Disable network manager on machines that commonly do NFS booting Feb 27 10:29:05 case "${MACHINE}" in Feb 27 10:49:40 JaMa|Wrk: hmm, right. We could change the netbase ones into do_install_append_qemuxxx which should stop the general case depending on MACHINE Feb 27 10:49:51 JaMa|Wrk: or whitelist the dependency on machine Feb 27 10:50:30 is the absolute build path included in the sstate hash? Feb 27 10:50:49 where can I peek at the hash generator? Feb 27 10:52:28 Zagor: you can see what's in there with bitbake-diffsigs Feb 27 10:53:15 Zagor: the code is bitbake/lib/bb/siggen.py Feb 27 10:53:35 Zagor: summary is that no, the absolute paths shouldn't go in Feb 27 10:57:47 RP__: looks like the task dependencies have full path: Tasks this task depends on: ['/opt/demo/poky/meta/recipes-devtools/quilt/quilt-native_0.48.bb.do_install'] Feb 27 11:03:15 in the siginfo file, that is Feb 27 11:19:35 hello all, does anyone know if its possible to have yocto not rebuild the toolchain each time i build something and just use an existing toolchain? Feb 27 11:20:45 johnt: the recommended solution is to reuse the sstate-cache Feb 27 11:21:36 Zagor: ok, how does that work? what is in the sstate-cache? Feb 27 11:22:42 it contains the finished packages, hashed with the configuration that built it. Feb 27 11:23:34 so as long as you use the same configuration, your build can use the previously built packages rather than build new Feb 27 11:23:59 would it be possible to grnerate the sstate-cache and distribute it? Feb 27 11:24:31 yes, you can set up an sstate-cache mirror and set the SSTATE_MIRROR variable to point to it. Feb 27 11:25:13 Zagor: ok, cool. thanks for your help - ill take a look at that now! Feb 27 11:25:44 however I have found what seems like an issue with the hashes sometimes include the build path Feb 27 11:26:26 for me it only works when I build with the same path as the mirror was built Feb 27 11:29:30 Zagor: i suppose my real question is - can i use the toolchain which i created with meta-toolchain to build packates in yocto rather than having it rebuild the toolcahin each time? i dont know if that makes sense - i get the impression that im trying to make the system do something it was never intended to do... Feb 27 11:32:13 what do you think? Feb 27 11:33:29 it does make sense, and you are not alone. there's a bugzilla entry about this containing some remarks by RP__ on why sstate-cache is the recommended solution: https://bugzilla.yoctoproject.org/show_bug.cgi?id=1681 Feb 27 11:34:32 I'm not a yocto expert, just relaying what I've learned Feb 27 11:35:23 and now I'm off to lunch :-) back in a bit. Feb 27 11:40:50 ok - thanks for the info! Feb 27 11:42:58 Zagor: Whilst you see those paths, they aren't used in the hash and are for debug only Feb 27 11:43:31 Zagor: best thing to do would be to take two hashes you think should be the same and run bitbake-diffsigs between them Feb 27 11:43:49 (bitbake-diffsigs ( Feb 27 12:25:17 RP__: what causes this? List of dependencies for variable CCACHE_DIR changed from set(['MULTIMACH_HOST_SYS', 'PN', 'TMPDIR']) to set(['HOST_SYS', 'PN', 'TMPDIR']) Feb 27 12:26:14 Zagor: Hmm, that does look strange Feb 27 12:26:23 I haven't fiddled knowingly with ccache settings in either place Feb 27 12:27:01 Zagor: bitbake.conf clearly says export CCACHE_DIR = "${TMPDIR}/ccache/${MULTIMACH_HOST_SYS}/${PN}" Feb 27 12:28:00 Zagor: What does bitbake-diffsigs say about the value itself? Feb 27 12:28:08 Zagor: was that the only change? Feb 27 12:28:15 changed items: set(['HOST_SYS', 'MULTIMACH_HOST_SYS']) Feb 27 12:28:34 Zagor: Could you share the full output please (pastebin?) Feb 27 12:28:35 no, other items were changed too. such as: changed items: set(['USERNAME']) (in basewhitelist) Feb 27 12:28:43 sure Feb 27 12:29:15 http://pastebin.com/TtvV98Li Feb 27 12:30:17 Zagor: Is that from two different versions of poky? Feb 27 12:30:46 shouldn't be. checking... Feb 27 12:31:30 gah, yes it is. well spotted. Feb 27 12:31:44 Zagor: before and after http://git.yoctoproject.org/cgit.cgi/poky/commit/meta/conf/bitbake.conf?id=82785064ac9059da83aa657b9ed8f8ff4a488ef8 ? :) Feb 27 12:32:36 no, one is from Nov 23 2011 and the other Feb 08 2012 Feb 27 12:33:09 Zagor: right, but your first didn't have that change, the second build did :) Feb 27 12:33:14 Zagor: amongst others Feb 27 12:33:54 was that not merged into edison until aftern nov23 then? Feb 27 12:34:19 Zagor: no, we only recently made a number of changes to edison in preparation for 1.1.1 Feb 27 12:35:00 ok Feb 27 12:35:09 well, this explains a lot... Feb 27 12:35:53 Zagor: http://git.yoctoproject.org/cgit.cgi/poky/commit/meta/conf/bitbake.conf?h=edison&id=d63678cdfab81919949e6ae60b89d782e23b511b has the right date Feb 27 12:36:09 right Feb 27 14:35:59 does anyone know if there is supposed to be a .bb file for gdbserver? Feb 27 14:43:42 anyone alive out there? Feb 27 14:44:02 alive? yes. knows the answer? no. Feb 27 14:44:26 bluelightning: "set -x" patch, yay! thanks Feb 27 14:44:30 :( Feb 27 14:44:52 JaMa|Wrk: well, it has to be accepted first, but you're welcome :) Feb 27 14:44:55 i wonder if gdb includes gdbserver Feb 27 14:45:12 johnt: I believe it would be built as part of the gdb recipe yes Feb 27 14:45:43 bluelightning: it's step in right direction, so I guess it will be :) Feb 27 14:47:26 bluelightning: thanks - that helps! gdb seems to depend on elfutils which looks like its broken because im using uclibc - does that sound plausible? Feb 27 14:48:02 johnt: I don't have a lot of experience with uclibc, I guess it's possible, but elfutils is kind of fundamental so it is surprising Feb 27 15:04:11 RP__: here's a diffsigs that says all that changed is a bunch of dependency paths: http://pastebin.com/1Fng9S6E Feb 27 15:05:54 are those paths used in the hash? if not, why did the hash change? Feb 27 15:12:55 any chance anyone knows what gdb-cross is all about? Feb 27 15:36:29 Hello everyone Feb 27 15:43:58 Zagor: There have been improvements in diffsigs recently to try and trim down these kinds of warnings. Could you retry that with bitbake-diffsigs from bitbake in master? Feb 27 15:45:50 johnt: Its a gdb designed to run on the build machine but target the target architecture? Feb 27 15:46:25 and yes, gdb builds a gdbserver package iirc Feb 27 15:47:02 Hi All, when generating the rootfs from .ipks, who runs the postistall hooks. Is it always generated in runtime with the "run-postinst" package ? Feb 27 15:47:43 d4ny: we attempt them at do_rootfs time and only the ones that error out are run on the target Feb 27 15:48:57 Zagor: FWIW, I think somewhere in that message is a change in a hash this task depends on. The older comparison logic is failing to get to the bottom of it though Feb 27 15:49:04 Zagor: The paths won't matter Feb 27 15:50:55 right, diffsigs from master gives me 14 changed hashes Feb 27 15:51:20 now the question is, which was the first to change, and why :) Feb 27 15:59:02 RP__: thanks, I'm experimenting with pseudo-nativesdk, and I get PSEUDO_UNLOAD=1 behaviour no matter if its unset or not, wierd Feb 27 16:33:47 what can cause this: ERROR: Bitbake's cached basehash does not match the one we just generated ? Feb 27 16:34:20 I've seen it before with images (assuming it's caused because they depend on DATE/TIME), but now I got it for more recipes Feb 27 16:35:20 I've seen it once or twice too, the error isn't exactly informative Feb 27 16:35:34 seen it too Feb 27 16:35:39 not sure what it's from Feb 27 16:35:56 both while running bitbake -S ? Feb 27 16:36:12 JaMa|Wrk: actually, that's where I see it if I recall correctly Feb 27 16:36:15 yep Feb 27 16:36:42 tried it once or twice, saw it didn't work, and moved on to other mechanisms, no time to dig Feb 27 16:37:18 it's maybe 15th execution of bitbake -S for all machines here today, but first with this errors in many recipes not just rootfs :/ Feb 27 16:39:06 still hitting some bad lack of sstate reuse across machines here :| need to spend this work digging into it Feb 27 16:39:16 s/work/week/ Feb 27 16:39:44 * JaMa|Wrk is down to only one recipe changing checksums after machine switch Feb 27 16:44:59 this 2 commands are very handy hunting diffs: Feb 27 16:45:01 for MACHINE in om-gta01 om-gta02 om-gta04 nokia900 palmpre palmpre2 crespo; do export MACHINE; find tmp-eglibc/stamps/ -name \*sigdata\* | xargs rm -f; bitbake task-shr task-shr-minimal task-shr-feed -S; cp -ra tmp-eglibc/stamps/ stamps.dir.${MACHINE}; find tmp-eglibc/stamps/ -name \*sigdata* | sort > stamps.all.${MACHINE}; grep -v "${MACHINE/-/_}" stamps.all.${MACHINE} > stamps.${MACHINE}; done Feb 27 16:45:37 for MACHINE in om-gta04 nokia900 palmpre palmpre2 crespo; do export M1=nokia900; export M2=${MACHINE}; diff stamps.${M1} stamps.${M2} | grep -v .do_build.sigdata. | grep -v "\---" | grep -v "^[[:digit:]]" | sed 's/^[\<\>] //g; s#t Feb 27 16:45:41 mp-eglibc/stamps/##g' | sort > stamps.diff.${M1}.${M2}; done Feb 27 18:06:38 so does MACHINE_FEATURES actually pull in packages to the rootfs? i assume this depends on what image type you use? Feb 27 18:07:48 mranostay: some of the features will do that, yes... see meta/recipes-core/tasks/task-base.bb Feb 27 18:07:59 don't forget to clean and rebuild task-base after changing it Feb 27 18:10:51 does task-base get included in every image recipe? Feb 27 18:15:41 nope. in particular, core-image-minimal does *not*. grep for it Feb 27 18:17:38 ah an example of a image that does? Feb 27 18:20:34 ah i think i see it now Feb 27 18:22:47 mranostay: anything that inherits the core-image bbclass will include task-base-extended Feb 27 18:51:12 After looking at what a mess HTML5 is (http://en.wikipedia.org/wiki/HTML5_video), I thought i might as here - I have added webkit and web2 to my image (based on core-image-sato). I can get audio from the browser, however, I am not sure what video format is supported. I have not whitelisted any specific video format Feb 27 19:13:31 kergoth: so i see task-base-ext2 gets built but not included in the image. i assume i'm missing some magic? :) Feb 27 19:25:06 zeddii, poke Feb 27 19:25:28 zeddii, are you actively working Bug 2032 Feb 27 19:25:29 ? Feb 27 19:25:48 didn't want to duplicate effort, but need to get this resolved ASAP Feb 27 19:26:36 already fixed here. Feb 27 19:27:05 zeddii, great, patch to arrive shortly? Feb 27 19:27:22 kergoth: or did i forget to -c clean something? Feb 27 19:27:41 yep. it's on my zedd/kernel contrib branch now. I just need to ammend the commit and add the bug number and push it out. Feb 27 19:28:02 excellent, I have a team blocked on this right now Feb 27 20:59:25 I am on crownbay machine and glxgears is giving me 250 frames per second. This means that the emgd driver is well integrated and functioning. However, when I play a movie, I am not getting the hardware acceleration I expect. I am usin gst-launch playbin2 uri=file:///path/to/movie.avi - the movie decodes fine - but I am gettng like 0.5-1.0 frames per second. Do I need to do something else? I am somewhere between M2 and master Feb 27 21:10:57 also, its seems like the video player has been taken out of core-image-sato Feb 27 21:14:27 autif: I suspect it was classified as a test-app and is only installed if you set the appropriate IMAGE_FEATURES Feb 27 21:18:59 I see Feb 27 21:22:32 In general - if I have hardware acceleration for H.264 (crownbay), I should also have hardware acceleration for other formats - like mp4, Theora and Xvid - is this statement accurate? Feb 27 22:02:33 msm: ping regarding your recent patch, are you reworking 3/4? Feb 27 22:05:16 sgw: i think so, or another incremental patch Feb 27 22:05:25 sgw: it doesn't break anything though Feb 27 22:05:47 sgw: it just needs to be updated either in that patch or in an incremental patch... Feb 27 22:06:01 sgw: im rambling, probably just wait for an update Feb 27 22:06:52 autif: I'm not sure Feb 27 22:11:37 msm: Ok waiting will you have a whole patch set in a repo that I can rebase from, that would be helpful on this end. Feb 27 22:15:48 sgw: hmm, i guess it's about time for that =) Feb 27 22:42:34 sgw: ping Feb 27 22:44:53 ant__: what's up? Feb 27 22:45:13 hm.. I think I had a race building libtool Feb 27 22:45:16 http://paste.debian.net/157876/ Feb 27 22:45:33 and btw help2man is installed on my host Feb 27 22:45:53 now, libtool built on second run... Feb 27 22:46:23 ant__: reviewing Feb 27 23:10:27 ant__: I will test some DEPENDS changes for libtool-native Feb 27 23:19:46 ok, thx Feb 27 23:26:10 sgw: this may be of help: http://paste.debian.net/157881/ Feb 27 23:26:45 this is the log of second run Feb 27 23:30:09 ant__: what would be more interesting I think would be the do_configure and do_compile logs between run 1 and run 2 (maybe even the config.log files) Feb 27 23:48:43 sgw: http://www.2shared.com/file/aV7ZN6JP/libtool-242-r20tar.html Feb 27 23:49:09 blue download Feb 27 23:50:56 ant__: thanks Feb 27 23:51:09 yw Feb 27 23:54:54 btw # which help2man -> /usr/bin/help2man Feb 28 01:22:51 I have a conundrum: Feb 28 01:22:52 ERROR: Function 'Network access disabled through BB_NO_NETWORK but access rquested with command git clone --bare --mirror file:///home/autobuild/TEST/stdbuild/build-yocto-sh4/../meta-drac/recipes-avct/avct-trace/git /home/autobuild/TEST/stdbuild/build-yocto-sh4/downloads/git2/.home.autobuild.TEST.stdbuild.build-yocto-sh4....meta-drac.recipes-avct.avct-trace.git (for url None)' failed Feb 28 01:23:19 as you can plainly see in the git clone, it is trying to clone a file:// URL Feb 28 01:23:45 and I have: Feb 28 01:23:47 BB_NO_NETWORK = "0" Feb 28 01:23:47 BB_FETCH_PREMIRRORONLY = "1" Feb 28 01:28:55 mebrown: are you using a tag for your git pull or a full git hash? Feb 28 01:29:08 tag Feb 28 01:29:25 it's sort of complicated. Feb 28 01:29:26 That might be it, the git fetch likes to look that up and convert it to a hash, try putting a hash Feb 28 01:29:37 I can't put a hash Feb 28 01:29:44 that would defeat the purpose of what I'm trying to do Feb 28 01:31:02 mebrown: Not sure what you are trying to do, but it sounds like you move the tag around to different hashes? Feb 28 01:31:14 well, it is sort of complicated... sec. Feb 28 01:31:17 http://pastebin.com/E1LthNMH Feb 28 01:31:30 ^--- is called localsource.bbclass Feb 28 01:31:46 and I'm using the android "repo" tool to stitch together some repos Feb 28 01:31:56 it is working pretty well so far, just trying to sort odds and ends Feb 28 01:32:06 I have a 'meta-drac' layer Feb 28 01:32:18 I know that RP__ is working on a variant of this for the kernel (not sure if it is git based or not). Feb 28 01:32:32 with stuff like: "meta-drac/recipes-dell/recipefoo/foo_1.0.bb" Feb 28 01:32:44 and there is a "git/" subdir in meta-drac/recipes-dell/recipefoo Feb 28 01:33:09 which then becomes what is cloned to build Feb 28 01:33:53 and it it working well, just this issue came up where I want to set PREMIRRORONLY = "1", but I can't Feb 28 01:34:34 you might have to dive into the bitbake fetcher2 code to untangle this, you have a pretty specific corner case. Feb 28 01:37:56 mebrown: We might have to check protocol of file in either git.py before it does the check_network_access() or in check_network_access() itself, clearly protocol of file:// should be local access only. Feb 28 01:40:12 mebrown: there's 3 places in bitbake/lib/bb/fetcher2/git.py that would need a check of protocol != "file" then check_network_access(), if you want to give that a try, that might be a good patch to send to the bitbake-devel alias. Feb 28 01:41:23 I'll check it out Feb 28 01:42:18 I'm trying to run with no patches on top of yocto edison, but this one breaks me, unfortunately, so I'll need to patch it Feb 28 01:45:39 mebrown: we are doing our best! that's the only solution I can think of, If you want to file a bug against 1.1 we might be able to add it to edison v1.1.2 Feb 28 01:47:41 I know. you all are doing a fairly decent job of it. :) Feb 28 01:49:23 Another unrelated question: Feb 28 01:49:39 I have some recipes where the source may or may not be available depending on who is building it. Feb 28 01:50:22 Is it feasible to use previously-built IPKs depending on some variable in local.conf? **** ENDING LOGGING AT Tue Feb 28 02:59:59 2012 **** BEGIN LOGGING AT Tue Feb 28 02:59:59 2012 Feb 28 09:53:32 khem: while looking at thumb issue with binutils-2.22 from oe-core, this patch is not applied http://sourceware.org/bugzilla/show_bug.cgi?id=13320 Feb 28 10:09:20 morning all Feb 28 10:24:24 heh. the bitbake-diffsigs outout "Task dependencies changed from <9717-character line> to <10127-character line>" could probably be made more helpful Feb 28 10:26:05 I have to cut, paste, split, sort & diff to see what actually differs Feb 28 10:29:05 indeed, the utility could fairly easily do that itself Feb 28 10:42:10 weird I see it with line breaks IIRC and also "Task dependency added: something" maybe this is from different "if" Feb 28 10:43:16 JaMa: http://pastebin.com/4Gu49eMn Feb 28 10:45:18 and "Dependency on Variable .* was removed" is what you get if you cut, paste, split, sort & diff it? Feb 28 10:45:45 or is this with some new patch from you? Feb 28 10:47:11 no this is from my adventures in trying to find out why the same poky branch built in two places doesn't produce the same sstate-cache hashes Feb 28 10:47:22 s/branch/checkout/ Feb 28 10:48:02 the difference is a number of *_eglibc-utils lines that exist in one but not the other Feb 28 10:48:39 but this and that's what's shown clearly in your pastebin after "Task dependencies changed from <9717-character line> to <10127-character line>" Feb 28 10:48:52 so IMHO it does what it should Feb 28 10:49:17 perhaps, but it's not very useful for a human Feb 28 10:49:36 it's near-impossible to see what changed Feb 28 10:50:43 next line shows that ${PN}-utils was added to PACKAGE variable Feb 28 10:50:56 to that's probably difference between your two checkouts Feb 28 10:53:01 again, it doesn't say that explicitly. it says "variable X was changed from "this long list" to "this long list". Feb 28 10:54:08 anyway, one of the runs was a full distro build, the other was "bitbake eglibc" to minimize the waiting. I didn't think it would cause different build results. Feb 28 10:55:25 and it looks like you have older bitbake without http://git.openembedded.org/bitbake/commit/?id=ca52bf32b479811bd7fed41648bedcc06b00430b Feb 28 10:55:47 yes, this is poky from nov23 Feb 28 10:55:51 I mean edison Feb 28 10:56:21 except the diffsigs program, which I run from master Feb 28 10:56:30 there were a lot of fixes wrt sstate this weekend Feb 28 10:57:03 that does indeed look like an interesting commit Feb 28 11:15:24 hello all - does anyone know what might cause "ERROR: Nothing RPROVIDES '"gdb"' "? Feb 28 11:15:39 when "bitbake gdb" works fine... Feb 28 11:16:16 johnt: looks like an extra set of quotes there? is that correct? Feb 28 11:16:36 sorry - that was just me adding them in Feb 28 11:17:34 i suppose a better way to word the question would be - why does "bitbake core-image-blah" fail to find gdb when "bitbake gdb" works fine...? Feb 28 11:18:53 johnt: it's complaining about a missing RPROVIDES Feb 28 11:19:06 i.e. a runtime dependency as opposed to build time Feb 28 11:19:18 so something is expecting a package called "gdb" and nothing provides that Feb 28 11:19:32 did you make any edits or is this a pristine clone? Feb 28 11:20:10 im sure there are a few edits at this point.... Feb 28 11:20:44 well, "git diff" will show any changes Feb 28 11:21:15 I'd recommend that any customisations that you don't intend sending upstream be done as a separate layer Feb 28 11:22:18 yeah, i have a separate layer for changes. my understanding of how this system works isnt the best and its a bit of a steep learning curve.. Feb 28 11:23:02 im getting the same error for valgrind - where should these RPROVIDES be defined? Feb 28 11:23:17 something is wrong Feb 28 11:23:26 there should definitely be a valgrind package Feb 28 11:23:32 oh there is Feb 28 11:23:43 and i can "bigbake valgrind" without a problem Feb 28 11:23:56 bitbake* Feb 28 11:24:36 right, target you specify to bitbake is a build time target though, so it's worth noting that it works but it's not a determining factor in whether an actual runtime provider of "valgrind" can be found Feb 28 11:26:00 ah ok Feb 28 11:26:22 I am a bit puzzled though Feb 28 11:27:45 so - i have valgrind and gdb included with IMAGE_INSTALL += "gdb" / "valgrind" in my core-image-[blah].bb - is this the correct way to include packages? Feb 28 11:30:57 bluelightning: what do you think? Feb 28 11:32:02 johnt: what does the slash indicate? you have two lines? Feb 28 11:32:37 yeah - the / was just for irc - its in two seperate lines Feb 28 11:32:48 ok, that is correct syntax and should work Feb 28 11:33:36 so - where does it go looking for an RPROVIDES to satisfy these? Feb 28 11:34:09 a recipe PROVIDES everything in its PACKAGES Feb 28 11:34:24 er, I mean a recipe RPROVIDES everything in its PACKAGES Feb 28 11:36:15 so, as a proof I just added IMAGE_INSTALL += "gdb valgrind" to my core-image-minimal recipe and it's doing a dry-run with no issues Feb 28 11:37:38 johnt: which release are you using btw? Feb 28 11:38:21 oh, er... does 1.1 sound correct? Feb 28 11:38:36 right, yes, that's what I was after Feb 28 11:41:17 yep, just did the same thing with the 1.1 release, also worked Feb 28 11:41:58 so something else is going wrong... can you tell me about any other changes you might have made? Feb 28 11:42:56 i dont think so - there are a good few and most of them were made before i inherited this repo... Feb 28 11:43:34 strange - gdb seems to be working now even though it wasnt a second ago and i havnt changed anything.... Feb 28 11:48:57 ?? Feb 28 11:49:52 that's certainly not behaviour I would expect nor have observed... Feb 28 13:45:00 bluelightning: still there? Feb 28 13:58:27 johnt: yep Feb 28 13:59:09 there is definitely a gdbserver package btw Feb 28 14:02:59 oh, ok Feb 28 14:03:03 sgw: your syslinux change 868a81e869a6193aada2073ae533d937a1c0baf4 has missed a PR bump and this broke my autobuilder :-( Feb 28 14:03:25 sgw: is it possible for you to bump PR of it? Feb 28 14:03:32 bluelightning: should there be a gdbserver,bb somewhere for that? Feb 28 14:03:52 johnt: no, it's a part of the gdb recipe Feb 28 14:04:12 johnt: in recipes-devtools/gdb/gdb.inc you can see it gets added to PACKAGES Feb 28 14:04:14 bluelightning: so should i be able to "bitbake gdbserver"? Feb 28 14:04:35 johnt: no, when you "bitbake gdb" it's one of the packages that gets produced Feb 28 14:05:01 but you should be able to add gdbserver to IMAGE_INSTALL, if you cannot you have some other issue Feb 28 14:05:23 bluelightning: ok cool - ill try that now! Feb 28 14:05:32 I wonder if this has something to do with x11 not being in DISTRO_FEATURES? Feb 28 14:06:17 im not sure - not having X11 seems to be causing all sorts of problems, using uclibc seems to cause yet more problems... Feb 28 14:06:51 well removing x11 from DISTRO_FEATURES was not well-tested... we have fixed a few issues with that in master Feb 28 14:07:29 I'm about to check to see how it behaves here Feb 28 14:07:34 (with 1.1) Feb 28 14:19:45 sgw: RP__ I just sent the change to bump PR to syslinux; if you can, please commit it so our autobuilder takes it :-) Feb 28 14:25:03 bluelightning: gdbserver has suddenly started working again, cant figure out why :S Feb 28 14:26:22 johnt: I don't mean to be difficult but generally things don't just suddenly start working, there must have been some kind of change in between Feb 28 14:28:07 I'd love to help diagnose what's happening but right now I'm not operating with much information about your setup Feb 28 14:31:29 bluelightning: no problem - thank you for your help so far, its greatly appreciated. Feb 28 14:32:20 i cleared out my build directory and started from scratch which seems to help a lot when something breaks Feb 28 14:43:31 just verified, adding gdbserver to core-image-minimal without x11 in DISTRO_FEATURES works in 1.1 Feb 28 15:04:18 RP__: I just sent a fix to licenses.conf fixing a quote error Feb 28 15:41:23 this is odd. after everything is installed from my sstate mirror, gcc, module-init-tools, dtc and u-boot sources are fetched and unpacked, but never configured or compiled! Feb 28 15:44:10 http://pastebin.com/sXpKjL5y Feb 28 16:05:00 is there any way to tell bitbake to *not* cache a git repository? especially if said git repository is a file:// url (local). Feb 28 16:05:38 I've read through Git.py, but don't see anything relevant, and I'm hoping I missed something. Feb 28 16:30:44 michael_e_brown: You might be better off with externalsrc.bbclass if that is what you really wan Feb 28 16:30:45 want Feb 28 16:34:51 thanks, let me take a look Feb 28 16:35:52 RP__, which version is that in? I'm in edison and don't see it. Feb 28 16:36:25 michael_e_brown: look for a patch on the mailing list. Its not merged anywhere yet Feb 28 16:37:18 RP__: any idea about that PACKAGECONFIG issue? I can try to fix it if you confirm that's issue not feature and maybe hint about how would you like to see it fixed Feb 28 16:38:24 JaMa: The -native one? Its a bug. I think we might have to teach PKGCONFIG about the class extentions Feb 28 16:39:06 so move that logic from handler to some function and call it on PKGCONFIG deps too, right? Feb 28 17:02:21 JaMa: it solves a different problem. Feb 28 17:05:07 khem: ok, and what about this http://repo.or.cz/w/binutils.git/commit/6b261118d38d8c4cc19c52892708f81b7ce65b0c ? interestingly may_use_v4t_interworking is used only once there.. Feb 28 17:13:35 JaMa: that was the patch I was trying to suggest other day but its already part of 2.22 gold we have Feb 28 17:14:16 I Feb 28 17:17:09 I was grepping sources unpacked by bitbake and haven't seen it there, now I do.. weird.. sorry for noise Feb 28 18:07:12 Ok Feb 28 18:07:23 I found two issues in bitbake ... Feb 28 18:07:24 > self.rqexe.finish_now() Feb 28 18:07:24 else: Feb 28 18:07:24 AttributeError: RunQueue instance has no attribute 'rqexe' Feb 28 18:07:38 File "/home/otavio/hacking/ossystems/embedded-linux/bitbake/lib/bb/runqueue.py", line 1000, in RunQueue.finish_runqueue(now=True): Feb 28 18:08:47 when does that happen? Feb 28 18:09:22 bluelightning Ctrl+C Feb 28 18:10:38 bluelightning: and the quotting fixed in https://github.com/OSSystems/meta-chicken/commit/f67fb8611a994e5f3ccc6872afaa95df8e6f10b9 did not raise a parsing error even thought they were not used and broken the chicken build; fixing quotting fixed the building Feb 28 18:11:13 otavio: ah yes you're right, multiple ctrl+c does trip that Feb 28 18:11:49 otavio: would you mind filing bugs for both of those? Feb 28 18:12:20 bluelightning: at this moment, i do ... i am trying to fix autobuilder after last changes and i am having a hard time with them Feb 28 18:13:08 that's unfortunately the price of staying on the bleeding edge... Feb 28 18:13:40 I can file a bug for the ctrl+c issue Feb 28 18:18:47 argh now I can't reproduce it :/ Feb 28 18:21:51 nope, just tried about 10 times, can't make it crash like the first time Feb 28 18:21:59 that shouldn't be happening -- the server uses signal() to block SIGINT. I suspect its a timing thing -- that signal handling change might not be happening early enough in the server initialization Feb 28 18:22:06 also see it only sometimes Feb 28 18:22:11 it's the UI that should be getting SIGINT, not the server Feb 28 18:22:23 kergoth: this is way past server initialisation though Feb 28 18:22:30 but sometimes it refuses to die completely on ^C and calling killall bitbake from 2nd shell is faster Feb 28 18:23:21 iirc git status from buildhistory doesn't die on ^C in bitbake Feb 28 18:24:18 hmm, we should probably try to fix that Feb 28 18:27:39 is this poky? i know the Process server blocks interruption, but I know nothing about the xml/rpc server Feb 28 18:29:40 * JaMa has it with bitbake master Feb 28 18:29:50 bluelightning: sure; i just wanted to let you guys know the issue ... Feb 28 18:29:56 kergoth: bitbake's tip Feb 28 18:30:19 bluelightning: but the parsing error is much worse imo as it is quite difficult to gasp Feb 28 18:30:29 bluelightning: it just ignored the export completely Feb 28 18:47:01 * bluelightning -> home Feb 28 18:57:25 anyone know how to get (multilib) libgcc installed on the rootfs? Feb 28 18:57:33 im having a package renaming issue Feb 28 18:58:08 i can't just IMAGE_INSTALL_append = " lib64-libgcc" because the actual package names are libgcc-s and libgcc-s1 Feb 28 18:58:18 i can install them just fine Feb 28 18:58:27 the package renaming isn't getting hit for this case Feb 28 19:12:24 iirc there's a MULTILIB_IMAGE_INSTALL or somesuch? *shrug* Feb 28 19:13:10 kergoth: yep, ive got normal packages installing just fine Feb 28 19:13:20 kergoth: lib64-gcc lib64-binutils Feb 28 19:13:24 its just the package renaming Feb 28 19:14:47 ah Feb 28 19:29:41 these quotin fixes are nagging Feb 28 19:31:46 it's not so bad and definetly worth it as they help to find few bugs too Feb 28 19:32:11 yeah Feb 28 19:32:37 an automation could have helped Feb 28 19:33:59 I haven't liked to reparse all 20 times.. but I think now it's only some other layers and in smaller amounts Feb 28 19:34:32 and for new recipes it's easy to fix them before sending patch so it shouldn't repeat again now with that patch in for everybody Feb 28 19:34:34 Do u have meta-ti in your project ? Feb 28 19:34:45 no Feb 28 19:35:06 well then you are lucky that its only 20 times Feb 28 19:38:50 actually it was more like 80 times if I sum up oe-core/meta-oe/meta-smartphone layers :) Feb 28 20:03:58 it takes 10+ mins to parse angstrom on my box. We are back to where oe.dev use to be :) Feb 28 20:05:50 * zeddii just suffered through his own quoting-fest Feb 28 20:06:55 khem: yikes Feb 28 20:16:38 I wonder how esben's PLY-based parser performs Feb 28 20:45:54 RP__: is there a simple mechanism to disable shared state usage for a particular recipe, or do I need to hijack/remove the task(s)? Feb 28 20:46:05 In particular I'm thinking about the external toolchain recipes Feb 28 20:46:14 not really gaining us much Feb 28 20:46:16 hm Feb 28 21:09:42 I don't think I've ever actually seen bitbake -S work Feb 28 21:09:47 always with the basehash mismatch crap Feb 28 21:15:51 So, locally, I'm adding the build machine distro/version (using lsb_release) to the native/cross signatures, to resolve issues where a native binary is built on a newer system and therefore won't run on an older one. any opposition to something like that going upstream into yocto? Feb 28 21:17:53 it's in a separate .inc, so wouldn't impact any distros that don't opt-in Feb 28 21:19:25 hollisb: well, it's a starting point Feb 28 21:19:33 hollisb: did you bump the PR on the image recipe? Feb 28 21:21:57 not the image recipe; the task recipe Feb 28 21:23:07 msm: interestingly, IMAGE_INSTALL_append caused the package to be built this time, but still not included in the rootfs Feb 28 21:29:44 look at the RPMs created Feb 28 21:29:55 rpm -qlp tmp/deploy/rpms/$ARCH Feb 28 21:30:07 and see if the pkg pkg-dev pkg-dbg contains what you want Feb 28 21:30:14 you may be looking for a different package Feb 28 21:30:25 a recipe can create multiple packages fyi Feb 28 21:33:10 is unionfs supported by the kernel? It seems like it is a separate module. Is there already a recipe for it? Feb 28 21:33:30 hollisb: ^ Feb 28 21:37:22 IMAGE_INSTALL should have staged it and also added it to your image if you did IMAGE_INSTALL_append-pn- = " " Feb 28 21:38:57 hmm IMAGE_INSTALL_append_pn- Feb 28 21:39:57 khem: well, I didn't do that, but again that's just a local hack. my real problem is that http://pastie.org/3483112 didn't do what I expected Feb 28 21:40:08 khem: any ideas about that? Feb 28 21:43:24 is usbinit a module ? Feb 28 21:44:37 no, it's a package Feb 28 21:44:57 khem: meta/recipes-bsp/usbinit Feb 28 21:46:29 ok and you added it to RRECOMMENDS of task-base Feb 28 21:46:38 what happens if you add it to RDEPENDS ? Feb 28 21:49:56 ahh, let's find out Feb 28 21:52:31 khem: no joy (and yes I incremented task-base.bb PR). would I need to explicitly clean core-image-minimal? Feb 28 21:52:38 sgw: heh, I could not reproduce the libtool build error Feb 28 21:53:22 though, this time help2man was correctly found Feb 28 21:55:18 sgw: sorry, I was looking at libtool-native. The help2man warning is still there, nothing changed then Feb 28 21:58:11 hollisb: did you look at the individual packages created by usbinit? Feb 28 22:00:43 msm: adding to RDEPENDS_task-base or RRECOMMENDS_task-base doesn't build any usbinit packages at all Feb 28 22:01:11 does the usbinit have a proper make install step? Feb 28 22:01:23 can you look at the sysroot for that particular package? Feb 28 22:02:13 msm: meta/recipes-bsp/usbinit/usbinit.bb does have a do_install() step Feb 28 22:03:04 msm: the package is not being built, so what would create a sysroot? Feb 28 22:03:47 there is no tmp/work/${ARCH}/usbinit/ ? Feb 28 22:04:42 msm: nope Feb 28 22:05:09 msm: (this is with the task-base.bb patch, not IMAGE_INSTALL*) Feb 28 22:06:08 hollisb: is usbinit under bitbake -s output? Feb 28 22:06:18 also, is there a COMPATIBLE_MACHINE bit on that recipe? Feb 28 22:07:47 bitbake -s does list usbinit Feb 28 22:08:21 COMPATIBLE_MACHINE is not mentioned in the recipe, but it's used indirectly in task-base.bb Feb 28 22:09:25 bitbake -e says: COMBINED_FEATURES="alsa usbgadget usbhost" Feb 28 22:10:46 and I'm adding to RDEPENDS_task-base-usbgadget in task-base.bb Feb 28 22:11:14 well, you saw the diff -- I changed from RRECOMMENDS to RDEPENDS, without apparent effect Feb 28 22:11:33 well usbinit is a common recipe for all arches Feb 28 22:11:51 so putting it under something COMPATIBLE_MACHINE might be wrong thing Feb 28 22:12:27 khem: I don't see any COMPATIBLE_MACHINE around (I misspoke earlier -- I was actually looking at COMPATIBLE_FEATURES) Feb 28 22:12:52 khem: so if I want usbinit to be included whenever usbgadget is present/enabled, isn't this how I should do it? Feb 28 22:12:52 ok bitbake -g Feb 28 22:13:02 and then inspect the resulting .dot files Feb 28 22:13:18 do they list usbinit.bb in dep order Feb 28 22:13:24 ok Feb 28 22:13:50 khem: usbinit does not appear in task-depends.dot Feb 28 22:14:13 look in pn-depends Feb 28 22:15:16 khem: usbinit does not appear in *.dot Feb 28 22:16:21 (using RRECOMMENDS) Feb 28 22:18:23 hollisb: are any of the other usbgadget packages getting built? Feb 28 22:19:56 msm: doesn't look like it Feb 28 22:20:13 hmmm, I have a tmp/work/all-poky-linux/usbinit-1.0-r2 now Feb 28 22:20:32 oh, just contains run.sstate_cleanall.16254 Feb 28 22:20:40 from an explicit -c clean earlier, I guess Feb 28 22:22:14 hollisb: ya, i wonder if task-base is getting cached Feb 28 22:22:52 try bitbake -c cleanall task-base Feb 28 22:23:10 i never liked tasks myslf Feb 28 22:23:17 i just make an image and modify IMAGE_INSTALL Feb 28 22:23:20 :) Feb 28 22:23:28 cleanall, never heard of that one. I'll give it a shot Feb 28 22:23:31 since if I want something, the DEPENDS should be correct and I can get what I need Feb 28 22:23:33 well they are really not tasks they are actually featuresets Feb 28 22:23:37 is just me or bitbake has been completely broken? Feb 28 22:23:54 otavio: it is you Feb 28 22:24:00 hhehh Feb 28 22:24:03 otavio: since I dont know anything is broken in bitbake Feb 28 22:24:18 You guys are using current tip? Feb 28 22:24:29 it seems exporting of vars in recipes are broken Feb 28 22:24:38 if not properly quoted Feb 28 22:24:52 quote your VARS!! Feb 28 22:25:07 mranostay: yes but it doesn't raise a parse error Feb 28 22:25:14 mranostay: that's the problem Feb 28 22:25:19 mranostay: it just go ahead Feb 28 22:25:23 * ant__ is quoting opie one by one just to finish a build... Feb 28 22:25:26 mranostay: non shell exports, works Feb 28 22:25:36 khem: could this be related to building core-image-*minimal*? AFAICS, -minimal should still respect task-base-usbgadget, but... Feb 28 22:25:39 ant__: care to check patchwork ? Feb 28 22:25:43 ant__: but i mean shell export Feb 28 22:25:53 ant__: I posted patches for quoting issue to different layers Feb 28 22:26:13 hollisb: is taks-base appearing in dot files ? Feb 28 22:27:30 * mranostay waves to hollisb Feb 28 22:28:06 khem: it is not Feb 28 22:28:09 mranostay: hey! :) Feb 28 22:29:12 hollisb: can't escape you guys i noticed :) Feb 28 22:30:08 hollisb: so you have been barking up the wrong tree Feb 28 22:30:18 are you sure task-base is getting pulled into core-image-min? Feb 28 22:31:02 well that's what I asked a while ago :) Feb 28 22:31:16 it says its the DEFAULT_TASK_PROVIDER Feb 28 22:31:17 lets start over Feb 28 22:31:21 whats your image ? Feb 28 22:31:26 core-image-minimal Feb 28 22:31:27 whatever that means Feb 28 22:31:36 ok. core-image-minimal Feb 28 22:31:49 now you want what to go in there in addition to what it has ? Feb 28 22:32:19 I want the usbinit package, when the usbgadget feature is present Feb 28 22:32:57 ok and usbgadget is a MACHINE_FEATURE Feb 28 22:33:02 yup Feb 28 22:33:44 you might use a bbappend to task-base for it, in your layer Feb 28 22:34:12 otavio: I think this change should be present in the stock layers Feb 28 22:34:29 and would like to send a patch, after I get it working ... Feb 28 22:34:34 zeddii: ping Feb 28 22:36:55 khem: so meta/recipes-core/images/core-image-minimal.bb inherits core-image Feb 28 22:37:18 and meta/classes/core-image.bbclass contains this: CORE_IMAGE_BASE_INSTALL = "[...] task-base-extended [...]" Feb 28 22:38:04 should that be enough to pull in meta/recipes-core/tasks/task-base.bb and RRECOMMENDS_task-base-usbgadget ? Feb 28 22:39:16 yes adding it to RRECOMMENDS_task-base-usbgadget in task-base.bb should be ok Feb 28 22:40:41 khem: ok, then I still don't know what I'm doing wrong :) Feb 28 22:41:04 ok and thats what you did right ? Feb 28 22:41:20 khem: yes: http://pastie.org/3483112 Feb 28 22:41:30 now do bitbake -g core-image-minimal and paste those .dot files for me please Feb 28 22:42:00 and also your local.conf Feb 28 22:42:28 heh I want to read https://lwn.net/Articles/483921/ Feb 28 22:43:03 we had been trying to preserve / and most seem to move to /usr Feb 28 22:43:38 khem: not an LWN subscriber? Feb 28 22:44:05 hollisb: no, I am not Feb 28 22:44:22 khem: just sent to your mail a pdf Feb 28 22:44:28 khem: ;-) Feb 28 22:44:37 k thx Feb 28 22:44:39 they have web links too: http://lwn.net/SubscriberLink/483921/b6cd4e86041e402d/ Feb 28 22:45:34 khem: I'm not sure how to send you the .dot files. copy/paste into a pastebin? Feb 28 22:46:12 ah I can just email Feb 28 22:49:53 pastebin is better Feb 28 22:50:02 but either way =) Feb 28 22:50:16 khem: I've liked 'the epic gentoo-dev thread on the topic' Feb 28 22:52:04 yeah sending huge mails to inbox is kind of bad :) Feb 28 22:52:27 hollisb: anyway I see that task-base is ignored in your dep tree Feb 28 22:52:40 only task-core-boot is honoured Feb 28 22:52:44 lets see Feb 28 22:52:58 CORE_IMAGE_BASE_INSTALL = '\ Feb 28 22:52:58 task-core-boot \ Feb 28 22:52:58 task-base-extended \ Feb 28 22:53:01 in meta/classes/core-image.bbclass Feb 28 22:53:42 ok so what happened to task-base-extended ? Feb 28 22:54:20 hmm Feb 28 22:54:44 lsls Feb 28 22:56:08 ls! Feb 28 22:57:01 slow connections :) Feb 28 22:57:23 interesting task-base never gets pulled in Feb 28 22:58:25 hollisb: ok so if you try bitbake task-base does it include your desired package ? Feb 28 22:59:38 trying Feb 28 23:00:55 khem: yes, I see a bunch of usbinit success messages (do_package_write_ipk_setscene: Succeeded, do_package_setscene: Succeeded, etc) Feb 28 23:01:02 ok Feb 28 23:01:08 so what you did is right ! Feb 28 23:01:18 don't know how that happened ;) Feb 28 23:01:21 somewhere the upper deps are getting borked Feb 28 23:01:48 ok now try bitbake -g task-base-extended Feb 28 23:02:00 and see if task-base appears to be in depchain Feb 28 23:04:08 ok Feb 28 23:04:49 I will add that I'm using the meta-ti layer, along with BBMASK = ".*/meta-ti/recipes-misc/" Feb 28 23:04:58 thats ok Feb 28 23:05:46 after that bitbake -g task-base-extended, "task-base.do_package_write_ipk" does appear in task-depends.dot Feb 28 23:06:02 and task-base.do_install, etc Feb 28 23:07:53 ok Feb 28 23:10:14 hollisb: ok you see IMAGE_INSTALL = "task-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP} ${CORE_IMAGE_EXTRA_INSTALL}" in core-image-minimal.bb ? Feb 28 23:10:27 which means the image you used is not right one for you Feb 28 23:11:09 ok, I see it Feb 28 23:11:27 core-image-minimal does not want task-base Feb 28 23:11:37 its happy with task-core-boot Feb 28 23:11:37 hmmmmm, I see Feb 28 23:12:22 hollisb: you want core-image-base Feb 28 23:12:30 well that was an anti-climactic ending Feb 28 23:12:37 LOL Feb 28 23:12:49 khem: I'll give it a shot. thanks very much Feb 28 23:12:51 it will be nonimated for academy awards Feb 28 23:13:00 :) Feb 28 23:14:04 ahh, so core-image.bbclass ordinarily sets IMAGE_INSTALL, but in this case core-image-minimal.bb overrides it Feb 28 23:14:06 I get it now Feb 28 23:14:20 yes Feb 28 23:14:32 since its minimal it wants to strip out defaults Feb 28 23:14:47 well at least I learned something :) Feb 28 23:14:50 so rule of thumb is use core-image-base for something normal Feb 28 23:15:06 and if you prefer x11 a bit use core-image-core Feb 28 23:15:19 and if you like WMs then go for core-image-sato Feb 28 23:15:40 and I learned nothing but chased my own tail number of times Feb 28 23:15:46 hehe sorry Feb 28 23:16:05 nothing to be sorry about it. We created this system this way Feb 28 23:39:08 I am building from scratch with current bitbake and oe-core to be sure it works or not Feb 28 23:39:12 :) **** ENDING LOGGING AT Wed Feb 29 02:59:58 2012 **** BEGIN LOGGING AT Wed Feb 29 02:59:58 2012 Feb 29 04:26:26 RP__, thanks for the externalsrc.bbclass pointer. Found lots of useful stuff that looks exactly like what I want. Feb 29 04:54:02 question on bitbake debugging: I've made a couple mods to some bbclasses that I locally have, and now bitbake hangs forever with no debug output. How to debug? bitbake -DDD -vvv doesnt seem to show anything helpful Feb 29 05:11:32 mebrown: what bitbake version? Feb 29 05:11:46 edison, let me check Feb 29 05:12:11 BitBake Build Tool Core version 1.13.3, bitbake version 1.13.3 Feb 29 05:12:33 I ended up commenting out stuff until it started barfing on itself instead of hanging Feb 29 05:12:38 still would like a better way to do that Feb 29 05:15:02 tried dropping in externalsrc.bbclass from here: http://patches.openembedded.org/patch/21919/ and it hangs when I add an inherit statement to pull it into my existing code. Feb 29 05:23:14 ok, great... it's hanging again... Feb 29 05:29:01 grab the latest bitbake, master branch, its git repository Feb 29 05:29:13 the hang issues hsould be resolved there, as far as i know Feb 29 05:31:00 stupid question: if I grab latest bitbake, what is the non-intrusive way to integrate it into my existing build? (ie. I currently run: . ../yocto/oe-init-build-env . Feb 29 05:31:33 or do I just move the current yocto/bitbake/ dir and make a symlink to the new one? Feb 29 05:43:30 replace the bitbake dir.. but be aware the yocto bitbake has a few patches that are not yet in the upstream bitbake. I don't believe these will cause any functional issues though... Feb 29 06:01:32 thx Feb 29 06:29:08 so, of course, it turns out that my code was throwing an exception at a moment that crashes bitbake without any diagnostics. I've now learned to wrap all my code with try/except and traceback.print_exc() Feb 29 06:36:34 mebrown: that shouldn't happen... is this with edison or master? Feb 29 06:36:43 edison Feb 29 06:37:04 is it easy to reproduce? I'd like to try here Feb 29 06:37:32 Let me see if I can quickly do a minimal test case... should be easy Feb 29 06:40:07 thanks Feb 29 06:42:58 create crasher.bbclass containing: Feb 29 06:42:59 python () { Feb 29 06:42:59 print "foo %s with %s" % ("bar",) Feb 29 06:42:59 } Feb 29 06:43:20 then inherit it somewhere and bitbake basically hangs with no diagnostics Feb 29 06:44:29 bluelightning, --^ Feb 29 06:44:37 * bluelightning tries Feb 29 06:47:09 I guess I also need to inherit this class somewhere Feb 29 06:47:44 yes Feb 29 06:47:58 --> "then inherit it somewhere and bitbake basically hangs with no diagnostics" Feb 29 06:48:42 ah, sorry, mentally skipped that line... Feb 29 06:49:03 ok, in master you get a moderately sensible backtrace and it exits as you would expect Feb 29 06:49:42 that's all I'm asking for, I'll keep master handy for future debugging. In edison, it took me literally hours of wasted time today to figure out what was going on. Feb 29 06:49:55 mebrown: sorry about that :( Feb 29 06:49:59 From now on in edison, I'll just wrap everything in a try/except at the top level. Feb 29 06:50:46 mebrown: are you using the edison-6.0 release or the edison branch? Feb 29 06:50:50 no worries! the rest of yocto/bitbake is awesome and has saved me oodles of time Feb 29 06:50:55 6.0 release Feb 29 06:51:02 ok Feb 29 06:51:09 after I have something stable, I'll switch over to the branch Feb 29 06:51:19 but for now, I need as few things changing as possible Feb 29 06:51:30 sure, of course Feb 29 06:51:43 this is our first yocto implementation, replacing an aging homebrew system Feb 29 06:51:44 we try not to be another "just use bleeding edge" project :) Feb 29 06:52:01 and that's the only way I'm able to sell it here. --^ Feb 29 06:52:15 so I commend you all Feb 29 06:52:30 it's possible we could backport the fix for the 1.1.2 release if it hasn't already hit in 1.1.1 Feb 29 06:52:41 ok. appreciated. Feb 29 06:53:15 I'm just now getting nicely integrated externalsource.bbclass and some nice git versioning. Feb 29 06:53:48 question: I'm trying my meta layer together with the android 'git-repo' tool. Is this something unique or interesting that others would like a writeup on? Feb 29 06:54:07 each recipe directory has a git/ subdir where repo checks out that recipes source Feb 29 06:54:11 mebrown: sure, I know I'd be interested Feb 29 06:54:19 then a hacked-up externalclass that redirects everything there Feb 29 06:54:47 I'll get something written up and posted when I get this all stable. Feb 29 06:54:58 great stuff, will look forward to reading it :) Feb 29 06:55:45 One thing I could use some help on, which is somewhat unrelated, but my next step: Feb 29 06:55:57 I have some embargoed source that not everybody can check out Feb 29 06:56:34 I'd like to build on my autobuilder and let devs that don't have access use pre-built IPKs, if possible, or something else that has only the headers/binaries Feb 29 06:56:58 it seems to me like I need to hack up do_populate_sysroot, but I'm at a loss as to where to start Feb 29 06:57:38 basically, the recipe will detect the git/ subdir and use it, if available, or use prebuilt stuff if it isnt there. Feb 29 07:00:49 mebrown: I would have thought the simplest way to handle that would be two separate recipes, and those who do have access to the embargoed version (which would have DEFAULT_PREFERENCE = "-1") would be able to select it with PREFERRED_VERSION_xx = "embargoed_version" Feb 29 07:01:19 obviously that's not automatic if that's what you need Feb 29 07:01:20 that sounds reasonable. How do I set up the embargoed_version? Feb 29 07:01:27 it is automatic enough, i think Feb 29 07:02:26 just take a copy of the recipe with a different "version" (filename portion after the _), set SRC_URI as appropriate, and add DEFAULT_PREFERENCE = "-1" Feb 29 07:02:55 you could even "require" the other recipe and then just add the above so as not to duplicate the content Feb 29 07:03:16 Are you saying I have to manually set up another src_uri with only the headers and pre-built binaries? Feb 29 07:04:18 perhaps I misunderstand how you have these two versions available but are they not effectively different URLs already? Feb 29 07:04:31 misunderstanding, let me clarify Feb 29 07:05:28 lets say, for example, I have a git repo embargoed.git. This repo contains source I cannot release to one of the vendors that is helping on the project. But it does build to embargoed_1.0.sh4.ipk and embargoed-dev_1.0.sh4.ipk Feb 29 07:05:40 and I can release those IPKs to the vendor (they have no source) Feb 29 07:07:15 I need a way for the vendor who doesn't have access to embargoed.git to be able to do a full build. Feb 29 07:10:38 you mention headers, is this something that other things need to link to at build time? Feb 29 07:10:57 yes Feb 29 07:11:33 hmm, I have to admit I've not had to deal with this specific situation before Feb 29 07:11:44 as you say populate_sysroot is the tricky piece Feb 29 07:17:05 mebrown: actually I think the simplest way to handle this will be to use a separate recipe; treat the ipks as archives which you can extract in do_unpack and then install in do_install Feb 29 07:17:30 That seems promising. thanks Feb 29 07:17:52 is this a situation you expect to need to handle a lot? Feb 29 07:18:12 I have about 5-10 packages like this Feb 29 07:18:36 could be that a class would be in order... Feb 29 07:19:02 that was what I was thinking Feb 29 07:19:20 I wonder if others have had to deal with this as well Feb 29 07:19:32 although there's no guarantee they would be using ipk Feb 29 07:19:35 I've asked a couple times on irc Feb 29 07:19:54 I tried to use rpm at the beginning, but I ran into some problems with rpm Feb 29 07:20:00 that switching to ipk fixed Feb 29 07:20:25 no time to look into that further, but the 'embargoed' concept should be similar no matter what packaging system is in use Feb 29 07:21:57 New question: is there any way to tell bitbake to force rebuild a specific package and all packages which depend on it? Feb 29 07:23:10 no; we do have something to handle that automatically but it's not really available in edison Feb 29 07:23:27 ? only in newer? Feb 29 07:23:53 it relies upon us tracking recipe dependencies, and by that I mean every variable the recipe refers to Feb 29 07:25:14 the traditional model has been simple stamp files with a check on the version Feb 29 07:25:54 I'm running into a situation where some things aren't being rebuilt when things they depend on change and failing Feb 29 07:26:04 in future it will be stamp files containing a hash based on variable values, and if that changes then the recipe gets rebuilt and the checksum affects recipes that depend on it, so they also get rebuilt Feb 29 07:26:08 yes Feb 29 07:26:13 not sure if that's just me or if other devs will hit it too Feb 29 07:26:28 what is the easiest way to get out of that situation (so I can document it) Feb 29 07:26:29 in the traditional system you are expected to bump PR on each of the dependents Feb 29 07:26:51 when you know that the ABI has changed Feb 29 07:27:05 ok. I'm trying to implement automatic PR based on how many git commits there have been, so that may be taken care of in the next couple days Feb 29 07:28:09 Ok, I'm trying to drop in richard purdie's externalsource.bbclass: http://comments.gmane.org/gmane.comp.handhelds.openembedded.core/16028 Feb 29 07:28:14 but I got this: Feb 29 07:28:20 File "__anon_56__home_michael_e_brown_build_dev_build_yocto_sh4____meta_drac_classes_externalsrc_bbclass", line 12, in __anon_56__home_michael_e_brown_build_dev_build_yocto_sh4____meta_drac_classes_externalsrc_bbclass Feb 29 07:28:21 AttributeError: 'DataSmart' object has no attribute 'appendVarFlag' Feb 29 07:28:48 is there a backwards-compatible way to implement that? Feb 29 07:28:55 the line in question is: Feb 29 07:28:57 d.appendVarFlag(task, "lockfiles", "${S}/singletask.lock") Feb 29 07:32:17 mebrown: that's really just an optimisation shortcut, you can just replace it with getVarFlag and setVarFlag Feb 29 07:32:26 that's what I thought Feb 29 07:32:39 I was looking at the code trying to see about fixing it Feb 29 07:32:58 this stuff is deeper in to bitbake than I've needed to go thus far Feb 29 09:40:31 mebrown: either paste in the definition of appendVar from data_smart.py or just use a getVarFlag and setVarFlag Feb 29 09:54:19 good morning Feb 29 10:35:57 how do I find more info than "Hash for dependent task virtual:nativepseudo_1.2.bb.do_install changed from 29851d995fc3d09df8cfa7a6549e6a9e to 6d1f03c55fb07ddf4b968ef04dbcd44a"? I don't have .siginfo files for that virtual task to compare Feb 29 10:46:01 Zagor: try bitbake -S pseudo-native and compare stamps dirs Feb 29 10:47:47 what/where are stamps dirs? Feb 29 10:47:59 TMPDIR Feb 29 10:48:13 ah Feb 29 10:48:27 read "[OE-core] Machine dependencies validation with sstate" Feb 29 11:01:38 this is so weird. one build used sqlitenative 3.7.10, the other used 3.7.9. these are builds using the *same* unmodified poky directory. Feb 29 11:02:59 sqlite 3.7.9 isn't even specified in the layers I'm including. only in the openembedded-core dir I have checked out. Feb 29 11:03:55 is bitbake looking for recipes outside the layers I'm listing in bblayers.conf? Feb 29 13:14:14 otavio: I found the export issue you mentioned Feb 29 13:14:34 otavio: I've pushed a fix into bitbake so it will now raise parse errors over the invalid syntax Feb 29 13:26:30 RP__: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=126f634207cd11f8e4b0324b90613b76193ca8d2 removed IMAGE_CMD_ext2.gz, which meta/classes/image_types_uboot.bbclass uses. i suppose it should be updated to the new generic solution? Feb 29 13:29:12 Zagor: I'd not realised that code was there. Yes, its going to need to be updated :/ Feb 29 13:39:38 RP__: ok, your patch for toolchain-scripts.bbclass looks better Feb 29 13:46:15 RP__: awesome and thanks :-) Feb 29 13:49:28 Zagor: Try something like http://pastebin.com/csDhr6FB Feb 29 13:49:48 thanks, will do Feb 29 14:04:05 RP__: hmm, with that I get "exception ValueError: 'ext2.gz.u-boot' is not in list". Feb 29 14:04:45 should I just add ext2* entries to match? Feb 29 14:06:45 my distro has IMAGE_FSTYPES = "ext2.gz.u-boot tar.gz" Feb 29 15:12:43 can I somehow add "printf debugging" to a script, to display variables at runtime? Feb 29 15:12:50 s/script/recipe/ Feb 29 15:20:03 bitbake -e recipename will dump all the variables for recipename Feb 29 15:20:12 *extremely* helpful to make sure your assumptions match reality :) Feb 29 15:24:05 I am trying to patch dropbear's init script - here are my bbappend and diff file. http://pastebin.com/bxZhEKJD - I get an error - can't find file to patch - I am guessing that the diff file does not have the right header. I am not sure what the right way to generate the patch it. Or does it mean that I *can not* patch a source file and need to overwrite it? Feb 29 15:24:30 other parts of the recipe seem to work fine - just patching of init is busted Feb 29 15:27:35 autif: I'm not sure whether bitbake looks at the file extension but I had success whith using .patch Feb 29 15:27:43 kergoth: thanks Feb 29 15:28:45 np Feb 29 15:28:47 kenws - somewhere I read that patch was "old way", diff is "new way". Cant recall where - will give it a try Feb 29 15:29:33 Zagor: from python in the metadata you can also use bb.warn, bb.error, bb.note (though you won't see note to the console, just the logs), but of course that's only helpful in a python task, event handler, or anonymous python function, you can't just put it on a line in the metadata the way you can with $(warning) in make :) Feb 29 15:29:36 hence, bitbake -e Feb 29 15:29:51 right Feb 29 15:30:14 kenws - same error Feb 29 15:31:42 autif: what's the error and where did you place the patch? Feb 29 15:33:18 I get this parse error after applying RP__'s patch: http://pastebin.com/UKWcFSNA Feb 29 15:33:54 I'm a bit confused about who/where is expanding do_rootfs and what list it he referring to Feb 29 15:34:24 I am guessing it is a problem with the header in the diff file - I am not sure what it should look like - init file ends up in work/arch/dropbear-2011.54-r1, not in work/arch/dropbear-2011.54-r1/dropbear-2011.54 - where is where it is looking for init - I am not sure how init ended up in 1 instead of 2 Feb 29 15:35:07 *what list it is referring to Feb 29 15:36:02 Hm, I'm certainly not a bitbake expert but I'd guess as long as the diff applies using patch it should be fine. Feb 29 15:36:05 both init and init.diff end up in the same directory - that must be good Feb 29 15:37:25 yup - I copied the file manually to dropbear-2011.54-r1/dropbear-2011.54 and the patch applied fine - after a little tweak - have to change the header - a/init, b/init - style Feb 29 15:37:57 what I am having problem with is that init is not in dropbear-2011.54-r1/dropbear-2011.54, it is in dropbear-2011.54-r1 Feb 29 15:41:46 so how would i go about building a module out of tree with a recipe? Feb 29 15:42:27 inherit module. there are examples in the layers, grep for that Feb 29 16:03:50 RP__: why does -S output .sigdata. and a normal build emits .siginfo, and to two different locations? the format is the same, giving them entirely different names and locations seems a bit odd. Feb 29 16:09:08 I can see an argument for different locations, *maybe*, but the sigdata vs siginfo thing just seems like just needless inconsistency Feb 29 16:10:31 kergoth: There was some significance originally (maybe whether it was just the basehash or included the taskhash data too?) Feb 29 16:10:45 kergoth: I don't entirely remember though Feb 29 16:11:47 that'd make a certain amount of sense, but i dont' think this naming implies anything of the sort :) Feb 29 16:15:14 RP__: any objection to adding a bitbake-dumpsig or similar which just does a pickle.load() and pprint() on the loaded data? Feb 29 16:15:24 not everyone will want to use an interactive python session to load and inspect their contents Feb 29 16:18:36 kergoth: you're seen bitbake-diffsigs? Feb 29 16:18:50 yes, that's insufficient Feb 29 16:19:02 kergoth: we could add a symlink to that from bitbake-dumpsig Feb 29 16:19:03 seeing the differences doesn't tell me *how* a variable got sucked in Feb 29 16:19:12 kergoth: that command can take a single file Feb 29 16:19:36 thats an extremely odd and unintuitive behavior, given the name of the tool :P Feb 29 16:20:37 kergoth: like I said, lets add a symlink... Feb 29 16:20:49 kergoth: the functionality is there at least Feb 29 16:21:28 i'd just split out a separate script, it's 5 lines of python at most. especially since we should avoid symlinks in git repositories due to filesystem limitations for portability reasons Feb 29 16:21:47 but either way, i think we should do something Feb 29 16:22:08 thanks, was wondering, didn't know about the diffsigs one arg functionality Feb 29 16:23:12 kergoth: thanks Feb 29 16:24:52 oh, i see, the one argument diffsigs option is prettier than pprint, so more than 5 lines :) Feb 29 16:28:07 kergoth: right :) Feb 29 16:28:31 kergoth: I think this got implemented when I as debugging things and then I forgot to make the command names match Feb 29 16:28:47 kergoth: Since then the command names don't really register with me... Feb 29 16:29:04 if there isn't much code duplication, i'd split it out, otherwise we can make a small wrapper script to avoid the symlink Feb 29 16:29:42 kergoth: it is a trivial file basically bb.siggen.dump_sigfile(sys.argv[1]) Feb 29 16:29:56 ah Feb 29 16:30:00 okay then Feb 29 16:30:16 * kergoth adds to todo for another time Feb 29 16:31:42 thanks again for the info Feb 29 16:31:45 * kergoth dives back into sstate bits Feb 29 16:32:02 RP__: oh, any objection to adding EXTERNAL_TOOLCHAIN to the basehash whitelist? the path is getting sucked into TOOLCHAIN_OPTIONS & friends Feb 29 16:32:07 though, hmm Feb 29 16:33:33 yeah, i think thats worth doing. the other thing we're doing that isn't yet upstream in this area is including the external toolchain version in the target recipe signatures via vardeps in CC or similar Feb 29 16:34:12 ah, no, i added it to TOOLCHAIN_OPTIONS.. hmm, maybe thats how external toolchain is getting sucked in.. oops, maybe this is all due to that Feb 29 16:34:25 feel free to ignore me for now, but i'll probably try to get these bits pushed at some point in the future :) Feb 29 16:35:56 oh wait, no, EXTERNAL_TOOLCHAIN also gets sucked into TARGET_CPPFLAGS. so we do need to look into excluding that regardless :) Feb 29 16:36:10 * kergoth wanders off for a walk and mutters Feb 29 18:20:43 kergoth: Its probably fine to add it Feb 29 20:16:54 so is there a way to have a local git tree in the SRC_URI? Feb 29 20:17:09 one that is one the local filesystem only Feb 29 20:17:38 mranostay: you probably want to use the externalsrc class Feb 29 20:17:43 but yes, you can, if you really want to Feb 29 20:18:24 ew that looks ugly :) Feb 29 20:18:42 externalsrc is nice because it builds directly in the local tree, no "unpacking" and all Feb 29 20:18:44 probably better to just "share" it with http Feb 29 21:05:14 I'm trying to port an older recipe to my layer, it has a postinst script which I put inside 'if [ x"$D" = "x" ]; then' so it won't run at image creation time, but it doesn't seem to run at boot Feb 29 21:05:34 I do see /var/lib/opkg/info/.postinst, and if I run it manually it works Feb 29 21:05:47 but I can't figure out why it doesn't run at first boot Feb 29 21:09:24 zeddii: may I ask you smhg about linux-yocto-korg? Feb 29 21:11:36 I'm still figuring out the steps to move from classic korg/kernel.bbclass to linux yocto for unsupported machines Feb 29 21:12:01 ant__: I have to head out shortly, but I can answer something quickly. either that or drop me an email and I can answer tonight. Feb 29 21:12:07 for now I'm customizing linux-yocto-tiny Feb 29 21:12:19 FWIW. there's a pending patch to unbreak it at the moment. Feb 29 21:12:38 I can compile the kernel, np Feb 29 21:12:59 just I have to supply an empty machine.scc and add patches + defconfig to SRC_URI Feb 29 21:13:23 now, in the logs I see I would lack a mysterious yocto.scc .. ? Feb 29 21:13:37 whats' that for? Feb 29 21:13:51 hmm. could be a bug. can you pastebin the log ? Feb 29 21:14:13 sure, later on, I'm rebuilding from scratch right now Feb 29 21:14:40 ant__, I'm modifying that code right now. so if there's a bug, we can have a good turn around time :) Feb 29 21:14:52 what about the hybrid solution of -korg recipe? both kernel.bbclass and linux-yocto.inc ? Feb 29 21:17:43 that should largely already be the case, all the linux-yocto recipes inherit it, and linux-yocto Feb 29 21:19:16 hm.. why was the initramfs cpio.gz not found then..hmm Feb 29 21:19:23 I'll tell you later on Feb 29 21:19:41 I'll be back in about 5 hours. have some kids to go pickup right now! Feb 29 21:21:16 np, we'll get in touch tomorrow then **** ENDING LOGGING AT Thu Mar 01 02:59:59 2012 **** BEGIN LOGGING AT Thu Mar 01 02:59:59 2012 Mar 01 05:23:11 hopefully this is a stupid question. I need to know the best way to "fix" the following (yes, I already know one way, looking to see if there is a better way): Mar 01 05:23:27 | * satisfy_dependencies_for: Cannot satisfy the following dependencies for redownloader: Mar 01 05:23:27 | * libuefilinux1 (>= 1.0+git1+5a63ed5b10d0f32665977fc9ec90c618a16ee8d0) * Mar 01 05:23:27 | * opkg_install_cmd: Cannot install package redownloader. Mar 01 05:23:53 the reason for this is that I rebuilt libuefilinux1 as just 1.0 as part of some testing. Mar 01 05:24:07 and I know that if I force rebuild redownloader, it will fix it Mar 01 05:24:19 Is there any other/better way to fix this? Mar 01 05:57:13 mebrown: http://sakrah.homelinux.org/blog/2011/06/downgrading-package-versions-in-openembedded/ Mar 01 05:57:55 crap Mar 01 05:58:32 that doesn't look scriptable easily. Mar 01 05:58:57 or easily explainable to our wonderful development team Mar 01 06:00:11 thanks for the link, khem. looking closer, maybe scriptable. Mar 01 06:00:40 Q: if I blow away tmp/ in this situation and rebuild, will the bad data be resurrected by sstate-cache? Mar 01 06:01:33 thats my blog btw. :) Mar 01 06:01:42 ah. cool. Mar 01 06:01:53 q: is there a bigger hammer I can use? Mar 01 06:02:34 something that doesn't make them suffer through a full rebuild for an hour and half, but forces rebuild? Mar 01 06:03:36 I see two problems with the solution in the blog: 1) no easy way to "collect" the errors in a way easily parseable by a 'recovery script', and 2) possibly hard to tell from an IPK which recipe to clean and rebuild. Mar 01 06:05:24 well you could use info under pkgdata to map packages to recipes Mar 01 06:06:16 ok. let me poke. It's an issue I've run into several times while monkeying with versions, and I'm sure it will be something my devs will start hitting. Mar 01 06:06:23 why is it not parsable ? Mar 01 06:06:34 you ignore the lines staritng with Depends Mar 01 06:06:47 No, the original error output Mar 01 06:07:14 look for 1 line after satisfy_dependencies_for Mar 01 06:07:57 ok, I'll take a stab Mar 01 06:08:40 that said may be you want to enable BB_SIGNATURE_HANDLER = "OEBasicHash" Mar 01 06:08:49 now that I know the actual root cause, it's making more sense Mar 01 06:08:57 that should track the build deps better Mar 01 06:09:19 where is that documented? Mar 01 06:09:35 read oe-core mailing lists Mar 01 06:09:37 all kinds of great info I find on irc that doesn't seem to be documented. Mar 01 06:09:50 its called tribal knowledge Mar 01 06:09:52 :) Mar 01 06:09:56 become part of tribe Mar 01 06:09:58 I could spend all day trying to keep up with oe-core mailing list, or I could get this product shipping Mar 01 06:10:17 I'm trying, but I am incredibly stressed now Mar 01 06:11:23 we are moving the Dell iDRAC build over to yocto from a bizarre homegrown system, and I've personally did about 99% of the work over the past two months. The rest of the dev team is expecting to start using the new yocto build starting in, oh, a week. Mar 01 06:21:17 mebrown: good, hope you end up with good experience Mar 01 06:21:26 so far, so good Mar 01 08:18:05 good morning Mar 01 08:34:34 dont remind me. :/ Mar 01 14:34:20 help! I get "Failure expanding variable do_rootfs, expression was [the image.bbclass do_rootfs function] which triggered exception ValueError: 'ext2.gz.u-boot' is not in list" Mar 01 14:35:05 which list is this referring to? how do I see this? Mar 01 15:13:56 Zagor: is this in master? Mar 01 15:14:03 (sorry to keep asking) Mar 01 15:15:31 bluelightning: master + http://pastebin.com/csDhr6FB Mar 01 15:15:43 or, yesterdays master :) Mar 01 15:16:25 RP__'s image_types rework didn't take uboot images into account, and I'm trying to fix that as a learning experience Mar 01 15:16:42 oh ok Mar 01 15:16:47 Zagor: I pushed some fixes for that Mar 01 15:17:31 Zagor: The problem is in get_imagecmds() Mar 01 15:17:51 Zagor: The line resulting in that list error was types[types.index(type)] = basetype Mar 01 15:18:07 Zagor: The error reporting sucks and we need to improve it Mar 01 15:18:14 :) Mar 01 15:18:48 Zagor: I found several errors, you'll see a commit against image_types which addresses the various issues discovered Mar 01 15:19:34 right, I'll look at the diffs. thanks. Mar 01 15:20:52 is there a push feed of any kind that lets me follow changes? Mar 01 15:21:05 other than reloading cgit :) Mar 01 15:26:05 Zagor: hmm, interesting question... we do have the oe-commits list: http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits Mar 01 15:26:25 that will catch oe-core + meta-oe Mar 01 15:26:40 as to a poky-specific one I don't think we have anything Mar 01 15:27:27 Zagor: I can't remember if we setup a commits list or not :/ Mar 01 15:27:45 halstead: Do we have a commits list? If not, we might want to consider one... Mar 01 15:29:13 there's not one listed on lists.yoctoproject.org FWIW Mar 01 16:02:37 hello all - does anyone know if there is some Yocto/qemu documentation? i need to boot a disk image with qemu and cant use the yocto scripts... Mar 01 16:04:14 ignus: here's a start: http://www.yoctoproject.org/documentation Mar 01 16:04:29 or do you mean specifically qemu docs? Mar 01 16:05:31 is this enough? http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#building-and-booting-the-default-qemu-kernel-image Mar 01 16:07:21 Zagor: the problem is that i cant use that runqemu script because it requires you to have root on the machine you are using and i dont have root on the build server (frustratingly) Mar 01 16:11:16 ignus: you only need root to setup the tap/tun devices Mar 01 16:11:31 ignus: If you pre setup the devices, it can run without root Mar 01 16:12:47 RP__: you require root to to the pre setup though, right? Mar 01 16:13:52 to do the* Mar 01 16:18:46 ignus: yes, but its a one off Mar 01 16:25:24 RP__: is there anyway to just disable that functionality? Mar 01 16:25:49 ignus: disable networking Mar 01 16:26:01 in the kernel config? Mar 01 16:26:09 ignus: qemu commandline Mar 01 16:26:24 hmm... Mar 01 16:27:10 ignus: The setup we use is by far the nicest way to network qemu. There are other ways, some of which don't need root but are suboptimal in other ways Mar 01 16:29:05 RP__: what does the setup involve? Mar 01 16:29:10 types[types.index(type)] = basetype reeks of an iteration where you could have just used enumerate() -- that said having not looked at the surrounding code at all, just that line, though :) Mar 01 16:30:54 ignus: I don't have any more info off the top of my head I'm afraid Mar 01 16:32:02 RP__: ok cool... any idea where it might be documented? Mar 01 16:33:02 ignus: Its a qemu issue, not a yocto one. I don't think we have any alternative setups documented Mar 01 16:34:13 ignus: this may be helpful although it's a couple of years old: http://hub.opensolaris.org/bin/view/Project+qemu/Qemu_Networking Mar 01 16:34:23 explains the issues Mar 01 16:34:48 i only have ssh access to the server will that prevent me from using qemu? Mar 01 16:35:03 bluelightning: thanks! Mar 01 16:38:18 ignus: you have X forwarding? Mar 01 16:39:39 RP__: one way to find out! :D Mar 01 16:42:36 greetings! I'm seeing a problem where /var/lib/opkg/info/.postinst doesn't run at first boot, what actually picks up the postinst scripts at first boot and runs them? Mar 01 16:46:55 xumbi: The run-postinsts package runs every postinst hook that failed during rootfs generation. Mar 01 16:47:30 d4ny: ok I'll check if that package is in my rootfs, thanks! Mar 01 16:47:46 RP__, Shall I create yocto-commits@yoctoproject.org and have gitolite post it after commits to any public repo? Mar 01 16:48:17 halstead: Yes please Mar 01 16:48:29 * halstead nods. Mar 01 16:48:35 halstead: its not urgent but we should do it at some point Mar 01 16:48:57 RP__, Are there any public repos that should be excluded? Like the experimental ones? Mar 01 16:49:20 halstead: I'd make it the same set as those on the website Mar 01 16:49:32 halstead: experimental should be fine being included Mar 01 17:51:05 d4ny: hmmm, run-postinsts appears to be installed, I wonder what I'm missing Mar 01 17:52:26 if I run /etc/init.d/run-postinsts by hand I get "No package system found", I'm guessing I need to install opkg dependencies (I'm using ipk packages) Mar 01 18:11:01 xumbi: using core-image-minimal ? Mar 01 18:11:16 khem: core-image-base Mar 01 18:12:25 I forget which is smaller... Mar 01 18:13:16 minimal :) Mar 01 18:13:29 but it does have run-postinsts in it Mar 01 18:14:45 looks like run-postinsts is in core-image-base, but 'opkg' isn't, so the init script doesn't do anything Mar 01 18:16:03 so I added 'opkg' to POKY_EXTRA_INSTALL, I can see other postinst scripts running, but not mine :( Mar 01 18:18:15 actually I'm still not sure any postinst scripts are running, time for more digging... Mar 01 18:52:24 shouldn't this file be looking at /var/lib/opkg instead of /usr/lib/opkg? http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/dpkg/run-postinsts/run-postinsts Mar 01 18:52:59 although, even if I change it myself before first boot it still doesn't run postinst scripts Mar 01 19:23:59 xumbi, any progress? Mar 01 19:25:07 I'm building with PACKAGE_CLASSES ?= "package_deb" to see if it changes anything Mar 01 19:25:24 since I think run-postinsts is broken for package_ipk, as far as I can tell Mar 01 19:26:49 xumbi, which release of poky are you using? Mar 01 19:27:04 zenlinux: edison Mar 01 19:27:34 hmmm Mar 01 19:27:58 I know we do most of our QA testing with RPM, not sure if we're putting ipk through QA Mar 01 19:29:12 as long as debian packages don't add a lot of space I'd actually prefer that over ipk Mar 01 19:29:49 well, I hate to admit it xumbi, but debian packaging definitely gets no testing from us, and incandescant is aware of some bugs with it Mar 01 19:30:06 oh damn ;) Mar 01 19:30:20 incandescant, what were the issues you've been looking into with deb packaging? Mar 01 19:30:45 maybe we'll be going with rpm then! Mar 01 19:31:24 if you're ambivalent about the packaging format, rpm is the best way to go for reliability Mar 01 19:31:30 last I tried Debian packaging only worked on Debian-based host OS's - so some host intrusion occurring Mar 01 19:31:41 oh, that's it? Mar 01 19:31:52 xumbi is having issues with postinstall scripts not working with ipk Mar 01 19:32:22 btw, I've got fetch and patch errors in oe-core when tried to bitbake dpkg Mar 01 19:32:44 about some hours ago :) Mar 01 19:32:50 I don't have time to look at dpkg right now, sadly - I have a partial series to fix some issues but there are plenty more Mar 01 19:33:06 I'll try and fix up and submit that series but you'll still need to be building on a Debian host Mar 01 19:33:14 post-installs sound broken too :-/ Mar 01 21:41:44 is there an intelligent way to figure out what images include a package? for example, I know I want a VNC server; now what do I need to build? Mar 01 21:46:46 hollisb: we need a "do what I mean" switch :) Mar 01 21:47:01 just pick an appropriate image and add what you want to it Mar 01 21:47:04 and OE will take over the world Mar 01 21:47:11 finding an image that includes a given package jsut doesn't make a great deal of sense to me Mar 01 21:51:25 kergoth: I don't know everything I want; I only know this one thing. in this example, it wouldn't satisfy me to create a custom image that includes a VNC server, only to find it had no window manager or X client apps Mar 01 21:51:41 I'd rather find an image someone else has taken the time to tweak, and just use that Mar 01 21:52:21 maybe a related background question: are there a significant number of packages that aren't included in any of the pre-defined images? Mar 01 21:53:13 hollisb: I guess yes Mar 01 21:53:57 khem: so maybe the answer to my question is "none", and I have to go create a custom image Mar 01 21:54:12 hollisb: as kergoth suggested Mar 01 21:54:18 yeah, I got that Mar 01 21:54:20 inherit an existing image Mar 01 21:54:23 and build on top Mar 01 21:54:38 thats the power of OE Mar 01 21:54:43 khem: btw, I don't think telepathy is required. yum or apt-get can tell you things about dependency trees... Mar 01 21:55:24 bitbake does that too if you play fair with it Mar 01 21:55:36 bitbake -g err Mar 01 21:56:03 but DWIM switch is good in general for many reasons I reckon Mar 01 21:56:42 :) Mar 01 21:56:50 * khem is in lighter vein Mar 01 21:56:55 havent had enough sleep Mar 01 21:57:42 khem: I'm thinking more like "bitbake findpackagenamed '*vnc*'" -> x11vnc Mar 01 21:57:54 khem: "bitbake whatincludes x11vnc" Mar 01 21:58:37 what is x11vnc Mar 01 21:58:58 it'a a package name Mar 01 21:59:47 right now I do this: find meta* -iname \*vnc\*. of course, that can only match recipe names, not package names... Mar 01 22:00:10 and also that finds recipes in layers that aren't enabled in bblayers.conf Mar 01 22:00:21 well I think bitbake -g -u depexp x11vnc Mar 01 22:00:24 should help you then Mar 01 22:01:01 it parses the tree sure but deps are only created for given target Mar 01 22:01:43 so after I run my 'find' to hopefully figure out the package name Mar 01 22:03:01 I'll have to try it after I figure out what python module provides gobject, because depexp doesn't work without it Mar 01 22:04:00 doesn't look like it's available for my build host... Mar 01 22:13:01 -g -u depexp x11vnc won't help, he wants the other way around. not what x11vnc deps on, but the things that dep on it Mar 01 22:14:45 hmmm Mar 02 01:20:37 NOTE: package perl-5.14.2-r3: task do_patch: Started Mar 02 01:20:37 ERROR: [Errno 22] Invalid argument: '/home/otavio/hacking/ossystems/embedded-linux/tmp-eglibc-eglibc/work/i586-oe-linux/perl-5.14.2-r3/perl-5.14.2/patches/h2ph-multiarch.diff' Mar 02 01:20:40 ERROR: Function failed: patch_do_patch Mar 02 01:20:41 Known error? Mar 02 01:21:52 otavio: I've noticed that diff actually gets patched during build, somehow Mar 02 01:22:09 the changes show up in git diff (so this is probably not what was intended) Mar 02 01:24:03 http://dpaste.org/jj5C5/ Mar 02 01:30:39 anyone knows how i can use the PR service? Mar 02 01:30:46 auto-pr Mar 02 01:57:35 The bitbake site: http://developer.berlios.de/projects/bitbake appears to be webdead, can ping, traceroute but Mar 02 01:57:44 http connections are timeing out . Mar 02 01:57:50 *timing Mar 02 01:58:28 does anyone hear know the folks who maintain bitbake's httpd? **** ENDING LOGGING AT Fri Mar 02 02:59:58 2012 **** BEGIN LOGGING AT Fri Mar 02 02:59:58 2012 Mar 02 11:19:34 hello all Mar 02 11:20:40 hi ignus Mar 02 11:21:50 hey, hows it going? Mar 02 11:23:10 ignus: not too bad, and yourself? Mar 02 11:24:00 great! just discovered how much faster this sstate_cache thing makes my build if i use it.. very cool. Mar 02 11:26:25 yeah it definitely makes a difference against a from-scratch build Mar 02 11:28:55 bluelightning: how are you supposed to use all the rpm/deb/ipks produced by a build? is there a package manager on the target system by default? Mar 02 11:29:11 ignus: it depends on the image you build Mar 02 11:29:25 ignus: core-image-minimal strips out the packaging data files and does not install the package manager Mar 02 11:29:29 core-image-minimal i think Mar 02 11:29:37 ignus: so they aren't of any use with that, by default at least Mar 02 11:30:05 ignus: in order to have package management in the image, IMAGE_FEATURES needs to include "package-management" Mar 02 11:30:07 it there an easy way to get the package manager included or is a bit more complex than that? Mar 02 11:30:18 ah ok, cool! Mar 02 11:31:03 there's a slight caveat with core-image-minimal in that it manually adds a line to remove the package data files which it really ought not to do (since not having package-management in IMAGE_FEATURES does the same thing) Mar 02 11:33:10 bluelightning: what is the package manager it uses? something yocto specific? Mar 02 11:36:19 ignus: the default is RPM, but it's selectable by package type Mar 02 11:36:48 oh, ok - it actually uses a full version of RPM? Mar 02 11:36:53 yes Mar 02 11:37:01 rpm5 that is (one of the two variants of RPM) Mar 02 11:37:08 does using IPK save much space on the root fs? Mar 02 11:37:35 ignus: I've not analysed it... it'll be measurable but not huge I'm guessing Mar 02 11:38:05 opkg (the package manager we use for ipk) is perfectly capable, it's just not as full-featured as RPM Mar 02 11:39:01 its interesting because a distribution is often defined by its package manager... Mar 02 11:40:53 yes :) Mar 02 11:41:03 I guess in embedded you have to be extremely flexible Mar 02 11:50:26 bluelightning: what are core-image-core and core-image-base, any idea? Mar 02 11:53:21 ignus: they are poorly named, but core-image-base is a console-only image that includes a little more than minimal (including stuff from MACHINE_EXTRA_R(DEPENDS|RECOMMENDS) that minimal doesn't) Mar 02 11:53:53 but still no x? Mar 02 11:54:02 X11* Mar 02 11:54:03 ignus: core-image-core is the same as core-image-base but with X Mar 02 11:54:11 plus a few basic X apps Mar 02 11:54:28 we really ought to tidy up the naming Mar 02 11:56:11 i suppose it doesnt really matter if its clearly documented somewhere....... ? Mar 02 11:56:42 well, we do list all of them in an appendix in the reference manual I think Mar 02 11:56:55 but still, better naming would help Mar 02 11:57:21 we have at least set the DESCRIPTION variable for all of them for the next version Mar 02 11:57:53 describing what each of them includes and is for? Mar 02 11:58:03 briefly, yes Mar 02 12:06:08 does core-image-core include a package manager? Mar 02 12:06:33 s/-core/-base/ Mar 02 12:15:04 yes, since the default value of IMAGE_FEATURES includes package-management Mar 02 12:57:02 Is there an easy way to clean(sstate) everything but keep the native stuff around? Mar 02 13:16:45 kenws: Just remove the non-native files from the sstate cache directory Mar 02 13:18:26 RP__: The pam commit has a V2 on the log; bitbake also had a V5 (or something) on the log ... Mar 02 13:18:57 RP__: Thanks, and probably remove the x86_64-linux subdir from the working directory, right? Mar 02 13:19:04 RP__: a small details but would be nice to talk to the person to talk about the prefix use in the [] patch header Mar 02 13:21:16 otavio: agreed, I'd noticed the v5 too late to correct it :/ Mar 02 13:22:02 kenws: If you're building from sstate, you're likely wiping out the whole of tmp anyway Mar 02 13:28:26 RP__: How does the PRServ works? Does it bump the PR automatically? Mar 02 13:28:43 otavio: based on when the sstate hash changes, yes Mar 02 13:47:48 RP__: I did set it locally to test but I didn't see it bumping PR Mar 02 13:48:43 otavio: in the generated packages? Mar 02 13:51:35 RP__: in bitbake output ... didn't check the generated ones Mar 02 13:56:09 otavio: it changes the generated output Mar 02 13:58:12 RP__: oh right ... i will take a look. Thanks Mar 02 15:00:43 does anyone know if there is a way of doing automated (nightly?) builds in yocto for testing? Mar 02 15:08:30 ignus: we have an autobuilder setup which we use, the code can be found here: http://git.yoctoproject.org/cgit/cgit.cgi/yocto-autobuilder/ Mar 02 15:08:52 ignus: it's based on buildbot, the instance is at http://autobuilder.yoctoproject.org Mar 02 15:33:25 I'm having problems compiling perl when building core-image-minimal on the master branch. Mar 02 15:33:41 I'm running Ubuntu 10.04, anyone else seeing this problem? Mar 02 15:54:09 ignus: "its interesting because a distribution is often defined by its package manager" -- remember that yocto isn't a distribution. there are many distributions built out of the same metadata Mar 02 16:43:33 RP__, pidge: out of curiosity, how do you have your build machines set up, for oe/yocto build performance? e.g. separate partition for build dirs, mount options, filesystems used, ssd vs regular.. Mar 02 16:44:28 kergoth: I use ext4, noatime and large commit values. RAM makes the biggest difference to build speed Mar 02 16:44:52 kergoth: I usually have an OS/data drive and keep the build disk separate since they tend to fail earlier Mar 02 16:45:37 kergoth: extents stuff in ext4 is particularly useful Mar 02 16:47:45 okay, that's helpful, thanks. looking to get a nice fast build setup going for my testing at some point here Mar 02 16:49:24 RP__: extents? Mar 02 16:53:21 otavio: try googling "extents ext4" Mar 02 16:53:34 otavio: wikipedia will put it better than I can here ;-) Mar 02 17:08:25 RP__: hey there, quick friday question: can you remember why/when the console in cmdline for zaurus was changed to tty1 ? It seems tty0 is ok and is the standard fb console, isn't? Mar 02 17:09:04 ant_work: no idea. Does the commit log say? Mar 02 17:09:19 oh, main svn is away...was it maybe to get vc1 with the keys? Mar 02 18:24:51 Hi, Mar 02 18:25:55 If i have 5 SRC_URI links in my recipe, do I need to have 5 SRC_URI[md5sum] and SRC_URI[sha256sum] for each of them? Mar 02 18:27:52 RP__: using PRServ has a broken behaviour when using SRCPV Mar 02 18:28:08 RP__: it changes the SRCPV multiple times Mar 02 18:29:30 RP__: I applied this http://paste.debian.net/158330/ to make it build at my account since i have updated patches for new connman and old ones conflicts Mar 02 18:29:41 I specified all the 5 SRC_URI[md5sum] and SRC_URI[sha256sum] for all the links I have, but it keeps complainining back and forth saying md5sum mismatch and sha256sum mismatch. Mar 02 18:30:07 kb: you need to name them all Mar 02 18:30:49 otavio: how do we name all of them? Mar 02 18:30:53 kb: you're defining the same variable over an over again. each time overwriting the previous value :P Mar 02 18:31:04 kb: look at openembedded-core/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb Mar 02 18:31:07 set name= on the url params and define SRC_URI[.md5sum] Mar 02 18:35:31 kergoth: otavio: Looking into the openembedded-core recipe. Will try it out. Thank You for pointing out an example. Mar 02 21:41:41 WARNING: QA Issue: No GNU_HASH in the elf binary: what does this warning about? can we ignore this warning safely? Mar 02 21:42:08 your build didn't obey the LDFLAGS from the metadata Mar 02 21:42:12 best to fix that Mar 02 21:44:27 kergoth: do we need to add any LDFLAGS ? Mar 02 21:45:18 hm? Mar 02 21:45:32 the metadata defines LDFLAGS, with some important things, yes. you should be passing them in Mar 02 21:45:38 just as it needs to obey CFLAGS Mar 02 21:49:23 kergoth: is there a way to disable stripping of binaries on a per package basis? Mar 02 21:49:49 mranostay: the answer is usually dont do that. Mar 02 21:49:54 the symbols are still available in the -dbg packages Mar 02 21:49:57 just split out, not removed Mar 02 21:50:14 just install the -dbg packages and gdb, etc know to use their files Mar 02 21:51:04 kergoth: what if kernel modules are getting stripped? :) Mar 02 21:51:13 if they are, something is broken Mar 02 21:51:17 because the classes handle that specifically Mar 02 21:51:32 heh ok Mar 02 21:51:35 * mranostay digs around Mar 02 21:51:46 there is a variable to do it, but it's almost always the wrong thing Mar 02 21:51:56 read package.bbclass for details Mar 02 22:08:06 heh "# This file does not exist. Please do not ask the debian maintainer about it." Mar 02 22:08:36 nice Mar 02 23:30:21 kergoth: I am not compiling my packages to specify the LDFLAGS. I am only doing do_install to make the rpms into the image. Not sure why I am getting WARNING: QA Issue: No GNU_HASH in the elf binary: still? Mar 02 23:33:01 kergoth: I have a recipe for a bunch of rpms to make it install into the final target image. Mar 02 23:34:38 kb: maybe you should pastebin your recipe Mar 02 23:34:59 hollisb: sure. will do that. Mar 02 23:42:18 hollisb: http://pastebin.com/D1QfXpTC Mar 02 23:43:44 kb: ah, so you're not building anything, you're just repackaging some binaries Mar 02 23:44:12 kb: so that explains why you get the warning: you really didn't build the ELF files with Poky's LDFLAGS Mar 02 23:45:04 and I don't know more than that :) Mar 02 23:45:41 yeah, I am not building anything. Mar 03 00:06:13 look at INSANE_SKIP and read insane.bbclass Mar 03 00:06:19 you can disable individual QA checks on apckages Mar 03 00:08:23 ok Mar 03 01:52:16 kergoth: around? **** ENDING LOGGING AT Sat Mar 03 02:59:58 2012 **** BEGIN LOGGING AT Sat Mar 03 02:59:59 2012 **** ENDING LOGGING AT Sun Mar 04 02:59:58 2012 **** BEGIN LOGGING AT Sun Mar 04 02:59:59 2012 Mar 04 21:07:10 anguiano: heh didn't notice you in here till now **** ENDING LOGGING AT Mon Mar 05 02:59:58 2012 **** BEGIN LOGGING AT Mon Mar 05 02:59:58 2012 Mar 05 08:27:33 good morning Mar 05 09:41:10 Any idea why I'd need to do this to get Perl building on Ubuntu 10.04? http://hpaste.org/64785 Mar 05 09:41:43 It's like the ARCH variable is being overriden on the command line, but I can't see anything doing it. Mar 05 11:13:47 Hi, Is there any reason why the all the .bb recipes are not in a separate repo, but in he poky/bitbake one instead? Mar 05 11:47:13 Hi, what tools are the yocto project using when editing the poky/documentation/.. ? Mar 05 14:57:28 jjardon: you seem to be confused. poky is an integration of content from a variety of places. bitbake has its own repository, as does oe-core (which is where the 'meta' directory in poky comes from) Mar 05 14:57:57 jjardon: poky integrates into a single repository the way it does for ease of use for the user, as they don't have to fuss with git-submodules, repo, or any similar tool Mar 05 14:58:15 hmmm strange strange Mar 05 14:58:21 jjardon: see the scripts/combo-layer tool in the repository Mar 05 14:58:21 hi Mar 05 14:58:38 I bitbake gtk+-native and it says that it takes that: Mar 05 14:58:48 virtual:native:/home/denis/embedded/oe-core/angstrom-bleeding/sources/openembedded-core/meta/recipes-gnome/gtk+/gtk+_2.24.8.bb Mar 05 14:59:00 still I see no -native and no BBCLASS_EXTENDS Mar 05 14:59:34 virtual:native:.*gtk_2.24.8.bb *is* gtk+-native. Mar 05 14:59:40 the PN of that recipe is gtk+-native Mar 05 14:59:44 ok Mar 05 14:59:56 if you look at the other messages emitted, you'll see gtk+-native tasks executing Mar 05 15:00:20 the virtual:native: bit is the 'virtual' recipe emitted by the BBCLASSEXTEND usage Mar 05 15:00:43 but a grep of BBCLASSEXTEND didn't show anything Mar 05 15:00:50 kergoth: I see, so if I use bitbake + poky meta repos I can get the same? Mar 05 15:01:33 kergoth: Or does poky project modify bitbake in any incompatible way? Mar 05 15:01:40 jjardon: no. once again, poky includes a variety of content, not just bitbake. there's bitbake, oe-core, the meta-yocto layer which is one which does not have its own repository, and other bits Mar 05 15:01:54 it's not incompatible, but it does have some small differences which haven't been pushed to the bitbake repository yet Mar 05 15:04:01 as kergoth aludes to.. there are changes, and they will be pushed back upstream Mar 05 15:04:12 there is no intention to keep them "local" to poky (the bitbake changes that is) Mar 05 15:07:00 kergoth: fray: sure, I just wanted to understand why have a local copy of bibake and oe-core instead use bitbake and oe-core directly and have the poky repo for the yocto-specific meta layers Mar 05 15:07:24 but as you said easy of use seems to be the reason, rigth? Mar 05 15:10:27 kergoth, I'll refrase: I see no -native and no BBCLASSEXTENDS in the recipe or in the inc file Mar 05 15:13:20 denisATeukrea: well, clearly the bbclassextend exists, because the virtual:native: version wasp roduced. grep is your friend :) Mar 05 15:15:00 yes I already grepped Mar 05 15:15:14 I'll reread once more the recipes Mar 05 15:27:18 ok I finally found it Mar 05 15:27:20 in a bbappend Mar 05 15:27:24 in meta-gnome Mar 05 15:28:58 thanks Mar 05 17:11:13 slacker Mar 05 17:11:37 davest, is there an ab meeting now? Mar 05 18:48:26 I am building an image using master and seems like something in iptables does not compile - unknown type name '__aligned_u64' - known issue or a new issue? Mar 05 18:52:38 It is in tmp/sysroots/crownbay/usr/include/linux/if_packet.h Mar 05 18:52:41 line 176 Mar 05 19:20:36 autif: so you are including in offending sourcecode I assume ? Mar 05 19:27:27 khem - iptables is including it in one of the source files Mar 05 19:32:42 is it the _same_ file thats failing to compile Mar 05 19:32:49 if not then add it there Mar 05 19:33:10 yes - it is the same file that is failing to cimpile Mar 05 19:34:31 libxt_pkttype.c:10 includes linux/if_packet Mar 05 19:34:51 the former is an iptables file under the extensions directory Mar 05 19:38:26 do you have it defined in linux/types.h Mar 05 19:39:52 No, it does not look like "aligned" appears in tmp/sysroots/crownbay/usr/include/sys/types/h Mar 05 19:39:59 types.h Mar 05 19:40:14 tmp/sysroots/crownbay/usr/include/linux/types.h is what you should look into Mar 05 19:40:35 sorry, I misread Mar 05 19:40:40 if its not there then you have a problem with kernel headers Mar 05 19:40:50 #define __aligned_u64 __u64 __attribute__((aligned(8))) Mar 05 19:41:02 yes - that line does exist in linux/types.h Mar 05 19:41:23 ok so now make sure this is really being included Mar 05 19:41:36 add -E switch to compiler commandline for this file Mar 05 19:49:53 The GNUmakefile in extensions suppresses the command to compile - I am trying to figure out where that may be Mar 05 19:50:03 so that I can add a -E to it Mar 05 20:00:03 A lot of things magically talk more if you export V=1 to them. Mar 05 20:11:01 seebs - that worked - except that I had to set V=1 in Makefile, V=1 bitbake iptables did not seem to work - I guess I should have done that in the recipe Mar 05 20:11:09 not on the bitbake command line Mar 05 20:11:22 EXTRA_OEMAKE += Mar 05 20:11:45 "V=1" Mar 05 20:11:49 will work to Mar 05 20:12:48 khem - it does not look like linux/types.h is _actually_ included - the first occurrence of __aligned_u64 is when it is used Mar 05 20:13:06 ok thats your problem then Mar 05 20:13:11 see why its not included Mar 05 20:13:59 since #include is there in linux/if_packet.h Mar 05 20:14:06 so it should have included it Mar 05 20:15:42 yup - working on it - I can't imagine it could be anything I am doing - I am just doing "bitbake core-image-sato" for crownbay Mar 05 20:16:18 will notify when I do find out the root cause Mar 05 20:16:18 yes its package itself Mar 05 20:16:26 can you pastebin the .i file ? Mar 05 20:16:36 IOW the preprocessed file Mar 05 20:16:43 the output of -E Mar 05 20:16:45 ? Mar 05 20:16:49 is that what you mean? Mar 05 20:16:49 yes Mar 05 20:16:57 on its way Mar 05 20:18:45 http://pastebin.com/77t4TnEk Mar 05 20:18:49 khem Mar 05 20:21:33 autif: is there a types.h file in this package sources ? Mar 05 20:25:27 not just a types.h, but a linux/types.h Mar 05 20:25:34 now what do I do? Mar 05 20:26:02 thats what it is Mar 05 20:26:32 should this not be a problem for every one on master? Mar 05 20:27:31 i am sure iptables is used even by core-image-minimal Mar 05 20:32:18 and it is not dependent on MACHINE - all machines should compile iptables Mar 05 20:44:22 The logs show that iptables was upgraded from 1.4.12.1 to 1.4.12.2 after M2 Mar 05 20:44:34 I just switched from M2 to master Mar 05 20:44:50 I reviewed those changes - they seem fine Mar 05 20:45:18 I was hoping to see the order of include directories change in CFLAGS or soemthing Mar 05 20:45:21 nothing like it Mar 05 20:47:14 There is a patch to GNUmakefile - target check is removed - I wonder what it does Mar 05 20:49:53 It looks like his s deliberate - I will post on the mailing list Mar 05 23:00:41 really no tcpdump recipe in meta-yocto or meta? Mar 05 23:25:49 not in met-oe? Mar 05 23:25:58 mranostay, not in meta-oe? Mar 05 23:26:15 if not, we should add it **** ENDING LOGGING AT Tue Mar 06 02:59:58 2012 **** BEGIN LOGGING AT Tue Mar 06 02:59:58 2012 Mar 06 05:58:13 hey got a quick question - I just downloaded the java package from yacto's git. Mar 06 05:59:00 the readme has 1 line in it about adding the package. it says to add LICENSE_FLAGS_WHITELIST += "oracle_java" to my layer.conf file and it should build. Mar 06 05:59:32 did that, didn't build it. the build completed sucessfully but I didn't have java suport when I booted the image. Mar 06 05:59:55 any ideas? Mar 06 06:02:35 i also added the path to the downloaded files my bblayers.conf file... Mar 06 13:36:49 RP__: I'd like to make something that gives me more control over the config/hash of packages. I'm considering a command-line option to warn or abort when the local hash is different from the mirror hash. thoughts? Mar 06 13:38:19 the use case is when a dev wants to reconfigure one package (such as the kernel) but absolutely wants everything else to be the same. Mar 06 13:40:54 but since bitbake is complex, it is easy to make a mistake and change parameters that affect other packages. a warning about this would be useful, I think. Mar 06 14:21:51 Zagor: I agree we need better ways to expose this kind of thing. I'm open to ideas on how to do that Mar 06 14:23:04 Zagor: Maybe we should enhance dry-run to report how many things it would do (from scratch and reuse)? Mar 06 14:53:48 RP__: I'm currently toying with an option to make pstaging_fetch() fail if no cached object is found Mar 06 14:54:56 the idea being, you run without the option when building your conciously-modified package and the with this option when you build the full image Mar 06 15:38:44 Zagor: I can understand how Mar 06 15:38:49 that would be useful... Mar 06 17:15:08 * kergoth realizes that setting PKGV_${PN} breaks the RDEPENDS_${PN}-dev Mar 06 17:39:38 sgw: the patch you sent without the 1/4 is useless Mar 06 17:39:59 sgw: and the others I think I improved the commit log as per RP__ request. Mar 06 17:40:23 sgw: the rootfs postinst 2/4 really depends on 1/4. Mar 06 18:40:12 Hi there, Is it possible to have a layer bbappend to the linux-yocto_3.2 recipe in order to build the kernel using a given defconfig? Mar 06 18:40:24 Adding the defconfig to the SRC_URI doesn't seem to work in this case. Mar 06 18:41:25 kenws. that should work out of the box. it's supported. I did one of those builds just yesterday. Mar 06 18:41:35 what in particular looked to be missing ? Mar 06 18:42:23 zeddii: I'm using SRC_URI_append = "file://defconfig" Mar 06 18:42:34 yep. that's all that you need to do. Mar 06 18:42:38 and it seems it's not even parsable Mar 06 18:42:45 hm, ok - i'll check again Mar 06 18:42:46 thank you Mar 06 18:43:00 and it shows up in your WORKDIR ? i.e. bitbake found and migrated it over ? Mar 06 18:43:52 let me know either way. I may not be on irc, but you can email me (bruce.ashfield@windriver or gmail.com) .. if it doesn't work, it's a bug and I'll fix it with malice ! :) Mar 06 18:44:07 give me a few seconds to get to the error again - araif the initial bitbake parsing stage didn't succeed Mar 06 18:44:37 alright - thanks for your help! Mar 06 18:44:39 ok. so that should be even more solvable. since it's nothing specific to the kernel recipe(s). Mar 06 18:47:54 zeddii: maybe I'm lacking a proper seperator? http://paste.ubuntu.com/871904/ Mar 06 18:49:07 This is how my bbappend file looks: http://paste.ubuntu.com/871906/ Mar 06 18:50:22 * zeddii looks Mar 06 18:52:50 odd. where do you have the defconfig on disk ? Mar 06 18:54:06 currently under linux-yocto since I commented out the FILESDIR Mar 06 18:54:22 file://defconfig is the correct syntax. it's what I have here Mar 06 18:54:36 What would be an appropriate location for the defconfig? Mar 06 18:54:46 SRC_URI += "file://defconfig" Mar 06 18:54:52 Do you have a layer publicly available where its working? Mar 06 18:54:57 where you put is is up to how you've configured things. Mar 06 18:55:51 kenws the linux-yocto based recipes typically use config frags vs full defconfigs. but I use them with the korg recipe in meta-kernel-dev, and we have one in the linux-tiny recipe temporarily at the moment. Mar 06 18:57:25 I didn't manage to create a config fragment for the vexpress. Currently I'm using a non oe/yocto source tree to build an ARM vexpress kernel and adding the defconfig to the SRC_URI works just fine. But I'd like to use the yocto sources instead Mar 06 18:57:46 hi there everyone. This Yocto stuff is pretty sweet so far. I'm working on a state of the art laser controller for may company LasX Industries Inc. We think Yocto will be the perfect relapcement for our expensive vxWorks we're currently using Mar 06 18:58:49 kenws. all sounds good. switching the base tree isn't what's tripping up here. which is the strange thing. Mar 06 18:58:55 I was trying to remote debug one of my images I built for a sugarbay computer and I found that it would be nice to use the Ecplise Target Managment (RSE) Mar 06 18:59:28 The service you're supposed to run on your target is dStore and it requires java. Mar 06 19:00:01 So I set out to add this layer to my build: http://git.yoctoproject.org/cgit/cgit.cgi/meta-oracle-java/ Mar 06 19:00:45 I havn't had any luck though. The README says I should simply add one line to my local.conf file and it should build. I do it and it just doesn't work. Mar 06 19:01:19 The build completes but there's no java! Clearly I didn't add the package correctly. Mar 06 19:01:56 Has anyone here gotten this layer to work for them? Mar 06 19:02:16 kenws. I'll grab a build system eye on this, I'm not sure why bitbake/poky is complaining about SRCPV expansion here. I just fired off my build and it just worked. I'm going to try the defconfig not in a linux-yocto subdir and see if I see that. Mar 06 19:02:37 my build machine is bogged at the moment, so I'm having "issues" Mar 06 19:04:49 * zeddii has brutal lag at the moment. Mar 06 19:05:11 zeddii: I ran the cleansstate task on linux-yocto and try it again now Mar 06 19:05:33 aha! "ERROR: Function failed: Fetcher failure for URL: 'file://defconfig'. Unable to fetch URL from any source." Mar 06 19:05:55 aha. Mar 06 19:06:02 so it looks like I'm putting th defconfig in the wrong place Mar 06 19:06:03 so that's bitbake not finding it. Mar 06 19:06:07 yep Mar 06 19:06:08 yup. Mar 06 19:08:39 zeddii: does the MACHINE influence where bitbake searches the files? Mar 06 19:09:07 I've created a new MACHINE called "qemuarmv7a" that targets ARMv7 (the machine confi simply requires qemu.inc and arm/arch-armv7a.inc) Mar 06 19:10:21 kenws, it shouldn't have any impact. RP__ is near me right now. maybe he'll notice this : Mar 06 19:10:58 : ) Mar 06 19:16:44 kenws, if you dump your bitbake env,and check FILESPATH, is the spot you have your defconfig covered ? Mar 06 19:17:31 kenws: bitbake linux-yocto -e | grep FILESPATH Mar 06 19:17:44 kenws: that will tell you where its looking Mar 06 19:18:17 thanks, give me a sec : ) Mar 06 19:18:32 I was playing with: FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/linux-yocto-3.2/${MACHINE}" Mar 06 19:19:13 but the resulting FILESDIR was pointing into the oe-core not my meta layer Mar 06 19:19:37 I'll remove this line and check FILESPATH and FILESDIR Mar 06 19:26:59 the two git hashes of linux-yocto makes it a bit unreadable for human eyes : ) Mar 06 19:27:47 kenws: it is a bit unwieldy Mar 06 19:27:47 but it doesn't look into my meta layer Mar 06 19:28:07 kenws: if you have a layer, you need to tell it to look in your layer Mar 06 19:28:26 RP__: using FILESDIR? Mar 06 19:29:08 FWIW. we can toss one of the git hashes, but you get a "polluted" BSP history. I'm still deciding what to do with my patches for that :) Mar 06 19:29:18 kenws: Use something like FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" Mar 06 19:30:15 RP__: ok Mar 06 19:35:45 *yay* Mar 06 19:35:48 FILESEXTRAPATHS_prepend works! Mar 06 19:37:13 kenws: great :) Mar 06 19:59:37 interesting, SRC_URI += "file://defconfig" works but SRC_URI_append = "file://defconfig" doesn't Mar 06 19:59:46 the latter fails with: ERROR: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure for URL: 'git://git.yoctoproject.org/linux-yocto-3.2;protocol=git;nocheckout=1;branch=standard/default/arm-versatile-926ejs,meta;name=machine,metafile://defconfig'. Please set SRCREV to a valid value Mar 06 20:02:34 whoops, that's probably my fault. I think need to set SRCREV_machine_qemuarmv7a Mar 06 20:03:59 kenws: put SRC_URI_machine_qemuarmv7a += "foo" Mar 06 20:06:24 otavio: why "foo"? I'd have thought a proper git sha is required to tell bitbake what code do checkout Mar 06 20:06:32 something like: SRCREV_machine_qemuarmv7a ?= "c2028a144fe035719af7c5e9989fedc62ccf3c2c" Mar 06 20:06:56 hm, but still the same error Mar 06 20:07:20 strange that it works when using SRC_URI += instead of SRC_URI_append = Mar 06 20:07:25 sorry Mar 06 20:07:28 myfault Mar 06 20:07:53 SRC_URI_machine += "foo" Mar 06 20:08:07 _append do not add an space before your string Mar 06 20:09:40 or use _append = " foo " Mar 06 20:10:52 otavio: aah, I see. You are right.. Mar 06 20:11:36 * kenws looks at the oe usermanual again Mar 06 20:14:25 heh Mar 06 21:01:50 how do I know if i'm using OEBasicHash? Mar 06 21:03:09 err Mar 06 21:03:17 will the PR numbers go away? Mar 06 21:16:28 msm: no PR numbers wont go away Mar 06 21:16:44 msm: you can touch your build box during rebuilds it should be hotter than before :) Mar 06 21:17:00 msm: but for results you might be a happier rebuilder Mar 06 21:48:55 khem: does it not depend on PR though? Mar 06 21:49:05 khem: as in a rebuild can get trigger for lots of reasons? Mar 06 21:49:31 its a hash of things Mar 06 21:49:45 PR is one of them but not everything Mar 06 21:55:50 I though PR would equal the "hash of things" Mar 06 22:08:27 msm: no. PR could in theory go away in favor of PKGR, but some sort of revision is required for packaging. what will likely change in the long term is the removal of the need to *manually* increment it, instead it'll do so automatically Mar 06 22:08:32 afaik anyway Mar 06 23:18:39 kergoth: the pkgr is in the file names? Mar 06 23:18:41 for rpm? Mar 06 23:22:09 msm: most of the time I think it's just part of the version component in the package manager's metadata, not separated, but yes, it generally ends up in the filename. see the packaging classes for the details Mar 07 02:59:02 can anyone help me with a custom kernel? **** ENDING LOGGING AT Wed Mar 07 02:59:58 2012 **** BEGIN LOGGING AT Wed Mar 07 02:59:58 2012 Mar 07 03:01:18 i believe i have the machine setup correctly, lpc3250 (arm9 (armv5te) 926ejs core with vfp), but can't seem to get bitbake to accept my 2.6.34 kernel recipe. Mar 07 03:17:00 i'm getting a 'do_validate_branches' error when i bitbake my kernel recipe... i'm 99% sure it's because i have an issue with my local kernel git repo. Mar 07 03:19:01 i don't need much flexibility, i simply have one board and need u-boot, a kernel (with one patch), and an rfs. yocto looks perfect, but might be overkill for my one board. having said that, i'd really like to use yocto... Mar 07 03:21:03 i'll be on irc tomorrow all day (central time), if anyone wants to help me out i'd appreciate it! Mar 07 06:26:11 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=84d4af1f411742d321311066067e1384779fa700 Mar 07 06:26:22 I am running edison yocto and appear to be hitting this Mar 07 06:26:45 setting BB_NO_NETWORK in my build results in failure to build update-rc.d due to network Mar 07 06:27:06 I've verified that the patch at the end of this bug is indeed applied to the source I have Mar 07 06:30:43 trying to do a build on a machine with no internet connectivity whatsoever Mar 07 06:55:49 ok, I think I figured it out. I was prepopulating downloads/, but I found "own-mirror" and am using that and moved my pre-populated dir out of the source tree. Mar 07 08:48:07 hi there Mar 07 08:48:20 anyone tried to get yocto running on a tegra2 platform? Mar 07 10:01:16 Hi everyone Mar 07 10:01:50 I'm trying to compile gst-plugins-ugly but I get this error : ERROR: gst-plugins-ugly was skipped: because it may require a commercial license to ship in a product (listed in COMMERCIAL_LICENSE) Mar 07 10:01:58 how can I compile it? Mar 07 10:14:55 http://cgit.openembedded.org/openembedded-core/commit/?id=64e1db588bcb7b66b08097c0ea443bd4406422d3 Mar 07 10:14:59 mrAlmond: Mar 07 10:18:03 look in meta/conf/distro/include/default-distrovars.inc Mar 07 10:21:52 so finally you need LICENSE_FLAGS_WHITELIST += "commercial-gst-plugins-ugly" Mar 07 10:22:26 mrAlmond: check the comments in this patch http://cgit.openembedded.org/openembedded-core/commit/?id=a2760661b8c7a4a1b6f2e556853b3a9ae38cbcb5 Mar 07 10:55:50 ant_work : Thank you!! Mar 07 11:28:14 hello all Mar 07 12:18:58 guys, I'm using yocto poky-edison-6.0, I need to compile libmms, where can I find it? Mar 07 12:19:11 I need it for gstreamer libgstmms Mar 07 12:19:42 that should be included in gst-plugins-bad Mar 07 13:01:15 can anyone help me with building a kernel using yocto? i'm implementing a new bsp for an NXP LPC3250. i believe i have the machine setup correctly and have a kernel recipe, however, it fails when executing 'do_validate_branches'. Mar 07 13:12:56 rabryn, can you pastbin the error ? is this out of master ? Mar 07 13:13:00 If I have compiled meta-toolchain and sourced it using the script in bitbake/build/tmp, I now want to compile a program which includes kernel header files, how does it know where to find the source files in the tmp directory? Mar 07 13:13:43 because I wouldn't want it using my systems kernel headers right? Mar 07 13:15:19 jackmitch: this is the whole point of a cross compile toolchain. your learning. Mar 07 13:15:22 ;) Mar 07 13:16:17 zeddii, thanks for responding, what do you mean "pastbin the error"? i cloned yocto's 2.6.34 kernel and branched to arm_versatile_926ejs-standard, then created a local repo. Mar 07 13:16:48 I know I can use -I to specify includes so would it just be a matter of pointing it a the kernel sources and job done? Mar 07 13:16:57 rabryn: i will be soon building for the exact same hardware :) Mar 07 13:17:50 CcSsNet: NICE! I could really use someone to bounce ideas off of... i'm new to yocto but have had some experience with oe. Mar 07 13:18:15 jackmitch: youll have to get a response from someone else on that question. i havent actually used yocto for anything yet. just here to observe atm. (i use sourcemage for most things, openwrt for others, debian for the rest) Mar 07 13:19:20 rabryn, aha. the 2.6.34 kernel has been dropped in the most recent releases. so are you using a correspondingly old branch of the yocto project ? Mar 07 13:19:53 CcSsNET: i created a 'machine' that incorporates the 926ejs core with support for the vfp, i'm happy to share any of my work to anyone interested... i think it's a little early to be submitting anyting to yocto. Mar 07 13:21:03 rabryn: interesting. the first device i got that had 926ejs was a mini mp4/mp5 handheld tablet like device from china (3.4" screen) on ebay Mar 07 13:21:48 but im fairly sure that 2 other devices i have now are compatable with that build Mar 07 13:22:41 rabryn: atccss.net if u want to contact me in the future and im not responding on irc. Mar 07 13:23:34 zeddii: not sure (forgive my ignorance), i followed these instructions and replaced 3.0.1-1 with 2.6.34... http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#local-kernel-files Mar 07 13:25:38 CcSsNET: awesome, i'll be sure to keep in touch... i've been struggling with this stuff for a while now, need all the help i can get! Mar 07 13:26:44 website was hosted on mipsel arch for about a year and a half. its now hosted on an armel tablet (temporary its so damn slow) Mar 07 13:27:19 mipsel is so much more responsive then armel Mar 07 13:27:26 similar clocks and bogomips Mar 07 13:28:02 rabryn. no worries, you likely did follow the instructions properly, but it probably isn't documented that the kernels cycle and the oldest one is dropped from a given release (there are typically 3 at any time). The 2.6.34 was from the 0.9 days of yocto, and as such it has a different structure from the newer kernels that an up to date recipe from master wouldn't understand. Mar 07 13:28:49 zeddii: hi, exactly because of that I'm playing with 3.2.9 Mar 07 13:28:54 are the changes really tied to 2.6.34 .. or if there aren't any changes, I'd suggest the 3.0 or 3.2 kernel options for something that will 'just work'. we could probably get 2.6.34 working, but I'd have to set something up and see what's breaking. Mar 07 13:29:28 zeddii: ah... i see. well, ultimately i'm simply trying to build a kernel, doesn't have to be a yocto kernel. the lpc3250 community has a patch for 2.6.34, so that's why i'm trying to build that version. any ideas on how to build a non-yocto kernel? Mar 07 13:29:38 thats an old kernel ^ i dont personally see a point to working on it. Mar 07 13:30:05 zeddii: I'm still a bit confused about how to 'yoctize' a simple kernel Mar 07 13:30:16 rabryn: the patch may work on versions up to around 2.6.37 or 2.6.38 Mar 07 13:30:23 now I've seen the Yocto-Tools, seems great stuff Mar 07 13:30:30 rabryn, sure. you can build any kernel/kernel version that you really want, even with the tools. Mar 07 13:31:17 ant_work, this is something that is changing to (a) be clearer and (b) be documented clearly .. and if it is clearer, the documentation should be REALLY small Mar 07 13:31:36 http://www.gnuarm.com/ Mar 07 13:31:47 i'm not opposed to a more recent kernel, however, my goal was to get something "known" working first, then upgrade. i've used eldk 5.1 to compile the kernel and it works great, but i'd like to have more control over the production of the rfs. Mar 07 13:32:59 ant_work, so you just have a kernel git repo and you want to build it / yoctoize it and then put some changes in it ? If I know what it is .. I can absolutely help you out, and I'll find out about which parts are not easy/right/simple enough. Mar 07 13:33:04 just bookmarked eldk Mar 07 13:33:45 zeddii: the point is I seem to see two different approaches in linux-yocto and linux-yocto-tiny, the latter providing own config bits Mar 07 13:34:29 zeddii: should i ditch the yocto kernel layers to do this? i mean, in my kernel recipe for my own kernel, should i 'require' poky/meta/recipes-kernel/linux/linux-yocto_2.6.34.bb? i have a feeling i should ditch the yocto stuff (because i'm not using a yocto kernel), however, i'm sure i can leverage some recipe to compile the kernel, just not sure where it's at... Mar 07 13:35:48 zeddii: I provide a minimal defconfig (shrunk with make_savedefconfig) to http://cgit.openembedded.org/meta-openembedded/tree/meta-initramfs/recipes-kernel/linux Mar 07 13:35:54 rabryn, there are examples in meta-oe, and other meta layers where if you just want to build a kernel, then absolutely, grab them and drop it into your layer. if you want config fragments or other management utilities, the yocto tools can wrap it for you as well. Mar 07 13:36:19 now, the mangling done in the .inc file can be appended with .cfg pieces I think Mar 07 13:36:47 ant_work, linux-yocto-tiny temporarily has it's own baseline config, but we'll be driving it down to a common location, and the standard, preempt-rt and other kernels will use it. Mar 07 13:37:35 what's confusing is that I'm building for armv5te and all the arm config I found in Yocto are for armv7/beagle Mar 07 13:37:43 rabryn: the main devices i am currently working on: (eken m002 tablet"has debian armel installed atm", open pandora(cortex a8 armel)"stock firmware for now", asus rt-n16 router(mipsel)"openwrt, dd-wrt, tomato,(testing still)", dir-827 dlink router "ubicom32 arch, highly unsupported for now" Mar 07 13:38:03 rabryn, just do something like this: https://github.com/Freescale/meta-fsl-arm/blob/master/recipes-kernel/linux/linux-imx_2.6.35.3.bb Mar 07 13:39:35 and if you need fragments, and tooling, you can migrate. FWIW, you could do the same thing with the yocto recipes (i.e. don't start with the linux-yocto upstream), but starting simple is best. and we are about to unifty the "linux-korg" and "linux-yocto" recipes so there's a single place to do this just as simply with the fragments, etc, going forward. Mar 07 13:40:03 zeddii: awesome, thanks! i'll get right on it... are you available on #yocto frequently? Mar 07 13:41:13 rabryn, I'm always here (I'm actually travelling this week, so not as much), but you can ping me as required. it helps me find out what isn't working for the new users .. which is valuable Mar 07 13:41:19 (ok, I'm off my soap box now :) Mar 07 13:42:03 speaking of soap boxs... the open pandora is basically that size Mar 07 13:42:11 :) Mar 07 13:42:38 or slightly smaller then a 3.5" internal hard drive Mar 07 13:43:52 * zeddii could stand on that too. Mar 07 13:43:55 and fall Mar 07 13:45:36 armv5tejl is what is working on the eken m002. i guess not the same target as you afterall rabryn Mar 07 13:46:10 unless thats just highly inefecient use of the cpu (possibly considering its standard debian armel installed) Mar 07 13:47:06 ARM926EJ-S rev 5 (v5l) Mar 07 13:47:11 in cpuinfo ^ Mar 07 13:47:43 yea just inefecient i guess Mar 07 13:48:09 zeddii: omg, you're in LA timezone Mar 07 13:48:46 zeddii: thanks for your help! Mar 07 13:49:03 ant_work, not normally .. but his week yest. Mar 07 13:49:05 yes Mar 07 13:49:22 it's a bit early here :) Mar 07 13:49:30 ^_^ Mar 07 13:51:22 CcSsNET: i used debootstrap to create a debian armel distro and mounted over nfs, worked great, but too big for my nand. i also investigated emdebian, oe, and cross linux from scratch, but came to the conclusion yocto is the best fit... now if i can only get it working... :-) Mar 07 13:53:09 rabryn, it'll work ! :) just getting a feel for it, and the swiss army knife that it is can be .. fun! Mar 07 13:55:47 hmm ill check out emdebian Mar 07 13:56:32 its 2012 and this is the first week ive ever used wifi Mar 07 13:56:53 just got the open pandora Mar 07 13:57:08 ;] Mar 07 13:58:04 stock os on it is not horrible but its not ideal Mar 07 13:58:20 still nicer then stock android Mar 07 14:01:30 specificly the wifi config is all cli only on stock firmware, fairly painfull considering all the options for gui methods Mar 07 14:02:11 soon il replace it though Mar 07 14:56:26 hey challinan :) Mar 07 14:57:08 hey kergoth: what a surprise ;) Mar 07 15:02:34 anyone here have any suggestions on a workaround for this issue I ran into trying external toolchain? Mar 07 15:02:41 http://pastebin.com/SCMkzEm7 Mar 07 15:03:32 hmm, wonder Mar 07 15:09:13 there is a legitimize_package_name(), but no equivalent for version/revision :) Mar 07 15:10:40 oh, wait.. hmm Mar 07 15:19:09 challinan: trying to repro now Mar 07 15:19:32 but hopefully one of the folks with rpm-fu will know more about the restrictions Mar 07 15:21:29 what's the best way to ensure one package gets rebuilt if another package changes? Mar 07 15:22:14 if you're using basichash, that'll always automatically be the case based on task dependencies Mar 07 15:22:17 if not, there isn't one Mar 07 15:22:54 so even if I add a DEPENDS for the other recipe and it's SRCREV changes it won't get rebuilt? Mar 07 15:23:18 i assume you mean the dependency's srcrev changes. that won't rebuild you unless you're using basichash Mar 07 15:23:36 originally we had dependencies changes not forcing rebuilds of the things that depend on it by design Mar 07 15:23:51 ok Mar 07 15:23:58 so i need a recent version then Mar 07 15:24:02 or bump the PR Mar 07 15:24:07 yep Mar 07 15:24:32 this is why in the past tehre's occasionally been commits that just bump a bunch of PRs due to dependency changes Mar 07 15:24:32 i'd assume I could make a linux-ver.inc and put SHA's there? then include that in all dependent recipes? Mar 07 15:24:47 assuming you include whatever var from there in your pv/pr, sure Mar 07 15:24:51 kergoth: right, got it Mar 07 15:25:42 thanks Mar 07 18:36:54 greetings! I just setup a new debian squeeze chroot for my yocto builds, I get this error when trying to bitbake anything: Mar 07 18:36:54 http://pastebin.com/pUf13Qh6 Mar 07 18:38:38 I wonder if the version of bitbake I'm using has an incompatibility with python in squeeze Mar 07 18:51:49 xumbi - i am not sure if yocto is setup to use host's bitbake - you need to source poky/oe-init-build-env - that scripts sets up the path etc so that the bitbake that came with yocto is set up Mar 07 18:52:32 autif: sorry that wasn't my pastebin, I found it from a google search on my error, my environment is using the bitbake from poky-edison-6.0 Mar 07 18:53:28 well, in that case - happy building Mar 07 18:54:11 I'd be happy if I could build something :) Mar 07 18:54:35 it's strange, I just upgraded another squeeze chroot I had been using and I don't see this error Mar 07 18:54:44 so I don't think it's related to squeeze Mar 07 19:02:37 i'm trying to get libgcc-s-dev installed on my rootfs Mar 07 19:02:46 i've added RDEPENDS += "libgcc-dev" Mar 07 19:02:53 but the libgcc-s-dev package is not getting adding Mar 07 19:02:55 added* Mar 07 19:03:13 i can rpm -ivh libgcc-s-dev myself and everything is installed Mar 07 19:15:00 autif: I figured it out, /dev/shm and /run/shm weren't bind mounting in my chroot, apparently bitbake needs access to them Mar 07 19:15:53 cool Mar 07 19:50:13 and why is libgcc-dev getting renamed to libgcc-s-dev Mar 07 23:37:11 hmmmm Mar 08 02:09:50 Any idea why a build of edison on tmpfs would fail? It exits without any error message after building the first set of packages (pseudo?) Mar 08 02:10:32 http://pastebin.com/gmDMLpDq Mar 08 02:10:41 that is the error when I try to run it again Mar 08 02:12:03 Ah. looks like it is a problem with 'set_device()' in buildstats.bbclass Mar 08 02:12:14 How can I disable build stats? Mar 08 02:13:29 mebrown: out of memory? Mar 08 02:13:42 I have 192GB Mar 08 02:13:47 not possible Mar 08 02:14:11 the file not found is not the root cause Mar 08 02:14:21 the 'rdev' referenced before assignment is Mar 08 02:14:30 http://patches.openembedded.org/patch/14191/ Mar 08 02:14:35 ah, this looks promising Mar 08 02:18:01 any idea how to find that patch since the branches mentioned in the bug no longer exist? Mar 08 02:26:28 mebrown: get merged into a release branch Mar 08 02:35:15 I'll troll through and pick up the latest. Can I override the buildstats.bbclass in base by dropping an updated version in my later? Mar 08 02:35:19 s/later/layer/ Mar 08 02:35:39 For now, I commented out the 'inherit buildstats' from base.bbclass, and it is building. Mar 08 02:36:02 24cpu system with 192GB RAM. It seems to be going pretty fast. **** ENDING LOGGING AT Thu Mar 08 02:59:58 2012 **** BEGIN LOGGING AT Thu Mar 08 02:59:59 2012 Mar 08 07:10:36 mebrown: nice Mar 08 08:31:35 Hi, I have a binary that I put in a folder yocto/meta-radiosw/tools/xlf-gen/my-binary which I would like to run. The binary takes a kernel image and some other stuff to generate one image. How do I tell poky/yocto about the tools directory? I would like to run xlf-gen in a recipe to generate the image. Or maybe there is a better way to do it? Mar 08 08:32:17 the binary is precompiled and I don't have the source to it. Mar 08 08:34:37 Basically I just want it to be a part of the environment or buildsystem, but I want to keep it in meta-/tools directory. Mar 08 10:04:23 hello all - does anyone know if there is a simple way to get a list of packages which is included in one of the core-image-* recipes? Mar 08 10:06:16 ignus: "bitbake -u depexp " gives you a little gui explorer Mar 08 10:06:54 Zagor: im stuck with ssh, is there any other way to do it? Mar 08 10:08:22 ignus: "bitbake -g " produces dependency graph .dot files, from which you can grep the package list Mar 08 10:09:01 oh cool, i think thats what i need... does it give a dep graph or just a list? Mar 08 10:09:29 it creates three .dot files Mar 08 10:15:05 hmm, what is pseudo doing that's taking up so much cpu time? shouldn't it just be rewriting paths and redirecting calls? Mar 08 13:42:02 wowza, pigz is a nice gzip alternative Mar 08 13:42:22 cuts down the time to run do_rootfs by a fair amount Mar 08 14:03:56 heh, quite. gzipping goes from 96 seconds to 2... Mar 08 14:08:25 Zagor: it all depends on how many cores Mar 08 14:08:33 of course Mar 08 14:08:46 still impressive Mar 08 14:54:03 Zagor: wow, nice Mar 08 15:36:25 argh, how do I tell bitbake to use my pigz recipe for gzip-native? PREFFERED_PROVIDER_gzip-native = "pigz-native" in my distro.conf is clearly not enough Mar 08 15:37:07 that wouldn't be enough anyway, unless pigz provides gzip and zcat commands Mar 08 15:37:50 PREFERRED_PROVIDER tells bitbake which provider of a common piece of functionality you want. it doesn't force the recipe to provide that functionality, that's what PROVIDES in the recipe does Mar 08 15:38:02 in a way, anyway Mar 08 15:39:04 I do provide a gzip in the pigz recipe. Mar 08 15:39:35 but bitbake doesn't even run it, it always selets gzip_1.4.bb Mar 08 15:40:49 you didn't add gzip-native to pigz's PROVIDES Mar 08 15:40:51 as i mentioned above Mar 08 15:41:29 right, but the gzip recipe doesn't have a PROVIDES either. so why is it selected over pigz? Mar 08 15:41:40 read bitbake.conf Mar 08 15:41:44 there's always a default PROVIDES Mar 08 15:41:48 a recipe always provides itself Mar 08 15:42:05 the default provides includes ${PN}, ${PN}-${PV}, and ${PN}-${PV}-${PR} Mar 08 15:42:07 oh, PROVIDES="gzip-native". I misread. Mar 08 15:42:10 also, learn to use bitbake -e Mar 08 15:42:14 no, you'll want += Mar 08 15:42:26 right Mar 08 15:47:00 where is PREFERRED_PROVIDER supposed to go? I get "multiple providers are available for gzip-native, consider defining a PREFERRED_PROVIDER entry" even with it in my distro.conf Mar 08 15:48:11 doesn't matter where its defined Mar 08 15:48:16 bitbake doesn't distinguish between .conf files Mar 08 15:48:24 use bitabke -e to check its value Mar 08 15:54:30 I get both the warning "consider defining a PREFERRED_PROVIDER" and then further down I get PREFFERED_PROVIDER_gzip-native="pigz-native" Mar 08 15:54:47 and in the end gzip_1.4 is built :) Mar 08 15:56:57 i hope you typoed it on irc, not in the metadatas ) Mar 08 15:57:07 (preferred, that is) Mar 08 15:58:12 oops! no it was in my metadata. Mar 08 15:58:24 hehe Mar 08 15:58:45 does anyone know what package ping and traceroute would be in? Mar 08 15:58:52 and magically, it works :-) thanks kergoth! Mar 08 15:58:54 np Mar 08 16:04:56 anyone? Mar 08 16:08:31 ignus: iputils? Mar 08 16:12:05 Zagor: thanks!! Mar 08 16:20:41 jzhang Mar 08 16:28:25 does anyone know if its possible to use multiple build servers for poky/yocto? Mar 08 16:31:56 you can easily run independent builds, one on each server, but bitbake doesn't support distributing individual tasks or recipes across multiple machines at this time Mar 08 16:56:41 Hi, is there a rule of thumb for the BB_NUMBER_THREADS and PARALLEL_MAKE values? Mar 08 16:57:52 maybe something like this: Mar 08 16:58:08 PNUM=`getconf _NPROCESSORS_ONLN` Mar 08 16:58:08 BB_NUMBER_THREADS="$([ ${PNUM} -gt 2 ] && echo "$((${PNUM} / 2))" || echo ${PNUM})" Mar 08 16:58:08 PARALLEL_MAKE="$((${PNUM} + 1))" Mar 08 17:17:58 kenws - I have experimented a little with BB_NUMBER_THREADS and PARALLEL_MAKE and seen that if both are about 2X the number of pipelines - I get optimal results - so on a six core processor with hyperthreading - I user 24 as the value - when it is fewer than that - inevitably something at the tail end does not end up using all the resources available. Mar 08 17:18:53 thats what i use on my larger machines (lots of ram, fast disks).. Mar 08 17:19:15 machines with less ram, or less disk speed.. I usually do 2x actual cores.. Mar 08 17:19:28 sometimes 1x cores if ram is really limited.. Mar 08 17:19:30 yup - I have 32 GB on this and if it was 64 GBs, I would consider ramdisk instead of an SSD Mar 08 17:20:18 I can get core-image-minimal for qemux86 to build in about 34 minutes Mar 08 17:20:25 I have a machine w/ 72 GB of RAM and 16 cores.. that one I've done builds with 32/32 with a ramdisk for the tmp, and SAS for the downloads directory.. never pegs the machine.... Mar 08 17:20:36 that sounds about like what I've seen.. Mar 08 17:20:43 do not get me started about building a gnome image on a vm ..... Mar 08 17:21:15 I stay far away from VM images.. Vmware is horribly slow when used on a windows amchine (compared to native Linux performance).. it's all due to the horrendous memory and cache management of Windows Mar 08 17:25:07 autif: setting both to 24 while /proc/cpuunfo shows 12 sounds like quite high values to me. Is that because not all of the packages are utilizing -j or is the max amount of bitbake threads not reached because it's waiting on dependant packages? Mar 08 17:26:29 if everything gets parallized you would have 24*24 GCCs compiling stuff on a machine with 12 pipelines Mar 08 17:26:52 kenws during compilation and other activites there is a lot of blocking on system resources.. in many cases 2x will get you more system utilization as the blocked process will yiled to one that starts doing actual compilation work.. Mar 08 17:27:11 (blocking is usually on disk read/write or simply file locks) Mar 08 17:28:36 hm, but why x2 for both the amount of bitbake tasks and the -j? Mar 08 17:28:59 i usually find 1.5x is good for bitbake threads and 2x for make jobs, myself Mar 08 17:29:05 from experimentation Mar 08 17:29:07 but resutls vary Mar 08 17:29:13 depends on the capabilities of your machine Mar 08 17:29:21 yup, every machine and usage case is different.. Mar 08 17:29:26 you just have to experiement.. Mar 08 17:30:10 on my build system /proc/cpuinfo shows 24x "E5649 @ 2.53GHz" with 32GB of RAM Mar 08 17:30:54 I just switched from building on the hdd to building on tmpfs which saves me half an hour when building the sato+qt4e images Mar 08 17:31:12 start with 24/24.. if you run out of memory drop the make -j side down a bit.. if the memory is adequate then tune for performance.. you'll find a good number based on your system resources Mar 08 17:32:39 But in theory this means 24 by 24 GCCs running in parallel or am missing something? Mar 08 17:36:23 (which probably only rarely happens because of missing dependencies for both - make and bitbake) Mar 08 17:36:52 that does not mean 24 x 24 gccs in parallel Mar 08 17:37:00 do_compile is only one of many tasks to be run Mar 08 17:37:10 even not considering dependency bottlenecks and i/o Mar 08 17:37:30 yes, in theory 24x24 is the max that can hit - with a lots of RAM - this should be a non issue - it is still a small number as far as context switch for example goes. - However, in reality, I do not see that load most of the time Mar 08 17:37:37 ah, true. unpack for example won't utilize the -j24 Mar 08 17:38:18 it is just enough to make sure that all 6 cores are running at full utilization including the two pipelines per core Mar 08 17:38:24 hmm, are richard's bits for generating that bootchart type view of the task executions available anywhere? Mar 08 17:39:01 https://wiki.yoctoproject.org/wiki/Build_Performance Mar 08 17:39:06 sounds like having a high amount of parallel bitbake tasks is preferrable over a high -j value when building on tmpfs Mar 08 17:39:07 is that what you meant? Mar 08 17:40:13 kenws, again.. it's machine specific.. what works for someone is a good starting point, but you need to profile your own builds on your own machine.. Mar 08 17:40:15 interesting chart : ) Mar 08 17:40:17 not that one, no Mar 08 17:40:39 fray: I see Mar 08 17:41:00 autif: http://comments.gmane.org/gmane.linux.embedded.poky/3646, http://tim.rpsys.net/bootchart.png Mar 08 17:42:25 the matrix script is interseting though, will have to looka t that Mar 08 17:43:30 kergoth - very interesting - ncurses take for ever and a lot of things depend on it - if that can be improved - build time goes down - dont have a clue as to why/how. I am sure someone is working on it Mar 08 17:43:37 * kergoth nods Mar 08 17:44:35 kergoth: this seems to be only for the native part of a build. wow, it looks like the configure task of m4 and the compile task of ncurses do block other tasks Mar 08 17:44:46 bootchart2 is pretty smooth though Mar 08 17:44:56 it's quite interesting, and would be nice to run some more nowadays to check the state of things Mar 08 17:46:52 * kenws wonders what "buildstats" does when enabled at the USER_CLASSES Mar 08 17:47:28 it creates a buildstats dir but... Mar 08 17:47:30 it records task execution times, per task cpu usage, etc Mar 08 17:47:33 quite useful Mar 08 17:49:39 ah, I see - nice. Is there anything that visualizes these numbers? Mar 08 17:50:33 good question Mar 08 19:02:17 poky git repository has not seen any checkin in the last 3 days - is there a reason for this? Mar 08 19:06:17 autif: they cancled a meeting today too - maybe they are busy? Mar 08 19:06:51 RP__ is not online either Mar 08 19:07:23 sgw may know? Mar 08 19:12:18 autif: we are busy at an event, expect the flow to start next week Mar 08 19:12:42 thanks sgw Mar 08 21:05:17 hmm, wonder if any upstream layers (e.g. oe-core, meta-oe, meta-yocto) would want this nano-tiny recipe. just builds with a configure arg that enables tiny mode, disabling many extra features. considering how many folks don't know vi, it could be a useful thing to include in some images Mar 08 21:08:06 this looks like an invitation for vi vs. some other editor flamewars :P Mar 08 21:09:09 I don't think so. this isn't about the editor of your choice Mar 08 21:09:22 it's about the default, mostly useless editors for modifying config files Mar 08 21:09:27 that's a fair bit different Mar 08 21:09:39 for example, vim is awesome, but busybox and nvi pretty much suck for anything but the occasional config file Mar 08 21:09:48 so i don't see personal feelings coming into it as much Mar 08 21:10:07 is the recipe is contrib? Mar 08 21:10:08 the main thing is reducing initial pain and potential confusion, and even vi fans admit it isn't intuitive for an initial user Mar 08 21:10:21 not yet, it's one we have internally at mentor, was thinking aboutpushing it Mar 08 21:10:38 will keep an eye out Mar 08 21:10:40 Okay, busybox I can see, but... I like nvi way better than vim. :) Mar 08 21:11:15 vim's infinite undo is in theory more powerful, but nvi's is less likely to leave me confused and unsure where my changes went. Mar 08 21:11:22 see what I mean 8-) Mar 08 21:12:19 I would totally back either of them over classic Berkeley vi. Mar 08 21:12:52 But if I had to choose which one I wanted to use, it'd be nvi pretty much every time. I have 30 years of reflexes for how u and . work. nvi is compatible with those habits, vim isn't. Mar 08 21:14:52 what i love, love, love about vim 7.3 Mar 08 21:14:54 persistent undo Mar 08 21:15:04 edit a file, change something, save, exit, edit it again, undo what you did last time Mar 08 21:16:03 at any rate, I think if someone were constructing, say, a rootfs for an ap/router, nano would be more useful for quickly editing config files than any vi Mar 08 21:18:02 kergoth, execpt if you have some interesting shell that does not like ctrl+ commands... Mar 08 21:18:31 that's not very likely Mar 08 21:19:19 Lived through it. Very fun in the shell too. No job control and CTRL+C kills your shell... Mar 08 21:19:39 the answer in that case is to fix your shell/tty, imo Mar 08 21:19:49 And otherwise you have those nice touchscreen keyboards with out ctrl key... Mar 08 21:20:01 that's what ssh is for Mar 08 21:20:15 but i'm not arguing that busybox vi be disabled, just to have a more user friendly alternative available to be added to images Mar 08 21:20:34 Well it is true that nano is more straightforward for a novice Mar 08 21:51:56 My memory may be wrong, but it was either nano or pico that autowrapped config files. Mar 08 21:52:05 Which was a very-recurring support call. :) Mar 08 21:52:38 haha Mar 08 21:52:43 ah pico, memories.. Mar 08 21:52:53 i knew a software engineer once that did all of his coding in nano Mar 08 21:52:58 it was rather disturbing.. Mar 08 21:53:33 heh Mar 08 21:54:09 seebs: hmm, do you play Rift, by chance? Mar 08 21:54:25 ... mayyyyybe Mar 08 21:54:36 * kergoth remembered seeing the nick on riftui.com Mar 08 21:54:44 Which is to say, I am pretty sure one of their staff has more posts than me on their forums. :P Mar 08 21:54:49 yup. Mar 08 21:54:57 Note the #riftuidev channel on this very IRC server. :) Mar 08 21:55:13 For reference: If you program recreationally, I highly reccomend their addon API. It is a TON of fun. Mar 08 21:55:18 I haven't done any ui dev for rift, but i used to for wow. I wrote the object model used by the "Ace" framework Mar 08 21:55:20 * kergoth nods Mar 08 21:55:24 I have done MMO addons before, and it was like pulling teeth. Mar 08 21:55:25 I'll have to play around, brush the dust off the lua skills Mar 08 21:55:42 Oh! Well, thank you a bazillion, back when I played WoW I got a lot of use out of that, indirectly. Mar 08 21:56:05 Trion hired ZorbaTHut to do their addon API, so the API exists, not because it's the bare minimum to let their devs write a UI, but with intent that it be used to write addons. Mar 08 21:56:11 It's beautiful. Mar 08 21:56:14 nice Mar 08 21:56:40 I've been doing mostly library-level stuff for it, although I did a couple of utility things. Mar 08 21:57:00 Had a week of vacation. Spent it all programming. Came back relaxed and ready to work. :) Mar 08 21:57:29 I have actually sort of toyed with an idea of making an addon named pseudo. Mar 08 21:57:31 hah. know how that goes. at least, I used to. got burned out a while back, had to slowly rebuild the desire to do OSS work on the side Mar 08 21:57:47 Which would provide a shell-like UI for access to all sorts of API functionality. :P Mar 08 21:58:54 It doesn't hurt that Lua is one of my top three languages by "fun to program in". (Lua, Ruby, C.) Mar 08 21:59:28 my main languages are python, lua, c, in about that order. though 'Go' is intreguing, haven't found a project to use it for yet Mar 08 21:59:42 i don't think i've ever met anyone good at both python and ruby.. they're so similar, once you know one, there's little motivation to learn the other Mar 08 21:59:47 heh Mar 08 22:01:04 I love ruby and strongly dislike python. I think it's a philosophy thing. I learned a bit of Python first, but it never clicked for me. Mar 08 22:01:39 I had just learned PHP when someone told me maybe I'd like Ruby, so my impression of it was like coming out of a damp cave into a warm spring day. Mar 08 22:02:11 PHP, as a programming tool, ranks a little below cleaning catboxes on my personal preference list. Mar 08 22:03:30 php is way too much like perl Mar 08 22:04:04 It's very much like a half-baked cross between perl, C, and every programmer's first attempt to write a programming language. Only without the elegance. Mar 08 22:04:34 <-- not a big fan :) **** ENDING LOGGING AT Fri Mar 09 02:59:58 2012 **** BEGIN LOGGING AT Fri Mar 09 02:59:58 2012 Mar 09 07:21:40 now do I specify shell commands to run in the background in a bbclass? the normal & syntax gives me parse errors. Mar 09 08:15:50 why is package_tar_install() running "zcat %s | tar -xf -" instead of just "tar -xf %s" ? are we expecting native tar without gzip support? Mar 09 08:34:09 Probably not, but it's not as though relying on tar to spawn gzip makes it significantly more robust. :) Mar 09 08:41:09 good morning Mar 09 08:46:42 seebs: no, I'm just curious if there is a technical reason. it seems to be the only place we use zcat. Mar 09 10:35:41 hello all - anyone know what recipe would contain an ftp client? Mar 09 10:46:33 ignus: wget? Mar 09 11:03:20 Zagor: thats not a bad idea, thanks! Mar 09 13:11:40 I've been trying to set up yocto to create a nfs exportable directory but I could find the right way for that Mar 09 13:12:23 I built the minimal image. And I can boot if using SDCard image. Mar 09 13:12:45 I have 2 main questions: Mar 09 13:13:00 1- how to configure yocto to create a nfs exportable dir Mar 09 13:13:37 2- is there anything missing on minimal image to allow nfs to boot? Mar 09 13:31:05 if anyone else wants to play with pigz in the build, here's a recipe patch: http://pastebin.com/AMeD2m00 Mar 09 13:35:55 Zagor: it's interesting stuff, pls send patch with git to the mailing list Mar 09 13:36:06 yes, I will Mar 09 13:36:11 thx Mar 09 13:36:56 intriguing even, some happy people are building with >96 cores iirc Mar 09 13:38:08 how much time do you save using pigz-native? Mar 09 13:39:33 I haven't done much measuring yet, but the rootfs compression I mentioned yesterday went from 96 seconds to 2. Mar 09 13:39:55 I have 64 cores Mar 09 13:40:11 heh Mar 09 13:40:18 bastards Mar 09 13:41:43 currently, bitbake doesn't scale very well though. I hope to be able to improve this. Mar 09 13:42:24 what monster is that? 64 cores? Mar 09 13:43:16 ynezz: 4 amd opteron 6272 Mar 09 13:43:38 ah Mar 09 13:56:46 did someone change PREMIRRORS handling lately? I just pulled from head, and now https is not translated to http as per my PREMIRRORS_prepend variable. Mar 09 13:58:33 I have "https://.*/.* http://linux.enea.com/sources/" but it still tries to wget https://linux.enea.com/sources/elfutils-0.148.tar.bz2 Mar 09 14:07:14 perl builds with plain "make". one file at a time. Mar 09 14:25:42 python gurus: what is the most elegant way of splitting a for loop into X threads? Mar 09 17:45:02 anyone see: Mar 09 17:45:02 ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored. Mar 09 17:45:10 im running 32-bit chroot from a 64-bit machine Mar 09 18:39:47 nevermind - this was from a poluted rootfs Mar 09 18:40:00 32-bit and 64-bit libraries on a 32bit machine Mar 09 18:47:40 that will do it Mar 09 19:01:12 zeddii: i've come a long ways in the last day and half, thanks for your help! Mar 09 19:07:09 good to hear. I'm back in Eastern Time now .. so I'm a bit tired, but good to hear. Mar 09 19:16:19 zeddii: i've built my kernel, u-boot, and created my own recipe to build zeromq. next i'm trying to extend the 'core-image-base' to include that package... 2 questions... Mar 09 19:17:07 the first, is tried to use 'hob' but i get this error when i try to launch it from my build dir: 'AttributeError: 'NoneType' object has no attribute 'get_width'' Mar 09 19:17:10 any ideas? Mar 09 19:18:41 hmm. I'm not 100% sure. I'm looking and don't see many hob folks in the channel right now. Mar 09 19:19:48 eh, it's no problem, i just figured out my second problem... so i guess i'm square. thanks. Mar 09 19:20:02 heh. Mar 09 19:20:09 50% solved! Mar 09 19:21:56 do you recommend inheriting an existing image or requiring one? i.e.: require core-image-base or inherit core-image-base? and what's the difference? Mar 09 19:22:07 got to eat lunch... brb. Mar 09 20:13:50 zeddii: hate to bother you again, but any ideas on those questions? Mar 09 20:21:42 rabryn, I was trying to raise someone about the hob question. I didn't hear anything yet. All the work is happening on hob2 at the moment, or on master. are you on those branches ? Mar 09 20:22:42 as for the other, there were discussions about inherit vs require on the lists just recently .. while not exactly your question, they were close (IIRC) Mar 09 20:27:01 thanks. i'm using the git repo for poky/edison. i'm not an irc guru, how would i search the history to understand the benefits of require over inherit or vice versay? Mar 09 20:27:09 versa*? Mar 09 20:27:40 google? Mar 09 20:29:57 rabryn, I have everything archived here. I'll try a quick search. the difference is subtle. Mar 09 20:30:00 mranostay: i'm looking it up now... didn't mean to come off lazy... Mar 09 20:30:13 so I don't want to answer off the top of my head and steer you wrong. Mar 09 20:31:14 excellent, thanks. Mar 09 20:31:49 i think inherit doesn't fail if doesn't find a class Mar 09 20:37:37 right. require blows up if it can't find the file. Mar 09 20:38:17 and that's the biggest difference. I was thinking evaluation order, but I'm crossing the conversation about += with _append, _prepend, etc. Mar 09 20:39:43 gotcha Mar 09 21:20:39 does anyone know where all the different methods you can override are for a recipe? i'm looking at the boost recipe and i don't see it require/inherit anything but i need to copy in boost_log before building it... not sure what method to override. is there like a "recipe base class" that provides all the "virtual functions" for a recipe? (yes, i'm more of a c/c++ person than python). Mar 09 21:25:35 rabryn: you can override pretty much any function Mar 09 21:25:43 rabryn: just define it in your recipe Mar 09 21:26:04 and you can also register _append and _prepend functions for pre and port talk activities Mar 09 21:26:36 so from what you wrote it seems you need that file before boost is configured ? Mar 09 21:26:56 then you can add a functions called do_configure_prepend() {} Mar 09 21:27:03 and do copying in there Mar 09 21:27:05 khem: ah... i think i'm just figuring that out now... is this what the "addtask do_boostconfig after do_patch before do_configure" means? where "do_boostconfig" is a new function? Mar 09 21:27:14 yes pretty much Mar 09 21:27:30 nice, thanks! Mar 09 21:27:41 yes bitbake does not care what the tasks are as long as there are Mar 09 21:28:25 its pretty flexible that way Mar 09 21:29:06 i see Mar 09 22:11:46 HI is there any BSP support for Sandybridge + Patsburg (X79) chipset ? Mar 09 22:37:07 yet another (potentially dumb) question... so, i'm writing a recipe for boost that includes support for boost_log. i have to use boost version 1.45.0. i've named my recipe boost-foo_1.45.0.bb, but everytime i bitbake boost-foo it chooses 1.49.0 (which is what is available in meta/recipe-support/boost. why is yocto using 1.49.0 instead of 1.45.0? Mar 09 22:38:45 to clarify, i see that yocto is downloading 1.49.0 when i bitbake... instead of 1.45.0. Mar 09 23:35:44 zeddii, the iptables failure you were hitting earlier... what was the workaround? Mar 10 00:59:33 rabryn, check the SRC_URI,does it use PV? **** ENDING LOGGING AT Sat Mar 10 02:59:58 2012 **** BEGIN LOGGING AT Sat Mar 10 02:59:58 2012 Mar 10 16:05:12 can anyone here help me with a package version issue? Mar 10 17:42:43 HI I am new to yocto, I would like to know whether yocto supports BSP for SandyBridge and Patsburg chipset? Mar 10 19:29:38 <15SABAJFR> bizhanMona: see the meta-romley BSP in meta-intel Mar 10 22:54:35 HI would yocto supports glibc? **** ENDING LOGGING AT Sun Mar 11 02:59:58 2012 **** BEGIN LOGGING AT Sun Mar 11 02:59:58 2012 Mar 11 05:56:00 bizhanMona: not sure i follow your question Mar 11 12:49:44 bizhanMona: We have eglibc Mar 11 14:44:01 khem: I'm hoping the patches on bitbake-devel help your memory issues Mar 11 18:56:07 hello folks Mar 11 18:57:00 i am attempting to create a new BSP layer but get two errors "ERROR: Nothing RPROVIDES 'perf'" Mar 11 18:57:40 well maybe i should put this in a pastebin Mar 11 18:59:48 http://pastebin.ca/2126933 Mar 11 19:01:51 i am still pretty new to oe so i'm not sure where to start on this one Mar 11 19:02:03 i looked for recipes named "perf" in poky/meta/ Mar 11 19:02:15 i found something called "gperf" Mar 11 19:02:45 but it doesn't "RPROVIDE" perf Mar 11 19:05:16 i see in poky/meta/classes/kernel.bbclass line 528 a comment that says "perf must be enabled in individual kernel recipes" Mar 11 19:05:41 srry, line 526 Mar 11 19:06:08 does this mean i need to select a kernel or something? Mar 11 19:08:53 the only layers i specify in this BSP are the BSP itself and poky/meta Mar 11 19:10:56 i checked the BSP mailing list, looks fairly inactive Mar 11 19:17:03 it looks like if all i have is my BSP and the poky/meta layer nothing provides a kernel Mar 11 19:17:07 possibly? Mar 11 19:17:53 maybe i will try copying conf/distro/defaultsetup.conf and adding some kind of variabl or something that would indicate the use of some kernel or other Mar 11 19:46:41 maybe i will post my question anyway Mar 11 19:46:52 (on the mailing list) Mar 11 20:18:15 Hi there, I searched the WEB but did not find documentation (besides the installation) of yocto on routerstation pro. Is there any documentation or quick start for routerstation pro? Mar 11 20:20:07 ESI: have a look in README.hardware Mar 11 20:20:29 that contains some basic info specific to the rspro Mar 11 20:21:46 Thank you for the answer. In README.hardware, there is the installation described, but I am looking for some kind of quick start after installation. Mar 11 20:23:48 ESI: what kind of information are you after? Mar 11 20:24:10 For example, a short notice, how to setup the router, wireless, WPA2 and so on. Maybe advice to install some webserver for configuration or so. Mar 11 20:25:16 ESI: that's probably beyond the scope of what we currently provide Mar 11 20:25:52 I am using Poky on Zaurus, there it is quite obvious, you boot it and the rest is graphical. Mar 11 20:26:19 ESI: the rspro is mostly a hardware test platform for the MIPS architecture for us Mar 11 20:26:37 that's not to say you can't do more with it Mar 11 20:27:04 Is anybody using yocto on rspro? Some experience report would be enough, I guess Mar 11 20:27:40 well, I've booted it many times, but I've not set it up as a proper router Mar 11 20:28:29 Ok, thank you. I guess then it would be up to me to provide such a report... if I get there ... Mar 11 20:28:36 sure Mar 11 20:28:56 you'd need to be familiar with standard linux bridging / routing from the command line Mar 11 20:29:45 we don't have a standard router web interface... you could use the one from openwrt but then, you might as well be using openwrt itself I suspect if that's what you want Mar 11 20:31:15 I am using openwrt now. I would have like the idea of taking yocto, because I know the build process. Mar 11 20:35:59 bluelightning: Thank you for the answers, I will try out yocto, if I find the time.. first I stick to openwrt. Mar 11 20:36:27 ESI: ok... please feel free to ask questions if you do, I'll be happy to help :) Mar 11 20:38:37 RP__: I am testing them as I speak :) Mar 11 20:46:49 bluelightning: Thank you. Mar 12 00:52:58 can anyone help me with a simple recipe question? Mar 12 00:54:21 i'm writing a custom recipe to package a static library. the library compiles fine, i just can't see to get the recipe to build a dev package with headers and a standard package with the binary... **** ENDING LOGGING AT Mon Mar 12 02:59:58 2012 **** BEGIN LOGGING AT Mon Mar 12 02:59:58 2012 Mar 12 08:59:12 RP__: any idea why after building everything except gcc-cross-canadian (failed because of cross compile badness) and doing "bitbake -c unpack -f gcc-cross-canadian" it rebuilds all *gcc* recipes (e.g. gcc-cross, libgcc, gcc)? Maybe it removes more stamps then it should? Mar 12 09:24:32 ah and now gcc-cross-canadian failed because of LDFLAGS value change, http://paste.pocoo.org/show/564518/ Mar 12 09:30:38 good morning Mar 12 09:41:10 gm Mar 12 10:13:11 morning all Mar 12 10:23:28 JaMa: gcc has the shared work directory and I guess the missing stamps confuse it Mar 12 10:24:01 morning all Mar 12 10:24:35 and how to "restart" clean build for gcc-cross-canadian? Mar 12 10:25:01 because this config.cache happens after each MACHINE switch :/ Mar 12 10:25:34 and sometimes it happens with target gcc too Mar 12 10:28:03 JaMa: which directory is the config.cache in? ${B} ? Mar 12 10:29:24 RP__: http://paste.pocoo.org/show/564533/ Mar 12 10:31:00 JaMa: Does a "bitbake cross-canadian -c clean" and then building again work better? Mar 12 10:31:59 gcc-cross-canadian right? Mar 12 10:32:06 and now it will rebuild everything too Mar 12 10:32:33 that's why I tried to use -c unpack -f instead of clean Mar 12 10:35:50 JaMa: yes Mar 12 10:36:32 JaMa: I'm puzzled why it wouldn't use the sstate cache for the other gcc variants Mar 12 12:38:22 RP__: after building meta-toolchain-gmae successfully and -e meta-toolchain-gmae I've saved stamps directory to stamps.before then called that -c unpack -f and here is diff of stamps: Mar 12 12:38:26 OE qemux86-64@ ~/oe-core/tmp-eglibc $ diff -rq stamps.before/ stamps.after.unpack Mar 12 12:38:27 Only in stamps.after.unpack/i686-nativesdk-oesdk-linux: gcc-cross-canadian-x86-64-4.6.3+svnr184847-r23.do_unpack.sigdata.14644ee6d8321eaf01e5b6466c9da43b Mar 12 12:39:58 and now I've started "bitbake meta-toolchain-gmae" again and it failed again in gcc-cross-canadian-x86-64: /OE/oe-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/i686-oesdk-linux/gcc/i686-oesdk-linux/4.6.4/ld: warning: library search path "/usr/lib/cmplrs/cc2.11" is unsafe for cross-compilation Mar 12 12:40:14 no MACHINE switch involved now Mar 12 12:42:46 and another diff between stamps dirs shows: http://pastebin.ca/2127301 Mar 12 12:48:53 JaMa: so you're saying re-executing "bitbake meta-toolchain-gmae" caused it to rebuild cross-canadian? Mar 12 12:50:36 re-executing it after -c unpack rebuilds every *gcc* and as bonus gcc-cross-canadian fails like this this time Mar 12 12:52:23 bonus fetures, I like that Mar 12 12:52:56 RP__: here is cooker log from that 2nd run http://pastebin.ca/2127303 Mar 12 12:53:01 JaMa: rm_work or no rm_work? Mar 12 12:53:17 no rm_work Mar 12 12:53:26 oe-core + qemux86-64 only Mar 12 12:53:47 rebuilt from scratch today Mar 12 12:53:58 but this issue is there for few months Mar 12 12:54:06 JaMa: it does the same thing here. I'd guess that something in setscene isn't being as aggressive as it should and populating from sstate Mar 12 12:54:35 JaMa: I can see how it reaches the conclusion it does :/ Mar 12 12:54:38 could it be caused by meta-environment-x86-64-1.0-r7 ? see those stamps they look a bit weird Mar 12 12:56:57 JaMa: I just reproduced this without meta-environment at all Mar 12 12:57:21 JaMa: The trouble is the unpack stamp is shared by all gccs due to the shared-workdir Mar 12 12:57:35 JaMa: You touch it for one, it triggers them all to rebuild Mar 12 12:58:02 JaMa: What you might expect is that it would reuse sstate for the others Mar 12 13:00:51 gtg Mar 12 13:03:58 JaMa: I'm seeing things like Stamp for underlying task 158(/media/data1/build1/poky/meta/recipes-devtools/gcc/gcc-runtime_4.6.bb, do_populate_sysroot) is current, so skipping setscene variant in the logs which blatantly isn't true Mar 12 13:50:22 otavio: hi, are you around? Mar 12 13:50:49 bluelightning: yes but leaving for 2hs Mar 12 13:50:55 bluelightning: i have phisiotherapie now Mar 12 13:51:08 otavio: ok, will talk to you when you get back Mar 12 13:51:17 bluelightning: ok, i ping you Mar 12 13:51:22 thanks Mar 12 14:19:08 JaMa: http://pastebin.com/pM7Pkg7p might help your issue Mar 12 14:20:44 RP__: OK, thanks, will try Mar 12 14:31:33 * JaMa just got another kind of build error :/ this time from gcc-crosssdk-initial gcc/as: line 87: exec: --: invalid option config.log http://pastebin.ca/2127338 Mar 12 14:43:36 JaMa: sounds like as is somehow corrupted (which comes from binutils-cross) :/ Mar 12 14:44:25 hi, in what lib can I find arm_memset16 and arm_memset32? Mar 12 14:44:42 I've looked in all the libs I have in sysroot with nm and none had it Mar 12 14:45:27 denisATeukrea: can't you use memset()? Those sound like internal stubs for particular optimised cases within libc Mar 12 14:46:20 I'm making a recipe for chromium and it uses theses, I'll look Mar 12 14:50:20 ah I found them Mar 12 14:50:36 it was in a dep of chromium in chromium sources Mar 12 14:50:51 JaMa: btw, the cross compile badness issue looks like we should set gcc_cv_collect2_libs to something to disable that Mar 12 14:52:23 RP__: with your bitbake patch it didn't rebuild anything after "bitbake -c unpack -f gcc-cross-canadian-x86-64" http://paste.pocoo.org/show/564605/ Mar 12 14:53:31 RP__: and the LDCONFIG changed issue? is it possible that config.cache from armv4t build survived for armv7a build and it complains as it should? Mar 12 14:54:01 JaMa: It likley used cross-candian from sstate. Try bitbake -c cleansstate gcc-cross-canadian-x86-64 Mar 12 14:55:51 and that would be bug right? as gcc-cross-canadian-arm whould build after MACHINE switch too without manuall -c cleansstate Mar 12 14:56:45 JaMa: I suspect you either have sstate files or preexisting builds for these so no, I'm not seeing a bug with that unless I'm misunderstanding the situation Mar 12 14:59:50 I'll try to reproduce on some simplified case to be more clear about situation Mar 12 15:01:16 JaMa: sounds good, thanks. Mar 12 15:02:34 MACHINE=om-gta02; bitbake -k meta-toolchain-gmae; MACHINE=nokia900; bitbake -k meta-toolchain-gmae; # both build gcc-cross-canadian-arm now (maybe that's fixed by your last bitbake patch) Mar 12 15:03:24 and if 2nd run (from nokia900) reuses sstate cached gcc-cross-canadian-arm (which is now invalid for nokia900) then it's bad Mar 12 15:28:52 bluelightning: ping Mar 12 15:29:09 otavio: hi, I think I got my answer already Mar 12 15:29:48 bluelightning: really? My mind is more powerful then I thought ;) Mar 12 15:30:30 bluelightning: was it about the udev? Mar 12 15:30:41 otavio: I'm fixing lzma not being available when the kernel config requests it for compressing the kernel image Mar 12 15:30:51 otavio: I was going to ask where you got the patches for lzma which you committed to OE-Classic a few years ago, but actually it turns out I can use xz rather than bringing in lzma from meta-oe into oe-core Mar 12 15:31:14 bluelightning: oh yeah; xz is way better for this now Mar 12 15:31:24 bluelightning: and it can generate lzma if need Mar 12 15:38:54 FYI the hob issue was that a person in the class selected core-image-basic. I then had them go back and select core-image-minimal and hit bake.. and it started to bake a bunch of things that were in core-image-basic Mar 12 15:39:35 we canceled the bake, and went back to the edit screen and it said "core-image-minimal" and nothing obvious had been selected above and beyond core-image-minimal in the quick look I had.. Mar 12 15:50:48 fray: hob is basically totally changed now in master... Mar 12 15:53:01 whee, my first patch submitted. this calls for a cup of coffee! ;-) Mar 12 15:55:17 Zagor: pigz? Mar 12 15:55:23 yes Mar 12 15:56:05 Zagor: need to go to the oe-core mailing list and needs an Upstream-Status: field in the patch Mar 12 15:56:06 RP__: fray: I think that issue may still be there... basically reselecting the base image does not clear the selections Mar 12 15:56:08 Zagor: looks good though :) Mar 12 15:56:27 bluelightning: if it is we should open a bug... Mar 12 15:57:22 RP__: oh, ok. the dev-manual says meta/ patches should go to the poky list. maybe that needs a patch too? :) Mar 12 15:57:25 RP__: true; it's on a list I wrote down during the hob lab last week, I wanted to check with Belen if it was already discussed during the design review Mar 12 15:57:55 http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#how-to-submit-a-change Mar 12 15:59:13 Zagor: quite likely, that was written before oe-core existed Mar 12 16:23:58 Hi All, is there any way of having -nativesdk packages use x11 without x11 in DISTRO_FEATURES ? How is the separation done between target and native in this regard ? Mar 12 16:31:03 d4ny: currently I think we don't handle that very well; it'll probably need modifications to all nativesdk recipes that have a conditional on x11 such that nativesdk is unaffected Mar 12 16:32:17 bluelightning: Thanks Mar 12 16:42:50 msm: Morning, do you keep your updated patches on a branch someplace accessible? Mar 12 17:37:22 d4ny: It should be possible to make that work but certainly currently it won't Mar 12 17:48:33 sgw: hmm Mar 12 17:48:39 sgw: which patches do I have pending? Mar 12 17:50:16 msm: I think you have an arch-ppc.inc (v2) and packagedata.py (v3) Mar 12 17:50:18 correct? Mar 12 17:54:29 I'm afraid I got nervous about the packagedata one. Sending three patches in short succession relegated that one to look at "later" :/ Mar 12 18:05:13 RP__: yea, that one was fun Mar 12 18:05:42 v2 fixed the w/o multilib case Mar 12 18:06:00 v3 fixed the fact that sometimes we replace '-' with '_' Mar 12 18:06:12 other than that im not even sure if it's the exact right fix Mar 12 18:06:33 but it's a pretty major fix - as far as being able to specify multlilib libraries Mar 12 18:06:45 to be included in the install Mar 12 18:13:32 sgw: http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=mattsm/misc_fixes Mar 12 18:18:17 sgw: just got this: WARNING: QA Issue: non -staticdev package contains static .a library: python-distutils path '/work/i586-poky-linux/python-2.7.2-r0.7/packages-split/python-distutils/usr/lib/python2.7/config/libpython2.7.a' Mar 12 18:18:35 did something change recently in python, I don't remember seeing that a week ago when I last built Mar 12 18:22:27 msm: thanks Mar 12 18:23:36 fray: we added the warning recently, maybe you did not notice it before. Mar 12 18:29:06 no I've seen the warning on other things before (or so I thought?) it's the message from python spcifically that seems to be new.. I thought libpython2.x.a was properly packaged before Mar 12 18:29:35 fray: I thought it was also Mar 12 18:29:52 I'm building on a slightly different machine then I normally do.. so maybe thats the difference? Mar 12 18:30:08 (we're in the process of moving offices, so my normal build machine is in a box somewhere) ;) Mar 12 18:30:23 ...hopefully to be unpacked on the 21st or 22nd.. ;) Mar 12 18:30:35 we should not have packaging difference on different machines. Mar 12 18:30:40 agreed Mar 12 18:31:06 but python has shown issues in the past for me on different hosts, and someone reported problems to the oe-core list last week? Mar 12 18:31:27 fray: checkout the package class change on email, wonder if that' related also! Mar 12 18:31:46 I missed those.... Mar 12 18:33:00 FYI, the package_rpm.bbclass changes look fine.. Mar 12 18:33:23 about halfway through the archiver.. it's hard for me to speak about the python parts of this (i.e. style over function).. but so far it looks fine.. Mar 12 18:55:12 ya.. second half of the archiver I did have comments... Mar 12 20:41:11 I need to be able to create a relative symlink, but need to support allowing the base directories to be based on variables. Do we have any helper functions to help do this processing? Mar 12 20:41:43 e.g, I need to create a symlink from ${libdir} into ${base_libdir} and have the link work between our sysroot and target installations Mar 12 20:42:45 For example, I want to create a .so file in libdir as a symlink to the soname library in base_libdir Mar 12 20:45:26 zenlinux: I seem to remember we have such a function somewhere Mar 12 20:45:50 I was looking in relocatable.bbclass but don't think what I need is in there. Mar 12 20:46:05 zenlinux: sstate: def make_relative_symlink(path, outputpath, d): Mar 12 20:46:10 sstate.bbclass Mar 12 20:46:15 RP__, nice, thanks! Mar 12 20:46:33 zenlinux: we might need to move that into lib/oe/ Mar 12 20:46:35 might be worth adding that to oe.path, next to relative() Mar 12 20:46:39 :) Mar 12 20:47:09 I can probably include that in my eventual pull request Mar 12 20:47:58 zenlinux: there are some assumptions going on there about tmpdir but it should be adaptable to your needs :) Mar 12 20:56:19 basic hash is making iterative development more challenging - each time I make a change to ncurses, for example, it's rebuilding everything else that depends on ncurses automatically (as it was intended to do) Mar 12 20:57:02 thing is, I don't care to wait while the other packages get rebuilt over and over again... Mar 12 20:57:38 if you do bitbake ncurses, it should -only- build ncurses.. Mar 12 20:57:50 if you do bitbake then yes, it's going to keep rebuilding everything else Mar 12 20:58:31 that's not what I'm seeing, let me double check Mar 12 20:59:32 maybe the fact that ncurses-native is also changing is causing this - I'm seeing lots of native recipes being updated Mar 12 20:59:42 yeah, it's all natives Mar 12 21:01:40 rpm, libxml2, python....lots 'o rebuilds Mar 12 21:07:18 zenlinux: bitbake -b can help Mar 12 21:08:24 RP__, you're saving me boatloads of time - thank you Mar 12 21:09:06 zenlinux: np :) Mar 12 21:09:44 zenlinux: just be careful with -b, it will do no dependency resolution outside the recipe. In this case that is exactly what you want but in others it might not be Mar 12 21:09:58 right Mar 12 21:13:36 ok, now how do I invoke a python function within a shell step? I thought I could do some trickery with ${@func_name}, but this isn't parsing: ${@make_relative_symlink(${D}${libdir}/libtinfo.so, d)} Mar 12 21:14:20 zenlinux: the problem is that will get expanded before the shell runs Mar 12 21:14:33 zenlinux: once into shell context there is no way to get back to the python one :( Mar 12 21:14:49 uh-oh Mar 12 21:15:35 but I see what looks like python functions for populate_packages_prepend()? Mar 12 21:15:46 can I add a hook function after do_install? Mar 12 21:16:03 zenlinux: populate_packages is a python function Mar 12 21:16:11 zenlinux: which do_install is this? Mar 12 21:16:27 this is the do_install in ncurses.inc Mar 12 21:16:37 let me push my WIP, one sec Mar 12 21:17:41 http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=sgarman/python-ncurses-fix Mar 12 21:18:00 zenlinux: I'd do something like: Mar 12 21:18:00 python do_install () { Mar 12 21:18:00 bb.build.exec_func("shell_install", d) Mar 12 21:18:00 my python bit Mar 12 21:18:00 } Mar 12 21:18:29 (renaming do_install to shell_install) Mar 12 21:18:34 ah Mar 12 21:18:38 seems like a lot of hackery Mar 12 21:18:57 but if I get it to work, I'll take feedback on it later Mar 12 21:19:13 zenlinux: well, I can't think of much that is simpler offhand Mar 12 21:19:31 and I don't want to reimplement that python function in bash/dash Mar 12 21:20:56 zenlinux: You could make it a separate script in scripts/ Mar 12 21:21:28 that would probably be The Right Thing to Do, wouldn't it? Mar 12 21:21:44 zenlinux: I'm ok with either Mar 12 21:22:13 * RP__ doesn't find the above function that scary but I've been staring at bitbake code too long Mar 12 21:23:55 ooh, there's a symlinks utility which actually does this Mar 12 21:24:31 it's not on my host system by default, though Mar 12 21:24:34 and it's a C utlity Mar 12 21:25:02 I'll go the python route, and if people complain, I'll suggest we make symlinks one of our build dependencies Mar 12 21:25:10 then we can do things easily in shell Mar 12 21:30:40 RP__, now I'm noticing the python install function isn't obeying the correct order. "addtask install after do_compile" makes no difference Mar 12 21:31:51 zenlinux: you shouldn't need to add any addtask Mar 12 21:32:29 also, defining a python do_install () function cases a parse error, so I named it install () instead Mar 12 21:32:39 that would by why it isn't running Mar 12 21:32:44 be, even Mar 12 21:33:08 zenlinux: tasks have a think about the do_ prefix Mar 12 21:33:14 but it is running, it's just the first task Mar 12 21:33:15 s/think/thing/ Mar 12 21:33:34 could the -b option to bitbake be missing some of this logic? Mar 12 21:33:42 RP__: i hate that inconsistency, the fact that hte first addtask arg implicitly adds do_.. too bad it's too late to improve it Mar 12 21:33:45 heh Mar 12 21:34:01 kergoth: I know, I'm biting my tongue ;-) Mar 12 21:34:07 :) Mar 12 21:34:10 zenlinux: I'd guess bitbake isn't figuring out the shell became python Mar 12 21:35:25 zenlinux: It shouldn't be -b related Mar 12 21:35:56 | NOTE: make -j 24 DESTDIR=/srv/home/sgarman/poky/build/tmp/work/x86_64-linux/ncurses-native-5.9-r5.1/image install Mar 12 21:36:06 it's running that before do_unpack is even run Mar 12 21:36:37 zenlinux: call it do_xxx all bets are off unless you do Mar 12 21:37:21 NOTE: Error expanding variable do_install Mar 12 21:37:35 zenlinux: ok, is that all the info? Mar 12 21:37:53 then it just says unable to parse the ncurses recipe filename Mar 12 21:38:28 zenlinux: can you paste the task definition somewhere? Mar 12 21:39:20 http://pastebin.com/z9gLRz5S Mar 12 21:40:09 zenlinux: make_relative_symlink(${D}${libdir}/libtinfo.so, d) is not going to work Mar 12 21:40:19 zenlinux: just remove that line for a minute and get that to work Mar 12 21:40:53 yeah, that was what caused the parsing error :-/ Mar 12 21:41:18 zenlinux: you want something like make_relative_symlink(d.expand("${D}${libdir}/libtinfo.so"), d) Mar 12 21:42:00 so the parser won't make a first susbsitution pass on the python function? Mar 12 21:42:05 zenlinux: no Mar 12 21:42:30 * zenlinux makes a note of that Mar 12 21:42:30 zenlinux: python functions have d available to them directly Mar 12 21:43:06 ok, now I'm back in business Mar 12 22:13:52 Hi, I have a recipe and trying to put some .so libraries into the image through FILES_${PN}, but I don't see them as part of image after I boot, and I even don't get warnings at the time of build about not shipped. Any suggestions please? Mar 12 22:16:44 bkk: are you sure you added the package in question to the image? Mar 12 22:19:04 RP__: FILES_${PN} += "${libdir}/xorg/modules/drivers/pvr_drv.so and also have install -m 0755 -d ${D}${libdir}/xorg/modules/drivers Mar 12 22:19:23 I have those two lines, but it is not getting into the image. Mar 12 22:19:57 bkk: those ensure the files make in into the package. The question is whether that package is being installed into the image Mar 12 22:20:41 RP__: How do I make sure that package is being installed into the image? Mar 12 22:21:13 bkk: you could look at the do_rootfs logs from when it built, or examine the list of installed packages and see if its listed? Mar 12 22:26:24 RP__: look at this bb ascii-art ;) http://imgbin.org/index.php?page=image&id=7114 Mar 12 22:26:48 could not yet reproduce it (happily) Mar 12 22:29:48 ant__: nice :/ Mar 12 22:31:48 RP__: I could see in ${WORKDIR}/package/ all the files. Are you referring to this packages dir? where are the do_rootfs logs located? Mar 12 22:35:16 bkk: tmp/work/*/*-image-*/temp/log.do_rootfs* Mar 12 22:35:41 bkk: I was not referring to the package dir, no Mar 12 22:45:26 RP__: log.do_rootfs does not list any of my .so libraries. Mar 12 22:56:54 Hello everybody. Mar 12 22:57:29 fast question: Is there an easy way to create a read only filesystem without modifying manually: udev, ssh.... Mar 12 22:57:33 ? Mar 12 22:57:37 bkk: nor should it. it'll show what *packages* are being installed, not the files Mar 12 23:00:38 kergoth: Yeah, I don't see my packages being installed. How could make sure my packages go into the image? Mar 12 23:00:59 that's what IMAGE_INSTALL is for. grep is your friend, or just read an image Mar 12 23:01:03 recipe, that is Mar 12 23:13:24 kergoth: Is it that even though the recipe gets built by bitbake, it may not be part of the final image if we do not add IMAGE_INSTALL for that recipe? Mar 12 23:13:52 building an image doesn't mean what you built goes into an image Mar 12 23:13:57 they're entirely separate Mar 12 23:15:59 Yeah, my recipe is being built, but only part of my files made into the final image but not all of them which I needed. Mar 12 23:17:09 kergoth: There are few .so libraries which made it to the image and few .so libraries which did not go into the image. Mar 13 00:32:34 kergoth: going to LC Summit? **** ENDING LOGGING AT Tue Mar 13 02:59:58 2012 **** BEGIN LOGGING AT Tue Mar 13 02:59:58 2012 **** BEGIN LOGGING AT Tue Mar 13 09:48:19 2012 Mar 13 10:49:00 hello Mar 13 10:54:19 I need to create a readonly filesystem. Is there any way to do it without hacking every recepie (ie, ssh...) Mar 13 11:02:12 sd__: We try and run as many of the postinstalls at rootfs generation time but some things like the ssh keys can't be done then Mar 13 11:02:23 sd__: You could always preboot the image under qemu? Mar 13 11:02:59 sd__: In general our readonly fs aren't too bad, there are just a handful of recipes which do write to the fs at first boot Mar 13 11:07:42 RP__: The preboot sounds like a very good idea.... but I am trying to squeeze out every cycle of my cpu and I have compiled everything for a set of instruction that it is not yet on qemu Mar 13 11:09:13 RP__: But to be honest, I havent tried it... so I could have a surprise :) Mar 13 11:10:05 Also.... do you know any recipe for the fglrx driver? (ATI/AMD cards) Mar 13 11:35:11 sd__: I'm not aware of one but I've never looked at whether OE-classic has anything Mar 13 13:24:59 any vote for TUNEPKG_ARCH/PACKAGE_ARCH in SDK_NAME? we're 1:1 with msm on ML :) Mar 13 14:35:53 is "Upstream-status: Pending" the proper tag for a patch that is not submitted? Mar 13 14:37:04 Zagor: yes, assuming it stands some change of being accepted Mar 13 14:38:30 this concerns my $(LDFLAGS) patch in pigz. I'm not even sure if that's the proper solution. Mar 13 14:38:51 it's a somewhat odd thing for upstream to add to his Makefile Mar 13 14:41:24 Zagor: It does look reasonable to me Mar 13 14:41:43 Zagor: Difficult to say whether upstream will take things like that or not Mar 13 15:22:16 https://wiki.yoctoproject.org/wiki/Janitors Mar 13 15:28:00 dvhart I'll contact you to go over solutions shortly. ok? Mar 13 15:28:30 halstead, yup, I'm free 9-10 Mar 13 15:45:39 halstead+++++ Mar 13 15:48:27 bluelightning: you around? Mar 13 15:48:37 sgw: yes I'm on the call atm Mar 13 15:48:45 joined about 10mins in Mar 13 15:49:50 bluelightning: you heard RP__ on warnings, there seems to be a number of RPATH related warnings in the qt and directfb code, can you take those on? Mar 13 15:50:04 sgw: sure thing Mar 13 15:51:05 bluelightning: thanks Mar 13 16:02:24 http://www.mediawiki.org/wiki/Extension:Bugzilla_Reports Mar 13 16:02:27 halstead, ^ Mar 13 16:06:09 did I miss the technical team meeting? or is it in one hour? Mar 13 16:06:17 dst is confusing :) Mar 13 16:06:33 Zagor, It just ended. Mar 13 16:07:05 aw, bugger Mar 13 16:10:48 Zagor: Its horribly confusing Mar 13 16:20:03 * incandescant spends the DST period every year being late for meetings Mar 13 16:20:12 most software doesn't cope, either Mar 13 16:44:27 * RP__ just ignores his electronic calender and goes from memory Mar 13 17:02:49 RP__: Has anyone attempted to integrate paralell(https://savannah.gnu.org/projects/parallel/) with bitbake ? Mar 13 17:03:55 d4ny: no. Its the state required for a given command that is more of a problem than the remote execution Mar 13 17:04:15 d4ny: it if was just remote execution we'd have done it years ago Mar 13 17:05:43 RP__: I'm not talking about remote, I'm talking about paralells ability to fork locally. Mar 13 17:06:27 d4ny: what benefit would it be locally? Mar 13 17:07:46 d4ny: Our multiple processes already gives as much parallelism as the metadata lets us Mar 13 17:09:12 But only on a recipe/make level, no ?. making the bash more concurrent perhaps could be of use. Mar 13 17:09:25 *bash scipts Mar 13 17:09:39 aargh *scripts :) Mar 13 17:10:29 no, bitbake schedules parallel on a task level Mar 13 17:11:33 d4ny: I'm not aware of any part of the build where we could run bash scripts in parallel Mar 13 17:11:46 not for any meaningful performance gain anyway Mar 13 17:12:23 ok, point taken :) Mar 13 17:18:01 dvhart: ping Mar 13 18:05:16 bluelightning, pong Mar 13 18:06:07 dvhart: hi, re bug 1728, which patches were you referring to in meta-oe? Mar 13 18:06:13 https://bugzilla.yoctoproject.org/show_bug.cgi?id=1728 Mar 13 18:06:50 good question... Mar 13 18:06:53 * dvhart checks Mar 13 18:07:27 in any case, I looked into the mechanics of it, the tricky bit seems to be determining when it should be needed since we need to look at the kernel config for that, is that correct? Mar 13 18:08:25 bluelightning, yes Mar 13 18:08:34 I think we should just make linux-yocto-tiny depend on lzma Mar 13 18:09:00 it would be xz-native, but yes that would be simpler Mar 13 18:09:07 bluelightning, I believe I was referring to oe/recipes/lzma/lzma_4.65.bb Mar 13 18:09:17 ah, I thought so Mar 13 18:09:18 but perhaps that wasn't the right thing Mar 13 18:09:46 xz-native can do lzma compression, it even provides an "lzma" command symlink Mar 13 18:09:56 and we already have it in oe-core :) Mar 13 18:10:11 perfect Mar 13 18:10:32 ok, I'll put together a patch Mar 13 18:21:19 is there any known problem in using runqemu-export-rootfs to export the rootfs to be used by a real hw? Mar 13 18:25:42 you should be able to export the the rootfs via NFS to real hardware (when using the Yocto Project kernel) Mar 13 18:25:53 there are NFS patches that allow for RPC operations on non-privileged ports Mar 13 18:26:55 ahhhhhhhhhh Mar 13 18:27:18 you also need to pass the right options into the kernel to tell it what ports to use.... Mar 13 18:27:48 yes yes Mar 13 18:28:12 fray: do you know the patch that allows it? I'd be willing to port it to my imx board Mar 13 18:29:04 it'd be a single commit, but I don't know it off hand.. Mar 13 18:30:13 zeddii, do you know the patch for the Yocto kernel that enables support for the unprivileged NFS/RPC ports (nfs booting)? Mar 13 18:30:39 it's in the tree :) Mar 13 18:30:51 but it isn't even required for the latest kernels. Mar 13 18:30:52 ya, but where.. :P otavio is interesting in it by itself.. Mar 13 18:30:58 "how recent"? Mar 13 18:31:12 like I said. it's in the tree. that's a git whatchanged hint :P Mar 13 18:31:13 zeddii: i need it to 2.6.35 (yes, that old) Mar 13 18:31:30 zeddii, I'm searching and can't find the commit.. so far Mar 13 18:31:33 I can track it down. Mar 13 18:31:59 zeddii: if you can point it to me, it will be awesome Mar 13 18:32:11 I'm just in the middle of something. give me a couple of minutes to extract myself. Mar 13 18:32:39 http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.0/tree/meta/cfg/kernel-cache/patches/boot/NFS-allow-nfs-root-mount-to-use-alternate-rpc-ports.patch?h=meta Mar 13 18:33:53 zeddii: thanks a lot :) Mar 13 18:34:33 if you have any yocto kernel clone handy, just dump it from the standard/base branch Mar 13 18:34:38 if that's your thing :) Mar 13 18:34:41 back to debugging Mar 13 18:35:47 thanx Mar 13 19:03:12 ....it's still building.... Mar 13 19:23:29 dvhart: does ncurses build for you with poky-tiny? I'm getting a failure at do_install Mar 13 19:39:31 bluelightning, it does Mar 13 19:39:46 bluelightning, I had to disable ENABLE_WCHAR, but that change is in poky Mar 13 19:39:52 bluelightning, how is it failing for you? Mar 13 20:42:13 any vote for TUNEPKG_ARCH/PACKAGE_ARCH in SDK_NAME? we're 1:1 with msm on ML :) Mar 13 20:42:27 I'm not opposed to it.. Mar 13 20:42:36 but I havn't used the SDK enough to have a clear opinion.. Mar 13 20:43:37 we need to change it for sure, but which of those two do you prefer? Mar 13 20:44:55 msm wanted TUNEPKG_ARCH but wasn't sure if it's right in generic case and I don't care which one from those 2 Mar 13 20:46:52 TUNEPKG_ARCH!! Mar 13 20:47:01 hehe, im not really sure what the right choice is either Mar 13 20:49:01 I'm looking.. still don't have an opinion.. just a sec Mar 13 20:50:55 Hmm.. ok, I'm confusing myself.. Mar 13 20:51:18 the SDK is for an optimized target, not a generic target.. so you want to list the "most optimized" member in the name -- (my assumption) that would then be the machine Mar 13 20:51:57 so MACHINE_ARCH is the most optimized.. PACKAGE_ARCH is the standard package architecture type fo rthe machine.. and TUNE_PKGARCH is the tuning currently in member.. Mar 13 20:52:12 PACKAGE_EXTRA_ARCHS is all extra "compatible" archs.. Mar 13 20:52:25 and PACKAGE_ARCHS is all of the architectures supported (including all, any and noarch) Mar 13 20:52:52 by default PACKAGE_ARCH and TUNE_PKGARCH are teh same BTW.. Mar 13 20:53:19 I believe it was done this way to allow for a machine to change the default setitng of PACKAGE_ARCH (or maybe it was for a recipe to do so) Mar 13 20:54:19 but anyway.. MACHINE_ARCH/PACKAGE_ARCH/TUNE_PKGARCH in that order is most specific to least.. Mar 13 20:54:32 MACHINE_ARCH is most accurate, but those changes are usually only in stuff which is not important for SDK users (like fstab from base-files) Mar 13 20:54:47 correct... Mar 13 20:55:08 and having 5 SDK images ie for (palmpre palmpre2 crespo nokia900 om-gta04) where all 5 are just armv7a machines Mar 13 20:55:14 so the tradeoff then is you are getting and SDK with machine specific components but it's not identified as such.. I'm not sure if thats good or not Mar 13 20:55:32 will confuse people which are downloading SDK image just to get toolchain for building armv7a Mar 13 20:55:49 toolchain is different though then a traditional SDK Mar 13 20:56:01 now you don't even see if it's from armv7a or armv4t Mar 13 20:56:19 if we back up a sec and I talk simply about Wind River Linux (not OE based) our naming is generic and it's up to the end use to use a unique name for their particular organization.. Mar 13 20:56:28 that way they can name it after a specific machine, or SOC, or.... Mar 13 20:56:45 we did that intentionally because no one answer was right for everyone (in our case) Mar 13 20:57:37 here you can see diff between SDK image for 2 typical armv7a machines http://build.shr-project.org/shr-core/sdk/diff Mar 13 20:58:50 Hi, Can we compile any kernel driver on the target that is booted with sdk Image? Mar 13 20:58:50 so 99% is just not important diff from package manager Mar 13 20:59:17 I suspect if I was to create an SDK that worked across multiple machines, I'd probably generate a "meta" machine to encapsulate the generic bits.. Mar 13 20:59:22 and if there is MACHINE_ARCH in SDK name, then user would expect to find SDK image for his concrete machine (in sdk directory) Mar 13 20:59:24 distribute it based on the meta machine.. Mar 13 20:59:43 and I would hate to spend 4 hours of buildtime just to recreate 99% the same images Mar 13 20:59:57 well, with the sstate cache, you shouldn't have to.. ;) Mar 13 21:00:23 it takes almost 4 hours just for package-indexes.. Mar 13 21:00:31 Does the sdk Image has the configured kernel sources so that any kernel module can be compiled on that booted sdk Image? Mar 13 21:00:38 with all sysroots already populated.. Mar 13 21:00:51 (fundamentally though I think this points out a flaw in the machine naming... for machines with a common architecture, etc.. having a way to build for that common architecture as an SDK/ADT is really the right answer.. then when you construct the machine you add the simple bits.. Mar 13 21:01:02 kb, not yet.. it's something being discussed.. Mar 13 21:01:59 for a single lib system, the PACKAGE_ARCH is probably the right name.. but for a multilib config.. I'm not sure it is.. since there are multiple package architectures avaialble.. Mar 13 21:02:45 * JaMa has no experience with multilib+oe Mar 13 21:03:19 in my mind -- an SDK/ADT for a SOC/architecture is usually single ABI.. Mar 13 21:03:23 thanks fray. Mar 13 21:03:31 an SDK/ADT for a "machine" may be multiple ABI.. Mar 13 21:03:46 difference being one is generic (at some level) and one is very specific.. Mar 13 21:04:00 we don't have any way to capture or document this today.. and that might be the real underlying issue Mar 13 21:04:53 (I know this doesn't directly answer the question... point I'm trying to make is, I'm not against making the name more specific to the contents.. but I'm still not sure what contents to refer to..) Mar 13 21:06:07 from my POV those machine specific bits are there just because it's more difficult to provide some "generic" base-files/.. for given PACKAGE_ARCH/TUNE_PKGARCH Mar 13 21:06:48 with a common "meta" machine (SOC/archicture configuration).. it would be possible to provide them in a more generic fashion.. Mar 13 21:07:07 and question for msm is: are there TUNE_PKGARCH specific bits you have to mark in SDK image name? Mar 13 21:07:08 as you can already tell, the files, in general, are textual and won't be used by compiling/linking anwyay.. Mar 13 21:08:23 yes but who would maintain such "meta" machines, is it worth it to maintain them in oe-core? Mar 13 21:08:37 our TUNEPKG_ARCH is more specific than PACKAGE_ARCH Mar 13 21:08:44 the only thing I can think of is to make these meta machines a part of the existing tuning infrastructure.. Mar 13 21:08:52 so you can say my machine is an arm7a for instance.. Mar 13 21:09:04 (it would know not to produce a bootable kernel for example) Mar 13 21:09:08 msm: do those ppc variants have different toolchain for instance? Mar 13 21:09:10 JaMa: Other than the name? I'm not sure what the actual differences are Mar 13 21:09:13 as of right now.. this is all theoretical of course.. Mar 13 21:09:29 are there any cases where PACKAGE_ARCH and TUNE_PKGARCH are different? Mar 13 21:09:36 if not, then my vote is on PACKAGE_ARCH Mar 13 21:09:36 msm: try to build 2 sdk images like me and diff them :) Mar 13 21:09:41 JaMa: I believe so - ppce5500 would not be the same as ppce500mc Mar 13 21:10:07 you *could* compile one TUNEPKG_ARCH with different patches Mar 13 21:10:22 so its feasibly that it's explictly dependent on that Mar 13 21:10:37 this becomes less important if we can generate a multilib SDK toolchain Mar 13 21:10:40 msm: so it has own "cross" bindir like e.g. sysroots/x86_64-linux/usr/bin/armv4t-oe-linux-gnueabi ? Mar 13 21:12:21 yes Mar 13 21:12:25 sysroot/ppce500v2 Mar 13 21:12:30 sysroot/ppce5500 Mar 13 21:12:33 sysroot/ppce500mc Mar 13 21:12:43 with slightly tweaked compiler settings Mar 13 21:12:48 so the libraries included could be incompatible Mar 13 21:12:57 however, the compiler could theoretically generate code Mar 13 21:12:58 not own sysroot which is MACHINE, I mean that dir in native sysroot Mar 13 21:13:02 dvhart: it fails because some code in do_install is trying to find libncursesw.so and can't Mar 13 21:13:53 msm: do you have sysroots/x86_64-linux/usr/bin/ppce500v2-oe-linux-gnueabi and sysroots/x86_64-linux/usr/bin/ppce500mc-oe-linux-gnueabi ? Mar 13 21:14:05 bluelightning, sounds like it is ignore the ENABLE_WIDEC="false" to me Mar 13 21:16:03 dvhart: there's a line "mv ${D}${libdir}/libncursesw.so.* ${D}${base_libdir}" that appears not to be conditional upon ENABLE_WIDEC Mar 13 21:16:10 JaMa: yes Mar 13 21:16:13 dvhart: unless I've misunderstood the script Mar 13 21:16:16 bluelightning, is that new? Mar 13 21:16:55 dvhart: march 9, so yes Mar 13 21:17:06 so I guess it's recent breakage Mar 13 21:17:06 yup, that's the problem then Mar 13 21:17:20 ok, I'll see if I can fix that as well Mar 13 21:17:28 that should be conditional on ENABLE_WIDEC - or just ignore the mv failure if it doesn't exist Mar 13 21:17:35 the former is probably better Mar 13 21:17:39 IMHO Mar 13 21:17:53 yes, I'll do the former Mar 13 21:22:31 how does one add an existing patch with quilt? Mar 13 21:22:52 msm: quilt import ? Mar 13 21:23:44 ah Mar 13 21:28:11 I think I'm seeing a race between trying to mount the rootfs and trying to load firmware for a kernel driver Mar 13 21:28:28 I'm not seeing where we mount the FS though in relation to the connman script Mar 13 21:28:32 anyone know off hand? Mar 13 21:30:17 how can you know to load the FW driver if you have not mounted the rfs? Mar 13 21:30:27 or is the FW built into the kernel? Mar 13 21:30:36 the driver is built into the kernel Mar 13 21:30:39 but... hrm Mar 13 21:30:46 yeah, that doesn't make sense Mar 13 21:30:58 so for some reason it isn't finding the firmware files, despite them being there Mar 13 21:31:34 msm: ok I'll send v2 :) **** BEGIN LOGGING AT Tue Mar 13 22:04:38 2012 Mar 13 23:12:54 Hi, what does this xz-native do ? DEPENDS = "xz-native" Mar 13 23:21:51 kb: its a compression utility Mar 13 23:24:34 RP__: Is it doing the similar, when compared to tar, zip, rpm? Mar 13 23:25:23 kb: kind of, those things are a mixture. Its like zip, gz, bzip2 **** BEGIN LOGGING AT Wed Mar 14 00:54:06 2012 Mar 14 01:16:21 hi! Is anyone there? Mar 14 01:16:49 Boy I don't come in here much because it's a pretty slow chat room Mar 14 01:18:14 but I'm strugglen! I FINALLY got my image to build with java added in. So now i've got it booted but for the life of me I can't get the OS to think "java" is an available executable! ahhH! Mar 14 01:20:12 I've been trying to get my image to think java is there for the past 3 hours! the image has the folders /usr/java AND /usr/jdk1.7.0_02 but I just simply can't get "java -version" to give me anything! AHH!!! Mar 14 01:20:14 hahaha... Mar 14 01:22:03 god I'm a noob... why is this soooo hard? maybe cuz i'm only 25 and don't have the l33t git hax required to work with Yocto Mar 14 01:23:26 seriously you all are my last hope Mar 14 01:25:12 lol I can even do "tab tab" on my embedded system and "java" and "javac" show up as available programs. but "java -version" does nothing. Mar 14 01:26:36 i keep getting "-sh: /usr/jdk1.7.0_02/bin/java: No such file or directory" but it's there! Mar 14 01:28:03 k well i'm going to go play soccer for a while and blow off some steam. If anyone wanted to give me some advice it would be just so great :) Mar 14 02:04:43 oprofile is failing because of libz.la being missing Mar 14 02:05:00 seems like this issue was addressed Mar 14 02:05:07 this is occuring in a from scratch build too **** ENDING LOGGING AT Wed Mar 14 02:59:58 2012 **** BEGIN LOGGING AT Wed Mar 14 02:59:58 2012 Mar 14 08:28:03 morning all Mar 14 08:29:03 morning! Mar 14 08:42:21 sgw1: ping Mar 14 08:45:09 nvm I've replied on list Mar 14 09:11:15 good morning Mar 14 16:18:21 Regarding the ncurses PR bump, PR is set to ${INC_PR}.1 in ncurses_5.9.bb, and I had updated INC_PR in ncurses.inc. Was this incorrect? Mar 14 16:19:37 Or maybe koen thought there was no PR bump because Paul's change got into master overnight and I need to increment INC_PR again before the commit gets in Mar 14 16:19:38 should be fined if you've increased INC_PR Mar 14 16:19:53 ok, just making sure Mar 14 16:20:05 yes every change should have own PR bump Mar 14 16:39:24 zenlinux: ah now when reading his reply I guess he meant, that it's missing PR bump in other recipes which are influenced by this ncurses change Mar 14 16:40:26 JaMa, that would be several dozen recipes, I'm sure. I thought the basic_hash change to bitbake would fix this? Or are we only doing that in Poky? Mar 14 16:41:36 zenlinux: no, apps built without this fix will have ncurses in runtime depends and without PR bump in those apps they won't pull e.g libncursesw to target if user does "opkg upgrade" or equivalent Mar 14 16:42:35 and basichash won't fix stuff on target device.. it will only rebuild it in your build directory as long as PRSERV is not used (which isn't now) Mar 14 16:42:48 JaMa, ouch. So should finding all recipes which DEPEND on ncurses and give them PR bumps be sufficient? Mar 14 16:43:36 yes Mar 14 16:43:43 ok, I'm on that Mar 14 16:44:55 well in this case it wasn't broken for long time, so it's problem only for people who git pulled and e.g. built from scratch Mar 14 16:45:16 but still that's very likely what he meant Mar 14 16:49:55 zenlinux: and you haven't replied on my comment about do_split_packages Mar 14 16:50:17 JaMa, just sent out the mail on that seconds ago! :) Mar 14 16:50:18 ah now you did :) Mar 14 16:51:38 hmm I think you misunderstood me.. do_split_packages should work with base_libdir if you call it with base_libdir (now it's called only for libdir) Mar 14 16:53:24 oh, I see it's actually getting explicitly called in some recipes - I thought it was only used in the logic of a bitbake packaging class Mar 14 16:53:28 so you can add just 1 line to .inc instead of 18 Mar 14 16:53:52 JaMa, thanks for your patience in pointing these things out to me. I will give this a try. Mar 14 16:54:15 e.g. kernel.bbclass does it for you.. but in most cases it's explicit in recipe Mar 14 17:21:44 hi khem Mar 14 17:21:48 I've that: Mar 14 17:22:14 NOTE: package eglibc-initial-2.12-r28: task do_configure: Failed which is caused by that: | configure: error: compiler support for __thread is required which seem to be caused by that: | checking for ARM TLS support... no Mar 14 17:22:45 check config.log if it's really the cause Mar 14 17:22:55 I've rmed the tmpdir + sstate 3 times and it still doesn't fix it and my BBTHREADS are -j9 + 1 BBTHREAD Mar 14 17:23:00 ok Mar 14 17:23:13 sometimes there is error about missing lib or something which just makes this check failing like this Mar 14 17:25:47 hmmm yes you're right I should have checked that Mar 14 17:25:48 Fatal error: Invalid -march= option: `armv7-a' Mar 14 17:26:18 I believe it's -mcpu= Mar 14 17:26:21 or -mtune= Mar 14 17:26:40 yes I must look from where that comes from Mar 14 17:27:59 it's with angstrom Mar 14 17:28:31 -march=armv7-a is valid so something is wrong with gcc it's using Mar 14 17:28:45 ahh.... 'k Mar 14 17:29:20 indeed Mar 14 17:29:27 man gcc says it's valid Mar 14 17:30:03 ahh I remember something vaguely Mar 14 17:30:08 maybe my sourcedir is unclean Mar 14 17:30:13 I'll clean that too Mar 14 19:06:08 halstead, poke Mar 14 19:06:29 halstead, any thoughts on creating a "Yocto Janitors" user that we can assign all "janitors" bugs to? Mar 14 19:06:57 halstead, is there a mechanism whereby we can automatically update the assignee for bugs as they enter severity==janitors? Mar 14 19:09:29 whee.. someone at the local phone company "did the wrong thing" and took the internet down for the whole town for about 15 minutes.. :P Mar 14 19:25:16 "oops, what does this plug do?" Mar 14 19:27:04 fray, can you say "fired" Mar 14 19:27:30 it was some outside tech.. the owner of the phone company was not amused Mar 14 19:27:48 (small town -- we call up the phone company, and the owner answers) ;) Mar 14 19:33:59 GNUtoo: that error means gcc-initial did not find binutils-cross Mar 14 19:34:24 GNUtoo: see if symlinks are ok Mar 14 19:37:03 gcc-cross-initial creates some symlinks to binutils Mar 14 19:37:19 they should be intact for it to work Mar 14 19:38:07 khem: any new hint about that binutils+gold+armv4t issue? FWIW I've tried to revert last thumb related patch in binutils and it didn't change anything Mar 14 19:38:47 khem: but as I cannot confirm that armv4t ever worked with gold I didn't downgrade any further to bisect that Mar 14 19:42:16 JaMa: havent had a change to look at it sorry so far Mar 14 19:42:31 you can for now disable gold for armv4 and armv4t Mar 14 19:42:41 as a workaround Mar 14 19:45:01 I did 23 Feb already :) Mar 14 19:49:51 ok Mar 14 19:49:54 Fatal error: Invalid -march= option: `armv7-a' still Mar 14 19:49:57 I'll look Mar 14 19:51:14 GNUtoo: there was patch about gcc symlinks which was reverted later today, do you have latest master? Mar 14 19:51:22 yes Mar 14 19:51:27 I do have lastest master Mar 14 19:57:32 what files should I look for exactly? Mar 14 20:12:21 in sysroots/x86_64-linux/usr/libexec/armv7a-angstrom-linux-gnueabi.gcc-cross-initial/gcc/arm-angstrom-linux-gnueabi/4.5.4 I've no symlinks Mar 14 20:29:11 dvhart, I can add a Yocto Janitors user and I bet it wouldn't be too complex to auto assign new bugs with that severity to the user. Mar 14 20:30:58 khem, where should the symlink be located? Mar 14 20:31:30 what's the best way to handle a inproper lib.la file? Mar 14 20:31:39 just use sed to fixup hard coded paths? Mar 14 20:31:44 or just delete it? Mar 14 20:31:45 or what? Mar 14 20:37:22 msm, I think you should ship it in ${PN}-dev Mar 14 20:37:48 but to be sure loop in bitbake.conf for FILES_${PN}-dev definition Mar 14 20:38:07 .la is libtool archive Mar 14 20:38:26 it also needs to go in sysroot Mar 14 20:38:31 .la's are pretty worhtless nowadays Mar 14 20:38:40 we've often discussed potentially removing htem all Mar 14 20:38:45 ah? Mar 14 20:38:55 on target or in sysroot? Mar 14 20:39:19 khem would know the state of this concept Mar 14 20:39:24 ok Mar 14 20:39:27 they aren't needed in either, really Mar 14 20:39:34 ok Mar 14 20:39:43 because of stuff like pkgconfig and such? Mar 14 20:39:52 ok Mar 14 20:39:59 let's go with am rm -rf for a quick solution Mar 14 21:04:22 halstead, great. halstead, also, a way to watch all janitors bugs would be nice. I think we use special users which users watch for this. So this same user could be used for both I would think. Mar 14 21:04:56 I've used bugzillas with more advanced watchlist functionality - any chance something like that came with the recent upgrade? Mar 14 21:05:43 dvhart, Not sure I understand, special users which users watch for this. Mar 14 21:06:19 yeah, so if you want to watch a component, you have to watch a particular user which is CC'd on all bugs of that component Mar 14 21:07:07 yp.kernel.watcher@fake.user for example Mar 14 21:07:10 to watch all kernel bugs Mar 14 21:07:30 Ok. Mar 14 21:07:50 (which feels like a horrible hack - but whatever :-) Mar 14 21:08:01 I see how to do that for component but not by severity. Mar 14 21:08:08 Trying not to boil the ocean with this :-) Mar 14 21:37:00 halstead, btw, how did the bugzilla-report plugin experiment go? Mar 14 21:37:35 dvhart, Still in progress. Should work fine though. Mar 14 21:37:43 cool! Mar 14 21:50:29 ah I found the patch Mar 14 21:50:49 I guess it won't work Mar 14 21:50:58 but I'll try the same Mar 14 22:03:13 * halstead runs to fetch hardware. Mar 14 22:20:35 halstead++ Mar 14 22:20:59 yocti: karma halstead Mar 14 22:21:00 dvhart: halstead has neutral karma. Mar 14 22:21:09 yocti: halstead++ Mar 14 22:21:13 yocti: karma halstead Mar 14 22:21:13 dvhart: Karma for "halstead" has been increased 1 time and decreased 0 times for a total karma of 1. Mar 14 22:21:21 \o/ Mar 14 22:21:49 bots make me smile Mar 14 22:22:41 I suppose you have to address it at the moment. There is a way to make ++ -- recognized without addressing the bot. I'll have to find that. Mar 14 22:22:55 awesome Mar 14 22:57:19 I am tring to generate an ext2.gz.u-boot for a freescale machine. All I end up with is a broken link. I added ext2.gz.u-boot to IMAGE_FSTYPES in my local.conf file. Mar 14 22:58:20 Any tips would be much appriciated. And I am new to Yocto so I am guessing I am just doing something wrong. Mar 15 00:22:06 msm: yes delete them you wont regret Mar 15 00:22:45 msm: I have some rudimentary work where atleast a given la file will not reference another la file Mar 15 00:22:56 thats step 1 in its removal Mar 15 00:31:54 khem: removing worked out for me Mar 15 00:32:21 khem: i wonder why my toolchain modifications resulted in this new incompatible libbfd.la file? perhaps some local patch I dropped or upstream fix Mar 15 00:36:33 msm: hmm Mar 15 00:36:55 msm: did u change binutils ? Mar 15 00:37:47 since we do not reconfigure toolchains means we dont get libtool 2.4 compatible macros which use sysroot Mar 15 00:38:02 so .la from toolchain bits are a bit iffy imo Mar 15 00:38:13 that includes libstdc++ and friends too Mar 15 00:38:29 .la do more harm in cross env than they help Mar 15 00:41:11 khem: we changed the patches Mar 15 00:41:18 khem: version should be the same Mar 15 00:41:33 I have to look through your changes to see what could have done it Mar 15 00:41:36 hard to say Mar 15 02:01:38 khem: not im getting issues again Mar 15 02:01:41 so much for knowing what im doing Mar 15 02:02:16 its trying to link the host libz in now **** ENDING LOGGING AT Thu Mar 15 02:59:58 2012 **** BEGIN LOGGING AT Thu Mar 15 02:59:58 2012 Mar 15 10:26:17 morning all Mar 15 10:27:18 hi bluelightning Mar 15 10:27:38 ehlo Mar 15 12:41:00 good morning yocti Mar 15 12:41:21 yocti: good morning Mar 15 12:41:21 zenlinux: Error: "good" is not a valid command. Mar 15 12:41:31 yocti: make me breakfast Mar 15 12:41:31 zenlinux: Error: "make" is not a valid command. Mar 15 12:41:36 yocti: sudo make me breakfast Mar 15 12:41:36 zenlinux: Error: "sudo" is not a valid command. Mar 15 12:41:45 damn :( Mar 15 13:27:30 yocti: quotes random Mar 15 13:27:30 RP__: Error: "quotes" is not a valid command. Mar 15 13:27:50 yocti: quote random Mar 15 13:27:51 RP__: Error: "quote" is not a valid command. Mar 15 13:28:57 * RP__ wonders who yocti belongs to Mar 15 13:32:30 RP__: hi.. just wanted to confirm that PATCHv3 of sgw's qt4 QA WARNING fix is ok and tested Mar 15 13:33:01 JaMa: ok, cool, thanks. I should merge that Mar 15 14:26:01 Hello. Mar 15 14:26:19 Can anybody explain me how shadow file is created and included in rootfs? Mar 15 14:26:29 I'm talking about poky + core-image-minimal Mar 15 14:28:55 ag -- there is a class that handles user/group operations.. Mar 15 14:29:17 useradd Mar 15 14:29:19 ? Mar 15 14:29:35 this class uses the shadow-utils useradd/groupadd tools with a --root= parameter. The user/group files are generated and if shadow support is enabled then the shadow files are created and updated along the way.. Mar 15 14:29:52 this stuff is all dynamic during the sysroot creation (package compilation) as well as package installation on the target filesyste Mar 15 14:30:03 Got it now. Mar 15 14:30:05 a default passwd/group file is provided as well Mar 15 14:30:14 How am i able to add a password for root user? Mar 15 14:30:39 you want to set a global default, or you want to set it on the device or? Mar 15 14:31:06 for a specific image Mar 15 14:32:09 easiest way.. use a .bbappend on teh base-passwd_3.5.22.bb package and add it to the file via a patch Mar 15 14:32:24 so in your custom layer.... (looking up semantics) Mar 15 14:33:08 base_passwd contains shadow file as well? Mar 15 14:33:16 create a recipes-core/base-passwd/base-passwd_3.5.22.bbappend Mar 15 14:33:23 in that, you want: Mar 15 14:33:42 FILESEXTRAPATHS_prepend := "${THISDIR}/base-passwd" Mar 15 14:33:49 PRINC = "1" Mar 15 14:33:53 i know all these Mar 15 14:33:59 ok Mar 15 14:34:20 ya, just patch the /etc/passwd and add the hash for the password you want in the image.. Mar 15 14:34:29 thats the "system wide" way of setting a default.. Mar 15 14:34:37 very good Mar 15 14:34:45 but that password will be in shadow? Mar 15 14:34:52 after rootfs creation? Mar 15 14:34:56 the alternative is to run the passwd program.. but I'm not sure if that was made to work this way.. looking Mar 15 14:35:07 during password creation, I believe the passwd file is split into the shadow file.. Mar 15 14:35:17 This was the answer :) Mar 15 14:38:16 fray: thanks a lot Mar 15 15:11:08 Very strange Mar 15 15:11:28 fray: I did patch the default passwd with the hash. Mar 15 15:11:38 --crypt-md5 right? Mar 15 15:13:34 but this hash is modified in the rootfs Mar 15 15:13:47 I wrote: $1$1DO/lR8M$f8JOOu4W8GBZzdNzCgSW40 Mar 15 15:14:16 And it ended like this:11DO/lR8M Mar 15 15:19:01 missing some back slashes may be? Mar 15 15:19:15 or qoutes? Mar 15 15:21:39 I realised now that this is done with update-passwd util. Mar 15 15:35:16 autif: bingo! thanks Mar 15 15:35:56 I'm new to yocto; I installed the core-image-sato image and running it on qemu. Mar 15 15:36:35 I'm now trying figure out how to get the poky features installed so that I can do some app development Mar 15 15:37:56 The poky features as in the anjuta ide, the gnome mobile platform gcc, etc. Mar 15 15:38:55 sblu: we don't officially support the anjuta IDE anymore, although the bits for supporting it are still there Mar 15 15:39:22 sblu: if you're happy with eclipse you can use the ADT Mar 15 15:40:38 Ok. So if I were to use eclipse/gtk mobile/gcc etc....do I install it on my host machine and somehow compile it to run on qemu? Mar 15 15:41:23 Or can I build stuff (eclipse, gcc, etc) install it on the target and then compile it there? Mar 15 15:43:00 I did not find the build environment on the target qemu using the 'sato' image instructoins on the quick-install yocto image....is there a different image I need to be using? Mar 15 15:47:09 sblu: the ADT cross-builds applications on your host for the target (in this case qemu) Mar 15 15:47:33 there's a full manual for the ADT on the website Mar 15 15:48:05 sblu: if you want to do development on the target itself that is possible as well - you can build core-image-sato-sdk which will include the compiler and all of the other necessary pieces Mar 15 15:48:12 it will be slower however Mar 15 15:48:17 and a little harder to interact with Mar 15 15:50:53 Great! That clarifies my confusion with this. Thanks for the help. I'm going to try using the cross compiler. Mar 15 16:24:32 sgw1: Around? Mar 15 16:25:22 Or anybody who was involved in openssh integration? Mar 15 16:25:40 Using master poky we have an issue / bug. Mar 15 16:26:02 If i add openssh-scp and openssh-sshd in core image minimal Mar 15 16:26:19 i see in do rootfs log some non fatal errors: Mar 15 16:26:37 grep: /media/HDD-WRS/yocto/2012-03-13-18-18-imx6-qt-bootchart-graphics/tmp-eglibc-eglibc/work/imx6sabre-oe-linux-gnueabi/demo-image-1.0-r0/rootfs/etc/passwd: No such file or directory Mar 15 16:26:37 useradd: user 'sshd' already exists Mar 15 16:26:51 This is because base-passwd comes after it.... Mar 15 16:49:47 ag: I am around, I will poke zenlinux on this one, as he is most familiar on useradd and openssh Mar 15 16:50:34 sgw: I'm into it as well... but still couldn't figure it out Mar 15 17:03:30 hi ag Mar 15 17:03:35 cheers! Mar 15 17:03:43 are you using the latest poky master? Mar 15 17:03:46 yes Mar 15 17:03:59 we've fixed a number of race conditions Mar 15 17:04:11 hmm Mar 15 17:04:13 when? Mar 15 17:04:36 do a search on our git repo for useradd Mar 15 17:05:12 b417983f75e72b69bf85db5fef00a8198d29ceeb? Mar 15 17:06:58 and anyway my last change is yesterday Mar 15 17:07:02 So it's updated. Mar 15 17:07:12 yeah, sounds like you've run across something we don't have a bug for Mar 15 17:07:24 yes indeed Mar 15 17:07:39 when is passwd dropped in rootfs? Mar 15 17:08:00 it would be during the installation of base-passwd Mar 15 17:08:09 bindo Mar 15 17:08:11 bingo! Mar 15 17:08:17 and here is the problem Mar 15 17:08:30 why openssh is installed before base-passwd"? Mar 15 17:08:32 that is the q Mar 15 17:08:57 can you check if the openssh package as a runtime dependency on base-passwd? Mar 15 17:09:28 not in bb Mar 15 17:09:32 wanna check in classes as well? Mar 15 17:09:39 I'm staring at the code in useradd.bbclass that is supposed to inject that dependency into the package Mar 15 17:09:47 me too Mar 15 17:09:50 but it doesn't Mar 15 17:10:05 rdepends += " base-passwd shadow" Mar 15 17:10:09 this is not working Mar 15 17:10:11 could you have generated the openssh packages from an older version of the repo? Mar 15 17:10:25 nope Mar 15 17:10:26 clean! Mar 15 17:10:40 which package format are you using? Mar 15 17:10:52 come again? Mar 15 17:10:57 rpm, deb, or ipk? Mar 15 17:11:00 rom Mar 15 17:11:03 rrm Mar 15 17:11:05 rrmrpm Mar 15 17:11:06 :) Mar 15 17:11:07 damn! Mar 15 17:11:10 :p Mar 15 17:11:36 ag, let me check a couple of things, brb Mar 15 17:11:50 i will check to set rdepends in bb Mar 15 17:18:21 ag, go into your tmp/deploy/rpm/ directory and run rpm -qpf --requires on the openssh packages you've got Mar 15 17:18:31 mine lists base-passwd as a requirement Mar 15 17:19:08 me too Mar 15 17:19:13 check that already Mar 15 17:19:15 checked Mar 15 17:19:55 ok, so that means that installation of the packages during do_rootfs is not using rpm? either that or rpm is not honoring the requirement Mar 15 17:20:51 is this fully reproducible? try bitbake -c cleansstate and then rebuild it. Mar 15 17:21:57 wait Mar 15 17:22:36 ye sit is... Mar 15 17:22:41 yes it is... Mar 15 17:23:44 hmm Mar 15 17:24:33 ... Mar 15 17:24:51 DOn't you have a build with openssh? Mar 15 17:24:56 It would be helpful if you could send me some a few files to see if I can reproduce this - your local.conf and the custom image recipe. Mar 15 17:25:22 In order to test this again i did this: Mar 15 17:25:50 In local.conf i changed threads and -j to 4. Mar 15 17:25:54 and machine on arm. Mar 15 17:25:57 qemuarm Mar 15 17:26:10 and in custom image just added openssh-sshd to image-install Mar 15 17:26:27 ok, that keeps things simple Mar 15 17:26:31 Nothing else to test this bug. And be sure that is not from my stuff. Mar 15 17:26:39 stuff = layers erc Mar 15 17:27:06 I'm going to run a build from scratch on a reasonable fast machine, so I should have some data on this in an hour (well, let's say two, given lunchtime) Mar 15 17:28:00 I will do it as well. Mar 15 17:39:49 zenlinux: Comming back online in one hour and a half. Deal Mar 15 17:39:50 deal? Mar 15 17:39:58 ag, I'll be here Mar 15 17:40:17 In this way you will have time to finish the build Mar 15 17:41:00 yeah, I've probably got another 15 minutes or so remaining on my build Mar 15 17:41:10 15-20 Mar 15 17:42:15 You will have th build ready in 15 minute? Mar 15 17:42:17 minutes* Mar 15 17:42:29 zenlinux: Seriously? Mar 15 17:43:21 yeah, I'm building on a 40-core system Mar 15 17:43:51 Ok. I will wait than. Mar 15 17:43:59 k Mar 15 17:44:02 Ping me! :) Mar 15 18:13:29 just a few tasks to go... Mar 15 18:13:46 zenlinux: life's not fair Mar 15 18:15:48 ag, my build completed successfully. no errors Mar 15 18:18:12 whoa, but the openssh server won't start because the sshd user does not exist Mar 15 18:18:33 Bingo! Mar 15 18:18:37 Wanna know ehy? :)) Mar 15 18:18:39 why Mar 15 18:18:47 Gimme a cat on log for rootfs Mar 15 18:18:50 ag, if you have clues, I'm all ears Mar 15 18:18:58 I'll pastebin it, one sec Mar 15 18:19:14 what machine? Mar 15 18:21:15 ag, now I see what you mean. I was thinking your build was failing during do_rootfs. Mar 15 18:21:33 It actually succeeds, but this error is in the do_rootfs log Mar 15 18:21:54 yep, and base-passwd is installed later in the process Mar 15 18:22:01 i know Mar 15 18:22:01 fray, you around? Mar 15 18:22:28 cat log.do_rootfs | grep useradd Mar 15 18:22:40 I there useradd: user 'sshd' already exists in the output? Mar 15 18:22:51 I there "useradd: user 'sshd' already exists" in the output? Mar 15 18:22:58 ag, yep, I'm able to reproduce this Mar 15 18:23:21 Pff... Mar 15 18:23:37 I need to discuss this with our resident RPM expert, fray, when he's around Mar 15 18:23:56 A temporary workaround would be to add ssh user in base-passwd Mar 15 18:24:31 fray is around. I had a talk with him a while ago. Mar 15 18:25:02 he could be in a meeting or something. I will discuss this with him as soon as I can Mar 15 18:25:10 Thanks a lot. Mar 15 18:25:27 I look into it in the meanwhile... Mar 15 18:25:28 ag, are you tied to using RPM in the image? I have a feeling that this may not happen if you build with ipk Mar 15 18:25:31 i will* Mar 15 18:25:46 zenlinux: Yes. Sorry. Mar 15 18:25:49 that IMO would be a better workaround than adding the user in base-passwd Mar 15 18:26:26 why? a ssh user is always good to have. :) Mar 15 18:28:01 ag, just because we designed the useradd system to create users on a per-package basis Mar 15 18:28:14 i know Mar 15 18:38:36 ok, I know it's no help to you ag, but I have confirmed that using the ipk packager works correctly. I have the feeling something will need to be done to the image generation process when using RPM where it will have to run in two passes... Mar 15 18:38:54 The first pass installing the base-passwd package, and then the second pass installing everything else Mar 15 18:40:04 There should be the problem... Mar 15 18:41:12 But still... the process should follow up the requirements... Mar 15 18:41:23 Why isn't doing this in this case? Mar 15 18:42:44 ag, this is a bug, I'm filing it right now, then will head to lunch Mar 15 18:42:59 Thanks. Mar 15 18:43:02 For the support. Mar 15 18:47:42 https://bugzilla.yoctoproject.org/show_bug.cgi?id=2127 Mar 15 18:47:45 * zenlinux -> lunch Mar 15 21:17:54 * RP__ notes a new bug assigned to him :/ Mar 15 21:20:44 RP__, not sure if that one should go to fray or not Mar 15 21:20:52 (assuming that's the one I filed) Mar 15 21:21:06 zenlinux: it is, I saw you discussing it here Mar 15 21:21:24 zenlinux: I'm not sure either. I'm seeing if I can check a couple of things Mar 15 21:21:36 I'm guessing RPM dependencies only mean all the packages get installed at once, and don't imply an ordering? Mar 15 21:21:54 zenlinux: well, I thought we had this fixed with him too :/ Mar 15 21:22:04 s/him/rpm/ Mar 15 21:22:10 so did I Mar 15 21:22:18 * RP__ wonders how his brain is crosswired Mar 15 21:23:41 zenlinux: I was wondering if some dependency doesn't make it into the package Mar 15 21:31:54 RP__, no, I've verified that the RPM package itself has a requires on base-passwd Mar 15 21:32:36 also, I need to finally ask this question - what's the point of having a .inc file for a recipe when there is only one version of the recipe in a directory? I'd prefer to merge these into one recipe file when I run into them. Mar 15 21:33:08 I have the feeling that some of these .inc files are leftovers from when we kept multiple recipe versions around. Mar 15 21:33:44 zenlinux: If can be helpful if people do need multiple recipe versions... Mar 15 21:33:57 besides, isn't it impossible to use .bbappned with .inc files? Mar 15 21:34:22 zenlinux: Its also helpful for things like gcc which have references to the .inc files in other layers Mar 15 21:34:31 zenlinux: you can include a .inc file from another layer Mar 15 21:34:57 Well, I guess I shouldn't touch it then since I have no idea what other layers could be expecting. Mar 15 21:35:12 * zenlinux doesn't need to jump into that mess Mar 15 21:35:18 :) Mar 15 21:35:35 zenlinux: there are probably cases where it does make sense to merge Mar 15 21:35:42 zenlinux: I'm just giving the counterargument Mar 15 21:36:31 Well, I think the safest policy is probably not to merge the files unless it's been discussed/agreed on the oe-core ML. I'll leave them be for now. Mar 15 21:43:23 zenlinux: a quick hack that springs to mind would be to "process" install_solution.manifest and bubble base-passwd and shadow to the top Mar 15 21:49:03 is there a value to describe the overall "state" of the layers? Mar 15 21:49:10 that I can extract somewhere? Mar 15 21:49:26 i could just combine the SHA's of all the layers Mar 15 21:49:37 wondering if something already exists Mar 15 21:53:11 msm2: you could look at the code which prints the info summary about the build Mar 15 21:53:59 msm2: See base_eventhandler base.bbclass Mar 15 21:54:14 * RP__ suspects get_layers_branch_rev(e.data) Mar 15 21:54:34 RP__: ok - ill take a look Mar 15 21:54:41 zenlinux: I can confirm this hack to promote the packages works... Mar 15 21:55:17 RP__, cool. No word from fray yet today? Mar 15 21:55:36 If you think he won't have any objections, it might be worth committing now. Mar 15 21:55:48 or sending out to the ML for review Mar 15 21:56:03 zenlinux: well, I suspect he'd like to understand why the dependency resolution isn't working Mar 15 21:56:24 zenlinux: Interestingly this patch shows that there is some resolution going on as it does resolve the /bin/sh dependency Mar 15 21:56:38 odd Mar 15 21:56:51 this was partly why I wanted to try it **** ENDING LOGGING AT Fri Mar 16 02:59:58 2012 **** BEGIN LOGGING AT Fri Mar 16 02:59:58 2012 Mar 16 08:22:48 RP__: moin, can you push your stamps patch for bitbake (gcc rebuilding issue) or are there some unwanted side-effects? Mar 16 08:24:06 RP__: I've seen some packages failing to do do_split_packages because WORKDIR was empty, is it possible that do_package_setscene was marked incorrectly as covered? Mar 16 08:26:03 http://paste.pocoo.org/show/566384/ Mar 16 08:38:32 and reverting just your patch doesn't fix it.. I'll try to reproduce do_split_packages issue on something smaller then qt4 :) Mar 16 09:27:02 JaMa: hi, I seem to have lost my copy of that patch : Mar 16 09:27:04 :/ Mar 16 09:41:01 RP__: http://paste.pocoo.org/show/566407/ Mar 16 10:45:09 JaMa: thanks :) Mar 16 10:51:25 JaMa: I've merged it Mar 16 10:51:38 JaMa: have you tried the footer patch? Mar 16 10:53:32 what's footer patch? Mar 16 10:54:09 * JaMa is still trying to fix qt4 without rebuilding it :) Mar 16 10:54:52 unpacking sstate-qt4-x11-free-armv7a-vfp-neon-oe-linux-gnueabi-4.8.0-r41.1-armv7a-vfp-neon-2-936c35ad63363a2d9f6e7274db241bc1_package.tgz gets me closer, but do_package task then assumes populated image directory Mar 16 10:55:42 and even populating that causes split_and_strip_files from package.bbclass fail (because of some symlink does exist) Mar 16 11:00:40 JaMa: the footer patch is a patch on the bitbake mailing list which changes the console output of bitbake Mar 16 11:48:28 ah haven't seen it Mar 16 11:54:11 ah it was hidden between HOB patches I'm ignoring Mar 16 12:10:19 the most annoying thing about the HOB is it needs to run an X application Mar 16 12:27:40 Crofton|work: what would you prefer it did? Mar 16 12:27:54 JaMa: I found my local copy of that patch now, typical :) Mar 16 12:33:02 * RP__ wonders what "fatal: sha1 information is lacking or useless" means coming from git... Mar 16 12:34:01 RP__, not sure Mar 16 12:34:10 but I can't play with it when I travel :) Mar 16 12:36:26 Crofton|work: Its git being its usual helpful self Mar 16 12:36:35 apparently it means I need to rebase with the -m options Mar 16 12:49:01 RP__: footer works, but I'm not sure if I like it :) Mar 16 12:49:25 JaMa: Its a tricky one. You can get the old look with bitbake xxx | cat Mar 16 12:50:20 I have | tee -a log.${MACHINE} there to keep logs for each machine in separate file Mar 16 12:51:10 I would like the footer if the output above it is still showing finished tasks and scrolls Mar 16 12:51:36 because many times I just scan if something is already finished or not Mar 16 12:52:36 JaMa: In class InteractConsoleLogFilter(logging.Filter), delete the if statement Mar 16 12:52:43 knotty.py Mar 16 12:54:23 6K tasks to go then I'll try :) Mar 16 13:18:14 RP__: is it possible to have different sstate checksum without bitbake-diffsigs showing any difference? Mar 16 13:20:03 and when I use bitbake-diffsigs call for each sigdata and then compare output I have a lot of "reorder" changes in variables Mar 16 13:21:32 diff http://paste.pocoo.org/show/566485/ Mar 16 13:21:33 -List of dependencies for variable USE_PR_SERV is set(['PRSERV_LOCKDOWN', 'PRSERV_HOST', 'PRSERV_PORT']) Mar 16 13:21:37 +List of dependencies for variable USE_PR_SERV is set(['PRSERV_PORT', 'PRSERV_HOST', 'PRSERV_LOCKDOWN']) Mar 16 13:23:51 JaMa: If the checksums are different, diffsigs should show a difference Mar 16 13:24:05 IIRC you said that order is not important for sstatesig OEBasic|OEBasicHash, but then why it has different hash in sigdata filename Mar 16 13:24:05 JaMa: ordering shouldn't change anything, we should filter that out Mar 16 13:24:18 JaMa: perhaps there is a bug? :/ Mar 16 13:24:20 sstate-qt4-x11-free-armv7a-vfp-neon-oe-linux-gnueabi-4.8.0-r41.1-armv7a-vfp-neon-2-a6c7fcee97592d440b71afb08a1945e9_package.tgz.siginfo Mar 16 13:24:23 sstate-qt4-x11-free-armv7a-vfp-neon-oe-linux-gnueabi-4.8.0-r41.1-armv7a-vfp-neon-2-936c35ad63363a2d9f6e7274db241bc1_package.tgz.siginfo Mar 16 13:24:30 and bitbake-diffsigs doesn't show anything Mar 16 13:27:28 JaMa: something is wrong with bitbake-diffigs then :/ Mar 16 13:27:56 JaMa: could you share those two siginfo files please? Mar 16 13:30:12 yup mmt, I've just compared that long "Tasks this task depends on" line and it's also just reorder of tasks Mar 16 13:32:17 RP__: http://build.shr-project.org/tests/jama/sstate-qt4/ Mar 16 13:32:57 JaMa: thanks. I'll try and take a look at them shortly Mar 16 13:34:35 you can ignore that 3rd one.. this one is because I've changed split_and_strip_files not to die when symlink exists Mar 16 13:35:29 but interestingly it makes all package checksums invalid, quite strict for added "try:" :) Mar 16 13:46:05 kernelimage=mod53/uImage Mar 16 13:46:09 oops Mar 16 13:55:04 JaMa: It is rather sensitive to changes like that although technically correct as the code could have changed the packaging :) Mar 16 13:55:25 * RP__ thinks we're down to about 115 warnings on a world build Mar 16 14:09:55 does world build include also all -native/nativesdk variants? Mar 16 14:12:27 JaMa: no, they are explicitly excluded (see git grep "EXCLUDE_FROM_WORLD") Mar 16 14:13:16 well, actually... I wonder if bbclassextended ones are excluded... Mar 16 14:21:48 actually they should be as well Mar 16 14:22:17 some will get built anyway via dependencies though Mar 16 14:22:29 (native ones that is) Mar 16 15:04:08 bluelightning: I was just asking because there is enough WARNINGs for everybody :) Mar 16 15:50:36 JaMa: you're right, there are more from the meta-toolchain targets :( Mar 16 15:51:23 JaMa: Considering we were above the 700 mark initially and now on 77, we're not doing do badly... Mar 16 16:24:56 RP__: what do you think about a patch to trigger a re-compile (maybe configure too) if the build detects source changes for a git project? Mar 16 16:25:04 maybe also appending -dirty to PR Mar 16 16:25:51 or maybe some things like this have already been considered for the "source is outside of yocto scenario" Mar 16 16:30:51 msm: surely if the source changes then the hash changes, and if PV includes SRCPV (you have to do this within the recipe) then that will happen automatically...? Mar 16 16:31:10 s/hash/commit/ Mar 16 16:32:18 msm, or are you thinking of a simple script using inotify, like: http://www.yepcorp.com/blogs/pavel-karoukin/automate-build-inotify-tools.html ? Mar 16 16:33:15 im talking about trigger a rebuild Mar 16 16:33:29 bluelightning: ideally the hash would change Mar 16 16:33:32 and you would have a new package Mar 16 16:34:07 you would need to add a variable that has some SHA of the changes made to the recipe Mar 16 16:34:13 so sstate-cache won't create problems Mar 16 16:34:22 or there are nostamp foo you can do for all the tasks Mar 16 16:34:24 msm: if PV includes SRCPV then that will occur, I'm not seeing anything missing... Mar 16 16:35:33 bluelightning: right, it sort of works i beleive Mar 16 16:36:06 bluelightning: http://pastebin.com/DZyKTi9c Mar 16 16:37:35 that looks a bit hacky to me... Mar 16 16:40:20 msm: it is indeed rather hacky Mar 16 16:40:38 i'll take that as a compliment Mar 16 16:40:47 proof of concept ;) Mar 16 16:40:50 why not git:///${COREBASE}/../linux/;protocol=file ? Mar 16 16:40:54 for SRC_URI? Mar 16 16:41:09 and set it to autorev... Mar 16 16:41:14 RP__: that... Mar 16 16:41:26 RP__: hmmm Mar 16 16:41:30 RP__: what about uncommited changes? Mar 16 16:41:47 bbiab Mar 16 16:41:52 msm: it wouldn't cover those, true Mar 16 16:56:52 Has someone got a bad var name in today's yocto tip? Mar 16 16:59:18 I updated my yocto copy this morning Mar 16 16:59:29 and I'm not able to create a image Mar 16 16:59:31 local: 1: -Uhv: bad variable name NOTE: package core-image-minimal-1.0-r0: task do_rootfs: Failed Mar 16 16:59:50 Daiane: welcome. Mar 16 17:00:03 I wonder if there is any missing package on my desktop, since it's my first build on this installation. Mar 16 17:00:45 Daiane: I don't think it is a missing dependency has it seems to be calling rpm binary and this is done using rpm native from native sysroot. Mar 16 17:01:07 s/has/as/ Mar 16 17:01:53 Daiane: what's the image you're building? Mar 16 17:02:03 core-image-minimal Mar 16 17:03:06 * RP__ wonders if that is a dash/bash issue Mar 16 17:03:35 I'm using dash Mar 16 17:03:47 should I choose bash? Mar 16 17:10:31 You're right. It works is I use bash instead Mar 16 17:10:31 =P Mar 16 17:10:59 RP__: good catch! Mar 16 17:11:18 :-D Mar 16 17:11:36 Now I am pondering what bashims is there Mar 16 17:11:50 Daiane: dash should work, it looks like something has crept in that shouldn't Mar 16 17:12:02 otavio: I thought we'd fixed them all... Mar 16 17:12:15 RP__: me too Mar 16 17:12:30 Can someone file a bug please? Mar 16 17:13:00 There should probably be a bug filed against the test-suite too Mar 16 17:14:31 I can file the bug (I have the log error), but I don't know where Mar 16 17:14:36 can you help me? Mar 16 17:16:47 Daiane: bugzilla.yoctoproject.org Mar 16 17:17:30 thanks ;) Mar 16 17:58:45 * mranostay yawns Mar 16 21:56:58 anyone seeing xserver-xorg compileation failures in hw/xfree86/os-support/linux recently? Mar 16 23:07:34 RP__: http://paste.debian.net/160053/ <= makes sense? I can't test but will mail Daiane and ask her to give it a try Mar 16 23:11:45 otavio: ah, just remove the "local" keyword Mar 16 23:14:04 RP__: http://paste.debian.net/160054/ < this? Mar 16 23:14:33 otavio: yes, and the local above it Mar 16 23:15:12 otavio: you also added a different typo for rpm_common_comand in the commit message :) Mar 16 23:15:24 * RP__ keeps meaning to write a patch for the comand typo Mar 16 23:15:33 ah right Mar 16 23:15:42 RP__: but so local is bashims? Mar 16 23:16:00 otavio: I think so Mar 16 23:16:02 when local is allowed and when it is not? Mar 16 23:16:14 never? this class has MANY Mar 16 23:16:34 otavio: https://wiki.ubuntu.com/DashAsBinSh - see local Mar 16 23:17:35 otavio: Although that doesn't explain this case :/ Mar 16 23:18:15 otavio: I've seen problems with local and dash :/ Mar 16 23:18:30 * RP__ doesn't know, really needs testing with dash to figure it out Mar 16 23:18:33 ahh I see Mar 16 23:19:19 if it has subshell it fails Mar 16 23:19:36 well, i think my first fix is better since the previous local seems fine Mar 16 23:20:18 otavio: the first case doesn't have a subshell does it? Mar 16 23:20:34 RP__: right; that's why i think it was ok Mar 16 23:20:49 otavio: Sorry, I mean both cases aren't subshells? Mar 16 23:21:47 otavio: I think the local is a false lease, I think its about how $@ gets expanded within the quotes Mar 16 23:22:17 RP__: right; I noticed the other uses of $@ use it without a var Mar 16 23:22:25 RP__: that's why i proposed the first fi Mar 16 23:22:26 fix Mar 16 23:23:05 otavio: ok, lets go with that Mar 16 23:23:19 otavio: sorry, I'm thinking of other problems I've seen with dash before... Mar 16 23:24:12 RP__: did you receive her bug report? Mar 16 23:24:33 RP__: if you did, please give me the number so i can add it to the commit log Mar 16 23:26:24 otavio: I can't see it in the bugzilla Mar 16 23:26:39 RP__: no problem; i ask her on monday Mar 16 23:26:58 RP__: want me to send it or wait her to confirm it works? Mar 16 23:27:21 otavio: may as well send it Mar 17 00:14:36 pidge, Me might drop a few outbound packets on the autobuilder network while I reset the gateway interface. Mar 17 00:35:43 halstead: are you all done reseting? Mar 17 00:39:33 pidge, All done. It was down for about 2 seconds, + or - 1 second. Network between autobuilders wasn't interrupted at all. Mar 17 00:39:58 sgw, pidge: All done. It was down for about 2 seconds, + or - 1 second. Forwarded packets from the internal builders (02-06) to the Internet were dropped for about 15 minutes. Network between autobuilders wasn't interrupted at all. **** ENDING LOGGING AT Sat Mar 17 02:59:58 2012 **** BEGIN LOGGING AT Sat Mar 17 02:59:59 2012 Mar 18 02:45:33 Would there be any interest in a backing store python module to handle send/receive of files to/from a store of some sort, for things like automatic population of download and shared state mirrors? **** ENDING LOGGING AT Sun Mar 18 02:59:59 2012 **** BEGIN LOGGING AT Sun Mar 18 02:59:59 2012 Mar 18 08:07:46 kergoth, Sounds like it might be very useful to me at work, but it'll be a while before I've found the time to make the OE->Yocto transition well enough to use it! Mar 18 13:22:15 kergoth: I don't see having it available as a module being an issue Mar 18 16:42:26 kergoth, I think thats a very good idea. Mar 18 16:43:46 nice module to have Mar 18 18:57:18 kergoth: yeah seems like would uber helpful **** ENDING LOGGING AT Mon Mar 19 02:59:58 2012 **** BEGIN LOGGING AT Mon Mar 19 02:59:58 2012 Mar 19 09:14:12 good morning Mar 19 09:29:24 morning mckoan, all Mar 19 11:02:31 morning all Mar 19 11:31:27 florian: ping :) Mar 19 11:32:00 morning Mar 19 11:32:14 florian: is *fusion is down on ltg? Mar 19 11:32:39 project portal seems broken Mar 19 12:27:14 RP__: Daiane has just tested the package_rpm fix for dash and it does fix her issue Mar 19 12:28:11 otavio: thanks for the confirmation! Mar 19 12:28:40 Jay7: I believe it was taken down due to spam issues a while ago. Not sure if anything has changed Mar 19 12:29:16 RP__: thanks for info Mar 19 12:29:59 seems I should remove link to ltg from kexecboot.org then Mar 19 12:31:02 Jay7: I think it should be coming back, just question of when Mar 19 12:31:18 Jay7: but my information is old Mar 19 12:31:30 that is what I want to ask florian :) Mar 19 12:34:27 Jay7: pong Mar 19 12:35:32 Jay7: We had to disable Fusionforge some days ago because of spam problems. Unluckily neither Nils or me has time to get it fixed right now. Mar 19 12:35:49 florian: any ETA known? Mar 19 12:38:30 Jay7: not yet... I need to send a mail to the list as soon as I have a little bit of free time. Mar 19 12:38:43 ok, thanks for info :) Mar 19 12:39:02 yw... sorry that I do not have better news. Mar 19 12:39:40 np Mar 19 13:16:14 Is there any easy way to remove a config argument in a bbapend from EXTRA_OECONF? Mar 19 13:46:04 ag: you could do it with oe_filter_out Mar 19 14:01:14 bluelightning: Thanks. Mar 19 17:30:58 any reason there isn't a LGPLv3_WHITELIST_GPLv3? Mar 19 18:17:50 hey guys! Is there already a workaround for the non-working pseudo? Mar 19 18:18:04 I can't get fix the "ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded: ignored." message Mar 20 00:24:30 kergoth: you around? Have you had a chance to look at the source archiver patch set? Mar 20 01:17:32 why does 'meta-toolchain-sdk' need a ton of gtk crap? Mar 20 01:18:08 sgw: not yet, been busy at work due to an upcoming deadline. will try to squeeze it in sometime in the next couple days **** ENDING LOGGING AT Tue Mar 20 02:59:58 2012 **** BEGIN LOGGING AT Tue Mar 20 02:59:59 2012 Mar 20 08:00:07 good morning Mar 20 08:01:14 where is the eclipse plugin download page? Mar 20 10:12:04 hello all Mar 20 10:12:29 morning ignus, all Mar 20 10:13:08 bluelightning: hey, hows it going? Mar 20 10:14:24 ignus: great, and you? Mar 20 10:15:11 not so bad! trying to force myself to read the buildbot docs... Mar 20 10:17:51 any idea if/when the 3.3 kernel will make it in to the yocto git repo? Mar 20 10:20:02 ignus: not sure, I think bruce (zeddii) is working on it though Mar 20 10:20:44 cool - i think it has some stuff we would very much like to include... Mar 20 10:21:55 is there any official guidelines on what a company needs to do to get listed on the http://www.yoctoproject.org/community/participating-organizations page? Mar 20 10:27:51 B4gder: I'm not sure, but your best bet is to contact Jeff Osier-Mixon Mar 20 10:28:43 thanks Mar 20 10:28:48 ( jeffrey.osier-mixon at intel.com ) Mar 20 10:50:36 there is talk of a 1.1.1 maintenance release, but I'm having trouble finding a roadmap/schedule for it Mar 20 10:53:08 Zagor: it doesn't look like it's been published... most likely an oversight Mar 20 10:53:22 can you poke the proper person? Mar 20 10:53:54 Zagor: sure, if you don't bring it up at the technical meeting today I will :) Mar 20 10:54:04 deal! :) Mar 20 10:54:18 Zagor: now sync up on the daylight savings situation =) Mar 20 10:54:31 hehe, yup Mar 20 10:54:58 this week "US: yes EU: no" =) **** BEGIN LOGGING AT Tue Mar 20 12:29:04 2012 Mar 20 14:08:53 time check: technical meeting in 52 minutes? Mar 20 14:22:09 damnit, damnit, satisfy_dependencies_for: Cannot satisfy the following dependencies for font-util: font-alias Mar 20 14:22:16 i've seen this one before, but never did nail down the cause Mar 20 14:22:17 hrm Mar 20 15:58:13 I am looking at hob, and this is my first exposure to PyGTK. And I am a bit lost. Mar 20 15:59:28 I cannot figure out how the Python code finds the GtkTreeView objects named treeview1 or treeview2. Mar 20 16:00:44 What I would ultimately like to do is change the scroll behavior such that, if the last line was visible, and we add a new line, the last line is still visible -- in the default case, this means autoscrolling to the end. But to do this I need to find the scrolledwindow and/or treeview objects, I think. Mar 20 18:07:29 seebs: You want to talk to incandescant Mar 20 18:07:47 seebs: I'd also check there isn't someone already making changes like this (see the bugzilla) Mar 20 18:07:59 k Mar 20 18:08:18 I'm currently trying to track down PSEUDO_PREFIX diagnostics that appear when running under hob but not the rest of the time. Mar 20 18:08:30 seebs/RP: I've raised a similar issue - we need to get buy in from the designers and primary engineers that this is the way to do it Mar 20 18:08:40 my similar patches/suggestions have been vetoed so far Mar 20 18:08:44 seebs: please file a bug :-) Mar 20 18:09:09 seebs: oh, I guess you want to make changes immediately then? Mar 20 18:09:16 I may have chosen a poor place to jump into things, uh. :P Mar 20 18:09:42 Well, basically. I would like to make the change locally just because it is annoying to me and fixing it would reduce the level of noise I have to try to sort through for some signal. Mar 20 18:09:54 I understand Mar 20 18:09:57 I do plan to submit patches for the PSEUDO_PREFIX thing if I can track it down. Mar 20 18:10:30 In an ideal world, I would be happier if hob didn't spew hundreds of lines of GTK or Python (?) diagnostics about things not having particular attributes. Mar 20 18:10:57 But I don't know nearly enough about Python, GTK, or hob to really do much about this. I'm still at the "gosh, vern, sure are a lot of wires in there" phase. Mar 20 18:11:13 * incandescant nods Mar 20 18:11:26 I can probably whip up a patch for you to autoscroll to the end Mar 20 18:14:02 That would be cool. Especially if you could explain it, because I am deeply bothered by the fact that there appears to be magic here. Mar 20 18:14:14 I am not comfortable with magical things happening in the absence of unicorns. Mar 20 18:14:38 I'm pretty sure there's no magic Mar 20 18:15:01 there are a lot of factory things and OO wotsits Mar 20 18:15:57 Yeah. I just can't figure out how anything in the Python code finds the scrollwindow/treeview things from the glade file. I don't see any references that explain this. Unless there's some kind of implicit matching of structures. Mar 20 18:20:43 there's no glade file Mar 20 18:20:57 Now I'm confused. Mar 20 18:21:26 where did you find a glade file? Mar 20 18:21:40 poky/bitbake/lib/bb/ui/crumbs/puccho.glade Mar 20 18:21:53 If that's not being used, well, it explains a lot of my confusion. :P Mar 20 18:21:56 oh, that's not hob Mar 20 18:22:02 ohhh Mar 20 18:22:16 there are several gui's in BitBake, puccho is kind of orphan at this point Mar 20 18:22:18 See. I found that directory by searching for files which contained the strings I was seeing displayed in hob. Mar 20 18:22:22 ahhhhh. Mar 20 18:22:50 crumbs is a directory containing various GUI, it kind of spun out of control Mar 20 18:23:07 ahhhhh Mar 20 18:23:21 Okay, suddenly this seems a LOT less crazy. Mar 20 18:23:47 I was completely unable to figure out how that file was being used. Mar 20 18:23:51 MYSTERY: SOLVED. Mar 20 18:24:03 :-) Mar 20 18:24:53 of course Hob has changed by a few thousand lines since I wrote it so the scroll patch I just wrote doesn't work, may take a few more mins than anticipated Mar 20 18:24:56 This is a new obfuscation technique I don't think I've seen before; "spare unrelated files with suspiciously similar or related-seeming names". Mar 20 18:24:59 heh Mar 20 18:25:19 No hurry on my end, I'm running a build with an instrumented /bin/sh so I can try to figure out what the commands are that are getting the bogus pseudo environment. Mar 20 18:26:06 I figure if I can get a command line for the affected shell commands, plus an environment dump, I may be just about ready to figure out what happened. Mar 20 18:36:50 seebs: it gets a bit confused when a hidden row is inserted but this mostly does what I think you're asking for Mar 20 18:36:50 http://pastebin.com/UXJyKLwb Mar 20 18:37:25 Cool! Mar 20 18:38:30 Huh. I have a mere 98MB of shell command log files. No problem at all! Mar 20 18:39:26 This may not be hard enough to debug. Maybe we should replace uses of "sh -c foo" with opening a pipe to a shell and writing commands to it on stdin. Mar 20 18:39:41 Or possibly set up a randomly-changing nest of symlinks to the shell, and invoke them instead of "sh". Mar 20 19:39:58 Interesting. Mar 20 19:40:16 All my PSEUDO_PREFIX failures under hob are of the form "cd /path/to/meta-foo; git branch..." Mar 20 19:40:33 So it looks like those are getting run with pseudo's environment busted somehow but not fully disabled. Mar 20 19:45:11 Is there a reason why the xf86-input-tslib recipe was left from the project? Mar 20 19:50:30 Okay, so. If I want to extract information from part of bitbake, can I just print stuff from it, or is there a logger I should be using, or what? Mar 20 19:50:50 Say, hypothetically, if I wanted to dump the value of os.environ['PSEUDO_PREFIX'] right before a call to os.popen. Mar 20 19:55:42 bitbake -e? Mar 20 19:57:39 Unfortunately, this problem appears to only occur under hob. Mar 20 19:58:07 Basically, if I run a build under hob, the os.popen() calls for base_get_metadata_git_branch and one other thing somehow end up with a mangled pseudo environment. Mar 20 19:59:31 Huh. I should first go look at whether I even catch popen() right now. I might not. Mar 20 19:59:49 I ignored it because I didn't think I cared, but that was before all the stuff with messing with pseudo environments got added. Mar 20 20:06:41 ugh Mar 20 20:06:43 Yup, popen's broken. Mar 20 20:07:01 And I suspect this could be fixed in hob, but I should probably fix it properly. Which turns out to be Hard. Mar 20 20:08:11 hmmm, | gdk-pixbuf-xlib.c:22:22: fatal error: X11/Xlib.h: No such file or directory Mar 20 20:08:14 * kergoth digs Mar 20 20:12:00 ah, crap Mar 20 20:12:17 it does a conditional 'if x11 is around, then enable x11 support' and has no with/enable arg to manually seti t Mar 20 20:12:25 * kergoth rolls eyes and goes to add an argument Mar 20 20:25:28 hi, what is the license of the yocto documentation (especially the diagrams available here : http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/tree/diagrams/poky-buildprocess ) ? Mar 20 20:29:37 popen/pseudo: No promises yet, but I managed to generate a reproducer for a failure that my new patch fixes. Mar 20 21:23:20 msm: ping Mar 20 21:25:24 kergoth: hello Mar 20 21:30:49 can anyone explain why crosssdk exists? if we have a working toolchain on the host to begin with, and we already use that for buildnig the rootfs why do we need to make another x86 toolchain just for the SDK tarballs? Mar 20 21:32:27 crosssdk is like canadian Mar 20 21:32:41 you can build a x86_64->arm meta-toolchain from your i686 host Mar 20 21:32:44 afaik, anyway Mar 20 21:33:47 msm: there's some brokenness in meta-fsl-ppc. the TUNE_PKGARCH_tune-* are never used, because arch-powerpc.inc overrides the bitbake.conf TUNE_PKGARCH definition that used it. this results in TUNE_PKGARCH being powerpc-nf rather than ppce500v2 or whatever, which in turn results in TUNE_PKGARCH not being in PACKAGE_EXTRA_ARCHS, and the build blowing up in sanity Mar 20 21:34:35 right, but you make an interim x86 -> x86 compiler, that's not needed Mar 20 21:34:37 is this master? Mar 20 21:34:41 master is very out of date Mar 20 21:34:51 and the TUNE_ARCH_tune-* aren't used at all either Mar 20 21:34:52 meta-fsl-ppc "master" that is Mar 20 21:34:53 yep Mar 20 21:35:04 having a broken default branch is probably bad :) Mar 20 21:35:05 i've not even built master yocto/oe in a while Mar 20 21:35:14 you're on edison? Mar 20 21:35:23 im trying to do stuff for our "release" Mar 20 21:35:26 * kergoth nods Mar 20 21:35:28 and we don't have resources for much else Mar 20 21:35:36 edison ftw Mar 20 21:36:40 kergoth: the fixes are problably in the edison branch that you need Mar 20 21:41:41 ah, right, it's the tune- files for these things in oe-core that are hokey Mar 20 21:41:46 not so much the fsl layer Mar 20 21:41:51 * kergoth digs Mar 20 21:42:02 e.g. tune-ppce500v2.inc Mar 20 21:42:09 (in master, haven't checked edison) Mar 20 21:44:23 that TUNE stuff should be in decent shape in oe-core Mar 20 21:58:37 aha, got a clean fix for it Mar 20 21:59:22 right now arch-powerpc.inc sets TUNE_PKGARCH to ${PPCPKGARCH}. instead, it should set TUNE_PKGARCH_powerpc and TUNE_PKGARCH_powerpc-nf to that. that way more specific tunes, like ppce500v2, can override it via TUNE_PKGARCH_ Mar 20 21:59:34 * kergoth tries a p2020rdb build Mar 20 22:01:53 other problem: meta-fsl-ppc seems to be confused as to its identity. it has both bsp layer and distro layer components Mar 20 22:02:14 as a consequence, it's not possible to build for a ppc machine without getting fsl distro changes, some of which aren't bsp bound Mar 20 22:02:28 further, as a result, you can't build any of those machines distroless, due to the use of ${DISTRO} in the PRs Mar 20 22:02:44 kergoth: i've since converted those to use a distro_append Mar 20 22:02:51 ah, cool Mar 20 22:02:54 okay then :) Mar 20 22:03:05 where are those changes? Mar 20 22:03:10 well Mar 20 22:03:14 some are in edison Mar 20 22:03:24 edison was what i just tested,a nd which failed miserably ;) Mar 20 22:03:37 i guess im lying Mar 20 22:03:41 its not all there Mar 20 22:03:46 i just did it for recent stuff - with gcc Mar 20 22:03:57 ah Mar 20 22:03:59 you tested with edison on meta-fsl-ppc and master on oe-core? Mar 20 22:04:09 that's bound to have problems ;) Mar 20 22:04:09 i didn't expect it to succeed, but figured what hte hell Mar 20 22:04:11 yeah Mar 20 22:04:25 i think it'd be much cleaner to split out a meta-fsl Mar 20 22:04:29 did we ever get that bbappend regex matching? Mar 20 22:04:48 you mean to match more than one recipe iwth a single bbappend? that doesn't exist, no Mar 20 22:05:18 yea, i suspect there are some things like that which should be done Mar 20 22:05:28 k Mar 20 22:07:39 I'll play around, and submit this oe-core change to the list Mar 20 22:07:55 this is just preliminary investigation to compare mentor's fsl layers against the fsl one Mar 20 22:07:59 heh Mar 20 22:11:22 wonder if the powerpc spe feature should go into oe-core, given it's another mutually exclusive option vs powerpc and powerpc-nf.. course, i don't think it's supported outside the e500, so probably not much of a concern yet Mar 20 22:11:25 * kergoth scratches head Mar 20 22:23:26 yea i was trying to deal with that Mar 20 22:23:30 maybe i was Mar 20 22:23:48 ppc-efd ppc-efs fpu etc Mar 20 22:24:24 * kergoth nods Mar 20 22:30:57 and altivec coming back soon Mar 20 22:31:11 fun fun Mar 20 22:51:02 kergoth: i'll try to resync with upstream soon Mar 20 22:51:26 kergoth: what distro changes are you talking about? it's the bbappends right? Mar 20 22:51:53 they need to conditionally modify the oe-core stuff, if our distro is enabled? Mar 21 01:29:02 Well, that's discouraging. I still get those PSEUDO_PREFIX errors even catching popen. Mar 21 01:32:27 It appears that somehow we're spawning a shell which lacks PSEUDO_PREFIX, but which has LD_PRELOAD. That's obviously wrong. Most of the other PSEUDO_* stuff is set, though... So I am not sure what's happening yet. **** ENDING LOGGING AT Wed Mar 21 02:59:58 2012 **** BEGIN LOGGING AT Wed Mar 21 02:59:58 2012 Mar 21 08:42:39 good morning Mar 21 08:54:50 hi mckoan, all Mar 21 09:01:46 Hi everyone Mar 21 09:02:33 Where do the cross compiler binaries are located in yocto tree? Mar 21 09:29:33 * bluelightning -> office Mar 21 10:14:44 mrAlmond: you mean in the sysroot? They're in the native sysroot in a subdirectory of usr/bin Mar 21 10:17:03 hello all Mar 21 10:20:18 RP__ : I think I've found it but all the basic eglibc includes are missing. Where can I find the "full" toolchain, for example one like codesourcery one. Mar 21 10:20:52 mrAlmond: We don't build the toolchain in an isolated location like that Mar 21 10:21:21 mrAlmond: The target pieces like headers and libraries are in the target sysroot Mar 21 10:24:52 RP__ : For example poky-edison-6.0/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi ? Mar 21 10:25:18 mrAlmond: yes, headers and libs would be in there for armv7a-vfp-neon Mar 21 10:26:21 RP__ : But in there where should be the sysroot dir? I can see only all the packages directories Mar 21 10:26:37 mrAlmond: sorry, I misread that Mar 21 10:26:54 mrAlmond: You want poky-edison-6.0/build/tmp/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/ Mar 21 10:28:08 RP__ : Great! Thank you! Mar 21 10:45:35 Hello. How can i see the dependency chain after which a specific package is required? Mar 21 10:52:26 ag: bitbake xxx -g or bitbake xxx -g -u depexp might help you understand it Mar 21 10:53:35 RP__: Thank you RP. The problem come after defining a new virtual libgl. Mar 21 10:53:50 Multiple .bb files are due to be built which each provide virtual/libgl Mar 21 10:53:55 Multiple .bb files are due to be built which each provide virtual/xserver-xf86 Mar 21 10:54:03 Any ideas? Mar 21 10:54:46 ag: run bitbake with -DDD and pipe it to a file. Somewhere in there it will explain why its confused Mar 21 10:55:00 Thank you once again. Mar 21 10:57:44 hi, in meta/recipes-multimedia/speex/speex_1.2rc1.bb, we have : FILES_${PN} = "${libdir}/lib*.so.*" and FILES_${PN}-dev += "${libdir}/lib*.so.*" , what is the expected result here ? Mar 21 10:58:10 ericben: depends on the order of PACKAGES in that case Mar 21 10:59:08 RP__: are both necessary as only the first one will match files ? Mar 21 10:59:54 which means files ends in $PN (which is before $PN-dev in PACKAGES defintion in conf/bitbake.conf Mar 21 11:01:13 ericben: both are not necessary, it looks wrong Mar 21 11:02:31 RP__: ok thanks for the confirmation I'll send a patch Mar 21 11:36:13 RP__: Cannot find the problem here... Mar 21 11:36:25 RP__: Talking about that virtual define... Mar 21 11:44:07 ag: is the log somewhere I could look at? Mar 21 13:25:14 1.1.1 doesn't have the sstate cache fixes, does it? Mar 21 13:34:07 if it does, I have more :-) Mar 21 13:34:34 more bugs, that is Mar 21 14:46:41 why does running bitbake -DD not result in seeing debug messages in the task log files? Mar 21 14:53:18 Is there anyway i can get rid of "was already stripped, this will prevent future debugging!"? Mar 21 14:57:10 * kergoth sighs Mar 21 14:57:26 bitbake still contacting the remote server and dying horribly even though i have the local git repo in my downloads.. Mar 21 14:57:31 * kergoth stabs fetch2 a few times Mar 21 15:06:05 ag: don't strip the files? Mar 21 15:06:20 Zagor: It had a lot of them but possibly not all :/ Mar 21 15:06:36 RP__: I integrate some precompiled stuff. Mar 21 15:07:01 ag: you can disable the QA check Mar 21 15:07:26 Hmmmm... I skiped all QA and still nothing works... Mar 21 15:08:01 ag: "nothing works"? Mar 21 15:08:22 ag: the above is simply a warning message Mar 21 15:10:30 RP__: I know. Mar 21 15:10:44 RP__: But a flag to deactivate this would be nice. Mar 21 15:11:05 RP__: As much as the developer know the origin of this warning and wants to get over it. Mar 21 15:13:06 ag: It looks like that comes from package.bbclass and doesn't obey the usual INSANE_SKIP mechanism :( Mar 21 15:13:12 patches very welcome Mar 21 15:13:41 RP__: I know that too :) Mar 21 15:14:05 RP__: As soon as i will finish this work i will upload a patch for this. Mar 21 15:39:06 RP__: ah, thank you for the pigz fixup Mar 21 15:39:34 Zagor: I've put a few fixes into it if you look at the change history ;-) Mar 21 15:41:52 Zagor: There were underlying issues that needed to get fixed Mar 21 15:48:00 RP__: right. that would have taken me a while to figure out on my own :) Mar 21 15:48:27 RP__: how do you get fetch2 to stop failing if it can't ls-remote the remote repository? neitehr having the local git repo in downloads nor having a mirror tarball seems to have any effet, it still insists on choking for no reason Mar 21 15:48:35 effect, even Mar 21 15:49:12 kergoth: You probably have a recipe with a branch/tag name. Use a specific revision, then it won't have to resolve it Mar 21 15:50:04 RP__: the branch is resolvable just fine in the local repo. i'd rather it built a slightly older version of taht branch than dying Mar 21 15:50:49 kergoth: Well, there are two ways you can make that behave. Feel free to add an option to make it resolve it locally only Mar 21 15:51:02 kergoth: I don't think it should be on by default though Mar 21 15:51:19 I don't see why it needs to be an option at all. no one would rather have a failed build. if hte server is down, there's nothing you can do about it Mar 21 15:51:35 and what good are mirror tarballs if they don't work to deal with servers being down? Mar 21 15:51:40 pretty useless as far as I can tell Mar 21 15:51:56 kergoth: I never want to see the bug report "I set it to use tag/branch X, and it used the local revision, not the upstream one" Mar 21 15:52:09 that won't happen if upstream exists. Mar 21 15:52:32 kergoth: So you get two different behaviours depending on the state of your network? Mar 21 15:52:44 if your network is down, it'll fail in the sanity check long before Mar 21 15:53:09 fetch failures are teh most common problem with oe/yocto builds, if there's no way to work around a server being down, that's a bug, period Mar 21 15:53:28 kergoth: General policy is to set specific source revisions and say what you mean in recipes Mar 21 15:53:55 so you're making excuses for the flawed fetch2 code by saying we can't use teh flexiblity we have? Mar 21 15:53:58 please Mar 21 15:54:14 kergoth: The code is not flawed, its doing it for what I believe is a good reason Mar 21 15:54:20 kergoth: You might disagree with that, fine Mar 21 15:54:34 Once again, if ther'e sno way to work around a server being down, the code is broken Mar 21 15:54:44 if you can't see that, it's mind boggling Mar 21 15:54:47 kergoth: Set a specific revision Mar 21 15:54:57 so you no longer support oe's flexibility? Mar 21 15:55:05 we're going to specific locked down policies now? Mar 21 15:55:10 what a joke. Mar 21 15:55:19 kergoth: how does oe handle this case? Mar 21 15:56:30 kergoth: "locked down policies"? If you can't access the network to definitely resolve a tag/branch name, yes its going to fail. If you didn't want it to use the network, use a file:// url Mar 21 16:03:46 RP__: that's ridiculous. recipes default to upstream locations. if there's no way to work around an upstream fetch failure without hacking the recipe, that's crap Mar 21 16:03:57 you might as well throw PREMIRRORS out the window too while you're at it Mar 21 16:05:24 kergoth: Its equally ridiculously getting two builds with different results depending on whether your turn on the network Mar 21 16:05:52 kergoth: please sent the patch allowing the option of enabling the other behaviour. You can then turn it on, I won't and we'll all be happy Mar 21 16:06:02 that can just as easily happen with the mirroring system. Mar 21 16:06:13 *any* use of non-hash revs is subject to variance Mar 21 16:07:08 kergoth: I can't see many ways this would happen Mar 21 16:07:45 nevermind, i should know better. this crap is why i stopped contributing on my own time in the first place Mar 21 16:08:04 hack around it locally as usual Mar 21 16:10:03 kergoth: if you really believe you are right, why do you refuse to patch in an option? Mar 21 16:54:15 seebs: I have a pseudo question for you Mar 21 16:55:07 k? Mar 21 16:56:51 seebs: I am building a "build appliance for the yocto project, basicly Poky build building Poky, so I added target side pseudo, but when I run bitbake with it, I get a sanity test failure saying that "Pseudo is not functioning correctly", any hints or suggestions? Mar 21 17:07:33 Huh, could be nearly anything. I guess that'd be the point at which we start trying to test out the target pseudo in various ways directly. Mar 21 17:07:48 Like, see if just running that pseudo (on the target) gives you a prompt, etc. Mar 21 17:25:16 otavio: Do you now anything about imx-lib? Mar 21 17:25:53 I'm trying to compile it and i see that videodev.h is obsolete.... Mar 21 17:26:25 ag: please try current tip Mar 21 17:26:36 ag: i just pushed many fixes on the tree; it might help Mar 21 17:26:47 ag: but i didn't try to build it yet Mar 21 17:26:51 i'll have a pull Mar 21 17:27:07 or do you have it in your branch somewhere Mar 21 17:29:14 pushed is a commit of yours from 1 feb Mar 21 17:29:21 gimme a link :) Mar 21 17:32:22 otavio: it looks like 2.6.35 is the last version with videodev.h... Mar 21 17:32:36 I'm trying to compile it with 38 or 2.0 Mar 21 17:32:38 I'm trying to compile it with 38 or 3.0 Mar 21 17:33:03 for imx53? Mar 21 17:33:12 38 i haven't test; only 35 Mar 21 17:33:26 and 3.0 has no recipe (except linaro one) on the bsp as well Mar 21 17:34:29 ag: https://github.com/Freescale/meta-fsl-arm Mar 21 17:38:21 otavio: Those are with headers from 35 as i said... Mar 21 17:41:28 ag: actual imx-lib doesn't compile with kernel headers from 2.6.38 Mar 21 17:42:01 I expect to get an upgrade from Linaro as they have that in house but there are actually license problems for distribution Mar 21 17:42:40 ag: http://lists.linaro.org/pipermail/linaro-kernel/2012-March/001239.html Mar 21 17:43:08 ericben: Thank you very much. I didn't thought so.. but didn't know for surre. Mar 21 17:43:15 ag: if you can ask in reply to this thread, maybe that will help to unlock the situation Mar 21 17:43:33 ag: we need to show there are many peoples interested in this code Mar 21 17:45:49 ericben: I will express my interest in this as well. Mar 21 17:46:09 ericben: How come imx-lib are now in linaro's "garden"? Mar 21 18:02:21 Okay, I have established to my satisfaction that... I have no clue what's going on. Mar 21 18:02:35 If I run Python under my version of pseudo, it works the way I expect it to. Mar 21 18:02:44 When hob calls os.popen(), it doesn't hit the wrapper. Mar 21 18:04:43 ... oh, I bet I know. Mar 21 18:05:46 Yup. If pseudo's disabled, we only hit the inner wrapper if there's a hand-rolled wrapper for it. Like there is for fork and exec. Mar 21 18:16:33 ag: Freescale is an founding member of Linaro and they have enginers working in Linaro for their products (that's what they call a landing team) so what seems actually the best options would be to run their 3.1 or 3.2 freescale landing team kernel together with their modified GPU & VPU codes Mar 21 18:16:40 the kernel actually runs Mar 21 18:16:46 but we are missing the GPU & VPU code Mar 21 18:17:44 Clear now. Mar 21 18:17:59 I know aer are missing those... Mar 21 18:18:03 we* Mar 21 18:20:44 huh, that's... still not it. I am very confused. I may have to put extra stuff into Python to debug this. Eww. Mar 21 18:32:00 once we have run build without rm_work in oe-core, is there an easy way to clean workdirs if I now enable rm_work ? Mar 21 18:38:12 I think it recognises it needs to do that by itself Mar 21 18:52:59 ericben: just buy a new hard disk and dont use it Mar 21 18:53:11 :) Mar 21 18:53:21 thats what I did and now I am happy Mar 21 18:56:02 hi khem well I solved the problem by removing the workdirs manually Mar 21 18:56:49 bluelightning: yes but only for one recipe, not for all the dependencies if I understand well Mar 21 19:25:47 RP__: git-native build failure in tip: http://paste.debian.net/160552/ Mar 21 19:25:55 known? Mar 21 20:14:21 otavio: its a rebuild problem :/ If you clean and rebuild it, it will work. We should start tracking these in the bugzilla Mar 21 20:22:40 anyone have some advice for building -dev packages? Mar 21 20:23:06 I've got my library building fine using autotools class but my -dev package is empty :( Mar 21 20:23:24 RP__: I've seen plenty of such rebuild problems before, but it got better lately Mar 21 20:23:38 denix: We've started fixing them ;-) Mar 21 20:24:04 flihp: Are you seeing any packaging warnings and what is happening to the files you think should be in -dev ? Mar 21 20:25:14 RP__ no packaging warnings, no nothing Mar 21 20:25:37 the files that I want in dev are checked out properly from git Mar 21 20:25:45 they're where they shoudl be for the build Mar 21 20:26:08 is there a specific class I should look at to see the code that builds dev packages? Mar 21 20:26:20 just looking for a hint as to where to start reading Mar 21 20:26:58 wading backwards through bb class dependencies is a bit daunting Mar 21 20:27:37 flihp: Does your do_install install the files into ${D} ? Mar 21 20:29:48 RP__: they're not \o/ Mar 21 20:30:19 flihp: if you install them there to the right place it will likely just work Mar 21 20:30:41 I'm assuming "the right place" is somewherein /usr/include? Mar 21 20:34:20 Guys, we don't have _append for do_patch? Strangely i get "NOTE: Error expanding variable do_patch" after defining "do_patch_append"... Mar 21 20:35:15 ERROR: Package version for package lttng-ust went backwards which would break package feeds from (0:1.9.4+git1+eeee05f35f014a8c068e0d29b18629cafbfdfc1d-r0 to 0:0.16-r0) Mar 21 20:35:18 doesn't look right Mar 21 20:35:31 do_patch is not a shell task Mar 21 20:36:01 denix: How can i create a task that would be executed after unpack but machine dependent... Mar 21 20:38:08 JaMa: We'll probably have to bump PE for it :/ Mar 21 20:38:27 flihp: Install to ${D}/${includedir}/ Mar 21 20:38:43 flihp: plenty of examples if you look at other do_install tasks Mar 21 20:39:59 ag: addtask my_patch after do_patch Mar 21 20:40:16 ack, thanks RP__. Wish this package installed their headers to standard location, they go to /usr/share/ currently Mar 21 20:40:40 denix: I know this. But how would i do this to be executed just for a specific machine? Mar 21 20:41:07 RP__: yup looks like it.. but I'm wondering what pulled lttng-ust instead of lttng2-ust and nothing in buildhistory shows dependency on it Mar 21 20:41:14 write a python wrapper Mar 21 20:41:56 ag: you can't do that. You'd just put conditional code in Mar 21 20:42:08 RP__: Ok. Mar 21 21:33:11 anyone aware of any Yocto related presence at Design West ESC March 27-29 in San Jose? Mar 21 22:11:07 Bagder: nitink might be there I think? Mar 21 22:16:59 just curious, as I will be there Mar 21 22:32:25 badger: I will be presenting few sessions there Mar 21 22:32:51 badger: I will be present about yocto project only Mar 21 22:33:17 preseting Mar 21 23:39:12 ericben: not sure why I did not think to ping you here! Mar 21 23:41:25 sgw: hi Mar 21 23:41:52 RP__: what do you mean by manually include python-nativesdk ? Mar 21 23:42:32 ericben: first off thanks for the fast turns on this issue! Mar 21 23:42:32 ericben: I think I was confused, sorry Mar 21 23:42:55 ericben: I was thinking the dependency was autodetected but its explict Mar 21 23:43:12 ericben: can you do a devshell and just strace the link command and let us know which libpython gets opened? Mar 21 23:43:40 ericben: we are thinking there might be some confustion there, and want to double check that. Mar 21 23:43:49 ericben: when you build, is there a toolchain extracted at the target location? Mar 21 23:44:19 RP__: now yes, but not initially Mar 21 23:44:30 As already noted your gdb is linked to the host libpython, not the native version, and nitink has no linkage. Mar 21 23:47:22 sgw: yes. I'm launching a build again as I had cleaned tmp Mar 21 23:47:58 is there a way to limit tmp/ccache size ? Mar 21 23:52:36 sgw: that's strange after linking manually I don't get any reference to python http://pastie.org/3644721 Mar 21 23:53:02 ericben: what about the strace? Mar 21 23:57:55 sgw: http://pastie.org/3644751 Mar 21 23:58:32 * RP__ -> Zzzz Mar 21 23:59:31 ericben: interesting it's not finding it at all, did you remove the sdk? Mar 21 23:59:47 sgw: I just removed it Mar 22 00:00:27 I'm rebuilding the sdk, will install it and launch again the devhsell on gdb to see Mar 22 00:00:39 Ok Mar 22 00:03:06 sgw: OK I reproduce nitink 's problem now Mar 22 00:03:14 *** glibc detected *** x86_64-oe-linux-gdb: double free or corruption (out): 0x00007f907df5f030 *** Mar 22 00:03:15 great ! Mar 22 00:03:34 woot! and not so woot! Mar 22 00:03:39 what made it reproduce it ! Mar 22 00:03:49 nitink: removing the already installed sdk Mar 22 00:04:15 so RP's guess was right Mar 22 00:06:09 nitink: one moment I've installed the sdk and I'm rebuilding to see Mar 22 00:06:31 just to be sure gdb works again Mar 22 00:06:51 yes, confirming would help Mar 22 00:09:27 strange gdb is still broken Mar 22 00:09:55 I did : bitbake gdb-cross-canadian-x86-64 -c cleansstate Mar 22 00:10:03 after installing the sdk Mar 22 00:10:27 then I built again the meta-toolchain (with the sdk installed) Mar 22 00:10:31 and gdb still fails Mar 22 00:12:31 but now when I launch it I see in strace that it loads libpython from the sdk : open("/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/libpython2.7.so.1.0", O_RDONLY) = 7 Mar 22 00:12:52 ^^^ I notice same here Mar 22 00:13:44 I think issue comes when it links with the nativesdk libpython Mar 22 00:14:01 could that be a dependency problem Mar 22 00:14:09 I'm running with BBTHREAD=8 Mar 22 00:15:27 gdb-cross-canadian.inc DEPENDS on python-nativesdk but are we sure python-nativesdk is stagged before gdb-cross-canadian gets compiled ? Mar 22 00:17:22 DEPENDS should take care of that Mar 22 00:17:31 OK time to sleep, I'm cleaning tmp and launching a build fro scratch to see if I reproduce my initial state Mar 22 00:17:55 ericben: thanks for your help, we can touch base again tomorrow. Mar 22 00:18:23 sgw: no problem I really need python in gdb else we can't get qtcreator to work with gdb Mar 22 00:18:47 so I'm very interested in finding a solution here ;-) **** ENDING LOGGING AT Thu Mar 22 02:59:58 2012 **** BEGIN LOGGING AT Thu Mar 22 02:59:58 2012 Mar 22 08:21:29 good morning Mar 22 09:34:10 morning Mar 22 09:35:09 I've just tested hob - image creator and I must say : great work to the team who develops the tool. The progress since the previous version is impressing and the user interface now has a very reactive behaviour Mar 22 11:12:50 morning Mar 22 12:28:07 otavio: hi, I have a fix (as well as one other minor tweak): http://cgit.openembedded.org/openembedded-core-contrib/log/?h=paule/combo-layer-fixes4 Mar 22 12:58:16 ah Mar 22 12:58:18 heheh Mar 22 15:38:00 bluelightning: worked fine Mar 22 15:38:03 bluelightning: :) Mar 22 15:49:00 hello all Mar 22 16:05:59 * fray is now sitting amidst a pile of boxes -- yet to be unpacked.. (office move yesterday).. at least we got the machiens setup Mar 22 16:12:19 hi ignus Mar 22 16:12:26 otavio: great! Mar 22 16:12:31 hi fray Mar 22 16:12:35 morning.. Mar 22 16:12:50 hopefully I can unbury a desk today enough so I can do some "real" work.. Mar 22 16:14:09 bluelightning: hey, hows it going? Mar 22 16:14:42 ignus: great, thanks Mar 22 16:14:45 ignus: you? Mar 22 16:15:55 im great, yeah. reading all about buildbot and asking many annoying questions on #buildbot :D Mar 22 16:17:21 ignus: I had a play around with it briefly when I first started, but haven't come back to it at all Mar 22 16:17:45 ignus: pidge (that's beth) should be able to help you with any yocto-specific issues with autobuilder/buildbot Mar 22 16:20:03 fantastic - it will be a great help to have someone who i can throw my questions at... probably a good idea to get my head around b/b before asking anything i think... Mar 22 16:24:12 bluelightning: busy? Mar 22 16:24:39 ignus: I'm just in a meeting atm but will be done in about 1/2 hour Mar 22 16:25:11 So, basically. I still can't figure out what hob is doing. The popen calls aren't hitting the popen wrapper, but they are happening in a context where LD_PRELOAD is set and PSEUDO_PREFIX isn't. This is obviously impossible. Mar 22 16:25:26 bluelightning: just curious... Mar 22 16:30:29 seebs, could this be a direct syscall or something from python? Mar 22 16:30:44 I don't know! Thing is, if I write a test program that does os.popen, it works. Mar 22 16:30:54 And I can't find any hint of the command line that's biting me showing up outside an os.popen call. Mar 22 16:31:13 odd Mar 22 16:31:44 So. Next up: Get X from the fast machine in the office to my desktop, and run a build with pseudo debugging in HAHAHAHA I SPAM FASTER THAN AN SSD WRITES mode. Mar 22 16:33:05 I suppose the other thing would be to try to figure out how I get to that hunk of code, and/or add debugging messages in parts of hob. Mar 22 16:57:15 seebs: if it helps at all I think you can trigger a similar misbehaviour (unless I'm mistaken) by just calling the metadata revision code from the bitbake exit event handler Mar 22 16:57:43 seebs: i.e. what I was reporting recently with buildhistory Mar 22 16:58:49 bluelightning: please submit those as a pull request; they are important for me to keep combo-layer working :) Mar 22 16:59:07 ooh Mar 22 16:59:10 That might help a lot. Mar 22 16:59:36 If you can get something that invokes the git log/git branch stuff using os.popen to fail and give PSEUDO_PREFIX messages, any reproducer would help. Mar 22 17:01:12 seebs: let me see if I can come up with a very simple test case Mar 22 17:01:34 otavio: will do that now Mar 22 17:01:35 It doesn't have to be VERY simple to be better than "I can only trigger it at the very end of a complete build in hob". Mar 22 17:01:50 yeah, that's what I figured :) Mar 22 17:01:51 bluelightning: thanks Mar 22 17:01:56 has to eliminate a lot of code paths Mar 22 17:07:11 RP__, you developed a potential fix for bug #2127. Is that good enough for us to commit to? Mar 22 17:07:50 zenlinux: it breaks meta-toolchain Mar 22 17:07:52 My fix for a different bug (#1794) will cause do_rootfs to fail without a fix for 2127 Mar 22 17:08:02 zenlinux: I'd also like Mark's feedback Mar 22 17:08:27 RP__, how did it break meta-toolchain? Mar 22 17:08:42 zenlinux: won't build, fails at populate_sdk Mar 22 17:09:18 zenlinux: I've not looked into why yet, I suspect an empty search result problem Mar 22 17:09:42 fray, your insight regarding bug #2127 would be greatly appreciated Mar 22 17:09:57 * zenlinux wanders off for a few minutes Mar 22 17:11:00 zenlinux let me know when you are back.. I'll explain what most distros do Mar 22 17:11:07 (RPM based distros) Mar 22 17:12:23 fray: Most rpm based distros install base-passwd first? Mar 22 17:12:29 yes Mar 22 17:12:40 fray: I guess my fix to reorder the file effectively does that Mar 22 17:13:03 they order the install to be install the /etc/passwd,group first.. then install the filesystem, then "everything else".. it's more then just the reorder fix.. it actually runs them in discrete steps.. Mar 22 17:13:22 by adding it in the order, it biases it to the top of the install, but the installer can still reorder it arbitrarily Mar 22 17:13:42 for WR Linux what we do is manually install the files (outside of RPM), and then use RPM for everything else Mar 22 17:14:11 'er.. use RPM for it and everything else.. (this ensures the files are there, and the rpm install order computed based on deps is preserved) Mar 22 17:15:05 (that is the approach I'm currently partial to BTW) Mar 22 17:19:58 fray, back Mar 22 17:20:15 did you see the above.. thats what I wanted to mention.. Mar 22 17:20:57 fray, yes, thanks Mar 22 17:21:19 I'd like to add typically what also happens is: Mar 22 17:21:31 glibc requires filesystem, filesystem requires base-passwd Mar 22 17:21:42 this may introduce a small dependency loop between base-passwd and glibc... Mar 22 17:21:47 but RPM has a dep loop filter.. Mar 22 17:22:04 base-passwd>glibc (or filesystem or.. whatever the loop is) is the right answer.. Mar 22 17:22:15 that tells RPM that base-passwd has to be installed before the other item, in the case of a dep loop Mar 22 17:22:52 if that makes more sense, and we can ensure that filesystem or glibc or ... can be installed very early due to the dependency order.. we can exploit that as well.. Mar 22 17:23:11 (BTW I suspect the filesystem package is installed very early right now) Mar 22 18:30:40 Hmm. Mar 22 18:31:50 All the failures happening under hob occur with PSEUDO_DISABLED=1. Pseudo is still in LD_PRELOAD, but PSEUDO_PREFIX has been lost. Mar 22 19:18:07 seebs: infuriatingly I can't make my previous error condition happen... :/ Mar 22 19:18:29 at least not in a trivial test... I'm doing a more complete test now Mar 22 19:22:01 Heh. Mar 22 19:22:20 Yeah, this one's being a great deal of fun to track down. It simply *doesn't happen* except under one highly specialized circumstance. Mar 22 19:22:59 oh well, I'll leave this build going and head home, will let you know what the result is Mar 22 19:23:37 seebs, could the system (in popen) be calling one of the other pseudo calls and end up in a recursion or something? Mar 22 19:24:10 Maybe, but... The weird thing is, if I have a popen() wrapper which is called unconditionally and always displays something... Mar 22 19:24:16 I don't see anything right before the error messages. Mar 22 19:24:35 so it's forking (somehow) then the error, then the popen? Mar 22 19:24:41 And yet, the only place those command lines exist is os.popen() calls, and os.popen() calls normally reach the wrapper. Mar 22 19:24:49 I don't know. Mar 22 19:24:53 odd.. Mar 22 19:25:01 I replaced /bin/sh with something that logs these. Mar 22 19:25:10 in the earlier (WR) call, they were talking about systemtap.. could that be useful in debugging this at all? Mar 22 19:25:17 If it sees LD_PRELOAD, not PSEUDO_PREFIX, it logs stuff. Mar 22 19:25:21 I don't know yet. Mar 22 19:25:24 'k Mar 22 19:25:42 So what I know is that there's a command line, and I can't find anything that looks like it except for a specific os.popen(). Mar 22 19:25:59 huh Mar 22 19:26:03 And when that gets reached, it does NOT hit the pseudo wrapper, but the child process gets LD_PRELOAD pointing at pseudo. Mar 22 19:26:30 I guess you could produce this if you manually set LD_PRELOAD without really using pseudo. But why would anyone be doing that? Mar 22 19:27:07 I mean, if you were in an environment where pseudo had been turned off, and you set LD_PRELOAD, you'd get this. But I'm not aware of anything that sets LD_PRELOAD without setting other stuff too. Mar 22 19:27:33 is someone trying to activate pseudo within HOB? (i.e. no wrapper for hob to setup pseudo pre-hob?) Mar 22 19:32:38 No clue. Mar 22 19:42:17 do a "which hob" Mar 22 19:42:25 is it run from the scripts or bitbake/bin directory? Mar 22 19:45:31 scripts/hob Mar 22 19:45:42 Which ... what the heck Mar 22 19:45:50 what the Mar 22 19:45:55 bitbake -u hob Mar 22 19:45:57 ret=$? Mar 22 19:45:59 exit $ret Mar 22 19:46:02 ^-- HUH? Mar 22 19:46:04 RP__, I'm trying to dig into that populate_sdk failure for meta-toolchain with your patch. The logs aren't giving me much info. What do you mean by suspecting the issue is "an empty search result problem"? Mar 22 19:47:55 zenlinux: what happens if base_passwd isn't in the file? Mar 22 19:48:11 RP__, which file? Mar 22 19:48:14 the manifest? Mar 22 19:48:25 zenlinux: the index we grep in that command I added Mar 22 19:48:42 zenlinux: right, the manifest Mar 22 19:49:03 * RP__ is worried he tried to tab complete "manifest" :/ Mar 22 19:49:20 I should file a bug against the IRC client Mar 22 19:49:55 in fact, total_solution.manifest is empty??? Mar 22 19:50:31 oh, I get it - we don't install base-passwd into the sdk toolchain Mar 22 19:50:40 so I just need to account for that case Mar 22 19:54:38 So, can someone explain to me the "ret=$?; exit $ret" at the end of scripts/hob? It's a no-op, sh will exit with the status of the last command executed when it runs out of script. Mar 22 19:55:01 And I'm wondering whether I'm just missing something clever. Mar 22 19:55:20 it's likely a copy/paste thing.. Mar 22 19:55:31 most of the time you need to capture ret and then process it.. seems they aren't processing it.. ;) Mar 22 19:56:16 See, I'd probably just "exec bitbake -u hob" for this. And save as much as TWENTY KILOBYTES of resident storage! Mar 22 20:59:00 seebs: I'd send a patch ;-) Mar 22 21:01:00 RP__, I'm almost at the bottom of that sdk bug, I think I'll have a fix for it shortly Mar 22 21:01:18 zenlinux: cool, it was the zero length problem then? Mar 22 21:01:49 RP__, the grep command was failing, it just needed a || true tacked to the end of it Mar 22 21:02:05 zenlinux: ah, right, yes Mar 22 21:06:23 * Bagder just released a new curl release with an edited version of the yocto LD_LIBRARY patch merged Mar 22 21:06:41 LD_LIBRARY_PATH even Mar 22 21:07:54 cool! Mar 22 21:08:02 and in another end, Enea was voted in as a new member company of the Yocto Advisory Board Mar 22 21:09:02 nice Mar 22 21:10:32 neato Mar 22 21:11:31 Bagder: great, on both counts :) **** ENDING LOGGING AT Fri Mar 23 02:59:58 2012 **** BEGIN LOGGING AT Fri Mar 23 02:59:58 2012 Mar 23 14:21:36 in a oe-core default config I get a tmpdir named tmp-eglibc, then if I launch hob, I see it creates a new tmpdir named tmp-eglibc-eglibc : is that expected or is there a bug somewhere ? Can hob share the same tmpdir as knotty bitbake ? Mar 23 14:24:22 ericben: that has to be a bug Mar 23 14:27:11 bluelightning: ok thanks Mar 23 14:27:41 ericben: would you mind filing a bug for that? Mar 23 14:27:59 bluelightning: I'm first tryng to understand if I did something wrong Mar 23 14:28:51 unless you've actually set TMPDIR to /path/to/tmp-eglibc it shouldn't be behaving like that I think Mar 23 14:29:27 bluelightning: ok that's what I did wrong Mar 23 14:29:56 bluelightning: in fact no my mistake I didn't set it, it's only in sanity.conf Mar 23 14:42:46 bluelightning: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2167 Mar 23 14:43:01 in fact it seems hob is reusing the previous TMPDIR but appends again TCLIBCAPPENDS Mar 23 14:43:15 ericben: ok, thanks for that Mar 23 14:43:27 shane should be able to get it sorted fairly quickly I would think Mar 23 14:43:35 (or one of his team) Mar 23 14:44:00 now trying to reproduce my other hob bug to fill an other bug report ;-) Mar 23 14:44:14 this one was discovered by accident Mar 23 15:22:03 RP__: hi, do you want me to respin "safe" parts of native support merge patchset or will you cherry-pick them yourself? Mar 23 15:25:15 JaMa: I don't know which they are so resending it will help me Mar 23 15:26:53 RP__: it looks like you didn't like only 04-06/13 Mar 23 15:27:14 the rest is needed for librsvg-native Mar 23 15:36:32 JaMa: does that include pango-native? Mar 23 15:39:33 yes pango-native is needed by librsvg-native Mar 23 15:41:09 JaMa: mandatory? that sucks :( Mar 23 15:41:50 I can retry but IIRC yes, otherwise I wouldn't add it in meta-oe :/ Mar 23 16:10:36 fray: ping Mar 23 16:17:34 for hob developers : https://bugzilla.yoctoproject.org/show_bug.cgi?id=2169 Mar 23 16:18:03 I never managed to finish a build without getting this error Mar 23 16:18:29 RP__: just retested and it's still mandatory (pango-ft2 was removed in newer librsvg version then we have) but pango is still needed to provide pangocairo Mar 23 16:19:19 JaMa: ok, I guess I'll just have to accept that :/ Mar 23 16:19:32 Who cares about build time anyway Mar 23 16:19:40 well it's only for people who needs librsvg-native.. Mar 23 16:20:27 the same about gtk+-native it will hurt build time only for people who asks for gtk+-native :) Mar 23 16:20:55 JaMa: I'd prefer to stop people hurting themselves though. This makes it all too easy for the dependencies to creep in Mar 23 16:27:42 sgw: some psuedo rapth warnings just appeared on the autobuilder Mar 23 16:27:53 sgw: might be part of the problem you're having Mar 23 16:33:35 Hmm, what kicked those off? I saw the fix for /usr/var/pseudo fly by. I got it working yesterday, now I am just trying to deal with the huge downlowds dir issue, I am trying the newer mkdosfs Mar 23 16:36:11 halstead, where id yocti go? Mar 23 16:40:02 RP__, sgw: after release, is there a plan to migrate to systemd in oe-core? Mar 23 16:41:36 ant_work: I'd like to see it abstracted into an optional layer which could then merge Mar 23 16:41:48 ant_work: it needs to be optional Mar 23 16:41:56 me too, now whole meta-oe seems built around it Mar 23 16:43:07 sigh, this work should have been started in a separate layer... Mar 23 16:47:37 Hello. Mar 23 16:59:59 Anybody did any work in tk? Mar 23 17:00:04 on* Mar 23 17:00:32 I will integrate it in yocto as needed for _tkinter python module. Mar 23 17:00:40 https://bugzilla.yoctoproject.org/show_bug.cgi?id=1937 Mar 23 17:00:49 RP__: Do you know anything about this? Mar 23 17:01:30 Anybody? Mar 23 17:08:58 ag: Know about what? Mar 23 17:11:20 RP__: About any tk integration. Mar 23 17:18:12 RP__: sorry Mar 23 17:18:25 My internet died Mar 23 17:30:44 ag: I know nothing about tk Mar 23 17:32:50 I guess this would be provided by a separate layer Mar 23 17:33:58 RP__: thanks Mar 23 17:34:27 bluelightning: This is needed in a python module Mar 23 17:34:55 ag: which one? Mar 23 17:35:13 Tkinter Mar 23 17:35:22 There is a bug on this. Mar 23 17:37:00 Saul wanted me to look on it. Mar 23 17:38:21 ok, I don't have any specific knowledge about it... interesting, I didn't realise tkinter is supposedly considered to be the default python GUI system Mar 23 17:38:32 bluelightning: https://bugzilla.yoctoproject.org/show_bug.cgi?id=1937 Mar 23 17:38:38 yes, I saw that Mar 23 17:38:44 Yeah. Mar 23 17:38:55 I will integrate it in yocto then. Mar 23 17:39:00 Poky* Mar 23 18:15:07 dvhart, Looking at it now. It's a network bridge issue I think. Mar 23 18:15:24 thanks Mar 23 18:15:26 zeddii, poke Mar 23 18:15:36 zeddii, looking at adding pcnet32 to common-pc Mar 23 18:16:28 zeddii, I'm surprised to see things like features/intel-e1xxxx/intel-e100.scc which contain exactly 1 CONFIG_ item, and don't even list the dependencies Mar 23 18:16:34 zeddii, what's the thinking there? Mar 23 18:16:45 doesn't seem worth it, and certainly doesn't scale Mar 23 20:43:01 Okay, thanks to that excellent reproducer, I'm a lot closer on the pseudo/hob interactions. Which are now pseudo/bitbake interactions. Mar 23 20:43:12 Unfortunately, I barely know Python and don't know bitbake much at all. Mar 23 20:43:36 So, I am looking at a line: bb.build.exec_func("breakit_break", e.data) Mar 23 20:43:40 I can't figure out what e is. Mar 23 20:44:21 And this looks like it might matter, because exec_func refers to that (under the equally-informative name "d") several times. In ways that look like they might explain what's happening. Mar 23 21:31:03 seebs, still here? Mar 23 21:31:08 yah Mar 23 21:31:14 e is a data set, by the name 'e', I would assume that is the environment Mar 23 21:31:31 d is also a data set, but this is the global data set for bitbake.. Mar 23 21:31:38 (e might be a modified copy of d though) Mar 23 21:32:39 exec_func is supposed to fork/spawn a thread/somehow get another process going.. setup the bitbake data to match what was passed in (likely e in this case), and then exec the -python- function mentioned in the first argument Mar 23 21:32:58 the catch, if this is the culpret, is how is it being forked/spawned/threaded.. Mar 23 21:34:16 it's in exec_func_shell. The interesting thing is that, apparently by the time I get there, I have LD_PRELOAD set but not PSEUDO_PREFIX. Mar 23 21:34:45 exec_func_shell is similar.. in that instead of a python function, it runs a shell function.. Mar 23 21:34:53 Oh, wait. I wonder if this is multitasking screwing me up. Mar 23 21:35:06 exec_func_* was rewritten to accomodate pseudo BTW.. :P Mar 23 21:35:06 exec_func() appears to be a general thing which calls one or the other. Hmm. Mar 23 21:35:38 it does things like saving the environment.. munging it with the PSEUDO_DISABLED=0/1, etc.. and then runs the shell sript (it generated) Mar 23 21:35:46 Yeah. Mar 23 21:35:53 ya.. exec_func is the generic entry.. the later is the specific based on the type of function Mar 23 21:36:04 But it looks almost as though what's happening is... hang on. Mar 23 21:36:11 Is bitbake multithreaded? Mar 23 21:36:14 yes Mar 23 21:36:19 Oh, geeze. Mar 23 21:36:41 but the threading model, I think, changes based on the way that python is setup on the machine.. Mar 23 21:36:44 I wonder if we're forking in one thread partway through environment setup in another. Mar 23 21:37:13 I thought the environment setup happened after the fork, but before the exec.. Mar 23 21:37:20 Well, that's the thing. Mar 23 21:37:31 i.e. setup "variables", fork (pseudo disabled), enable pseudo, exec Mar 23 21:37:44 Hmm. Mar 23 21:37:58 Well, what's biting us is, we do a fork, and then before the exec we die because the variables are in an invalid state. Mar 23 21:38:05 then again in the python case it does setup variables/setup environment, fork, restore environment Mar 23 21:38:06 hmm Mar 23 21:38:09 Specifically, we hit a fork() at a time when we have LD_PRELOAD but not PSEUDO_PREFIX. Mar 23 21:38:23 thats the thing, that shouldn't be possible.. Mar 23 21:38:28 the fork itself should be restoring PSEUDO_PREFIX Mar 23 21:38:35 And it looks like what we've got is a shell script which is trying to interpolate a python script which itself calls a shell script. Mar 23 21:38:40 -unless- pseudo isn't loaded.. if it's not how is LD_PRELOAD getting enabled? Mar 23 21:39:27 pseudo should be in memory for the whole run.. (in bitbake contexts..) it's only unloaded on a fork (or exec).. and it's unloaded by the LD_PRELOAD going away.. Mar 23 21:39:35 Huh. Mar 23 21:39:36 thus it doesn't make sense how LD_PRELOAD could be there and not PSEUDO_PREFIX Mar 23 21:39:58 Well, the top-level bitbak does NOT have pseudo loaded right now, not even disabled, so far as I can tell. Mar 23 21:40:03 bitbake should have pseudo in memory.. when bitbake forks... that is when it's unloaded -if- the child doesn't need pseudo Mar 23 21:40:14 it is supposed to via the shell wrapper Mar 23 21:40:18 Huh. Mar 23 21:40:20 the shell wrapper is what sets up pseudo Mar 23 21:40:52 There is a check for whether pseudo is needed, hmm. Mar 23 21:41:06 see line 108 of the wrapper Mar 23 21:41:22 when they run through the build of pseudo -- pseudo is well, not avaialble Mar 23 21:41:32 when they run through the build the second time.. pseudo is loaded.. (line 108) Mar 23 21:41:40 Hmm, yeah. Okay, we're apparently running in pseudo. Mar 23 21:41:45 not on hob.. if you've never built before.. does it forget to run the first step and not build pseudo? Mar 23 21:41:53 No, that's fine, I think. Mar 23 21:41:55 if thats the case, I could see how the system could get confused because pseudo doesn't exist Mar 23 21:42:10 Looks to me like somehow, when we get to our handler that's blowing up, it's run in a sub-bitbake that's running without pseudo. Mar 23 21:42:44 if you look at line 4 of the wrapper.. BB_ENV_EXTRAWHITE says don't remember these things from the environment.. Mar 23 21:42:57 'er.. sorry other way around.. they get zeroed from the environment of bitbake.. Mar 23 21:43:25 Hmm, I thought there was something that told bitbake to include certain environment variables and keep them setup Mar 23 21:43:31 maybe I'm remembering incorrectly Mar 23 21:43:40 So with the breakit.bbclass that bluelightning sent me, the thing at the tail end is being run in a bitbake that's NOT under pseudo. Mar 23 21:44:12 But which appears to be adding pseudo to LD_PRELOAD. Somehow. Mar 23 21:44:47 just a sec.. I don't think breakit is supposed to be running w/ pseudo.. Mar 23 21:44:48 dvhart, yocti is back. Mar 23 21:44:53 looking though Mar 23 21:45:11 Wait, maybe it is. And I'm just not seeing a lot of messages because it's not calling anything that needs them. Mar 23 21:45:15 ya.. change the definition of breakit_break() to be "fakeroot breakit_break() {" Mar 23 21:45:29 that tells bitbake that it should be run with pseudo enabled.. Mar 23 21:45:35 otherwise, it should be w/ pseudo -disabled- Mar 23 21:45:41 (thats the default) Mar 23 21:45:59 Well, that's the thing. It's being run with pseudo disabled, but when it spawns a subprocess, LD_PRELOAD still has pseudo. But PSEUDO_PREFIX is missing. Mar 23 21:46:04 ....and on the disabled case, it's unloaded if not set... I think Mar 23 21:46:21 That may be what we're missing. Hmm. Mar 23 21:46:35 change it to say "fakeroot" and see if it starts working, and if pseudo is enabled reliably.. Mar 23 21:46:41 assuming it is we're good in the pseudo case Mar 23 21:47:08 w/o fakeroot it makes sense why PSEUDO_PREFIX is missing... the system doesn't think it's needed, so it's not setting it.. Mar 23 21:47:20 the LD_PRELOAD though should have been removed by pseudo itself.. Mar 23 21:47:31 Oh, interesting. Mar 23 21:47:40 there is a mismatch somewhere in the contents of LD_PRELOAD and setting (or not) of PSEUDO_PREFIX Mar 23 21:47:58 Well, that's the thing. Right now we *don't* set up environment before a fork. Mar 23 21:48:07 So pseudo won't remove or add anything. Mar 23 21:48:19 but pseudo is already running right? Mar 23 21:48:21 Okay, this is interesting. Mar 23 21:48:42 the fork shouldn't "reload" pseudo.. it should either already be in memory or not.. fork won't change that.. it's the exec that would change that Mar 23 21:48:46 Right before executing code, I dump the environment, and there's no LD_PRELOAD. Mar 23 21:48:59 And there's ... ohh. Mar 23 21:49:02 ok, so LD_PRELOAD is being added back in my something.. Mar 23 21:49:05 There's no LD_PRELOAD and no PSEUDO_PREFIX. Mar 23 21:49:25 And when we fork, we find that PREFIX is not set in the environment, but is set internally. Mar 23 21:49:36 Wait. That one's working. Mar 23 21:49:37 that is what it should have done, yes Mar 23 21:49:43 There are a lot of forks here and only some fail. Mar 23 21:49:49 drat Mar 23 21:50:04 This is weird. Mar 23 21:50:09 what happens if you add LD_PRELOAD to BB_ENV_EXTRAWHITE in the bitbake wrapper? Mar 23 21:50:59 I am... right now I just want to know what's happening, because the thing is. ohhhh. Mar 23 21:51:00 in pseudo I used to have debugging that included variable loading and restoration.. (if it's still there) enable it and see if you can figure out where one, but not the other is? Mar 23 21:51:04 Okay, I think I may know what's going on. Mar 23 21:51:19 In the cases that work, there's no Python expression expansion in the script being called. Mar 23 21:51:39 The case that's dying is one where the script that exec_func_shell is supposed to handle has Python stuff that needs to be expanded. Mar 23 21:52:12 Hmm. I wonder whether that's the problem; the expansion is happening partway through the environment setup/teardown for the script. Mar 23 21:53:14 Huh. Mar 23 21:53:44 do you know where the environment stuff is? Mar 23 21:53:55 Yeah. I'm now pretty sure this is bitbake. Mar 23 21:54:24 The gimmick is a shell function which uses ${@breakit_output(d)} where that's a python function which calls a function that uses os.popen() Mar 23 21:55:44 And a direct call to os.popen() won't do it. Hmm. Mar 23 21:57:49 So, something in the call path for that expansion is whta's doing the damage. Mar 23 22:00:56 Oh, neat. Mar 23 22:01:27 Okay, before the "possible breakage" message, the calls to git_branch work. There's no LD_PRELOAD or PSEUDO_PREFIX in the parent's environment, but the fork() somehow ends up with them anyway. Mar 23 22:01:32 Which is what we expect. Mar 23 22:01:37 After it, the fork() doesn't end up with them. Mar 23 22:04:47 the expansion of ${@ I think happens before the fork.. but I'm not sure.. Mar 23 22:04:57 it's possible the environment is being configured in the middle of the popen.. Hmm.. Mar 23 22:05:22 do you see the code that sets up the nevironment? if not I can find it.. I helped RP review it Mar 23 22:06:02 I'm not at all sure, but I am starting to have inklings. Mar 23 22:06:28 It seems to me almost as though we are setting the PSEUDO_PREFIX internal value to null, which would be an error, but I don't think it should happen. Mar 23 22:06:31 But it's easy to check. Mar 23 22:07:28 look in runqueue.py "fork_off_task" Mar 23 22:07:49 k Mar 23 22:07:54 line 1120 is where the stuff starts for the 'fakeroot' case.. Mar 23 22:08:13 for the normal (non-fakeroot) 1131 Mar 23 22:08:31 envvars is the list of things to setup... Mar 23 22:08:42 envbackup is initialized with the current environment.. Mar 23 22:08:56 they then set the os.environ and fakeenv.. Mar 23 22:09:14 fork.. and then after the fork it's getting restored.. (I think) Mar 23 22:09:43 line 1202 is the after the fork, in the parent case.. Mar 23 22:09:56 it iterates over the environmetn and either restores or removes the added keys.. Mar 23 22:10:07 if this is multithreaded.. that could be the problem you were thinking of before.. Mar 23 22:10:26 maybe a lock around the environment setup/restore sections.. that might give you a clue if it is a threading issue Mar 23 22:10:41 Hmm. Mar 23 22:10:58 I was going to say, if it's multthreading, shouldn't it be behaving differently on different runs? Mar 23 22:11:16 But then I noticed that sometimes debugging messages change it so bzip fails because it's not getting a pseudo environment. Mar 23 22:14:03 there is a way to add a lock.. if we did.. it would need to be taken in the environment save/setup/fork/restore path.. and not be there for the child side of th fork Mar 23 22:15:49 I see lock -files-, but I'm not finding any type of thread locking.. Hmm Mar 23 22:16:53 Well, for starters, I'm just going to add debug notes before and after. Mar 23 22:17:04 If they don't form non-overlapping pairs, problem is explained, probably. Mar 23 22:18:33 This is a pretty awesome way to learn my way around bitbake. :P Mar 23 22:23:52 Well, I found a thing. Which is I found a point at which PSEUDO_PREFIX was removed from the environment. Which should never happen. Mar 23 22:25:52 huh Mar 23 22:26:35 So the thing that's weird to me is. Mar 23 22:26:56 I don't see why this can only happen way out here in this one special case. Mar 23 22:27:11 Oh, heh. There is only one attempt to set up the pseudo environment. Mar 23 22:27:15 is something causing a context switch, which causes the other things to execute? Mar 23 22:27:25 I don't know. Mar 23 22:27:50 So part of our problem may be that the exec_func_shell thing isn't using runqueue at all. Mar 23 22:28:02 It's going through its own course of events, so far as I can tell. Mar 23 22:28:38 So part of the issue may be that we're hitting a case where external commands are spawned with no attempt at all to get their environment right. Mar 23 22:30:20 yup.... I suspect that is the specific case for this message Mar 23 22:30:20 Sort of strange to me, also, is that PSEUDO_PREFIX isn't set in a lot of cases, but it shows up fine in the child of a fork. Which I guess makes sense. Mar 23 22:30:49 pseudo itself is what sets it up (more then likely) in the child, in the case where fakeroot isn't set.. Mar 23 22:31:03 if fakeroot is set, then bitbake sets PSEUDO_PREFIX itself to another value.. (I think) Mar 23 22:31:14 So bluelightning's breakit.bbclass is exercising a bug where things get executed without the runqueue stuff. Mar 23 22:31:27 the way this thing is setup.. there should be a pseudo DB per package, not a master one Mar 23 22:31:39 (there is a master one passed in, just so that pseudo doesn't "break") Mar 23 22:31:48 ya, apparently Mar 23 22:32:20 oh, looky looky. I have a series of "backing up ..." messages from the runqueue stuff. Mar 23 22:32:26 And a fork() call IN BETWEEN them. Mar 23 22:32:48 yuck Mar 23 22:33:40 Okay, this is all my brain can take for now. Mar 23 22:34:10 I am going to start fresh on Monday, by undoing all my changes and diagnostics and restarting with a more focused effort looking at this specifically, because right now I am buried in irrelevant debugging output. Mar 23 22:34:26 I understand.. Mar 23 22:34:35 before you go send an email to the list with what you tracked down Mar 23 22:34:46 I'll add to it if I see anything missing Mar 23 22:35:49 When will oe-core be branched? Mar 23 22:36:52 I believe soon... I've not been able to catch up with RP this week.. but I know there were some fixes earlier that may have pushed things back a few days.. Mar 23 22:43:43 fray: so I can assume udev won't be update before the branching Mar 23 22:44:14 i am concerned because i.MX platforms still depends on 164 due the kernel versioning Mar 23 22:44:51 in this case I'll drop the duplicated recipe on the bsp layer and wait for the branching Mar 23 22:46:09 hm.. after updating the headers get error: unknown type name '__aligned_u64' Mar 23 22:46:24 /usr/include/linux/if_packet.h:176 Mar 23 22:47:19 iptables_1.4.12.2.bb, do_compile then fails Mar 23 22:50:08 ant__: i had this compilation problem as well; i am doing a build from scratch now to check if it fixes it or not Mar 23 22:50:22 mine is build from scratch Mar 23 22:50:53 ant__: bad news then heh Mar 23 22:53:16 've seen a debian bug, let me google a bit Mar 23 22:55:34 ah, now I remember where I first saw it: Mar 23 22:55:36 [klibc] include: [sys/types.h] -> linux/types.h and __aligned_u64 Mar 23 22:55:53 When building klibc 1.5.25 against linux/master (ie. post 3.1 Mar 23 23:10:03 otavio honestly, I'm out of touch this week.. so I don't know Mar 23 23:17:26 otavio, issue was aknowledged on Yocto ML Mar 23 23:17:39 [yocto] iptables not building on master **** ENDING LOGGING AT Sat Mar 24 02:59:58 2012 **** BEGIN LOGGING AT Sat Mar 24 02:59:59 2012 Mar 24 16:11:36 otavio: I can confirm the udev version won't change for this release Mar 24 18:21:45 RP__: good; I'll cleanup our meta-fsl-arm in this case then Mar 24 23:36:00 Hello everybody. Mar 24 23:36:46 How can i check in the bb file if build has virtual/libx11 Mar 24 23:37:16 I want to add a tk (which depends on virtual/libx11) to python but inly conditionally if virtual/libx11 exists. Mar 24 23:37:33 to add tk in depends* Mar 24 23:41:58 Hmmm... i will use DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" **** ENDING LOGGING AT Sun Mar 25 02:59:58 2012 **** BEGIN LOGGING AT Sun Mar 25 02:59:58 2012 Mar 25 15:15:17 otavio: Hello. Mar 25 15:15:38 I want to fix a udev warning regarding installed libraries. Mar 25 15:16:02 The problem comes with libgudev-1.0.so.0.0.1 and udev-acl. Mar 25 15:16:19 both want some libraries from /usr/ Mar 25 15:17:25 And this is why we have those ugly warnings. :) Mar 25 15:18:46 Obviously there are 2 options here: move libgudev-1.0.so.0.0.1 and udev-acl or move the dependencies (libgobject, libffi, libgthread and libglib) Mar 25 15:19:40 What do you guys think about this? Mar 25 15:21:16 Uh there is another option: deactivate this QA test. :) Mar 25 16:13:19 eventually everything will move to /lib its recipe for disater Mar 25 16:13:49 using /lib was a mistake and we have been living with it for many many years and here at OE we are just promoting it Mar 25 16:23:53 khem: Yeah... seems legit. Mar 25 20:47:36 anyone here? Mar 25 20:48:23 I was hoping I could ask someone a quick question about java support in Yocto. Let me know if anyone is around. Thank you Mar 25 21:00:57 In IRC, don't ask whether people are around, just ask your question. Then leave yourself logged in for a week or so. You might get an answer a day later when someone gets to work and checks the IRC logs. Mar 25 21:36:43 there is a meta-java layer Mar 25 22:04:37 always check layerindex http://www.openembedded.org/wiki/LayerIndex Mar 25 22:05:03 on whats available, its not complete list of whats out there but fairly important pieces are there Mar 25 22:22:57 cool Mar 25 22:39:53 hey so if I get Yocto image built with core-oracle-master added in you get files /usr/java/ and /usr/jdk1.7.0_02/ - both of which have bin directories and a java executable in them. but for some reason I simply can't execute them. it's not a premissions thing. i call "root@sugarbay:/usr/java/bin# ./java " and all I get is "-sh: ./java: No such file or directory" Mar 25 22:41:12 I've tried all sorts of other things too. My quesiton is: where does the java executable reside by default and what should I add to my $PATH to make "java -version" return the version? Mar 25 22:51:57 hmm dump the java binary and see what is reports for interpreter you can use readelf -e on build host itself Mar 25 23:07:41 thank you khem - let me do that one sec Mar 25 23:24:15 what exactly do you mean by "dump" the binary. I'm copying the folders off the target onto a usb drive so I can use my ubuntu build machine to call "readelf" on the binaries. Im sure there's a way to get at the binary from the project's build folder on my Ubuntu build machine but I'm not sure where it would be in the folder hierarchy Mar 25 23:43:23 hey so I copied it over and "readelf -e java" returns a bunch of info. I see "Type: EXEC (Executable file)" so why can't I ever call it? **** ENDING LOGGING AT Mon Mar 26 02:59:58 2012 **** BEGIN LOGGING AT Mon Mar 26 02:59:58 2012 Mar 26 06:01:17 Hi All, was just playing with Yocto 1.2M3. Should Hob work for a qemuarm target? Mar 26 08:07:36 good morning Mar 26 10:10:12 Cheers! Mar 26 10:10:41 Do we have any mechanism of "building" packages from recompiled rpms? Mar 26 10:11:07 For example i want to use rpm-s, machine specific, from a previously finished build. Mar 26 14:08:10 This seems like a pleasant surprise - was unionfs merged in the 3.2 kernel? I was using 3.0 and patched the kernel to have unionfs - however, it seems like unionfs is included in the 3.2 kernel. zeddii? Mar 26 16:36:56 zeddii: I'm trying that ${S}/.scmversion now.. Mar 26 16:38:11 ok. cool. I'm suffering through a toolchain build at the moment :) Mar 26 16:41:12 * JaMa is rebuilding world on gentoo host to optimize for bulldozer, but still some power left for qemux86-64 build ;) Mar 26 17:31:29 This seems like a pleasant surprise - was unionfs merged in the 3.2 kernel? I was using 3.0 and patched the kernel to have unionfs - however, it seems like unionfs is included in the 3.2 kernel. zeddii? Mar 26 17:34:51 autif, it's in the 3.2 yocto tree. not mainline. Mar 26 17:34:59 I had more time in 3.2 and did some feature ports. Mar 26 17:35:21 v v cool - and thanks! Mar 26 17:35:51 I hope is that it will not go away :-) Mar 26 17:36:11 it won't. or if union mount or something better merges, I'll figure out where to go after that. Mar 26 17:56:07 is jefro on irc? Mar 26 17:56:46 nvm Mar 26 19:47:16 Progress! It finally occurred to me to check something I hadn't thought of. And the answer is, somehow we're getting into popen with an environment partially set up, and the "antimagic" flag set also. And I hadn't even thought of that code path. Mar 26 19:48:37 So it occurs to me that, even when we're trying to suppress all the fancy pseudo stuff, we need to do some environment setup/removal when calling anything that invokes fork(), such as popen() or fork(). Because otherwise we'll create child processes with invalid states. Mar 26 19:49:09 And this would explain why the LOCALSTATEDIR setting matters! Mar 26 19:49:21 Because a different LOCALSTATEDIR would mean needing to spawn a new server. Mar 26 19:50:31 ahh Mar 26 19:50:53 I am still not quite sure what's happening, and that may not be it, but it's at least *plausible*. Mar 26 19:52:23 ohhh whaddya know Mar 26 19:52:48 There is a series of stuff in the client setup, which happens not to have any debug messages, so I wouldn't know I was in it. And this series of stuff, it turns out, calls localstatedir_path(). Mar 26 19:53:01 Which will fail if LOCALSTATEDIR *and* PREFIX are unset. Mar 26 19:56:22 Hmm, that may not be it. But i have suspicions. Mar 26 20:09:38 ... No, wait, I'm still confused. Mar 26 20:10:16 Okay, in our initial setup, we've got pseudo loaded, but disabled. That, I think, implies that we *should* be starting out with a value for PSEUDO_PREFIX. Mar 26 20:10:45 and we are, it's in the bitbake wrapper.. Mar 26 20:10:53 So there's still the question of why the setup/restore path ends up nuking it. Because I think that's where the failure is coming from, really. Mar 26 20:11:13 setup/restore in pseudo ro bb? Mar 26 20:11:16 bb Mar 26 20:11:40 In runqueue, there's a little loop that goes through checking current values, setting useful unes, then restoring the old values. Mar 26 20:12:03 But this ends up restoring None for PSEUDO_PREFIX. Which means somehow it had gotten set to None previously. Mar 26 20:12:20 And then, when os.popen() bypasses this entirely and skips all the setup, we end up with an invalid state. Mar 26 20:12:36 bitbake.conf:FAKEROOTENV = "PSEUDO_PREFIX=${STAGING_DIR_NATIVE}${prefix_native} PSEUDO_LOCALSTATEDIR=${PSEUDO_LOCALSTATEDIR} PSEUDO_PASSWD=${PSEUDO_PASSWD} PSEUDO_NOSYMLINKEXP=1 PSEUDO_DISABLED=0" Mar 26 20:12:36 And fixing the popen wrapper doesn't really help, because runqueue wiped out the prefix setting. Mar 26 20:12:49 the FAKEROOTENV that gets set, includes those values Mar 26 20:12:54 Right. But that's what we are setting (and then later unsetting) in runqueue. Mar 26 20:13:05 What's setting the initial environment *outside* all runqueue tasks? Mar 26 20:13:31 What runqueue is doing is, for each of those values, stashing the current value in a save table, setting the provided value, running something, then restoring the saved values. Mar 26 20:13:44 did you add PSEUDO_PREFIX to the BB_ENV_WHITELIST or BB_ENV_EXTRAWHITE to see if it's kept? Mar 26 20:13:51 But if the current value for PSEUDO_PREFIX was None, then we end up setting PSEUDO_PREFIX to None, and that in turn breaks things. Mar 26 20:13:57 you could do that and then remove it from the FAKEROOTEVN.. then it shouldn't be modified Mar 26 20:14:19 Which means that, probably, before we ever hit runqueue, we started out with PSEUDO_PREFIX set, and then something somewhere along the way unset it. Mar 26 20:14:19 but pseduo (on a fork) is supposed to reload PSEUDO_PREFIX -- always, or so I thought Mar 26 20:14:26 it's the localstatedir that can be overriden Mar 26 20:15:10 /join #zedboard Mar 26 20:15:10 I think there is a path where, if you have set PSEUDO_PREFIX in the environment, pseudo can helpfully realize that you were trying to remove it and remove the internal cached value or something. Mar 26 20:15:18 /join #zedboard Mar 26 20:15:20 over the life of pseudo is there any reason that PSEUDO_PREFIX can change? Mar 26 20:15:27 Well, honestly... No. Mar 26 20:15:34 But I still want to know *how* this happened. Mar 26 20:15:37 localstate can, cause that is the DB location Mar 26 20:15:57 So I'm trying to find out how, *before* the runqueue stuff, *outside* FAKEROOTENV/FAKEROOTNOENV, PSEUDO_PREFIX is getting set or unset. Mar 26 20:16:07 if it's not in the ENV_WHITELIST, then bitbake whipes it from the environment as a sanitizing thing.. Mar 26 20:16:14 I would ahve expected pseudo to restore it though Mar 26 20:16:40 PSEUDO_PREFIX is initially setup by the bitbake wrapper.. but since I don't remember it in the whitelist.. bitbake starts and clears it from the nevironment.. (I think) Mar 26 20:16:45 I think there's some circumstance we're hitting where it can't be restored. In fact, that's definitely what's happening. Mar 26 20:17:30 Well, hmm. Mar 26 20:17:40 Maybe we should move that out of FAKEROOTENV to BB_ENV_EXTRAWHITE. Mar 26 20:18:46 Basically, I am not sure why this special rule is triggering this in a way that previous stuff didn't. Mar 26 20:19:15 It looks like it may just be a side-effect of something that isn't being properly saved and restored, and just happend not to get wiped until late in the build, after which we never happened to hit it again. Mar 26 20:19:28 But... I still don't really understand this call path, and I am therefore Very Concerned. Mar 26 20:20:18 understand Mar 26 20:22:15 I think I am now pretty convinced that it's an error to be setting and unsetting PSEUDO_PREFIX, though. Mar 26 20:23:30 So it might make sense to move that into the unconditional setup list and see whether that helps. If it does, I can then put in a bit of cleanup for fork() and popen(). Mar 26 20:24:12 Eww Mar 26 20:24:33 That's an interesting new failure. Mar 26 20:25:26 Now pseudo failed to rebuild because x86-64 architecture of existing .o files is incompatible with i386 output. Mar 26 20:26:02 sounds like you missed a "clean" in a multilib build Mar 26 20:26:18 Quite possible, but how does that even affect pseudo_native? Mar 26 20:26:28 er, pseudo-native. Mar 26 20:26:43 if the system detects you have a multilib (host).. it will build both 32-bit and 64-bit versions of libpseudo.. Mar 26 20:27:05 on a rebuild, if it doesn't clean the last built.. then you get that wonderful error.. because the last build was say 32-bit, and first built in 64-bit.. bang/clash Mar 26 20:28:14 But how could changing BB_ENV_EXTRAWHITE affect that? Mar 26 20:28:58 when you cange that, it triggers an automatic rebuild.. Mar 26 20:29:05 because the environment CAN affect the build of packages Mar 26 20:29:32 BB variables and certain environment items are tracked in the checksums for each recipe's build steps.. Mar 26 20:29:52 (PSEUDO_PREFIX shouldn't be tracked though.. Hmm) Mar 26 20:31:35 Also, I get a ton of random stuff failing due to permission problems, meaning pseudo's not loaded when it should be. I can't tell whether that's from my changes or was broken before. Mar 26 20:31:39 I'm gonna investigate more. Mar 26 20:32:07 yup.. permissions issues = no pseudo Mar 26 20:41:47 Okay, it suddenly made sense. Mar 26 20:42:19 I found the thing I was missing; the implementation of PSEUDO_DISABLED is that during startup we add an extra layer of pseudo_antimagic(). Mar 26 21:54:55 is combo-layer used for poky, or are the component layers managed manually? Mar 26 22:12:13 hmm, conftest.c:1:0: error: E500 and FPRs not supported Mar 26 22:12:16 * kergoth googles Mar 26 23:02:17 RP__: I've noticed that you've merged some of patches from last patchset, any reason to skip http://patchwork.openembedded.org/patch/24357/ ? this should be safe as it influences TOOLCHAIN_OUTPUTNAME only afaik Mar 26 23:02:50 JaMa: Coming up to release I suspect it will break the scripts :( Mar 26 23:03:22 ok Mar 26 23:04:48 JaMa: I want to take more of the patches but I don't have the bandwidth to deal with any breakage :( Mar 26 23:05:09 JaMa: any breakage at this point would create a lot of pain :( Mar 26 23:05:57 I see.. I was just curious as this looked pretty safe to me (but looking only on oe-core scripts) Mar 26 23:06:12 JaMa: I mean for the autobuilder and release management Mar 26 23:06:18 if it's used in other ways in poky I didn't know Mar 26 23:51:34 any opposition to adding -mfloat-gprs=double to the e500v2 tuning in oe-core? without this, you get "conftest.c:1:0: error: E500 and FPRs not supported" in configure compiler sanity checking. Note that the -te500v2 argument to the sourcery g++ toolchain turns on -mcpu=8548 -mfloat-gprs=double -mspe=yes -mabi=spe Mar 26 23:51:44 hmm, msm isn't online, maybe i'll poke him about it tomorrow Mar 27 00:04:04 Hmm. Mar 27 00:05:33 I can confirm that we have the same flags for -te500v2 in ours. Mar 27 00:07:17 well, either we need to pass -te500v2, or we need to add -mfloat-gprs=double, one of the two :) Mar 27 00:07:24 cause right now we're missing that one piece Mar 27 00:07:51 Hmm. Mar 27 00:08:12 * kergoth is spending some quality time in the power arch and e500 and qoriq and.. etc.. wikipedia pages, at the moment Mar 27 00:08:20 If -te500v2 has that meaning everywhere, I'd say use that because then if it needs to change it's more-standard. Otherwise, use the specific flags so we aren't tied to a specific toolchain. Mar 27 00:08:24 I am very sorry to hear that. :P Mar 27 00:08:48 yeah, i'm not sure how portable that one is. it didn't seem to be in the power options list in the gcc docs i was looking at, but i'm uncertain Mar 27 00:08:49 I believe "help, these IEEE tests are failing on e500" is the single question I've been given the most often since I started at WR. Mar 27 00:09:02 ugh Mar 27 00:09:09 CS does a lot of helpful -tfoo definitions. They appear to be nearly always right, but not portable elsewhere. Mar 27 00:09:16 * kergoth nods Mar 27 00:09:20 thats what i was suspecting Mar 27 00:09:25 they're convenient indeed Mar 27 00:09:47 trying to beat meta-fsl-ppc into submission a bit Mar 27 00:13:44 damn, i need to fix up the multilib section determination in tcmode-external-csl. not all are covered at the moment Mar 27 00:13:50 e.g. powerpc-nf Mar 27 00:15:27 should probably go by TUNE_FEATURES rather than TUNE_PKGARCH, but will see Mar 27 00:15:29 * kergoth wanders off Mar 27 02:17:14 kergoth: that sounds freescale-ish Mar 27 02:22:19 msm1: hey, didn't see you hop on. thoughts on getting -mfloat-gprs=double into the e500v2 tunings? run into problems without it. need to either pass that or -te500v2 with a csl toolchain, it seems. run into this at all? Mar 27 02:22:49 not really sure about the option Mar 27 02:22:55 kergoth: i can ask the toolchain folks Mar 27 02:22:58 whats not building? Mar 27 02:23:18 nothing builds, not even libtool-cross. seeing "conftest.c:1:0: error: E500 and FPRs not supported" Mar 27 02:24:12 seems to be the use of the spe tuning without float-grps set hits this. if you drop spe and add fpu-soft, it builds, or if you set the spe args with float-gprs then it builds Mar 27 02:24:19 here anyway, note this is using the csl toolchain, not internal Mar 27 02:24:32 maybe it behaves differently. *shrug* Mar 27 02:24:38 * kergoth still is a power noob :) Mar 27 02:24:57 we had some issues like this going from CSL toolchain to the yocto one Mar 27 02:24:59 hehe Mar 27 02:25:14 im not even 100% sure what's going on there Mar 27 02:25:28 i think we could conditionally add what you are saying for the CSL toolchain Mar 27 02:27:08 im also not sure what is appropriate Mar 27 02:27:17 we should ask both our toolchain folks Mar 27 02:27:22 yeah, agreed Mar 27 02:27:34 i can give your our guys email to CC on Mar 27 02:27:45 that'd work **** ENDING LOGGING AT Tue Mar 27 02:59:58 2012 **** BEGIN LOGGING AT Tue Mar 27 02:59:58 2012 Mar 27 07:29:33 good morning Mar 27 07:31:53 morning all Mar 27 09:57:19 what license are the recipe files themselves distributed under? Mar 27 10:10:24 Zagor: see LICENSE in the root source dir Mar 27 10:10:26 Any ideas why if i have virtual/xserver in the rdepends of a package, that package won't make this package end in the rootf? Mar 27 10:10:40 Even after defining rdepends in xserver-xorg/ Mar 27 10:10:41 ? Mar 27 10:12:13 sorry rprovides* Mar 27 10:15:50 And another strange thing: in the final rpms i got virtual/xserver and virtual/libgl in the REQUIRENAME info... Mar 27 10:16:01 So these are not substituted. Mar 27 10:20:20 ag: they won't be no... R* variables are not just for rootfs construction time, they are for runtime as well Mar 27 10:21:36 bluelightning: Come again please? Mar 27 10:22:18 RPROVIDES, RDEPENDS etc. go straight to the packaging system... how they are dealt with them after that is up to the package manager Mar 27 10:23:06 s/them// Mar 27 10:23:45 Hmm... Mar 27 10:24:16 So what you say is that there is no way to rdepends on a virtual? Mar 27 10:25:33 typically if you want to make such "virtual" decisions at build time, variables are used Mar 27 10:25:43 e.g. grep for VIRTUAL-RUNTIME Mar 27 10:25:48 git grep that is Mar 27 10:29:32 bluelightning: That makes sense. Mar 27 10:30:05 So the basic idea is that virtuals are used only at building stage. Mar 27 10:47:51 ag: yes, that's the way we do it at the moment Mar 27 10:48:11 bluelightning: Thank you. Mar 27 11:09:59 bluelightning: Another way to do it wouldn't be just to add ${PREFERRED_PROVIDER_virtual/XXX} to RPROVIDES? I think this would do the trick. Mar 27 11:10:22 Why would i want another variable like VIRTUAL-RUNTIME that'd do the same thing? Mar 27 11:10:37 Or maybe there is something i didn't understand. Mar 27 11:10:59 ag: except PREFERRED_PROVIDER is for build-time dependencies Mar 27 11:11:30 i.e. recipes as opposed to packages Mar 27 11:14:04 bluelightning: Ok. Let's make it a little more clear. If i have a package that needs X at runtime but only libgl at build time how would i instruct my image to include X if this package is included. Mar 27 11:14:17 ? Mar 27 11:14:53 if your package has RDEPENDS on X then it should be included in the rootfs Mar 27 11:14:58 if that is not happening it is a bug Mar 27 11:15:38 GOod. But what if this X is a virtual to xorg-server-lite or xorg-server Mar 27 11:15:45 This is my case. Mar 27 11:16:19 An by the way i just tested ${PREFERRED_PROVIDER_virtual/XXX in RDEPENDS and it works. Mar 27 11:16:32 It makes xserver-xorg to be in the final rootfs. Mar 27 11:16:52 but you should not do that, because it is not guaranteed that build time dependencies will match up with runtime ones Mar 27 11:17:00 i.e. it is not good practice Mar 27 11:17:11 Yes. But what alternative do i have? Mar 27 11:18:00 does this package you are building actually link to the X libraries? Mar 27 11:18:24 Only to libgl. Mar 27 11:18:36 It needs X server to run on it. Mar 27 11:19:26 well, it needs a gl context... but your gl library should be linked to X surely? Mar 27 11:20:48 And here is another problem. libgl is precompiled from the vendor. Is is not linked to anything. Mar 27 11:21:06 It provides libgl and and nothing more. Mar 27 11:21:50 my inclination in this case would be to pull in X from the image itself Mar 27 11:22:12 it really isn't your application that needs X... Mar 27 11:22:17 Yeah... that is my thought as well.. Mar 27 11:22:18 not directly anyway Mar 27 11:22:30 But hoped for a better solution. Mar 27 11:22:39 Yes include it as virtual. Mar 27 11:22:49 In a task or something. Mar 27 11:23:01 I think this is the only solution. Mar 27 11:23:22 well, when we build our own libgl it gets linked to X libraries I think; plus we tend to pull in other things that directly depend on X Mar 27 11:23:28 so we don't hit this problem often Mar 27 11:23:37 I know. Mar 27 11:23:50 Ok. Thank you very much. Mar 27 11:23:58 np Mar 27 12:00:21 RP__: ping Mar 27 12:00:52 iirc, you was tried to store bitbake tasks log in bootchart-compatible way Mar 27 12:01:10 * Jay7 is trying to find this bbclass Mar 27 12:11:04 Jay7: buildstats Mar 27 12:11:23 Jay7: It was using a hacked ubootchart as the analysis tool Mar 27 12:11:30 Jay7: the format is different Mar 27 12:22:52 RP__: is it in oe-core now? Mar 27 15:57:46 Jay7: the ubootchart patches are on the mailing list somewhere Mar 27 16:36:21 fray's helping me sanity-check the pseudo fixes, but with any luck I should have them available for review/checkin/whatever later today. Mar 27 16:39:56 seebs: great work, this one was a tricky one to isolate... Mar 27 16:40:03 Well, honestly. Mar 27 16:40:21 The only reason it took me more than the initial twenty minutes was that I spaced off the half-baked PSEUDO_DISABLED implementation. Mar 27 16:40:45 but you know have more of an understanding of the run path through bitbake Mar 27 16:40:51 Really, some day, I should fix it so that we use the check against pseudo_disabled *instead of* the crufty antimagic hack, instead of having both in there. Mar 27 16:41:54 The hack of setting antimagic if PSEUDO_DISABLED was set was a quick proof of concept, then we added the streamlined check earlier in the process -- but actually that's good enough and we should just be doing that instead. Mar 27 17:49:48 Anybody who can give me some infos about meta-ti? Mar 27 17:49:56 Koen or somebody? Mar 27 17:50:40 The meta-ti layers seems to have no support for GPU driver for pandaboard SGX540? Mar 27 17:50:48 Any ideas n this topic? Mar 27 17:50:50 on* Mar 27 17:52:58 khem: denix? Mar 27 18:13:29 hmm, do sstate/rm_work still have bad interactions? Mar 27 18:46:13 i take it people saw http://www.marketwatch.com/story/mentor-embedded-continues-to-simplify-linux-and-open-source-development-with-support-of-the-yocto-project-2012-03-27 :) Mar 27 18:48:09 why does gmail always categorize robert p.j. day's email as Bulk? it's only his Mar 27 18:49:27 funny - I get his mail just fine. Mar 27 18:50:01 i get it too, it's not spam, it's categorizing it as bulk -- the auto categorization thing where it categorizes forums/bulk/etc Mar 27 18:50:27 * kergoth reports miscategorization Mar 27 18:50:37 kergoth: I think there is a higher reason... :) Mar 27 18:50:44 hehe Mar 27 18:50:51 i wasn't going to say anything.. Mar 27 18:52:34 http://imgur.com/5QitJ Mar 27 19:31:50 kergoth: I do not use rm_work anymore Mar 27 19:32:10 ag: I would not have any idea about meta-ti Mar 27 19:33:13 khem: what ideas do you need? Mar 27 19:42:09 denix: the idea about the question ag asked Mar 27 19:42:25 I do have idea about a lot in the layer but not that Mar 27 19:42:45 :) Mar 27 19:42:50 share your ideas! Mar 27 19:42:57 and what was the question? Mar 27 19:47:05 The meta-ti layers seems to have no support for GPU driver for pandaboard SGX540? Any ideas n this topic? Mar 27 19:47:46 so I do have ideas about the SGX540 but not in meta-ti context you see my point now Mar 27 19:52:07 ah, graphics is not yet enabled for omap4 in meta-ti... Mar 27 20:26:13 greetings! does anyone have qt 4.8.0 building successfully for arm? Mar 27 20:27:18 ye Mar 27 20:27:19 s Mar 27 20:39:28 JaMa: any particular combination of poky branch and layers? Mar 27 20:40:16 I'm using oe-core only or oe-core+meta-oe+lot-more-layers Mar 27 20:40:23 and it builds in both for me Mar 27 20:41:03 ok glad to hear it, I'll be going down the road of trying to get it building for an OMAP3 based device soon Mar 27 21:19:05 mranostay: Howdy (delayed response by almost a month.) Mar 27 21:21:27 heh **** ENDING LOGGING AT Wed Mar 28 02:59:58 2012 **** BEGIN LOGGING AT Wed Mar 28 02:59:59 2012 Mar 28 03:53:44 question: I have a BBCLASSEXTEND="native" recipe where I have to conditionally add an "-march=i686" only if the build system is 32-bit. How do I go about it? I currently have: Mar 28 03:53:47 CXXFLAGS_virtclass-native="-march=i686 -I${STAGING_INCDIR}" Mar 28 03:54:16 but that busts on 64-bit, so I need a way to conditionalize the -march=i686 part to only appear if build system is 32-bit Mar 28 04:02:30 to answer my own question, this appears to work: "${@bb.utils.contains("PACKAGE_ARCH", "i686", "-march=i686", "", d)}" Mar 28 07:06:58 thank you denix and khem Mar 28 07:50:59 good morning Mar 28 12:04:35 any hint why pseudo-native is upgraded in so many parallel threads? http://paste.pocoo.org/show/572491/ Mar 28 12:05:55 nvm it was still parsing Mar 28 20:03:53 I have working webkit based browser(s) on my hardware (crownbay). I get graphics acceleration when I run stuff (glxgears, video using gst-launch) outside the browser, however, inside the browser, I do not get any graphics acceleration (tested it with corwnbay and crownbay-noemgd). What is the place to start figuring out why not? Mar 28 20:04:29 I have checked the build logs and ensured that webkit links with gstreamer libraries - same libraries used by gst-launch Mar 28 20:05:37 I have added a few extra configuration options (--enable-3d-rendering, --enable-animation-api) Mar 28 20:05:43 and they do not seem to work Mar 28 20:06:58 when I run the same browser (using Ubuntu's libwebkit and libgstreamer) I do get acceleration - so it is definitely something in webkit that needs tweaking Mar 28 20:11:38 autif: Can you post the config logs somewhere Mar 28 20:11:48 it seems to me as if its a problem in config Mar 28 20:13:43 will do Mar 28 20:17:15 configure logs for webkit - http://pastebin.com/g0wA3Eg3 Mar 28 20:17:20 khem Mar 28 20:21:23 autif: I will take a look after I grab some food Mar 28 20:23:56 thanks khem :0( Mar 28 20:23:59 :-) Mar 28 20:24:12 stupid typo Mar 28 20:26:48 clown noses ftw! Mar 28 21:01:55 autif: checking whether to enable support for 3D Rendering... no Mar 28 21:02:03 that seems an issue here Mar 28 21:10:13 hmmmn - I might need to do a clean (overnight) build - let me start that off and I will share what happens tomorrow. Thanks khem Mar 28 21:13:59 ok Mar 28 21:14:13 you need to check how its doing the test Mar 28 21:14:30 to determine 3D enable/disable decision Mar 28 21:14:54 it could be a simple braindead configure check which fails when we cross compile Mar 28 21:15:22 since they might be poking at the hardware you run on which obviously is a no no in cross build env Mar 28 21:15:39 I dont have a webkit-gtk sources handy to look atm Mar 28 21:19:16 autif: the configure is not doing much there Mar 28 21:19:27 did you pass --enable-3d_rendering to configure ? Mar 28 21:19:30 if not then try that Mar 28 21:20:27 Idle question: Mar 28 21:20:33 Does anyone but me EVER use PSEUDO_DEBUG output? Mar 28 21:21:33 seebs: pseudo uses everyone. you are the one who uses pseudo :) Mar 28 21:21:42 Heh. Mar 28 21:22:06 in other words if it works no one touches it ever Mar 28 21:22:10 I'm thinking about doing a major cleanup pass in which I try to replace "debugging messages I ever needed to debug something are level 2" with some kind of coherent debugging rules. Mar 28 21:22:25 sounds sane Mar 28 21:22:32 Because I've had at least a couple of things come to me where the diagnostics actually answered the question, but only I could read them. Mar 28 21:23:53 And for instance, right now you can't get decent logging on function call paths without a ton of information about IPC, and vice versa, and it turns out you basically never care about both at once. Mar 28 21:24:19 Every debugging mechanism I design goes through the same cycle. I introduce it. Then I realize it needs debugging levels. Then I realize it needs non-ordered flags. Mar 28 21:24:30 SOME DAY, I am totally going to do it right out of the box. Mar 28 21:24:32 actually a verbose mode where it tells me what call was captured and how it was dispatched would be nice Mar 28 21:24:40 since strace wont help with pseudo Mar 28 21:25:12 We SORT of have that. Mar 28 21:25:31 It's in the PSEUDO_DEBUG=4 output, and you just have to only read about every 60th line of the output. Mar 28 21:26:11 I mean, geeze, why are you people so LAZY. Mar 28 21:26:26 heh Mar 28 21:27:31 Actually, it's not that bad for some stuff. Mar 28 21:27:50 I mean, you can get thousands of lines of called/completed stuff. Mar 28 21:27:58 All in a row. With no context. :P Mar 28 21:28:18 hey, that sounds like bitbake's debug output :) Mar 28 21:28:35 I still love that I have to use raw errno because there was a system on which strerror() invoked locale stuff and this caused horrible clashes. Mar 28 21:28:44 But hey. An experienced Unix developer usually recognizes common errno values. Mar 28 21:29:00 and if they don't, it's not hard to grep the header :) Mar 28 21:29:04 I'm sad that the BSD errno script I wrote doesn't work on most Linuxes. Mar 28 21:29:10 $ errno 9 Mar 28 21:29:10 EBADF [9]: Bad file descriptor Mar 28 21:29:41 A lot of Linuxes have errno values somewhere other than sys/errno.h itself. Mar 28 21:30:33 cute Mar 28 21:31:25 I keep planning to fix that. I have only been thinking about fixing it since... uhm... 1998 or so. So it'll happen Real Soon Now. Mar 28 21:32:04 hmm Mar 28 21:32:05 a simple C program.. strerror should also work Mar 28 21:32:26 It's not as easy as it sounds to get the symbolic names, because there's no way to get a list of the symbolic names in C. Mar 28 21:32:32 I had written something like that a few years back.. Mar 28 21:32:32 It's easy with awk on errno.h. Mar 28 21:32:44 hmm, having ${PN} in AUTO_LIBNAME_PKGS results in -doc/-dev/etc being renamed too? weird, that doesn't seem correct Mar 28 21:32:58 Huh. It occurs to me: I don't think there's any context anywhere where I want to call setupenv and not also call dropenv if UNLOAD is set. Mar 28 21:32:58 what I had done is collect all of the "known" linux errno, put them into a table.. then I could reference the table and pull them back out.. Mar 28 21:33:02 something like: Mar 28 21:33:11 #ifdef EBADF Mar 28 21:33:24 { "EBADF", EBADF } Mar 28 21:33:27 #endif Mar 28 21:33:44 (this was in the context of fixing perls completely broken configuration mechanisms) Mar 28 21:34:33 seebs: on lnx the errno vals are in /usr/include/asm-generic/errno.h Mar 28 21:34:44 khem, not all of them.. just a lot of them Mar 28 21:34:58 fray: hmmm really Mar 28 21:35:02 where are the rest Mar 28 21:35:16 Also asm-generic/errno-base.h Mar 28 21:35:19 ya.. there are some values that vary from machine to machine.. (i.e. MIPS is an odd one).. Mar 28 21:35:29 so just awking that won't necessarily work either Mar 28 21:36:04 ooh, nice. Mar 28 21:36:20 If I cat /usr/include/asm-generic/errno*.h into my awk, it's Good Enough. Mar 28 21:36:41 huh, my connection to the office just got super slow. fray, is that cat downloading kitty porn again? Mar 28 21:36:43 seebs: yes that file too Mar 28 21:36:59 AFAIK, no current downloads Mar 28 21:37:08 seebs connection usually become slow when uploading :) Mar 28 21:37:36 I put some gcc testusite logs on my webserver and I realized it was a bad idea Mar 28 21:37:56 at the (new) office.. we have 8 Mbit down/6 Mbit up.. Mar 28 21:38:00 so speed usually isn't a problem Mar 28 21:38:55 1002 unread threads Mar 28 21:39:00 way to go **** ENDING LOGGING AT Thu Mar 29 02:59:58 2012 **** BEGIN LOGGING AT Thu Mar 29 02:59:58 2012 Mar 29 08:00:45 good morning Mar 29 12:26:31 how do I add an attribute to CoreRecipeInfo? I tried this http://pastebin.com/y6hRxabE but get "AttributeError: 'CoreRecipeInfo' object has no attribute 'homepage'" on that last line Mar 29 13:18:42 RP__: ping Mar 29 13:18:57 I'm fine with cleaning that up but lets continue to use tabs for shell Mar 29 13:18:57 and spaces for python where at all possible, then we're consistent :) Mar 29 13:19:08 by that you mean use spaces for shell and tabs for python right? Mar 29 13:30:01 because 4 spaces in populate_packages_preppend breaks populate_packages parsing.. Mar 29 13:38:12 JaMa: unfortunately we have python code that uses tabs such as do_populate_packages :/ Mar 29 13:38:41 so what was wrong on my replace of few spaces with tabs? Mar 29 13:39:25 well, four spaces should be used for python except where we have "bad" python in the procedure being appended/prepended Mar 29 13:39:57 for shell I honestly don't know how we ended up with tabs being the convention but apparently that's the rule we have Mar 29 13:46:28 Its certinaly what I've been telling people for a long time... Mar 29 13:49:09 https://wiki.yoctoproject.org/wiki/Recipe_%26_Patch_Style_Guide#White_Space_Management Mar 29 14:07:36 ok sending v2 Mar 29 14:31:00 hmm Mar 29 14:31:01 | Running useradd commands... Mar 29 14:31:01 | useradd: cannot lock /etc/passwd; try again later. Mar 29 14:31:01 NOTE: package openssh-5.9p1-r3.3: task do_install: Failed Mar 29 14:58:48 kergoth: do you have the recent patch applied for that? Mar 29 15:05:15 depends on how recent, our last update from upstream layers was a week ago or so, avoiding any further ones due to imminent release. will take a look at the last week's history Mar 29 15:05:50 aha, from march 22nd, i see Mar 29 15:05:55 will pull that in, thanks Mar 29 15:08:40 gosh, all this head scratching only to find I need to remove tmp/cache/default-eglibc//bb_cache.dat for cache.py to accept new attributes Mar 29 15:09:16 that appears to me like a rather odd location for a global bb cache Mar 29 15:15:00 a coworker who is playing with Poky isn't able to login. I seem to remember there was a configuration option or something that set the root pw to blank.. Mar 29 15:15:09 is that true, if so anyone remember what/how that is done? Mar 29 15:25:06 root pw might be blank and the dm might nopt accept blank Mar 29 15:25:14 try logging in via serial; Mar 29 15:32:14 I found it.. Mar 29 15:32:40 it's IMAGE_FEATURES += debug-tweaks, which in turn sets ROOTFS_POSTPROCESS_COMMAND += "zap_root_password ; " Mar 29 15:32:53 I tried just the ROOTFS_POSTPROCESS_COMMAND, but it didn't seem to take.. but image_features works Mar 29 15:33:24 (we're logging in via the console BTW.. checked the image and root entry was: root:x:0:0:root:/home/root:/bin/sh) Mar 29 15:44:26 fray: right, sounds like debug-tweaks was turned off Mar 29 15:45:37 yup.. what is odd though is that setting just the ROOTFS_... += didn't work though.. Mar 29 15:45:44 so something later must be "setting" it vs appending Mar 29 16:05:47 khem - ping Mar 29 16:07:52 autif: yes Mar 29 16:10:09 I did a clean build with the new flags in webkit - here is the log.do_configure http://pastebin.com/s8LtgPxe - still no video acceleration or canvas acceleration Mar 29 16:17:50 autif: I left few more messages yesterday about this issue Mar 29 16:17:53 did you go through them Mar 29 16:18:23 yes, I still need to look at the configure script to see what the script is doing Mar 29 16:18:23 ah ok so now you have 3D rendering enabled Mar 29 16:18:33 I have not seen that yet Mar 29 16:18:40 I will and report back Mar 29 16:18:42 I see it in your log Mar 29 16:20:18 yes, I appended EXTRA_OECONF to the recipe with --enable-media-stream --enable-3d-rendering --enable-animation-api Mar 29 16:20:31 that triggered the "No" to "Yes" I am guessing Mar 29 16:28:10 autif: ok. I think this should have helped if the issue was in webkit Mar 29 16:28:17 it seems issue is elsewhere Mar 29 16:28:31 what are you trying when testing this Mar 29 16:30:06 I go to this webpage - http://www.smashcat.org/av/canvas_test/ - I get about 55 fps on Ubuntu (using libwebkit that came with Ubuntu) and get only 2-3 fps on crownbay Mar 29 16:31:46 ok so thats a html5 test Mar 29 16:33:00 yes it is Mar 29 16:33:07 canvas specifically Mar 29 16:34:03 status meeting - be back in 45-90 will review your comments - if you leave them here - apologies. Also - thanks for all the help :-) Mar 29 18:09:27 ugh, what the hell, now it's failing to useradd after 10 attempts Mar 29 18:09:32 * kergoth checks for bbappends Mar 29 18:12:42 no bbappends that touch do_install Mar 29 18:12:45 * kergoth scratches head Mar 29 18:15:02 * kergoth sighs Mar 29 18:15:10 anyoen that knows the useradd stuff well? Mar 29 18:22:50 I would say that, if I were to rate my knowledge of useradd on a scale from one to ten, I would probably have a reasonable starting value for epsilon. Mar 29 18:23:06 One of my friends, who is a math geek, once told me a beautiful math joke. Mar 29 18:23:11 "Let epsilon be less than zero..." Mar 29 19:18:38 kergoth: do you have a sec for python 2to3 question? Mar 29 19:22:33 opkg-make-index was using "print pkg" and switching sys.stdout to Packages file if requested, with python3 it seems to get close() on stdout sometimes and later prints failing, so I've changed it to "print >>pkgsFile, pkg" and it works fine with python2 and also seems to make it much faster (like oe-classic version was) Mar 29 19:22:56 but that doesn't work with python3 "TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and '_io.TextIOWrapper'" Mar 29 19:23:03 so I'm looking for way to fix it properly Mar 29 19:25:03 print is a function in python 3. Mar 29 19:25:10 it has an argument to specify the file to send it to Mar 29 19:25:34 I mean, can I use something to be compatible with both 2 and 3? Mar 29 19:30:24 I had sort of gotten the impression that the primary goal of Python language design was to force everyone to use the same version as everyone else by systematically hunting down compatibilities and destroying them. :P Mar 29 19:36:54 JaMa: 3 is by design incompatible with 2. that was the point. Mar 29 19:37:02 thats why it jumped to 3 Mar 29 19:37:19 there are ways to try to retain compatibility, and there's ways to use distutils/setuptools to auto-run 2to3 or 3to2 on systems with the other version Mar 29 19:41:28 kergoth: yes but at least print('blah') works also with python2.7 Mar 29 19:41:36 so I was hoping for some compromise Mar 29 19:44:18 JaMa: print() does, but the arg to pass to a different file i'm pretty sure is 3 only. you can avoid the entire issue by just changing to code to write to a file object rather than using print() entirely Mar 29 19:44:27 foo.write("bar\n") Mar 29 19:46:09 I've used that for generating Package.filelists, but here it was failing with "TypeError: expected a character buffer object" Mar 29 19:46:25 then you're doing something else wrong Mar 29 19:46:54 or there's a unicode issue, might need to encode when writing to a file Mar 29 19:46:59 i haven't messed iwth python3 much Mar 29 19:47:15 maybe because it's writing "class Package" > Mar 29 19:47:16 ? Mar 29 19:48:19 ? Mar 29 19:48:23 but I guess I can call __repr__ somehow Mar 29 19:48:36 pkg is instance of Package Mar 29 19:48:36 oh, you tried to foo.write(someobject)? Mar 29 19:48:40 that wouldn't make any sense Mar 29 19:48:58 that's why it was justing print someobject I guess Mar 29 19:48:59 you'd have to make sure it implements __str__() and use str(foo) when writing, or something Mar 29 19:49:09 or just have the method write the lines to a passed file object Mar 29 19:49:24 object.write(sys.stdout) Mar 29 19:49:26 or whatever Mar 29 19:49:35 but i lack sufficient context to give any real advice on that Mar 29 19:49:53 that's in __repr__ method Mar 29 19:50:25 it's this script http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/tree/opkg-make-index Mar 29 19:52:21 repr() is supposed to be used to get a representation of the object close to python syntax needed to reconstruct the object Mar 29 19:52:29 __str__/str is for general string form Mar 29 19:52:43 and here are some of my fixes on top of that https://github.com/shr-project/opkg-utils/commits/jansa/2to3 Mar 29 19:57:09 kergoth: thanks, works better now :) Mar 29 19:58:28 np Mar 29 20:52:14 * kergoth works on some bits to deal with non-target recipe shared state reuse concerns Mar 29 21:08:59 kergoth: what kind of concerns out of interest? Mar 29 21:26:55 RP__: some of the stuff brought up by matthew in the mailing list thread regarding inclusion of distro/version in the checksums. wanting to be able to define compatible distros / fallback in some way, and the like Mar 29 21:43:29 kergoth: ah, right. Its a hard problem :/ Mar 29 21:44:50 i'm toying around with some code that adds /${BUILD_DISTRO}-${BUILD_DISTRO_VER}/ to SSTATE_DIR, then adds the parent dir to SSTATE_MIRRORS, then sstate_create_package_append which moves the target recipes up to the parent, so only the native/cross/etc remain in the host-bound area Mar 29 21:45:15 then i iterate over SSTATE_MIRRORS and inject modified mirror uris with BUILD_DISTRO/VER appended, to support that structure on mirrors Mar 29 21:45:23 then i stop injecting BUILD_DISTRo/BUILD_DISTRO_VER into the checksums Mar 29 21:45:49 the mirror iteration then supports specification of fallbacks, so you could add a known old host there and know that its safe to use those on all machines Mar 29 21:45:57 not ideal, but i think it may work Mar 29 21:47:44 kergoth: Could you add those to SSTATE_PKGARCH in the anonymous python at the top of sstate.bbclass ? Mar 29 21:48:11 true, didn't think about that Mar 29 21:48:14 hmmmm Mar 29 21:48:28 the thing is, if the filenames differ, then fallback is very difficult Mar 29 21:48:49 if the filenames are the same, but structure differs, then you can easily cahnge the structure. slightly less simple to mangle the filename Mar 29 21:48:54 hmm Mar 29 21:48:59 symlinks? Mar 29 21:49:12 I'm just thinking out loud... Mar 29 21:49:14 you'd have to mangle the filename to get the symlink destination path Mar 29 21:50:14 possibly doable. i do think structure makes it easier than filename, though Mar 29 21:50:15 * kergoth ponders Mar 29 21:50:29 i'll toy with it after i finish whacking this prototype into shape Mar 29 21:50:47 kergoth: You could append to SSTAGE_DIR in that same anonymous python Mar 29 21:50:57 (in the native/cross cases) Mar 29 21:51:45 then you'd just have to write a suitable mirrors url and the code should work otherwise as is Mar 29 21:53:53 true, that'd be cleaner than moving things around Mar 29 21:58:25 * kergoth experiments Mar 29 22:07:21 * mranostay waves Mar 29 23:32:17 RP__: thought so. your suggestion doesn't work. it has to be filename not directory to do it that way, because sstate_checkhashes checks the config metadata SSTATE_DIR, and the datacache only holds the filename, not the full path Mar 29 23:32:31 will have to either do fn mangling or the moving method Mar 29 23:32:36 * kergoth will try both Mar 29 23:33:05 * kergoth tested this in the past and it didn't work, but wanted to give you the benefit of the doubt and hoped it'd work Mar 29 23:35:22 kergoth: going to LC Summit? Mar 29 23:35:45 nah, not going to be able to this year Mar 30 01:25:22 Is there some obvious way to clean pseudo-native? "bitbake -c clean pseudo-native" predictably tries to rebuild pseudo first, and that doesn't work, which is my problem. Mar 30 01:25:36 (Seems to me the pseudo recipe is not good at rebuilds, because the 32-bit build chokes on 64-bit files.) **** ENDING LOGGING AT Fri Mar 30 02:59:58 2012 **** BEGIN LOGGING AT Fri Mar 30 02:59:58 2012 Mar 30 07:18:25 Hi there! I think I might have found a bug in meta/classes/package.bbclass ( http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/package.bbclass ), but then I'm not a python guru so if someone can confirm... Basically, needs_lfconfig is first "declared" at line 1363, and then re-assigned to true if needed at line 1283. However, it seems that the scope is different, and the assignment at line 1283 actually has no effect Mar 30 07:18:45 since the function linux_so does not "see" the needs_ldconfig from line 1363 Mar 30 07:18:52 the result being that ldconfig is never run from package.bbclass Mar 30 07:19:03 so it's not run at all if the build system of the compiled software does not do it itself Mar 30 07:19:30 and actually, if you try to print needs_ldconfig at line 1283, you get a "variable does not exist" error Mar 30 08:39:27 good morning Mar 30 09:16:44 Any idea why pigs-native has no install log? Mar 30 09:17:05 And nobody creates symlinks in /bin or /usr/bin as it should... Mar 30 09:17:44 Is this on purpose or it's a bug and i will upload a patch. Mar 30 09:17:47 ? Mar 30 09:19:38 ag: wasn't this fixed in master? Mar 30 09:19:45 http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-extended/pigz/pigz.inc Mar 30 09:21:26 Zagor: Are you talking about using ALTERNATIVE links? Mar 30 09:23:03 yes. what did you mean? Mar 30 09:25:52 the problem Mar 30 09:25:57 comes in native. Mar 30 09:26:23 We will have to include symlinks in sysroot for gzip Mar 30 09:28:28 Zagor: As i know ALTERNATIVE_LINKS are used in postinstal. Mar 30 09:28:31 postinatll Mar 30 09:28:41 postinstall* Mar 30 09:28:58 So we won't have symlinks in sysroot in case of a native build. Mar 30 09:29:28 Zagor: Clear now? Mar 30 09:30:19 richard discussed using a special path for pigz to avoid race issues. I'm afraid I'm not familiar enough with the details to be of much help. Mar 30 09:31:01 RP__: Would you help me understanding this? Mar 30 09:33:35 ag: in the native case, update alternatives shouldn't be doing anything and PN != BPN so it should be fine Mar 30 09:34:23 ag: We did add http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=40f95685e6a3b4359d2ab2fea1418fe5e4bd0aa1 which will install them into bindir/PN Mar 30 09:34:44 ag: This means you have to "inherit gzipnative" in anything you wish to use pigz Mar 30 09:34:55 ag: Sadly this is necessary else there are dependency/race issues Mar 30 09:35:13 I think it's not working as it should. Mar 30 09:35:17 Gimme 2 minutes please. Mar 30 09:35:25 I understood now the origin of the problem. Mar 30 09:37:52 RP__: Here is the bug: if [ "${PN}" = "${BPN}" ] Mar 30 09:38:11 In case of native this goes into: if [ "pigz-native" = "pigz" ] Mar 30 09:38:17 :) Mar 30 09:38:21 I wil patch this. :) Mar 30 09:38:24 will* Mar 30 09:38:26 ag: that is deliberate Mar 30 09:38:40 how come? Mar 30 09:38:57 I think the whole if thing should be negated Mar 30 09:39:35 ag: The update-alternatives thing happens only in the target case, not the native case Mar 30 09:39:59 I know this. Mar 30 09:40:01 ag: Also, in the target case we're installing into base_bindir, not bindir Mar 30 09:40:11 But there is an issue in the logic of the install step. Mar 30 09:40:22 ag: What issue? Mar 30 09:41:00 if "${PN}" = "${BPN}" if this is true than we have a target build. Mar 30 09:41:14 if NOT "${PN}" = "${BPN}" if this is true than we have a native build. Mar 30 09:41:33 Am i clear now? Mar 30 09:41:41 Or do i miss anything? Mar 30 09:42:05 This is the problem. Mar 30 09:42:18 Would you please confirm this? :) Mar 30 09:42:35 ag: You are correct above but in the target case we want base_bindir, in the native case, bindir Mar 30 09:42:53 ag: so the code does look correct to me Mar 30 09:43:53 Do you have a build at your disposal? Mar 30 09:44:03 With pigz-native? Mar 30 09:44:19 ag: Can you explain the problem you're solving? I'm guessing you're puzzled that the pigz binary ends up in usr/bin/pigz/ ? Mar 30 09:44:29 yes! Mar 30 09:44:44 ag: so now, please read what I wrote originally above Mar 30 09:45:15 ag: specifically, look at http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=40f95685e6a3b4359d2ab2fea1418fe5e4bd0aa1 which is the change that does this Mar 30 09:45:26 Damn! Now i understood the problem. Mar 30 09:45:43 It's that inherit gzipnativ Mar 30 09:45:46 native Mar 30 09:45:54 yes. Mar 30 09:46:16 gzip-native is a rather nasty dependency since we assume it in many places and it can overlap with the system gzip Mar 30 09:46:28 Ok... thank you for having patience with me... Mar 30 09:46:37 What we can't have is a half installed gzip since something might try and use it Mar 30 09:46:49 If its isolated in a specific PATH, we can avoid this Mar 30 09:46:58 ok. Mar 30 09:47:05 (I use gzip/pigz interchangeably here) Mar 30 09:47:59 Yeah... i understoof this now... Mar 30 09:48:05 understood* Mar 30 09:53:47 RP__: But his won't solve the problem for packages which want things in specific paths. Mar 30 09:53:57 For example i have a package with: Mar 30 09:54:11 <------>FIND_PROGRAM(GZIP_TOOL Mar 30 09:54:11 <------> NAMES gzip Mar 30 09:54:11 <------> PATHS /bin Mar 30 09:54:11 <------> /usr/bin Mar 30 09:54:11 <------> /usr/local/bin) Mar 30 09:54:47 The PATH_prepend won't have any effect. :) Mar 30 09:56:58 ag: It really shouldn't do that... Mar 30 09:57:05 ag: It should just look at PATH Mar 30 09:57:15 True true... Mar 30 09:57:55 It looks that other programmers don't know. :) Mar 30 09:58:28 Anyway. Thanks once again for the whole explanation session. Mar 30 10:03:01 ag: np Mar 30 15:31:16 how do you determine what loaded is used by a binary? Mar 30 15:31:21 loader* Mar 30 15:31:24 ld-linux.so etc Mar 30 15:34:44 readelf/objdump Mar 30 15:34:47 oh, he logged off Mar 30 15:46:17 RP__: Any thoughts on where the lsb_release based distro name/version should go? Mar 30 15:49:21 kergoth: my gut instinct says fn but I realise that gives aliasing problems :/ Mar 30 15:50:39 kergoth: I suspect ultimately the siggen handler code is going to have to get involved and manually force things to particular hashes or values for some configurations Mar 30 15:51:08 kergoth: I've been trying to thing about how we'd have a prebuild toolchain in sstate format and force it to be used regardless Mar 30 16:04:20 how does one determine the dynamic loader for a binary? Mar 30 16:06:26 msm: readelf -p 1 will reveal it for most Power .elf files that are not shared library objects Mar 30 16:07:02 challinan: cool thanks ;) Mar 30 16:07:24 np Mar 30 16:09:09 msm: kergoth did say "readelf/objdump" but you logged off Mar 30 16:10:05 RP__: *sigh* sorry Mar 30 16:10:08 thanks to chris too Mar 30 16:10:20 i need to setup IRC on a desktop box and not my laptop Mar 30 16:11:36 i keep a 'bip' bouncer/proxy running on a vps Mar 30 16:11:40 quite helpful Mar 30 16:11:48 have another one on an intranet machine for work's irc Mar 30 16:18:24 bip bouncer Mar 30 16:18:33 hmm, i have to admit i've never heard of this Mar 30 16:18:56 others include ctrlproxy, dircproxy, etc Mar 30 16:19:06 basically a server process stays connected to irc, you connect to that from your client Mar 30 16:19:11 it sends you history/context when you connect Mar 30 16:19:19 and it keeps your logs in one place Mar 30 16:53:41 gah, I just noticed the tunings for many of the arm items don't distingish between the optimized and non-optimized version.. Mar 30 16:55:01 i.e. arm920t... it simply inherits everything from armv4t including the package names.. Mar 30 16:57:28 hi RP__ even using PREMIRRORS, download speed from yocto.org is very poor from here which may explain why it takes so long time to dowload the sources using git. Mar 30 16:57:42 if git & www are hosted in the same place Mar 30 16:58:25 ericben: The server should be well connected... Mar 30 16:58:37 halstead, pidge: ^^^ any comment? Mar 30 16:59:06 RP__: wget http://downloads.yoctoproject.org/mirror/sources/git2_git.yoctoproject.org.linux-yocto-3.2.tar.gz 134K/s eta 74m 41s Mar 30 17:00:47 wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.3.tar.bz2 577K/s eta 2m 19s Mar 30 17:00:57 fwiw Mar 30 17:01:22 RP__, ericben: Hrmmm. The server the source mirror lives on does have spikes from time to time. But not generally that bad. Pinging halstead. Mar 30 17:02:15 ericben: ironically, kernel.org is in the same place afaik Mar 30 17:03:14 RP__: to many peoples are filling yocto's bandwith with git fetches waiting for their kernel's sources to arrive ;-) Mar 30 17:06:41 I personnally don't care of the fetching speed I have my own mirrors and I'm not using linux-yocto but as I spent some time to test oe-core in its basic configuration (ie qemuarm in my case) I'm reporting feedback when trying to place in the shoes of a new user trying this. Mar 30 17:11:24 ericben, git.yoctoproject.org and www.yoctoproject.org are in the same rack and use the same connection. Mar 30 17:13:14 halstead: OK so that's not suprising to get the same low values in both case Mar 30 17:13:32 ericben, Where are you connecting from? Mar 30 17:13:53 halstead: france Mar 30 17:15:25 halstead: I get (in realtime 300-800KB/s from K.org(average 350 for a kernel) and 50-200KB/s from Yocto (average to come in .... 90 minutes) ... both using wget Mar 30 17:18:48 ericben, We are under quite a bit of load at the moment. Is this all the time? Mar 30 17:19:01 ericben, Bandwidth http://netfoo.nero.net/netviewer?locale=OSUOSL-Linux-Foundation&meta=partner Mar 30 17:22:26 halstead: it's at least slow enough so that I noticed it since I'm playing with qemuarm which means in the last 2-3 weeks (I'm usually playing with my boards) Mar 30 17:22:55 ericben, And are the OE servers the same speed for you? Mar 30 17:23:27 halstead: expand the graph view to month and you will see what I mean ;- Mar 30 17:24:00 halstead: I'm talking of the bandwidth graph view Mar 30 17:24:08 there is clearly a peak since 2 weeks Mar 30 17:24:16 and was one 3 weeks ago Mar 30 17:24:21 * halstead nods. Mar 30 17:24:23 to much success guys ;) Mar 30 17:24:49 Is OpenEmbedded giving you better download rates? Mar 30 17:25:31 halstead: I'm trying a clone Mar 30 17:25:37 500KiB/s Mar 30 17:25:45 so yes it's far better Mar 30 17:26:25 this clearly shows the problem : http://netfoo.nero.net/netviewer?locale=OSUOSL-Linux-Foundation&meta=partner&button=Redraw&mib=ifInOctets%3AifOutOctets%3AtransitOctets%3AtransitRate&cfunc=Avg&size=Normal&limit=100000000000&period=month Mar 30 17:27:12 seems you are limitted to something around 120Mb/s on your link as it nealry never goes over this value Mar 30 17:28:16 ericben, I think we have a soft cap of 100Mbps and yes I see it has been maxed for awhile. Mar 30 17:31:57 if peoples are using the yocto's PREMIRROR that's not surprising as in that case they download everything from yocto's server Mar 30 17:33:18 ericben, We've stopped a backup/mirror process that was running. Do you notice any difference? Mar 30 17:33:43 good new from pidge, I now get 300-500 K/s .. ETA 27 min instead of the previous 100 ! Mar 30 17:34:12 thanks there was a real problem but I was not searching in the right direction Mar 30 17:34:29 ericben: thank halstead, he figured it out Mar 30 17:35:18 I'm blanking.. in a configuration.. how do I do "if it exists and it's not blank, I want that value, otherwise use this value"? Mar 30 17:35:24 ${@....} Mar 30 17:38:50 halstead: pidge: thanks to both of you ;) Mar 30 17:38:57 Hmm.. figured out another way to do it.. Mar 30 17:39:01 ericben, Has it slowed down again? Mar 30 17:40:12 halstead: I stopped the download, now launching it again Mar 30 17:40:56 halstead: yes ~60K/s Mar 30 17:41:09 ETA 2h11m :-( Mar 30 17:41:25 quite a poor first time user experience in that case :-( Mar 30 17:41:27 Thank you. I'm working on a permanent fix now. Mar 30 17:52:26 Purely hypothetically, if I suddenly wanted a qemuarm target with a native compiler, could poky/yocto do that for me easily? Mar 30 17:52:57 seebs: you mean you want gcc and friends on target ? Mar 30 17:52:57 yes.. Mar 30 17:53:06 add tools-sdk Mar 30 17:53:07 Not to imply that someone waving a pseudo test failure in front of me would make me suddenly try to fix something that was never supposed to work in the first place. That would be callow and easily-manipulated. Mar 30 17:53:28 ;) Mar 30 17:54:07 EXTRA_IMAGE_FEATURES += "tools-sdk" Mar 30 17:54:17 That was going to be my next question. :) Mar 30 17:54:49 * khem stares at crystal ball Mar 30 17:55:11 And in an hour or two I'll be asking how I run that qemu session and make files available to it. Mar 30 17:55:14 :) yours is working better then mind Mar 30 17:55:27 Apparently pseudo can be built for ARM really easily, but then fails in really weird ways. Mar 30 17:55:41 This is way more interesting than whatever I was going to do today. Mar 30 17:59:28 seebs: it reminds me when I tried qemuarm on beagleboard :) Mar 30 18:10:41 ericben, I may have corrected the shaping. Can you test for me now? Mar 30 18:23:19 halstead: seems fine ETA 25m Mar 30 18:23:52 Thank you. Mar 30 18:30:42 msm: https://github.com/kergoth/oe-core/compare/sstate-structure Mar 30 18:31:47 kergoth: cool - ill try to test this out sometime Mar 30 18:31:51 soon hopefully Mar 30 18:32:01 cool, keep me posted Mar 30 18:32:37 Anyone else have any thoughts on this? I think this achieves the goal without being terribly invasive. not the cleanest, I realize, but also avoids the need to modify bitbake any further Mar 30 18:33:34 at mentor, we can build on centos5 and its sstates can be safely used on our other hosts like u1004, but not vice versa Mar 30 18:34:14 if you don't define any additional compatible hosts, native/cross will be kept in the per-distro area, isolated from other build hosts Mar 30 18:35:11 msm: you'll just need an INHERIT += "sstate-reuse", then a bit more if you want to add compatible hosts Mar 30 18:35:28 i'll post the section of the mel config using this as an example Mar 30 18:45:56 msm: https://gist.github.com/2253903 Mar 30 18:49:04 a bit simplistic, in that one can't say "if i'm on RedHatEnterprise-5, then I can also use RedHatEnterprise-4 sstates" or whatever Mar 30 20:03:16 kergoth: that function is supposed to live in a local.conf? Mar 30 20:06:36 see the filename, it's a .inc. currently i pull it in via our distro, but local.conf would work as well Mar 30 20:06:44 the gist was intended to be an example :) Mar 30 20:07:08 to test just drop into conf/ next to local.conf, add require conf/sstate.inc to local.conf Mar 30 20:09:54 wow.. we currently have 120 defined tunings.. Mar 30 20:10:01 * fray starts building them.... Mar 30 20:10:16 haha, have fun Mar 30 20:10:25 I've got machines and all weekend.. ;) Mar 30 20:10:46 most of them seem to be arm.. Mar 30 20:11:52 not too surprising Mar 30 20:13:28 kergoth: yay for reuse stuff coming out :) Mar 30 20:16:22 :) Mar 30 20:16:40 took while to find something that'd work with sstate, due to SSTATE_DIR not being pulled per-recipe Mar 30 20:16:54 s/ / a / Mar 30 20:20:15 * kergoth will send a mail to the list about it shortly Mar 30 20:26:32 kergoth: in the .inc shouldn't LSB_ADJUST_HOOK be LSB_DISTRO_ADJUST ? Mar 30 20:42:09 erm, yes, thanks :) Mar 30 20:42:25 fixed Mar 30 20:50:53 that will avoid you a remark on the mailing list from the doc and comments reviewer :-D Mar 30 21:24:31 ericben: hehe, thanks Mar 30 22:15:58 hmm, i should add tmux support to terminal.py & co Mar 30 22:16:18 would be cool for it to just open a new window in the existing session or so :) Mar 30 22:22:32 Okay, silly newbie question: How do I start qemu? Web pages say to run poky-qemu , but in fact this says "command not found" when I try it. Mar 30 22:22:37 So I probably failed to build something? Mar 30 22:23:26 ahh, run-qemu Mar 30 22:23:31 er, runqemu Mar 30 22:23:38 I am totally lucid today and stuff. Mar 30 22:23:46 Except for the excess blood in my caffeinestream. Mar 30 22:26:50 seebs: which webpages? We should fix that Mar 30 22:27:03 I think non-yocto ones from long ago. Mar 30 22:27:22 hmm Mar 30 22:27:30 GAH, vmware hosed my modifier keys AGAIN Mar 30 22:27:33 when will they fix this? Mar 30 22:27:37 Right, I have come to the point where I actually have to start learning how this works. Mar 30 22:28:06 Heh. I just killed my X session rather badly: I'm using X over ssh, and the "ctrl+alt to end mouse grab" didn't work. Luckily, ctrl+alt+f3 to get a console still worked. Mar 30 22:28:42 So if I wanted git and stuff in a rootfs, what would I do? Modify my conf file, or just pick a different target? Mar 30 22:30:51 up to you. make a custom image, or inject it to an existing one via local.conf Mar 30 22:30:54 really depends on your goal Mar 30 22:31:16 The key weakness is that right now I don't have a clear enough mental map of how bitbake and images work to evaluate either of those. Mar 30 22:31:40 Right now, I have an EXTRA_IMAGE_FEATURES +=, which I assume is "inject to an existing one". Mar 30 22:31:53 So presumably, if I knew the "feature" name of a thing which would imply a given package, I could add it there. Mar 30 22:37:16 an image is just a recipe that constructs a filesystem from the packages listed in IMAGE_INSTALL (and a few other sources) Mar 30 22:37:36 today, the only available image features are via a package grouping mechanism Mar 30 22:37:49 that is, they're just a convenient way to specify multiple packages at a time Mar 30 22:37:53 that's all. nothing special Mar 30 22:38:06 you can look at those as an alternative to tasks Mar 30 22:38:21 you add feautre names to EXTRA_IMAGE_FEATURES, not apckage names Mar 30 22:41:55 BTW that is one thing I'd like to see somewhat changed.. the way images get generated. I'd like an external mechanism that can generate images from package feeds.. then the existing image recipes can use that mechanism to generate images.. or the mechanism can be put on install media, or simply run externally for people who don't want source builds Mar 30 22:42:33 agreed Mar 30 22:42:57 i've often wanted a separate image creation tool. we sor tof wedged it into a recipe because you can do anything in a recipe, but it isn't ideal Mar 30 22:44:03 someday...... Mar 30 22:44:41 well.. I'm done with 10 of 120 builds.. only found 2 minor errors in the tunings so far.. :P Mar 30 22:46:55 hah Mar 30 22:47:15 building core-image-minimal for a made up "qemutune" machine... Mar 30 22:47:22 that should build enough to verify the tune is working Mar 30 23:21:26 hmm Mar 30 23:22:01 So if I want to add a package to a filesystem, and that package is not part of a feature, what is the usual approach? There was stuff on this in the yocto 1.0/1.1 docs, but it's gone in 1.2, apparently. Mar 30 23:22:08 I assume I copy an existing image and modify it? Mar 30 23:22:18 or use hob... Mar 30 23:22:32 but ya, that way I say is to create a new image (or .bbappend an existing one) Mar 30 23:23:47 there's a thread on this on the list over teh past couple days Mar 30 23:23:53 robert day brought this up Mar 30 23:24:00 i'd suggest looking at the various approaches dsicussed there Mar 30 23:24:46 It's always weird switching systems. I'm used to qemu using userspace NFS, not a filesystem image, so it was super easy to copy files in and out. :) Mar 30 23:26:29 generally you just need to get your packages into an IMAGE_INSTALL in an image. how you go about that depends on the use case Mar 30 23:26:44 e.g. IMAGE_INSTALL_append in local.conf, new image recipe with IMAGE_INSTALL +=, etc Mar 30 23:35:33 seebs, you can still do that.. I forget the arguments off hand though.. Mar 30 23:35:44 (the scripts will extract the tarball and serve them via NFS) Mar 30 23:54:19 seebs: you want to use nfs rfs ? Mar 30 23:55:01 EXTRA_IMAGE_FEATURES += "nfs-server" Mar 30 23:55:04 It might simplify my life. Ahh. Mar 30 23:55:23 Yeah, that would simplify things. Mar 30 23:55:46 and also bitbake meta-ide-support Mar 30 23:55:57 for supporting bits to extract rfs Mar 30 23:57:18 once you have build your image and the above target then run runqemu-extract-sdk Mar 30 23:57:33 this will setup the nfs rfs which qemu then can boo Mar 30 23:57:34 t Mar 30 23:57:58 then runqemu Mar 30 23:58:10 should boot it using nfs rfs Mar 30 23:58:44 and all that you have to do it in same shell where you sourced oe-init-build-env Mar 30 23:58:47 Thanks a ton! I will totally eventually know my way around that. Mar 30 23:58:51 Yup. Mar 30 23:59:04 Hey, am I going to hate my life if I've sourced oe-init-build-env about 10 times in the same shell? Mar 30 23:59:14 I dont think so Mar 30 23:59:33 unless it mindlessly appends values to variables Mar 30 23:59:52 which then can grow fat and fat and shell vars have some limits IIRC Mar 30 23:59:58 its like 4K length Mar 31 00:00:02 or somesuch Mar 31 00:00:16 or may be I am mixing it with freebsd shell Mar 31 00:01:36 I almost always start a ne shell and then source it there.. that way I can alwys return to sanity Mar 31 00:04:34 90% of the time i use a wrapper of some sort and avoid modifying the environment at all, it's just annoying Mar 31 00:11:37 that is likely what we will be doing for our commercial products.. Mar 31 00:44:43 d'oh Mar 31 00:44:48 python has no module "datetime". Mar 31 00:45:45 Or glob. Mar 31 00:47:02 Right, I will fake my way around this. Mar 31 00:55:27 ... Mar 31 00:55:32 Well, so much for my tests. Mar 31 00:55:44 Turns out that, even as non-root, I can chown files freely, apparently. Mar 31 00:56:04 This makes it rather harder than I expected to determine whether pseudo is working. Mar 31 00:56:41 I suppose the NFS server is being permissive. **** ENDING LOGGING AT Sat Mar 31 02:59:58 2012 **** BEGIN LOGGING AT Sat Mar 31 02:59:59 2012 **** ENDING LOGGING AT Sun Apr 01 02:59:58 2012 **** BEGIN LOGGING AT Sun Apr 01 02:59:58 2012 **** ENDING LOGGING AT Mon Apr 02 02:59:58 2012 **** BEGIN LOGGING AT Mon Apr 02 02:59:58 2012 Apr 02 11:59:42 Hi, I'm trying to build a x32 image. I'm running "bitbake core-image-minimal-x32 Apr 02 11:59:48 and get: Apr 02 11:59:58 ERROR: No recipes available for: Apr 02 12:00:00 /var/tmp/poky-edison-6.0.1/meta-x32/eglibc/eglibc_2.15.bbappend Apr 02 12:00:02 /var/tmp/poky-edison-6.0.1/meta-x32/eglibc/eglibc-initial_2.15.bbappend Apr 02 12:00:05 Any ideas? Apr 02 12:05:25 Ah "git reset --hard 6b96e597d8b" on x32 branch "solved" the problem... Apr 02 12:09:16 this doesn't look so good: http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/files/common-licenses/GPL-3.0?id=edison-6.0.1.release Apr 02 12:09:38 this looks wrong too: http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/files/common-licenses/GPL-2?id=edison-6.0.1.release Apr 02 12:10:51 and GPL-3 only contains the runtime exception clause: http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/files/common-licenses/GPL-3?id=edison-6.0.1.release Apr 02 12:13:50 RP__, bluelightning: ping ^^ Apr 02 12:34:58 Zagor: hmm, not good Apr 02 12:35:18 Zagor: I will forward this on to beth Apr 02 12:35:59 Zagor: I'd open a bug against edison with regard to this. I know a lot of stuff got cleaned up in master and it looks like we missed it for edison Apr 02 12:38:03 RP__: ok, I'll do that Apr 02 12:46:57 RP__: is product "meta recipes" suitable? Apr 02 12:54:55 submitted https://bugzilla.yoctoproject.org/show_bug.cgi?id=2230 Apr 02 12:55:54 Zagor: thanks, I've assigned it to Beth Apr 02 15:40:48 Cheers! Any ideas why we keep this semi-old version of udev? Upstream is on 182 and we are on 164... Apr 02 15:46:20 Yocto Project BSP Summit backchat channel: #yocto-bsp-summit Apr 02 16:03:33 * nitink is in Yocto Project BSP summit at Mentor Graphics Apr 02 16:04:25 Hi all - Yocto Project BSP Summit backchat channel: #yocto-bsp-summit Apr 02 16:13:57 * RP__ makes it through the firewall :) Apr 02 16:15:55 Yocto Project BSP Summit backchat channel: #yocto-bsp-summit Apr 02 16:32:35 for those who may have been waiting for approval for webex. I just approved all pending registrations Apr 02 17:11:46 halstead - I am trying to push the latest mono recipes to meta-mono - I get the following error - fatal: remote error: access denied or repository not exported: /meta-mono Apr 02 17:30:29 Yocto Project BSP Summit: phone 800-547-3011 conf# 101, webex at https://mentor.webex.com/mentor/j.php?J=758201571 Apr 02 17:41:45 pidge: are we short of space on yocto-iab08? Apr 02 17:42:22 actually it's not just one machine Apr 02 17:42:36 bluelightning. let me check Apr 02 17:42:41 getting gzip I/O errors Apr 02 17:43:06 nas full i bet Apr 02 17:43:48 ding. nas is at 100% Apr 02 17:45:06 rm -r / Apr 02 17:46:34 autif: snerk Apr 02 17:46:44 :-P Apr 02 17:47:15 * pidge rm's nightlies for Feb and the beginning of March. Should solve the issue Apr 02 17:47:36 and makes a mental note to fix the backup scripts Apr 02 17:47:45 should bison be built and available by default ? Apr 02 17:48:06 the 3.4-rc1 kernel is showing this: i586-poky-linux-bison as a requirement for perf .. and it's not present. Apr 02 17:48:32 * zeddii_ recalls the lkml discussion about generating those on the fly. Apr 02 17:48:42 * zeddii_ might be a victim. Apr 02 17:54:49 * zeddii_ hacks perf to not use the cross compile prefix for bison. Apr 02 18:01:29 3.4-rc1 is aging me quickly. fix #2 for perf pending. Apr 02 19:11:45 Is there an equivalent of beagleboard for MIPS and PPC? (equivalent means - price < $300, HDMI or VGA out - as opposed to a custom LCD, bootable from flashdrive - no JTAG/ICE debugger required) Apr 02 19:13:21 is there a good document describing the licensing foo that's been added to yocto? Apr 02 19:13:26 something in the git tree or on a wiki poerhaps? Apr 02 19:14:28 which foo? :) Apr 02 19:17:56 autif, not that i know of.. Apr 02 19:18:19 we had a hard time finding an inexpensive COTS board for PowerPC when we started the Yocto Project.. and the MIPS board we found (routerstation pro) is no longer made Apr 02 19:18:45 kergoth: just how it works for people who have no idea about yocto in general Apr 02 19:19:56 let' suppose I have a "legal review team" who could start using them system ;) Apr 02 19:21:09 fray - yup - that's what I found - routerstation and router station pro are no longer current and anything PPC is upwards of $3000 or so - makes it somewhat hard for a hobbyist Apr 02 19:21:37 unfortunately, that is what I've found.. you can ask on the #mklinux channel and see if they have any other ideas on a PPC board.. Apr 02 19:21:56 but PPC (and MIPS) seems to have gone very specialized so COTS boards are expensive Apr 02 19:22:06 msm: well, there are multiple components. there's the bom stuff, there's source archiving, there's license checksumming Apr 02 19:22:16 TI has done a great job w/ the beagleboard and similar keeping down costs Apr 02 19:22:59 i think the only cheap ppc/mips dev board is called 'qemu' Apr 02 19:23:01 ;) Apr 02 19:23:43 Xilinx used to have an FPGA that could be programmed w/ a PPC405 processor.. it was slow, but some of the dev kits were under $1k Apr 02 19:24:01 i know freescale is contributing to have a meta-fsl-ppc. msm contributes a lot to that meta layer - care to comment? Apr 02 19:24:02 but you had to be non-commerical and usually a college student to get the programming software cheaply Apr 02 19:24:16 kergoth: yes, a summary for it all ;) Apr 02 19:24:37 kergoth: freescale has some $1000ish rdb boards Apr 02 19:24:39 err Apr 02 19:24:45 fray: ^ Apr 02 19:24:48 got it Apr 02 19:24:53 can you point osme out? Apr 02 19:25:02 inthe past we've tried to get them and they were impossible to get.. Apr 02 19:25:06 its been brought up that we need cheaper development boards Apr 02 19:25:14 the one we did pick we could actually order single quantities from Digikey Apr 02 19:25:15 fray: our rdb boards? Apr 02 19:25:26 ya.. Apr 02 19:25:41 but it was around $1500, and only available in the US Apr 02 19:25:59 (we had to buy a couple in the US and ship them overseas to be able to add to test labs and such Apr 02 19:26:19 it's all because one of the variations -could- have encryption, even though the one we bought (and wanted) didn't) Apr 02 19:27:21 msm: Not sure if anyone has written up an introduction to the various aspects of the licensing yet.. hmm. maybe beth would know. pidge? Apr 02 19:32:46 msm - can you name some $1000ish RDB boards? Apr 02 19:33:50 autif: im looking Apr 02 19:34:03 cool - thanks Apr 02 19:34:10 http://www.freescale.com/webapp/search/MainSERP.jsp?QueryText=p1020rdb&assetIdResult=&fsrch=1&sessionChecker=pl6JP59QkZnnc1gW93y17ppVQSrWnf1fT7lQpRZj2hzpQ6DTynbj%211744414170%211333394768412&attempt=0&showCustomCollateral=false&RELEVANCE=true&fromTrng=false&showAllCategories=false&fromMobile=false&isResult=false&isFromFlex=false&isTree=false&pageSize=25&fromASP=false&isAdvanceSearch=false&getTree=false&fromPSP=false&lastQueryText=p1020rdb&iteration=1&assetLocked=fa Apr 02 19:34:14 wow Apr 02 19:34:16 can you see that link? Apr 02 19:34:20 there is a $500 board Apr 02 19:34:21 MPC8315E-RDB wasn't that expensive... Apr 02 19:34:23 p1020rdb-pc Apr 02 19:35:23 bluelightning it was $1500 when we ordered the first couple of systems Apr 02 19:35:29 ($1500 each) Apr 02 19:35:34 that included shipping/tax/etc Apr 02 19:36:04 well, when I bought one here in the UK about a year ago it wasn't anywhere near that Apr 02 19:36:07 msm, but can you actually buy the board? thats the problem.. Apr 02 19:36:36 we saw some cheaper systems, but the only way to get them was right from freescale.. we needed smething we could get from a third party Apr 02 19:36:46 (availability may have changed since then as well that was 2 years ago) Apr 02 19:37:04 ah now I remember Apr 02 19:37:05 bluelightning price may have come down then.. I remember being shocked that $1500 each was the cheapest we could find a reference PPC system.. Apr 02 19:37:14 I had real trouble ordering the MPC8315E-RDB Apr 02 19:37:31 once I was able to establish that MPC8315E-RDBA was the same thing I had no trouble Apr 02 19:37:32 the MIPS was $200, ARM was cheaper and the Intel boards we more or less "free" Apr 02 19:37:39 ahh Apr 02 19:37:41 I got it through Farnell IIRC Apr 02 19:37:49 (element14) Apr 02 19:37:50 cool.. Apr 02 19:38:55 fray: yes you can buy it Apr 02 19:39:05 fray: though ive never done it - you can buy direct from freescale even Apr 02 19:39:33 fray: actually ONLY from freesacle the distributors don't have it in stock Apr 02 19:39:46 fray: im going through the hoops now to see how far I can get Apr 02 19:39:49 msm: fray: buying eval board from freescale works fine Apr 02 19:40:03 using their website Apr 02 19:41:28 that P1020RDB-PC has quite a few features too Apr 02 19:41:47 pidge: where is the best place to look for a license summary? Apr 02 19:42:40 msm: As in a manifest? Apr 02 19:42:53 msm: or a summary on all the license-foo Apr 02 19:43:20 summary ;) Apr 02 19:43:27 for the layman (if it exists) Apr 02 19:43:32 i think he wants to know what capabilities exist as a whole in the system for licensing and compliance Apr 02 19:43:39 concerning license : any idea if this patch is right ? http://patches.openembedded.org/patch/24943/ Apr 02 19:44:05 kergoth: yes Apr 02 19:44:28 msm: There isn't one yet. I was hoping the archiver class would be pulled in first. Puts it on the todo to write a license quickstart. Apr 02 19:44:51 pidge: ok thanks Apr 02 19:45:41 ericben: Looking Apr 02 19:46:06 welcome back all, we've just restarted at the BSP Summit with Denys presenting Apr 02 19:46:07 msn: isn't what you are looking for the license.manifest in deploy/licenses/your-image/ ? Apr 02 19:46:27 ericben: looking Apr 02 19:47:21 ericben: well that's the end result Apr 02 19:47:33 ericben: i want something say why this should be used / is valid Apr 02 19:49:45 msm/bluelightning - thanks for pointing out p1020rdb-pc and mpc8315e-rdba - both looks affordable and seem to be able to boot w/o a JTAG/ICE debugger. Apr 02 19:49:53 Yocto Project BSP Summit: phone 800-547-3011 conf# 101, webex at https://mentor.webex.com/mentor/j.php?J=758201571 Apr 02 19:50:29 msm: I don't understand exactly what you mean Apr 02 19:51:29 autif: def. go with the p1020rdb-pc Apr 02 19:51:38 autif: it's much more maintained by Freescale Apr 02 19:51:42 and newer Apr 02 19:51:54 ericben: I don't think this is quite right. I think the blacklist needs to be considered as stronger. if *any* blacklisted licenses are in the list, then it should be excluded, even if one of its licenses are included Apr 02 19:52:09 e.g. you don't want to match when LICENSE = "GPLv2 & CLOSED" or somesuch Apr 02 19:52:10 I notice that it is supported by meta-fsl-ppc too Apr 02 19:53:13 so i think we want to say "if not excluded and included: return True... else: return False. so if there are no explicit blacklisted items, and if any of the remaining items are included, then we include it. so an item neither in the blacklist nor the whitelist will not prevent a LICENSE that includes one whitelisted license from being included Apr 02 19:53:16 kergoth: OK, but in the present case, BSD-4 is not in blacklist but in the end busybox gets rejected. So I think if I reverse the final test this will work Apr 02 19:53:24 if you see what i mean. i think that meets your needs without weakening the strenght of the blacklist Apr 02 19:53:27 right Apr 02 19:53:40 ok thansk, I'm going to send a v2 Apr 02 19:53:49 np, thanks for looking at this, appreciate it Apr 02 19:54:12 can be hard to consider all cases for something like this, should have done alarge set of unit tests :) Apr 02 19:54:30 kergoth: in phase of releasing a product for a customeer so we are at the license compliance stage ;-) Apr 02 19:54:38 ericben: I haven't seen this behavior you describe in the patch. if so, yeah, then this fixes it. Apr 02 19:55:06 pidge: you can test it with busybox, it shows the problem (at least here) Apr 02 19:55:11 * pidge jumps for joy hearing release and license compliance. Apr 02 19:55:21 the problem case is when there are no blacklisted licenses, there is at least one whitelisted license, and there are licenses not covered by either Apr 02 19:55:22 ericben: doing just that :). Apr 02 19:55:24 afaict Apr 02 19:55:57 * pidge kicks off a build and then goes to grab lunch. Apr 02 19:56:24 koen made a good point in the sstate reuse thread, that we need a copyleft_complaince/source_archiver type thing but for population of public sstate mirrors Apr 02 19:56:37 so shared state archives for non-open recipes don't get populated Apr 02 19:56:48 ya.. I'd not thought of that before his post Apr 02 19:58:51 okay, this is an odd one Apr 02 19:58:52 ./arm-mgc-linux-gnueabi-libtool --tag=CC --mode=link arm-none-linux-gnueabi-gcc -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -mno-unaligned-access --sysroot=/var/jenkins/workspace/sb_mel5/buildhost/sb-centos5/machine/beagleboard/build_beagleboard_release/sysroots/beagleboard -isystem/var/jenkins/workspace/sb_mel5/buildhost/sb-centos5/machine/beagleboard/Sourcery_G++/arm-mgc-linux-gnueabi/ Apr 02 19:58:59 make[2]: execvp: ./arm-mgc-linux-gnueabi-libtool: Text file busy Apr 02 19:59:01 make[2]: *** [libltdl/libltdl.la] Error 127 Apr 02 19:59:02 gah, i didn't realize those lines were so long Apr 02 19:59:04 sorry about that Apr 02 19:59:23 usually those errors are with writing that file while its' being used, but there are previous exec's of that libtool in this exact same log Apr 02 19:59:26 means something was writing out arm-mgc-linux-gnueabi-libtool, while something esle was try to execute it Apr 02 19:59:28 * kergoth sratches head Apr 02 19:59:30 * kergoth nods Apr 02 19:59:45 it's just strange that it would be written in the middle of the do_compile, seemingly after other execs of it Apr 02 19:59:48 I've seen that before when there are races in makefiles generating local libtool archives Apr 02 20:00:09 maybe i'll punt and PARALLEL_MAKE = "" for now Apr 02 20:00:16 heh Apr 02 20:09:18 msm - 12 − 14 week lead time everywhere for p1020rdb-pc - did that just happen after you mentioned it here? digikey, mouser, avnet - all sold out - they are our pre-approved source for hardware Apr 02 20:09:43 autif: i doubt it Apr 02 20:10:07 autif: i wonder if those guys don't keep stock on handle - and just request one to be built upon order Apr 02 20:12:00 12-14 is a standard freescale lead time :-( Apr 02 20:12:06 often Apr 02 20:12:48 at least for small customers like us **** BEGIN LOGGING AT Mon Apr 02 20:24:03 2012 Apr 02 20:38:34 FYI -- noticed there was an upstream prelinker update.. I've synced teh cross-prelinker and upstream prelinker Apr 02 20:38:48 * src/dwarf2.c (adjust_attributes): For DWARF4+ treat Apr 02 20:38:48 DW_AT_data_member_location with DW_FORM_data[48] as Apr 02 20:38:48 large constant instead of loclistptr. Apr 02 20:53:05 hmmm well we dont use dwarf4 yet but still nice to have Apr 02 21:42:09 kergoth: re sstate with closed. I have an AB bug open that would be solved by something to ensure closed source code doesn't make it into the public sstate mirror FWIW Apr 02 21:48:09 ah **** ENDING LOGGING AT Tue Apr 03 02:59:58 2012 **** BEGIN LOGGING AT Tue Apr 03 02:59:58 2012 Apr 03 08:33:15 good morning Apr 03 09:13:13 Cheers! Apr 03 09:16:14 After a fresh Ubuntu install me i get these warnings: Apr 03 09:16:15 WARNING: GPL-2.0 for udev could not be copied for some reason. It may not exist. WARN for now. Apr 03 09:16:25 And for other packages as well. Apr 03 09:16:57 The problem comes from ret = bb.copyfile(os.path.join(license_source, spdx_generic), os.path.join(os.path.join(d.getVar('LICSSTATEDIR', True), pn), "generic_" + license_type)) Apr 03 09:19:22 The files are copied correctly but the copyfile always returns 0. So this could be a python related problem or so. Apr 03 09:20:50 So my proposal is to use "if not os.path.isfile(os.path.join(os.path.join(d.getVar('LICSSTATEDIR', True), pn), "generic_" + license_type)):" to check if copyfile succeeded. Apr 03 09:23:14 Or another way is to try / except. Apr 03 10:18:59 It seems like try / except doesn't trow an exception is src is not there. Apr 03 10:19:21 So So this would be better "if not os.path.isfile(os.path.join(os.path.join(d.getVar('LICSSTATEDIR', True), pn), "generic_" + license_type)): Apr 03 11:08:56 hello all Apr 03 12:15:36 hi ignus Apr 03 12:15:54 bluelightning: hey - hows it going? Apr 03 12:16:01 ignus: not too bad, and you? Apr 03 12:16:18 great yeah, busy... Apr 03 12:16:22 fighting with udev Apr 03 12:16:42 ignus: did you get past the uclibc issue? Apr 03 12:17:21 i had to leave it and work on this udev thing as well as CI with buildbot Apr 03 12:17:37 ah ok Apr 03 12:17:44 i get the impression that it might stop being an issue when we upgrade to yocto 1.2, what do you think? Apr 03 12:18:08 yes, the required function should be there with the newer uclibc in 1.2 Apr 03 12:19:49 bluelightning: so im not sure if its worth putting in the effort to fix it right now. thank you for looking into it though, much appreciated! Apr 03 12:20:03 no worries :) Apr 03 12:20:21 ls Apr 03 12:20:26 oops. Apr 03 12:22:07 bluelightning: any idea what might cause udev not to be able to create a socket? Apr 03 12:22:15 "1333455287.638996 [50] main: error initializing netlink socket " Apr 03 12:24:09 ignus: are the appropriate netlink options enabled in the kernel? Apr 03 12:26:40 im looking now but i cant find "netlink" anywhere Apr 03 12:26:58 any idea where it might be? Apr 03 12:28:12 hmm, actually I'm not sure if there is an option in current kernels, grepping through the config here Apr 03 12:29:20 ignus: I guess I would suggest checking the README in the udev sources which has a list of the required kernel options Apr 03 12:30:00 yeah - not a bad idea Apr 03 12:33:26 ill see if i can get some help on #udev first :D Apr 03 12:36:08 I just got: | configure.in:496: warning: macro `AM_GNU_GETTEXT_VERSION' not found in library Apr 03 12:36:11 | configure.in:497: warning: macro `AM_GNU_GETTEXT' not found in library Apr 03 12:36:13 in shadow-native Apr 03 12:36:31 so it seems last changes broken it instead of fixing it Apr 03 12:36:40 RP__: any clue about it? Apr 03 12:37:19 otavio_: thats with the latest master? Apr 03 12:37:47 The changes in master were meant to fix that Apr 03 12:38:06 yes Apr 03 12:38:14 just did a combo-update Apr 03 12:38:40 i am at 5bcb68a232539cf11a30e3b812b2fbd6d7d76e35 Apr 03 12:38:42 in oe-core Apr 03 12:39:13 otavio_: the theory is that gettext-minimal-native should install the gettext aclocal directory and gettext-native should not Apr 03 12:39:27 otavio: so see which of the two put aclocal files in the sysroot? Apr 03 12:39:45 how i can check it? Apr 03 12:39:58 i'd like to avoid making it unreproducable Apr 03 12:41:01 otavio: well, presumably it just built gettext-minimal-native. If you go into that WORKDIR and look in image/, are there aclocal files there? Apr 03 12:42:06 RP__: yes Apr 03 12:42:25 otavio: does gettext-native have the same files or not? Apr 03 12:42:37 (devel)~/hacking/ossystems/embedded-linux% ls tmp-eglibc-eglibc/work/x86_64-linux/gettext-minimal-native-0.18.1.1-r3/image/home/otavio/hacking/ossystems/embedded-linux/tmp-eglibc-eglibc/sysroots/x86_64-linux/usr/share/aclocal/ | wc -l Apr 03 12:42:41 7 Apr 03 12:43:19 otavio: there should be 31 files in there Apr 03 12:43:38 RP__: gettext-native does not Apr 03 12:43:58 otavio: ok, the problem is you seem to be missing files. Look at the tarball in the gettext-minimal-native recipe Apr 03 12:44:44 otavio: did you run out of space recently in the build directory? Apr 03 12:45:28 RP__: i did not Apr 03 12:45:29 Filesystem Size Used Avail Use% Mounted on Apr 03 12:45:29 /dev/disk/by-uuid/5c1bab1a-0bc9-4afc-9b09-ac55ceb79c10 1.4T 625G 681G 48% /home Apr 03 12:45:35 681G free Apr 03 12:45:56 otavio: I don't understand how you can be missing some of the m4 files. See the recipe and you'll see what I mean Apr 03 12:45:58 RP__: yes, seems the tgz has 31 files Apr 03 12:46:31 otavio: I'd check WORKDIR and see how many got extracted, also check the workdir logs Apr 03 12:46:40 see if anything jumps out Apr 03 12:47:20 in WORKDIR, 31 Apr 03 12:47:43 maybe commandline size? Apr 03 12:48:26 * otavio rebuilds it to confirm it is reproducable Apr 03 12:49:47 good; it is reproducable Apr 03 12:49:51 * otavio will fix it Apr 03 12:51:00 * otavio builds it again Apr 03 12:56:22 i am stupid heh Apr 03 12:56:28 i need to call: ls -1 Apr 03 12:56:37 otherwise it won't be accurate hehe Apr 03 12:56:46 RP__: it was copying it fine Apr 03 12:57:13 otavio: ah :) Apr 03 12:57:48 otavio: and those files make it into the main sysroot? Apr 03 12:58:04 otavio: If things aren't finding them from there I'm puzzled :/ Apr 03 12:58:26 RP__: it happened in my daily builder Apr 03 12:58:47 RP__: after i did a cleansstate and built it again it builds shadow-native Apr 03 12:58:55 but i fail to see why autobuilding failed Apr 03 12:59:23 otavio: which recipe did you cleansstate on? Apr 03 13:00:13 the gettext-minimal-native, only Apr 03 13:14:17 does anyone know where udevd should be launched from on boot? Apr 03 13:14:36 ignus: it has a proper init script for it Apr 03 13:16:20 otavio: I'm puzzled. We bumped the PR for gettext-minimal-native so it should have rebuilt and it should have had those files in it even before the changes anyway Apr 03 13:16:28 otavio: ah, I might understand Apr 03 13:16:52 RP__: really? You are my hero! :-) Apr 03 13:16:54 otavio: I bet when your builder removed gettext-native it removed the files from the sysroot thinking it still owned them Apr 03 13:16:54 lol Apr 03 13:17:28 well but in this case the gettext-minimal-native would put they back Apr 03 13:18:05 otavio: imagine it builds gettext-minimal-native first which puts them there, then starts to build gettext-native which wasn't uninstalled from the sysroot yet Apr 03 13:19:03 oh right Apr 03 13:19:20 otavio: do you know what that init script is called? Apr 03 13:19:31 the only way to fix this is to have a sysroot by build recipe, no? Apr 03 13:19:38 udev? Apr 03 13:19:39 :) Apr 03 13:20:09 otavio: the fix is to clean gettext-native and gettext-minimal-native Apr 03 13:20:17 otavio: the system will then figure it out Apr 03 13:20:33 otavio: I don't think we can automate it though :( Apr 03 13:20:40 RP__: well but for an autobuilder this is a no-go Apr 03 13:21:40 otavio: depends on the autobuilder setup too. The yocto ab's won't hit this as they start from a new tmp using sstate Apr 03 13:21:56 yes Apr 03 13:22:04 RP__: but if you reuse a tmp it fails Apr 03 13:22:09 RP__: mine re-uses it Apr 03 13:22:18 RP__: but fine. nice we found it Apr 03 13:22:25 otavio: right. As I said, I have no idea how to automate that fix Apr 03 13:25:07 RP__: well, if bitbake raised the removal of all packages to be rebuild, before doing the build, it would work Apr 03 13:25:16 RP__: it would emulate a new tmp Apr 03 13:25:50 otavio: bitbake does not contain such a mechanism though Apr 03 13:26:06 otavio: I understand there are ways of fixing it but nothing I can easily put in the repository right now :( Apr 03 13:26:25 i see Apr 03 13:26:37 RP__: no problem; this is good to have in radar Apr 03 13:26:53 RP__: is any plan to put sysroot per build package? Apr 03 13:26:53 otavio: right Apr 03 13:27:06 otavio: there is a feature request for it in the bugzilla Apr 03 13:27:11 oe-lite has something in this direction iirc Apr 03 13:27:43 oe-lite has some interesting things, its just a shame compatibility was broken to the extend we can't reuse any of it :( Apr 03 13:27:43 and it would allow for reproducable builds (without mangling configure options) Apr 03 13:28:14 RP__: indeed Apr 03 13:56:57 python hashlib doesn't seem to work for me. I've tried with both openssl and dropbear, thinking that was the problem, but no luck. http://pastebin.com/w690DmHf Apr 03 14:12:34 chrisw957: you have libcrypto installed right? Apr 03 14:45:56 bluelightning: that would be the libgcrypt recipe? Apr 03 14:46:16 chrisw957: no, libcrypto is provided by the openssl recipe Apr 03 14:46:32 may actually be libssl according to the packaging on my ubuntu machine here Apr 03 14:46:48 target doesn't seem to have libcrypto.* in /usr/lib, so I guess not. Apr 03 14:54:03 actually, libcrypto is there, just in /lib instead of /usr/lib Apr 03 14:56:21 I have CONFIG_DEBUG_KERNEL=y and Kernel command line: initrd=initrd LABEL=boot root=/dev/ram0 debug BOOT_IMAGE=vmlinuz, however, I dont think that I am seeing the messages from dev_vdbg() functions - do I need to do something more? Apr 03 15:23:09 libcrypto is built by openssl recipe. Apr 03 15:23:36 I don't see a libcrypto-dev, not sure if that would help me or not. Apr 03 15:24:19 If I install the openssl-dev ipkg, I get unsatisfied recommendation for libcrypto-dev. Apr 03 15:24:44 bluelightning: Has there been a patch for increasing the size of the self-hosted-image? I am still catching up. Apr 03 15:24:58 sgw: no, not that I've seen Apr 03 15:25:35 bluelightning: thanks, have you started to dig into the qemu issue? Apr 03 15:26:07 sgw: I haven't, no - would you like me to? Apr 03 15:26:59 AT&T just died here.. Apr 03 15:27:11 I'll rejoin if I can.. maybe it was sgw's joke Apr 03 15:27:31 3G is still up, but edge is dead.. and my phone is still edge.. :P Apr 03 15:28:13 ugh.. edge died.. nice Apr 03 15:28:37 bluelightning: I was just starting a build, depends how far into it you are already Apr 03 15:29:28 ...and it's back.. call still on? Apr 03 15:29:35 fray: yep Apr 03 15:30:05 sgw: I was looking into other failures today; I can run a build overnight with the size up to 40g though Apr 03 15:30:07 I'm back Apr 03 15:30:11 I'll probably do that anyway Apr 03 15:30:34 bluelightning: Ok, I will make sure to sync up with you at the end of my day. Apr 03 15:30:53 bluelightning: I will build a minimal so it can go faster. Apr 03 15:31:52 sgw: btw I did wonder if we should adjust the reserved space for the ext3 image - right now about 2gb is reserved for root which is not really needed Apr 03 15:32:57 bluelightning: are you referring to the IMAGE_ROOTFS_EXTRA_SPACE in self-hosted-image or someplace else? Apr 03 15:34:09 sgw: what I mean is, by default when you create an ext3 fs it reserves 5% of the space for root only Apr 03 15:36:56 bluelightning: your talking about the IMAGE_OVERHEAD_FACTOR which is 1.3? Apr 03 15:37:07 sgw: no, that's separate again Apr 03 15:37:14 man mke2fs Apr 03 15:37:20 see the -m option Apr 03 15:37:29 mute? Apr 03 15:38:05 can be adjusted with tune2fs Apr 03 15:38:47 it just means we currently cannot use 5% of the space we allocate as the builder user Apr 03 15:38:49 bluelightning: Ah, now I know what your talking about, sorry for being dense! Apr 03 15:41:25 bluelightning: so for the build app we could reduce this, but I would not reduce it in the general case. Apr 03 15:41:51 sgw: I guess it's just a case of adding a variable for it... I'll prepare something Apr 03 15:42:04 bluelightning: Sounds like a plan Apr 03 15:50:10 Bug 2234 updated.. Apr 03 16:25:24 arg.. I'm having problem w/a multilib setup Apr 03 16:25:54 I have the following in my local.conf: Apr 03 16:25:54 require conf/multilib.conf Apr 03 16:25:54 MULTILIBS = "multilib:lib32" Apr 03 16:25:54 DEFAULTTUNE_virtclass-multilib-lib32 = "x86" Apr 03 16:26:09 when I try to bitbake eglibc-lib32 I get "nothing provides eglibc-lib32" Apr 03 16:26:12 what am I doing wrong? Apr 03 16:30:04 morning Apr 03 16:30:09 On my hashlib python problem, if I examine python, it doesn't seem to show libcrypto as I would expect: http://pastebin.com/MZcEEveH Apr 03 16:30:19 (examine with ldd) Apr 03 16:30:54 Could this be a build problem with python then? Apr 03 16:31:28 I would expect python to load it only if it's needed Apr 03 16:31:58 on my CentOS 5.2 system I get a very similar ldd output Apr 03 16:33:14 Humm, on my ubuntu, it lists libcrypto along with the others. Could it be it is listed if openssl is detected at python build time? Apr 03 16:34:52 My guess is that on my CentOS system at least, it's loaded dynamically if the crypto (python) module is used Apr 03 16:37:15 seems so, btw no issues on Gentoo: Apr 03 16:37:15 [ebuild R ] dev-lang/python-3.2.2 USE="gdbm ncurses readline ssl threads (wide-unicode) xml -build -doc -examples -ipv6 -sqlite -tk -wininst" 0 kB Apr 03 16:38:43 wait, what is that linux-gate.so.1 => (0xb7843000) Apr 03 16:38:43 in ldd output? Apr 03 16:39:24 there is some preloader stuff.. Apr 03 16:39:42 on CentOS/Fedora/RedHat there is a linux-vdso.so.1, on others it's linux-gate.. etc.. Apr 03 16:39:48 ah, ok, syscalls etc Apr 03 16:39:50 it's a small library that helps optimize things Apr 03 16:40:02 the libraries are loaded dynamically to preserve compatibility with other machines.. Apr 03 16:47:42 the vdso is actually mapped by the kernel Apr 03 16:48:06 see Documentation/API/stable/vdso Apr 03 16:48:50 seems mostly x86 stuff Apr 03 16:49:49 (I'm testing on 32bit host) Apr 03 16:50:44 jawilson, welcome Apr 03 16:50:56 Crofton, hola Apr 03 16:52:58 ok, now I know why davest, Dirk and RP are sitting in the front row Apr 03 17:03:05 arg Apr 03 17:03:16 he said "Yocto" without the "Project" Apr 03 17:03:18 found a nice bug.. Apr 03 17:03:27 -march=armv5e is completely valid in gcc.. Apr 03 17:03:32 but binutils goes "huh?!" Apr 03 17:03:39 there is no armv5e defined in binutils Apr 03 17:03:51 it defines armv5te and armv5 Apr 03 19:42:32 i'm using the edison branch in git, and getting a compile error in syslinux Apr 03 19:42:44 | In file included from ../libinstaller/linuxioctl.h:22:0, Apr 03 19:42:44 | from ../libinstaller/syslxcom.c:33: Apr 03 19:42:44 | /usr/include/linux/ext2_fs.h:178:41: error: unknown type name 'umode_t' Apr 03 19:43:00 (on fedora 16, so kernel 3.3) Apr 03 19:43:24 my first thought was kernel churn, but shouldn't syslinux be using the kernel headers built by yocto? Apr 03 21:15:27 something about syslinux under discussion? (no history to readback) Apr 03 21:15:36 all sorted or still some open questions Apr 03 21:16:17 rburton: pasted the following: Apr 03 21:16:17 (12:42:32) rburton: i'm using the edison branch in git, and getting a compile error in syslinux Apr 03 21:16:17 (12:42:44) rburton: | In file included from ../libinstaller/linuxioctl.h:22:0, Apr 03 21:16:17 (12:42:44) rburton: | from ../libinstaller/syslxcom.c:33: Apr 03 21:16:17 (12:42:44) rburton: | /usr/include/linux/ext2_fs.h:178:41: error: unknown type name 'umode_t' Apr 03 21:16:45 hi dvhart Apr 03 21:16:49 rburton, interesting - which machine are you building for? Apr 03 21:16:50 just found the cause Apr 03 21:16:56 http://comments.gmane.org/gmane.comp.file-systems.ext4/31668 Apr 03 21:16:57 your end our mine? Apr 03 21:17:04 in particular, comment #3 Apr 03 21:17:23 (this is the edison branch, so you may have already fixed this in master) Apr 03 21:18:08 building for atom-pc. Apr 03 21:18:13 hrm Apr 03 21:18:26 so was this syslinux-native? Apr 03 21:19:31 rburton, either way, this needs to be fixed in an edison point release as well as master if it isn't already. WOuld you open a bug, add the details of the failure, and ensure I'm on CC? Apr 03 21:19:36 erm Apr 03 21:19:36 rburton, I'll have a look. Apr 03 21:19:55 yes, native. sorry, didn't notice that Apr 03 21:20:06 that would be why it was using the system headers. :) Apr 03 21:20:12 ;-) Apr 03 21:20:15 I'm very surprised we haven't seen this before :-/ Apr 03 21:20:35 i do like to break things Apr 03 21:20:48 I would imagine that requiring the system kernel headers is not something we want to do? Apr 03 21:20:51 sounds like the fix is to pull in whatever fix hpa puts into syslinux Apr 03 21:21:05 yeah Apr 03 21:21:12 incandescant, there are situations where that might be required Apr 03 21:21:42 although they should be rare Apr 03 21:21:57 dvhart: hmm, OK - I know nothing, but I am surprised by that. Apr 03 21:21:58 we don't build linux-libc-headers for the host as far as I'm aware Apr 03 21:22:14 and while we could, the ABI isn't perfectly stable Apr 03 21:22:20 I'm sure I've written patches for that purpose in the past Apr 03 21:22:26 hrm Apr 03 21:22:30 or... maybe not Apr 03 21:22:37 erm, so where would this be filed? Apr 03 21:22:41 no, that instance was target kernel Apr 03 21:22:55 bugzilla.yoctoproject.org build system / general Apr 03 21:22:58 thanks Apr 03 21:23:09 incandescant, beat me to it :) Apr 03 21:23:19 bug buckets are awesome Apr 03 21:23:23 :) Apr 03 21:23:28 and what version is edison? :) Apr 03 21:24:53 1.1.1 Apr 03 21:24:55 1.1 Apr 03 21:25:02 erm, yeah, what incandescant said Apr 03 21:26:10 no fix in syslinux yet Apr 03 21:26:27 rburton, which host/kernel are you building on? Apr 03 21:26:30 you've got mail, but https://bugzilla.yoctoproject.org/show_bug.cgi?id=2236 Apr 03 21:26:39 dvhart: amd64, fedora 16, kernel 3.3 Apr 03 21:26:46 its the kernel 3.3 bit that makes it break Apr 03 21:26:48 perfect Apr 03 21:26:49 thanks Apr 03 21:27:01 fedora 16 with updates as of a week or so ago Apr 03 21:27:03 well specifically it's the kernel headers Apr 03 21:27:15 yeah Apr 03 21:27:28 i'll leave this in your capable hands and go back to the sofa, where my beer is waiting Apr 03 21:27:39 g'night all Apr 03 21:29:04 night rburton Apr 03 21:29:25 night :) Apr 03 21:31:12 hi dvhart Apr 03 21:31:55 hi ant__ Apr 03 21:37:11 dvhart: have you ever seen this ? http://paste.debian.net/161947/ Apr 03 21:37:46 uh.... no Apr 03 21:37:54 is that just a clone? Apr 03 21:38:08 it's surely my bad linux-yocto-tiny.bbappend Apr 03 21:38:17 WARNING: Can't find any BSP hardware or required configuration fragments. Apr 03 21:38:25 that is expected for now Apr 03 21:38:43 before refactoring it was poosible to add the defconfig and the patches Apr 03 21:39:43 now I get a kernel for CONFIG_ARCH_VERSATILE=y Apr 03 21:39:46 heh Apr 03 21:40:15 There really isn't any value in using linux-yocto-tiny if you replace the config using a defconfig Apr 03 21:40:19 BUT, it should not fail Apr 03 21:40:54 is that odd "grep: Memory exhausted" failure repeatable? Apr 03 21:40:55 the big value from my POV is that I gain automatic upgrades (see we have 3.2.14 today...) Apr 03 21:41:07 yes, I've seen that yesterday too Apr 03 21:41:23 Sure, but you get that with linux-yocto_3.2.bb Apr 03 21:41:42 seems during loop in do_patch () in kernel-yocto.bbclass Apr 03 21:41:48 linux-yocto-tiny doesn't include linux-tools.inc, so that's a value I guess. Apr 03 21:41:54 hrm Apr 03 21:42:14 So... does the build fail? Apr 03 21:42:29 or does it "succeed" with an incorrect .config? Apr 03 21:42:52 no, kernel is built, but using another defconfig, not mine :) Apr 03 21:43:09 ok, and your defconfig you add as: Apr 03 21:43:13 SRC_URI += "defconfig" Apr 03 21:43:19 and you place that in your filespath? Apr 03 21:43:40 SRC_URI += "file://defconfig" rather Apr 03 21:44:08 yes, exactly like I did when all was in 'recipe-space' Apr 03 21:44:41 do me a favor Apr 03 21:44:41 http://paste.debian.net/161951/ Apr 03 21:44:56 add the following to your recipe: Apr 03 21:45:00 finally I did try to play with KMACHINE Apr 03 21:45:40 KCONFIG_MODE = "--alldefconfig" Apr 03 21:45:52 and see if anything changes Apr 03 21:49:03 well, ERROR: Function failed: do_kernel_configme Apr 03 21:49:23 hrm Apr 03 21:49:26 crap Apr 03 21:49:27 mkdir: unrecognized option '--alldefconfig' Apr 03 21:49:35 weird Apr 03 21:49:40 ok, set it to "" Apr 03 21:49:57 sure Apr 03 21:52:03 though, the code and comments in kernel-yocto.bbclass refer to --allnoconfig Apr 03 21:53:22 building with "" now Apr 03 21:53:40 grep: Memory exhausted Apr 03 21:53:45 )fwiw Apr 03 21:54:01 how much memory are you working with btw? Apr 03 21:54:09 heh, 8GB Apr 03 21:54:19 ok, just checking :) Apr 03 21:56:52 but what about the .config now? Apr 03 21:57:09 well, versatile Apr 03 21:57:14 System.map 583/1225K 0% Apr 03 21:57:14 0000000c A cpu_arm926_suspend_size Apr 03 21:57:53 and what are you trying to get? Apr 03 21:58:16 so, the defconfig I pass from SRC_URI is in WORKDIR together with patch and logo Apr 03 21:58:48 right, but the .config in the linux-*build/.config != defconfig ? Apr 03 21:58:56 and gen_._desc.scc is generated and contains that single patch Apr 03 21:59:13 RP__: TERM is in the hashbase whitelist, yet I just had a recipe's sstate cache not be used to due TERM being added to the dependencies of a shell task. it seems like it might not be caring about the value, but *is* caring about the existance of the variable, even for whitelisted ones. imo this should not be the case Apr 03 21:59:18 investigating further Apr 03 21:59:43 s/to due/due to/ Apr 03 22:00:32 dvhart: another device, an armv5te Apr 03 22:00:53 OK, sounds like we need a bug opened Apr 03 22:00:58 would you mind opening it? Apr 03 22:01:02 I'll have a look locally Apr 03 22:01:06 this needs fixing asap Apr 03 22:03:27 I can just say that linux-yocto-tiny_3.0.bbappend did somehow accept that Apr 03 22:05:44 ant__ got it Apr 03 22:05:52 zeddii, ^ Apr 03 22:05:56 that was fast! Apr 03 22:05:57 zeddii, just a heads up Apr 03 22:06:17 ant__, oh not, not fixed, I just "get" what you're saying :-) Apr 03 22:06:41 ;) Apr 03 22:17:34 damnit, this isn't making any sense Apr 03 22:43:16 yeah, this looks like it's a bug in siggen.py, think I have a fix Apr 03 22:43:47 * kergoth sighs Apr 03 22:53:58 hey kergoth Apr 03 22:54:42 dvhart: well, my bad, I don't have yocto-kernel-tools on this build :/ Apr 03 22:55:11 but it should pull them automatically Apr 03 22:55:21 via the yocto-kernel inc or whatever Apr 03 22:55:43 hm.. where are createme and patchme then ? Apr 03 23:04:31 dvhart: ok, thx, I see them in sysroot (kern-tools-native:do_populate_sysroot) Apr 03 23:53:09 hello is anyone there? Apr 03 23:56:31 I have a goofy thing going on here. I've been trying to get remote debugging working on my sugarbay target. The tcf-agent is running on my target. I've installed the ADT toos from a tarball (...i686-x86-64). I can transfer my hellow world binary to /tmp on the target with RSE in Ecplise - it's pretty slick actually. However, for the life of me I can't get the binary to execute on the target. Apr 03 23:58:22 I use "root@sugarbay:/tmp#try8" and get "-sh: try8: command not found" - that's fine I haven't added /tmp to my $PATH Apr 03 23:58:24 jzhang, looks like one for you :) Apr 03 23:59:40 Andy44: is that how Eclipse tries to run it? or you're calling it from a terminal? Apr 03 23:59:46 I use "root@sugarbay:/tmp#./try8" and get "-sh: ./try8: No such file or directory Apr 04 00:00:30 well right now I'm trying to run directly on my target - I have a monitor and keyboard connected Apr 04 00:01:14 and the architecture of the binary matches the host? Apr 04 00:01:16 finall, I use "bash try8" and get "try8: try8: cannot execute binary file. Apr 04 00:01:39 yeah I've been burned by that before however this time i'm pretty sure it's correct Apr 04 00:02:49 hmm, I'm out then Apr 04 00:02:54 interestingly, on my Ubuntu 11.10 build VM I can call "./try8" and it runs Apr 04 00:02:56 Andy44, you can confirm with "file binary" Apr 04 00:03:13 what's that? let me look it up hold on Apr 04 00:03:41 $ file /path/to/target/binary Apr 04 00:03:59 for example: Apr 04 00:04:00 $ file /bin/bash Apr 04 00:04:01 /bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, stripped Apr 04 00:04:33 the "file" command is not in my image - I'm using a sugarbay core-image-minimal Apr 04 00:06:35 are my tools correct? I downloaded poky-eglibc-i686-x86_64-toolchain-gmae-1.1.tar.bz2.tar.bz2.tar.bz2 and built against that. my build env is 32bit ubuntu 11.10 and it builds fine. the target is a core i5 and I've built the image with MACHINE=sugarbay Apr 04 00:08:09 you can run that from your host to wherever that file is in the sysroots Apr 04 00:08:24 calling "uname -a" on the target gives me "Linux sugarbay 3.0.4-yocto-standard+ #1 SMP PREEMPT Fri Mar 23 09:20:10 PDT 2012 x86-64 GNU/Linux Apr 04 00:09:45 it's not in my sysroot on the target's files located on my build env because I transfered it over to the target via tcf-agent in ecplise Apr 04 00:10:42 ahhhhh Apr 04 00:11:46 I called "file try8" on my build machine and it gave me "ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped Apr 04 00:11:47 ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped" Apr 04 00:12:19 sooo that means that I'm building a 32 bit binary and it's just not going to work... Apr 04 00:12:22 right? Apr 04 00:24:22 if that's the case - the better question is why do my tools spit out 32bit binarys? - i'm using poky-eglibc-i686-x86_64-toolchain-gmae-1.1.tar.bz2.tar.bz2.tar.bz2 from the yocto website - do I need to use a 64bit Ubuntu to build for this target or something? Apr 04 00:25:48 dvhart, Do you have any idea why my tools would be building a 32bit binary? Apr 04 00:27:40 incandescant, I think you were right all along but this doesn't make sense. Why would know why this toolchain - poky-eglibc-i686-x86_64-toolchain-gmae-1.1.tar.bz2.tar.bz2.tar.bz2 - would give me 32bit binarys? Apr 04 00:28:18 you don't need to change your host Apr 04 00:28:42 Andy44, is this try8 your own recipe? Apr 04 00:29:03 no it's the ADT Hellow World template Apr 04 00:29:20 right Apr 04 00:29:29 I'd bring that up with jzhang Apr 04 00:29:41 I'm following the ADT manual and I'm building the hellow world and trying to debug it on my target but I need it to run there first Apr 04 00:29:52 ok no clues though? Apr 04 00:30:03 Is that toolchain the right one? Apr 04 00:30:19 it seems like it should be Apr 04 00:30:39 Andy44, I believe this to be a bug in the Hello World example Apr 04 00:30:47 please send jzhang an email describing the issue Apr 04 00:31:20 ok thanks for your time everyone. how do I get jzhang's email? Apr 04 00:31:35 shouldn't be difficult searching the yocto list :-) Apr 04 00:31:51 haha sorry - thanks again for your time Apr 04 00:32:12 Andy44, also, see pm **** ENDING LOGGING AT Wed Apr 04 02:59:58 2012 **** BEGIN LOGGING AT Wed Apr 04 02:59:59 2012 Apr 04 10:31:55 hello Apr 04 10:32:47 trying to extend the size of the rootfs being used. Apr 04 11:23:44 sophie__: there is IMAGE_ROOTFS_SIZE which is the minimum size or IMAGE_ROOTFS_EXTRA_SPACE which will be added to the total used space Apr 04 11:39:10 hi, anyone to review : http://patches.openembedded.org/patch/25089/ & http://patches.openembedded.org/patch/25087/ ? Apr 04 12:21:09 bluelightning_: I have found the variable IMAGE_ROOTFS_EXTRA_SPACE in meta/conf/bitbake.conf. Where is it best to modify this variable in this file or add it to the local.conf file Apr 04 13:05:19 sophie__: I would recommend setting it in local.conf; alternatively you can create a custom image recipe that sets it Apr 04 15:07:06 rburton, syslinux patch attached to bug 2238, please give it a spin Apr 04 15:07:21 rburton, erm, bug 2236 even Apr 04 15:09:04 hi dvhart Apr 04 15:09:52 hi ant_work - I'm afk for a bit, back after the morning routine Apr 04 16:13:42 ant_work, I'm back - what's up? Apr 04 16:14:52 I plan to dig in the kgit-meta code and see why grep is exhausting memory Apr 04 16:15:20 ok. I'm wrapping up bug 2236, then will be able to look at this as well Apr 04 16:15:27 I'll be focusing on why your defconfig isn't taking Apr 04 16:15:46 what's this ? Apr 04 16:15:46 zeddii, did you see the grep memory exhaustion ant_work posted yesterday? Apr 04 16:15:51 nope. Apr 04 16:15:55 I've been working on 3.4 Apr 04 16:16:02 ah, about that, I'll try the 'brute-force' approach which was presented and nacked on poky ML Apr 04 16:16:03 ant_work, , do you still have the pastebin? Apr 04 16:16:06 y Apr 04 16:16:11 I'd bet it isn't kgit-meta Apr 04 16:16:16 http://paste.debian.net/161947 Apr 04 16:16:24 after [INFO[ ... Apr 04 16:16:55 how can I reproduce it ? I've got a radically changed kgit-meta here, but nothing I can put into 1.2. Apr 04 16:17:03 I'm just following the code from yocto-kernel.bbclass Apr 04 16:17:04 zeddii, so ant_work added a defconfig in a bbappend to the new linux-yocto-tiny and it isn't applying Apr 04 16:17:31 zeddii, or rather, the end result .config isn't the same as the defconfig Apr 04 16:17:33 zeddii: http://paste.debian.net/161951 Apr 04 16:17:34 hmm. defconfigs all apply here. Apr 04 16:17:45 zeddii, even to linux-yocto-tiny? Apr 04 16:17:46 what's the delta in the .config ? Apr 04 16:17:57 dvhart, sure. there's nothing special about linux-yocto-tiny. Apr 04 16:18:17 wondering if the various variables we force in linux-yocto-tiny cause the tools to behave differently Apr 04 16:18:33 it happens to produce a kernel for arm versatile and not for my arm device (poodle) Apr 04 16:19:13 ant_work, can you post an actual diff of the defconfig and the resulting .config ? Apr 04 16:19:23 well, in a few hours Apr 04 16:19:32 ant_work, did you create the defconfig from the actual linux-yocto sources? Apr 04 16:19:34 dvhart, there are big problems with merge_config with multiple configs, it iterates over all the configs, so if you have two defconfigs stacked it takes forever. Apr 04 16:19:46 I just added mine from SRC_URI Apr 04 16:19:47 hrm Apr 04 16:20:21 I have it on my TODO list. it just takes time here, but no memory exhaustion. Apr 04 16:20:23 ant_work, yes, but where did yours come from? Apr 04 16:20:50 I create the config file. it was ok with older recipe (linux-yocto-tiny_3.0) Apr 04 16:21:09 ant_work, ah, that is probably it Apr 04 16:21:22 you can't assume a 3.0 .config will work out of the box with a 3.2 kernel Apr 04 16:21:35 especially with tiny which uses --allnoconfig Apr 04 16:21:38 I mean the *process* was ok Apr 04 16:21:55 the defconfig is up-to-date and even shrunk by savedefconfig Apr 04 16:21:58 ok, so same question, did you generate the defconfig from the linux-yocto sources? Apr 04 16:22:12 no, it's external from vanilla tree Apr 04 16:22:21 which vanilla tree? Apr 04 16:22:30 I mean, in oe-core I build 3.2.12 iirc Apr 04 16:22:35 with one patch Apr 04 16:23:12 (minor patch, keymap) Apr 04 16:23:42 something has changed during the linux-yocto-tiny rework Apr 04 16:23:57 as when it was in recipe-space one could build the kernel Apr 04 16:24:01 ant_work, part of the rework was moving to 3.2, the other part was meta related Apr 04 16:24:13 I see Apr 04 16:24:33 ant_work, please post your recipe, patches, and defconfig Apr 04 16:24:39 I'll see what I can sort out Apr 04 16:26:10 one thing you could try though, do a "bitbake linux-yocto-tiny -c kernel-configme", then copy your defconfig over the .config in the linux-*build work dir. Then run "bitbake linux-yocto-tiny -c menuconfig", check the key CONFIGs and save the settings. Then copy the resulting .config to a defconfig and use that int he recipe Apr 04 16:26:19 I suspect that will resolve your issues Apr 04 16:26:30 although we need to sort out what's up with the grep memory thing Apr 04 16:27:21 that is odd. there's lots of grepping that happens (hence why the bigger changes), but unless the machine is really resource contrained, I've never seen a memory failure in 5 years. Apr 04 16:27:21 see, I'm eager to try the bsp-tools but I prefer to settle with that 'hybrid' kernel with custom defconfig+patches as first step Apr 04 16:28:22 ant_work, try the above and let me know how it goes. Failing that, please post your bits and we'll work on it locally Apr 04 16:28:30 sure Apr 04 16:28:35 zeddii, he has 8GB, so it isn't resource constrained Apr 04 16:28:41 I checked ;-) Apr 04 16:28:47 * ant_work noting all, channel seems lacking log bot Apr 04 16:29:05 ok. so then something must be triggering and infinite loop if it is exhausting memory. Apr 04 16:29:11 ant_work: nslu2-log is here Apr 04 16:29:13 yocti seen logbot Apr 04 16:29:14 dvhart: I have not seen logbot. Apr 04 16:29:24 yocti++ Apr 04 16:29:41 bluelightning: ah, great! I was loking for CIA Apr 04 16:30:02 halstead, yocti is awesome, thanks man! Apr 04 16:30:13 dvhart, Glad to hear. Apr 04 16:30:26 http://logs.nslu2-linux.org/livelogs/yocto.txt and http://logs.nslu2-linux.org/livelogs/yocto/ Apr 04 16:30:45 * dvhart thinks fedora should plan their releases to land at a convenient time for me to upgrade Apr 04 16:30:48 dvhart, I hope I can find time to link yocti into the bug tracking systems and such. Apr 04 16:30:50 like this week for example Apr 04 16:31:11 halstead, that would be my top request, bz integration Apr 04 16:31:18 yocto bug 2236 Apr 04 16:31:28 * bluelightning thinks he should not have upgraded his home machine to ubuntu precise beta - now vmware workstation is broken :/ Apr 04 16:31:47 dvhart: upgrade now, suffer through the stabilisation like a man Apr 04 16:31:54 dvhart: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2236 Apr 04 16:32:00 7 bugs and counting fixed on 3.4-rc1 :) Apr 04 16:32:02 dvhart: syslinux-native fails with linux 3.3 Apr 04 16:32:07 zeddii++ Apr 04 16:32:15 yocti zeddii++ Apr 04 16:32:19 hrm Apr 04 16:32:25 yocti help Apr 04 16:32:25 dvhart: (help [] []) -- This command gives a useful description of what does. is only necessary if the command is in more than one plugin. Apr 04 16:32:39 halstead, karma seems busted Apr 04 16:32:48 or kudos Apr 04 16:33:01 incandescant, hah - no thanks Apr 04 16:33:02 Hrmmm.. Apr 04 16:34:26 karma zeddii Apr 04 16:34:31 * zeddii mumbles that something horrible has happened to mips64 oprofile and hunts for food. Apr 04 16:34:35 yocti, karma zeddii Apr 04 16:34:36 halstead: Karma for "zeddii" has been increased 1 time and decreased 0 times for a total karma of 1. Apr 04 16:35:39 dvhart, It seems yocti only understands ++ and -- when addressed directly. Apr 04 16:36:34 yocti, karma zeddii Apr 04 16:36:34 dvhart: Karma for "zeddii" has been increased 1 time and decreased 0 times for a total karma of 1. Apr 04 16:36:48 yocti, zeddii++ Apr 04 16:36:52 yocti, karma zeddii Apr 04 16:36:52 dvhart: Karma for "zeddii" has been increased 2 times and decreased 0 times for a total karma of 2. Apr 04 16:37:11 a bit overly pedantic methinks Apr 04 16:37:28 but noted, thanks! Apr 04 16:39:14 bbl, bye Apr 04 16:39:58 hob slide up, davest must have been careful to make sure the displayed machine is an atom Apr 04 16:40:25 Crofton, I suspect the exact opposite is the case Apr 04 16:40:40 no machine is atom-pc :) Apr 04 16:41:34 icecream++ Apr 04 16:42:00 yocti, karma most Apr 04 16:42:00 halstead: (karma most [] {increased,decreased,active}) -- Returns the most increased, the most decreased, or the most active (the sum of increased and decreased) karma things. is only necessary if the message isn't sent in the channel itself. Apr 04 16:42:21 yocti, karma most increased Apr 04 16:42:22 halstead: "zeddii": 2, "icecream": 1, and "halstead": 1 Apr 04 16:42:49 dvhart, yocti will now recognize ++ and -- without being addressed directly. Apr 04 16:43:00 woo Apr 04 16:43:41 halstead++ Apr 04 16:43:46 yocti, karma halstead Apr 04 16:43:46 dvhart: Karma for "halstead" has been increased 2 times and decreased 0 times for a total karma of 2. Apr 04 16:43:50 RP__, -- Apr 04 16:43:51 nice :) Apr 04 16:43:53 :) Apr 04 16:44:01 FAIL Apr 04 16:44:08 yocti, karma RP__ Apr 04 16:44:08 dvhart: RP__ has neutral karma. Apr 04 16:44:23 he is like two seat sin front of me looking at his laptop I think Apr 04 16:44:38 * dvhart considers removing the -- op Apr 04 16:44:41 Crofton: I am indeed Apr 04 16:44:43 rofl Apr 04 16:45:28 every time dave says "yocto" without "project" we -- him Apr 04 16:45:50 Crofton, heh, now that's an appropriate usage Apr 04 16:46:35 Dave needs to say, this is a community project and if you have good contributions we are glad to take them Apr 04 16:46:43 In my other communities -- for people is generally frowned upon. So nicks only get ++, but "kernel panic"-- is acceptable. Apr 04 16:47:01 some of us are more trollish than others :) Apr 04 16:47:01 halstead, agreed Apr 04 16:47:23 save the trolling for #oe please ;-) Apr 04 16:47:23 how about automatic -- if you check in something that breaks the autobuilder? Apr 04 16:47:27 :) Apr 04 16:47:34 bluelightning++ Apr 04 16:47:44 that might be somewhat tricky to set up though... Apr 04 16:47:47 rofl++ Apr 04 16:52:25 room is basically full for davest's yocto talk Apr 04 16:53:05 Crofton - you mean Yocto Project talk, surely? Apr 04 16:53:13 *snigger* Apr 04 16:53:21 yes Apr 04 16:53:25 ouch Apr 04 16:53:28 Crofton, -- Apr 04 16:53:34 Crofton-- Apr 04 16:53:34 Crofton: Error: You're not allowed to adjust your own karma. Apr 04 16:53:40 bwahaha Apr 04 16:53:43 yocti-- Apr 04 16:53:54 yocti, karma yocti Apr 04 16:53:55 dvhart: Karma for "yocti" has been increased 0 times and decreased 1 time for a total karma of -1. Apr 04 16:54:13 anyone have a url for one of these self hosts vmware image Apr 04 16:55:12 | checking for libexpat... no Apr 04 16:55:12 | configure: error: expat is missing or unusable Apr 04 16:55:16 someone-- Apr 04 16:57:38 * dvhart really needs to step up his automation-fu across his various test machines, VMs, and relevant distros,bsps,and images Apr 04 17:07:50 Crofton: I don't think any have been uploaded anywhere yet Apr 04 17:08:52 someone was asking Apr 04 17:09:06 I suspect davest will be all excited about the idea Apr 04 17:10:16 yocti, karma pidge Apr 04 17:10:16 pidge: pidge has neutral karma. Apr 04 17:10:30 nice. Apr 04 17:10:57 pidge, clean slate! Apr 04 17:15:00 sgw: any example vmware images anywhere online? Apr 04 17:15:31 yocti++ Apr 04 17:15:50 * RP__ likes yocti Apr 04 17:16:05 RP__ any change to review the tuning changes? so far the only feed back have been to the readmes.. I plan to make the requested changes in the next hour (when my current meeting is over) Apr 04 17:16:48 fray: the patches merged Apr 04 17:16:49 dvhart: goes with my chaotic neutral alignment. Apr 04 17:17:47 ahh cool Apr 04 17:19:22 RP__ the binutils patch, I don't see that one in there.. still TBD? Apr 04 17:19:45 (I was very surprised that "armv5e" was broken) Apr 04 17:19:57 fray: I don;t like patches like the tune ones at this point in the cycle Apr 04 17:20:35 :) Ya I understand Apr 04 17:20:50 I wish someone had realized this was a problem more then a week ago Apr 04 17:21:12 (fixing took a couple days, testing took almost 5) Apr 04 17:22:28 RP__ BTW there is the "supersparc" defined, but it doesn't follow the tuning guidelines.. any (post freeze) suggestions on how to address this? Apr 04 17:24:23 fray: I'm not surprised about armv5e, I've never really seen that hardware Apr 04 17:24:47 fray: We never went back and tidied up the tune files. I'd just delete superspace Apr 04 17:24:58 superspace? Apr 04 17:25:02 I didn't think there was an armv5e (w/o the t), but someone said they had such a device.. thats why it even exists.. Apr 04 17:25:06 heh Apr 04 17:25:18 gcc says it's "legit" arch.. too bad binutils doesn't Apr 04 17:25:54 do you want a commit (prior to release) for the sparc or should I ignore it till after? (suggsting removal) Apr 04 17:26:07 fray: The hardware exists, its just not common Apr 04 17:26:18 fray: nobody uses it so I'll take a patch Apr 04 17:26:33 ok.. with that, then all of the tunings are now consistent Apr 04 17:26:40 WOOHOO! Apr 04 17:30:26 RP: check http://autobuilder.yoctoproject.org/pub/scottrif/ Apr 04 17:34:30 sgw: Its really for others here Apr 04 17:34:36 sgw: thanks! Apr 04 17:35:44 RP__: yeah, it's just a small example for scott to work with, if you need a full blown 40G image (really 3.5G vmdk) I can post one in a hour or so, I don't have a clean one right now. Apr 04 17:37:09 sgw: its fine, it was just a question asked here for an exmaple Apr 04 17:39:33 Crofton: You saw sgw's link Apr 04 17:40:08 ah Apr 04 17:40:19 I think Matthew is looking for it Apr 04 17:40:33 hang on Apr 04 17:41:31 ok, link passed Apr 04 17:42:17 we are wondering how long the download will take :) Apr 04 17:42:29 Crofton: I wondered that too Apr 04 17:42:41 I am just trying to be helpful Apr 04 17:42:59 davest, shut up Apr 04 17:43:15 heh, nothing popped up on his screen Apr 04 17:43:53 Crofton|work: send a private message ;-) Apr 04 17:44:34 rofl Apr 04 17:44:39 oi Apr 04 17:44:47 fray: grats on the tuning consistency :) Apr 04 17:45:08 Crofton: are you trying to cause trouble again! Apr 04 17:45:14 Crofton: shame it doesn't autoselect the new window ;-) Apr 04 17:45:23 fray: now just need to sit down one of these days and improve them a bit more. powerpc probably shouldn't use the TUNE_PKGARCH_tune approach, heh Apr 04 17:45:58 yes, fray++ Apr 04 17:46:09 ya.. I also don't like how ARM does itself stuff.. Apr 04 17:46:23 right now I'm thinking a combination of ARM and MIPS is the right way to do everything Apr 04 17:46:45 * kergoth nods Apr 04 17:47:39 "arm" general naming is good.. "MIPS" variant handling is a better approach.. combine the two and my issues w/ ARM are resolved -- and PowerPC can likely benefit as well Apr 04 17:47:53 (still not sure about ia though -- it may simple stay as it is.. so many less tunings) Apr 04 17:51:06 I'd hope we can keep ia simple, no need to complicate it unecessarily Apr 04 17:51:20 yup Apr 04 17:51:32 sgw, when am I not causing trouble :) Apr 04 17:51:58 the only (package feed) inconsistenty on PPC right now is the base is "powerpc" and "powerpc64", but all of the tunings are "ppc" or "ppc64" Apr 04 17:52:15 easy to sync, but I wasn't going to start renaming stuff this close to the release Apr 04 18:04:53 * davest1 is showing the IRC channel on the screen in the room Apr 04 18:05:09 ... but were on break now until 11:30pt Apr 04 18:05:25 hah, bold move Apr 04 18:27:58 break is starting to break down Apr 04 18:56:55 is there a preferred method of changing startup programs for a rfs? Apr 04 18:57:08 aka how does one configure services? Apr 04 18:57:28 msm, did the vm download ok? Apr 04 18:58:14 yea but i could not get it too boot in virtualbox (easily) Apr 04 18:58:21 bummer Apr 04 18:58:21 i had ubuntu running already so i've since moved on Apr 04 18:58:29 awesome conference wifi :) Apr 04 18:59:20 also is there a preferred method for setting static information for network interfaces? Apr 04 18:59:58 /etc/network/interfaces Apr 04 19:00:19 msm, bbappend the network tools and add an interfaces file to files/$MACHINE/interfaces Apr 04 19:01:34 dvhart: k thanks - is this documented anywhere currently? Apr 04 19:01:56 look at the guides briefly and the wikis Apr 04 19:02:03 msm, https://bugzilla.yoctoproject.org/show_bug.cgi?id=1962 Apr 04 19:02:12 msm, to be documented imminently :-) Apr 04 19:02:26 that's why I knew the answer :) Apr 04 19:03:16 RP__, also suggested we look for a way to do this without bbappends, but for now, that is the best practice Apr 04 19:05:38 eek, shadow-native fails to configure for me: | configure.in:496: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION Apr 04 19:09:07 dvhart: bitbake gettext-native gettext-minimal-native -c clean Apr 04 19:09:19 dvhart: known issue (there is an open bug) Apr 04 19:09:29 many thanks Apr 04 19:09:55 is it fair to say that adding recipes will also start a daemon / service by default? Apr 04 19:10:01 is that the general way the recipes work? Apr 04 19:10:05 i know there will be exceptions though Apr 04 19:10:20 msm, hrm... really depends on the image type too Apr 04 19:10:29 ie, whether or not they have inittools for example Apr 04 19:10:33 tiny doesn't at the moment Apr 04 19:10:48 but if the recipes provide an initscript and set the default runlevel, then yes Apr 04 19:10:49 further, recipes don't even install the sysvinit compatible links without update-rc.d Apr 04 19:11:29 what kergoth said.. only recipes that use the update-rc.d will setup compatible initscripts.. Apr 04 19:11:31 kergoth, that is standard with minimal and sato image correct? Apr 04 19:11:44 ah, that's a per-recipe thing? Apr 04 19:11:44 the long term intent is that one update-rc.d can switch between sysvinit, systemd, or any other future initscript system Apr 04 19:11:55 dvhart: its a class for recipes to inherit and configure. Apr 04 19:12:00 ok Apr 04 19:12:07 whether those links the recipes install are actually *used* is where the image comes in Apr 04 19:12:09 had forgotten about that I guess Apr 04 19:12:19 kergoth: update-rc.d does something in the background? Apr 04 19:12:38 im looking at the openssh recipe for example Apr 04 19:12:39 it's run at package install time.. and setups the right links Apr 04 19:12:43 msm: update-rc.d is a script for installing sysv style init links. the update-rc.d class sets up prerm/postinst scripts to install the links Apr 04 19:12:45 it has update-alternative foo too Apr 04 19:13:02 ya.. to see what it's doing (in the rpm case) rpm -qp --scripts Apr 04 19:13:19 ok I see the INITSCRIPTS conf flags now Apr 04 19:15:47 does anyone know if update-rc.d is documented anywhere? Apr 04 19:16:59 msm: manpages on any debian based system Apr 04 19:18:57 khem: nothing oe-core specific? Apr 04 19:19:24 msm, not that I'm aware of Apr 04 19:19:33 a document on writing daemons would be useful Apr 04 19:19:42 but gets complicated as new init systems are integrated Apr 04 19:20:01 hi again dvhart Apr 04 19:20:06 hey ant__ Apr 04 19:21:11 hey what is the image that includes on-target toolchain for development? Apr 04 19:21:23 tools-sdk Apr 04 19:21:45 thanx.. Apr 04 19:22:02 I need to run some tests that require a target compiler.. :P Apr 04 19:22:50 add that to EXTRA_IMAGE_FEATURES Apr 04 19:23:06 dvhart: yes, its just one common thing uses will want to do first thing after making an image Apr 04 19:23:20 (configuring services) Apr 04 19:23:45 msm, agreed Apr 04 19:23:55 if some recipe is installing a service by default, whats the proper way for a user to turn that service off by default (but still include the e package on the rfs)? Apr 04 19:27:57 incandescant: can you make the hob window smaller than the default size? Apr 04 19:28:04 incandescant: it won't fit on my screen!! ;) Apr 04 19:28:15 msm: can I or will I? Apr 04 19:28:41 hah i meant that more as feedback Apr 04 19:28:51 or "can one" Apr 04 19:29:41 it's possible, most of the GUI is fixed layout atm which is frustrating - we need to fix that and then it should be possible to make it relayout so that people can make it smaller Apr 04 19:31:20 though it appears you can't at the moment, it has a fixed minimum size Apr 04 19:54:01 hey Apr 04 19:54:06 dvhart: patch works! Apr 04 19:54:13 but now i'm getting a rootfs generation failure Apr 04 19:54:27 genext2fs: command not found Apr 04 19:54:27 rburton, nice, and not so nice Apr 04 19:54:42 rburton, interesting, that should be unrelated Apr 04 19:54:43 is that something i need to install, or yocto doing something wrong? Apr 04 19:54:49 oh yes, probably is Apr 04 19:55:06 that's odd, we build genext2fs afaik Apr 04 19:55:14 ok i'll check that actually happened Apr 04 19:55:17 this is a minimal image Apr 04 19:55:34 i just wanted to get something to build without having to wait for all of x and co Apr 04 19:57:40 well, bitbake genext2fs-native certainly did stuff Apr 04 20:00:22 yay Apr 04 20:00:29 hrm Apr 04 20:00:36 so is there an DEPEND missing? Apr 04 20:00:38 looks like core-image-minimal didn't build genext2fs-native Apr 04 20:00:48 that's.... very strange Apr 04 20:00:50 i've also got it making a live image Apr 04 20:00:53 which may complicate matters Apr 04 20:01:00 no, that's what I build every day Apr 04 20:01:20 hrm Apr 04 20:01:34 you're building for atom-pc ? Apr 04 20:01:36 yes Apr 04 20:01:48 i could wipe my tmp and see if i can replicate overnight if you'd like Apr 04 20:01:50 edison atom-pc core-image-minimal ? Apr 04 20:01:54 yes Apr 04 20:01:59 * dvhart scratches head Apr 04 20:02:05 we must have built that 100 times Apr 04 20:02:31 maybe it picked it up from the host sometimes? Apr 04 20:02:43 or maybe i just broke something :) Apr 04 20:02:48 (ask josh, i do that) Apr 04 20:02:55 heh Apr 04 20:03:32 and you don't have genext2fs on your host I take it? Apr 04 20:03:45 please try a clean overnight build Apr 04 20:03:51 nope Apr 04 20:03:57 I'll submit the syslinux patches for inclusion into edison and master for 1.2 Apr 04 20:08:54 ok i'll kick off the build now Apr 04 20:24:02 dvhart: zeddii: I could find the diff between the linux-yocto and the standard linux-inc (with custom defconfig) Apr 04 20:24:08 http://paste.debian.net/162098/ Apr 04 20:24:21 so it was working :) Apr 04 20:25:47 what was working? Apr 04 20:26:00 the mechanism to import a defconfig Apr 04 20:26:55 sorry, I'm not following you Apr 04 20:28:12 I mean I could quickly 'yoctize' a kernel previously built with oe-core and having a static defconfig Apr 04 20:28:20 and some patches Apr 04 20:28:52 and I did boot that kernel Apr 04 20:29:15 but this breaks with a linux-yocto-tiny bbappend? Apr 04 20:29:28 today, the same procedure leads to a kernel for arm/versatile (the first in the list) Apr 04 20:29:47 not for my pxa25x/xscale Apr 04 20:30:08 today? Apr 04 20:30:16 so the diff you posted was from some time back? Apr 04 20:30:18 today = 3.2.x Apr 04 20:30:25 yes Apr 04 20:30:46 it was yocto 3.0.12 Apr 04 20:31:12 you really need to be more clear about what your diffing Apr 04 20:31:19 and use -Nurp Apr 04 20:31:31 at the time yocto-tiny was 3.0.12 Apr 04 20:32:36 ugh, disk full, services dying - me goes to clean up laptop Apr 04 20:32:37 sigh Apr 04 20:33:04 and they parsed. they have trouble with that at times. Apr 04 20:33:10 ok Apr 04 20:33:32 ok, here the two old configs Apr 04 20:33:37 http://paste.debian.net/162103/ 104 Apr 04 20:34:53 ant__, please be specific about what you mean when you say "the two old configs" Apr 04 20:34:56 from what? Apr 04 20:35:13 and just post the diff "diff -Nurp conf-a conf-b" Apr 04 20:35:45 at the time we were on 3.1 but linux-yocto-tiny was 3.0.12 Apr 04 20:36:23 imho this is not the point Apr 04 20:36:46 the fact is CONFIG_MACH_POODLE=y was respected Apr 04 20:38:02 rediffed: http://paste.debian.net/162105/ Apr 04 20:38:46 I have to head to pickup some small beasts. if there's a bug to be had, drop me an email. Apr 04 20:40:14 I see Apr 04 21:01:13 wow Apr 04 21:10:13 fray, wow? Apr 04 21:10:33 sorry, wrong channel.. old friend just had a 2nd kid.. ;) Apr 04 21:10:38 (thus wow) Apr 04 21:10:39 "wow" Apr 04 21:10:41 ;-) Apr 04 22:32:55 msm: ping regarding bug 1535 Apr 04 22:34:02 that's really old Apr 04 22:34:08 and i've not seen this in quite a while Apr 04 22:34:23 Do you think we can close it then? Apr 04 22:34:59 i thought it was addressed though? Apr 04 22:35:24 its fine to close it by me Apr 04 22:35:50 msm: I like your thought process! Apr 04 22:36:21 lol Apr 04 22:36:37 ive been disconnected from master for a while though Apr 04 22:36:50 msm right. **** ENDING LOGGING AT Thu Apr 05 02:59:58 2012 **** BEGIN LOGGING AT Thu Apr 05 02:59:58 2012 Apr 05 08:02:57 good morning Apr 05 11:58:58 morning all Apr 05 12:47:05 using n450 trying to change to a 54bit build but failing when making rootfs Apr 05 12:50:35 sophie_: you may get a more definitive answer when dvhart and/or tomz come online later, but it seems to me that you might need to create an n450-64 machine configuration Apr 05 12:51:10 thats what im starting to think too. Apr 05 12:51:11 sophie_: in theory should be as easy as copying conf/machine/n450.conf and then making it require the 64-bit base include instead of the 32-bit one Apr 05 12:52:22 hmm, actually that's not it... Apr 05 12:53:40 sophie_: actually it might be as simple as setting DEFAULTTUNE = "x86-64" Apr 05 12:54:15 Im going to try it and see if it changes the problem building the rootfs Apr 05 14:02:52 bluelightning: tried to change the machine.conf file to use x86_64 still building with i686 Apr 05 15:39:00 has anyone built meta-toolchain-qte for qt 4.8.0? Apr 05 20:56:44 zeddii: dvhart: I've seen #2250 :/ let me know if I can be of help wrt grep exhausting memory Apr 05 22:54:50 zeddii: grep: Memory exhausted happens during wrap_meta_series $meta_dir/meta-series (kgit-meta #1159) Apr 05 22:58:13 seems in ptotal **** ENDING LOGGING AT Fri Apr 06 03:00:00 2012 **** BEGIN LOGGING AT Fri Apr 06 03:00:00 2012 Apr 06 09:22:01 Hello all! Apr 06 09:22:32 Can anybody help me with a hint in running a package step only for one and just for one package? Apr 06 09:22:58 I'm running some debug stuff on package.bbclass. And i want to test those on js. Apr 06 09:23:14 everytime i bitbake js -c package -f Apr 06 09:23:24 I get a lot of do packages from other packages Apr 06 09:26:59 obviously "lot of packages" are libtool, gcc etc. Apr 06 13:29:56 greetings. I downloaded Poky a few days ago (latest git) and there is something diffrent, in a negative sense. I tried to makemenu into a kernel (bitbake somekernel.bb -c menuconfig) but it only says "do_menuconfig" not found. Is this a bug or will this " feature"? Apr 06 13:30:07 be Apr 06 13:30:23 a Apr 06 13:36:48 noone? Apr 06 13:38:36 sigh Apr 06 13:51:22 patience of a developer is now down to 7 minutes Apr 06 13:52:45 =) Apr 06 14:29:25 Hello Apr 06 14:31:59 How do i talk to someone? Apr 06 14:32:40 jim_, hi Apr 06 14:32:49 you don't, you have to talk in the main channel Apr 06 18:47:36 fray: you around? I am looking at 2074 and want to make sure I have the correct setup Apr 06 21:13:28 hmm, wonder why gdk-pixbuf isn't using PACKAGECONFIG to toggle the build of gdk-pixbuf-xlib based on x11 Apr 06 21:14:02 * kergoth yawns and stretches Apr 06 21:25:40 kergoth: probably it should yes Apr 06 21:26:43 zeddii: ping Apr 06 23:05:16 Does anybody have the photo that was taken at the BSP Summit on Monday? Apr 06 23:05:28 Was thinking maybe denix took it Apr 06 23:06:02 Or maybe it was Crofton, really starting to bug me Apr 06 23:06:19 denix, probably Apr 06 23:06:25 which photo? Apr 06 23:07:13 It was of the folks sitting in the room Apr 06 23:07:27 sort of a "expense report proof" Apr 06 23:07:58 * Crofton looks on his camera Apr 06 23:08:14 nope Apr 06 23:08:22 denix, is always taking photos Apr 06 23:08:41 I'd love to see it as well Apr 06 23:17:58 Photo: found. http://tbone.s3.amazonaws.com/conf.png Apr 06 23:20:25 excellent, I am behind terence Apr 06 23:26:01 davest: you may want to crop the image in that blog post Apr 06 23:26:17 scale even, not crop Apr 06 23:26:30 incandescant: tried many times, but stupid Drupil not working right Apr 06 23:26:40 (Or at least, not for me) Apr 06 23:26:43 davest: bummer :-/ Apr 06 23:27:16 davest: you could scale locally and upload a smaller version? Apr 06 23:27:21 or mayhaps halstead can help? Apr 06 23:27:28 he's all kinds of drupal savvy Apr 06 23:28:14 Funny that Wordpress is working fine though: http://software.intel.com/en-us/blogs/2012/04/06/the-yocto-yumminess-of-our-bsps/ Apr 06 23:28:27 That was just a copy-paste of the HTML source Apr 06 23:29:18 pretty sure Drupal uses a filtered subset of HTML Apr 06 23:29:25 by default, at least Apr 06 23:29:32 davest, I can help. Apr 06 23:29:32 Jefro, halstead ? Apr 06 23:29:40 thanks Mr halstead Apr 06 23:29:44 incandescant yo Apr 06 23:29:58 catching up Apr 06 23:30:07 Jefro: sorry, was just trying to summon drupal experience. halstead arrived sooner :-) Apr 06 23:30:22 incandescant much, much better option than me :) Apr 06 23:31:04 Jefro: you couldn't possibly be a worse option than me Apr 06 23:31:20 halstead: can you please scale the photo in http://www.yoctoproject.org/blogs/davest/2012/yocto-yumminess-our-bsps properly? Thanks... Apr 06 23:31:59 davest, Just found it. Sure. Apr 06 23:32:23 halstead: Thanks much! Apr 06 23:32:38 davest awesome post Apr 06 23:33:12 Jefro: thanks, but mearly adequate, not awesome Apr 06 23:33:14 I'm going to copy the image from S3 onto our hardware. Apr 06 23:33:27 ah denix shadowed me :) Apr 06 23:44:11 All done. I'll upload a screencast of how I did it. Apr 07 00:30:40 Jefro, Here is a quick (1:19) howto to watch http://www.youtube.com/watch?v=l_pPpS1TqhM Apr 07 00:31:08 (1 minutes 19 seconds) Apr 07 00:31:20 cool, thanks - looking **** ENDING LOGGING AT Sat Apr 07 02:59:58 2012 **** BEGIN LOGGING AT Sat Apr 07 02:59:59 2012 Apr 07 17:50:20 noob question : I'm having trouble getting my recipe to build flex as a dependency (I link to libfl: -lfl) Apr 07 17:51:08 I've got flex in my DEPENDS Apr 07 17:51:38 bitbake builds the native libs for flex, but not for the target arch Apr 07 17:51:50 my package isn't a native one though Apr 07 17:58:02 also worth noting is that if I build flex manually (bitbake flex) my recipe builds fine ... not sure what that means **** ENDING LOGGING AT Sun Apr 08 03:00:01 2012 **** BEGIN LOGGING AT Sun Apr 08 03:00:01 2012 **** ENDING LOGGING AT Mon Apr 09 02:59:58 2012 **** BEGIN LOGGING AT Mon Apr 09 02:59:58 2012 Apr 09 15:30:43 Huh, this is odd. pseudo gets built with an RPATH. This might have to do with bitbake.conf setting BUILD_LDFLAGS to unconditionally specify an RPATH, but that doesn't explain why other native packages don't get it. Apr 09 15:31:09 use of chrpath or ignoring of the LDFLAGS is my guess Apr 09 15:31:12 I'm sort of suspecting this to be related in some way to the special way in which pseudo gets built the first time, but I can't see how. Apr 09 15:31:52 I can hardly imagine that EVERY other package did this the same way, but pseudo didn't. On the other hand, the path that gets pseudo built is unique. So that's my first suspicion. Apr 09 15:32:14 libtool has code to remote rpaths that match the define --libdir Apr 09 15:32:18 pseudo isn't use libtool Apr 09 15:33:12 But does *every* other package use it? Apr 09 15:33:35 there are not a lot of native packages being built.. I would suspect the majority of them do use configure and libtool Apr 09 15:34:30 but that line does look poorly conceived though.. Apr 09 15:34:36 hmm Apr 09 15:34:44 I would have expected something with $ORIGIN or no rpath line.. Apr 09 15:34:50 Well, there is an RPATH thing in the pseudo makefile, although it looks like an attempt to unset it. Apr 09 15:35:03 maybe there is code using rpatht hat changes from the fixed to an $ORIGIN based path that isn't running? Apr 09 15:35:12 (I know chrpath is required in the system, but I don't know where it's run) Apr 09 15:35:40 Oh, interesting. RP fixed a thing in September that tried to fix this.. Apr 09 15:36:07 "relocatable.bbclass" Apr 09 15:36:11 And the bitbake rpath change is about three months newer. Apr 09 15:36:55 ya.. relocatable.bblcass does exactly that.. it tkes a fixed path and replaces it with $ORIGIN Apr 09 15:36:56 So in January, Enrico Scholz changed the -Wl,-rpath values. Hmm. Apr 09 15:37:07 Oh, this is interesting. There's two of them. Apr 09 15:37:12 I assume RP is off tomorrow.. Apr 09 15:37:19 'er.. off UNTIL tomorrow Apr 09 15:37:20 I betcha we have something somewhere that, if you set RPATH=, filters out a single -Wl,-rpath Apr 09 15:37:31 I suggest a post to oe-core list asking is the best answer until then Apr 09 15:37:34 And doesn't filter them both out. Because that's new. Apr 09 15:37:39 hm Apr 09 15:40:57 Basically, what I note is: I have two -Wl,-rpath args in bitbake.conf, and only one rpath in pseudo. So something's eating one of them... Apr 09 15:41:18 I'd suggest you grep around in meta/classes Apr 09 15:41:24 see if you can figure out where it's getitng munged Apr 09 15:54:23 seebs: what are these rpaths pointing to and which one is that pseudo is missin Apr 09 15:54:51 They're pointing into the build tree, and ideally it shouldn't have any. And it presumably didn't, as of September when that fix went in. Apr 09 15:55:15 So it looks like when an additional rpath got added in bitbake.conf, this resulted in the pseudo binaries ending up with that extra. Apr 09 15:55:16 ya, pseudo needs absolutely no rpaths and doesn't do any on it's own.. Apr 09 15:55:32 but bitbake is passing in rpaths on the ldflags, which get used and embedded.. triggering a QA warning Apr 09 15:55:36 so the problem is why is bitbake doing this? Apr 09 15:59:12 so this is pseudo-native right ? Apr 09 16:01:44 Yeah. Apr 09 16:02:09 Well, bitbake's had that all along, then it got updated to add an extra one. It may be that pseudo's attempt to remove rpaths is simply not firm enough. Apr 09 16:03:16 rpath should point into native sysroot Apr 09 16:03:24 which should be fine I guess Apr 09 16:03:34 time to hitch a ride Apr 09 16:03:36 ttyl Apr 09 16:28:31 This could be one of those obvious newbie questions, but... If I've built pseudo-native, is there a log file somewhere containing the logs for the pseudo-native build, neatly separated out so I can look at them? Apr 09 16:28:35 Or even not separated out? Apr 09 16:29:24 Ahh, nevermind. Apr 09 16:29:26 Found it! Apr 09 16:47:47 D'oh. That was all a red herring. Turns out pseudo helpfully sets a default rpath if you specify with-sqlite. Apr 09 16:49:16 seebs: nice! Apr 09 16:49:23 I have ensmartened this to not do that if you specify --without-rpath or --enable-static-sqlite. Apr 09 16:49:37 I cannot imagine how this ever didn't trigger this bug, pseudo's had that helpful behavior since 2010. Apr 09 16:52:35 seebs: btw. you have to ensmarten pseudo a bit more where it just things x86 Apr 09 16:52:46 use of -m32 and -m64 options Apr 09 16:53:07 unconditionally means it cant be compiled for non x86 arches Apr 09 16:53:11 Yeah. On my list, I just haven't figured out what to do to check for that. Apr 09 16:53:23 It's been verified to apparently work on ARM if that line is just removed. Apr 09 16:53:26 seebs: you need autoconf :) Apr 09 16:53:50 Definitely. I mean, what if someone tried to build pseudo on Ultrix, without even knowing whether they had an f77 compiler? :P Apr 09 16:53:51 ha-ha Apr 09 16:53:54 or you can add an option called ARCH or some such Apr 09 16:54:25 seebs: make Apr 09 16:54:28 errrr Apr 09 16:54:49 make ARCH=mips all Apr 09 16:55:08 part of the issue is we're fighting the host compiler options Apr 09 16:55:32 we need to be able to do stuff that normal bitbake can't.. i.e. target multiple ABIs on compilers we didn't build.. :P Apr 09 16:55:34 Huh. Turns out the existing --without-rpath would probably do what we want. I still want to fix the logic. Apr 09 16:55:53 yes once you know what your host is with ARCH option you can fix it Apr 09 16:56:10 I'm tempted though to suggest that we simply patch and remove -m* from pseudo for OE.. and then pass those values ourselves in the recipes Apr 09 16:56:18 ARCH indicated host btw. not target Apr 09 16:56:19 (not sure if thats a good generic change though, perhaps it is?) Apr 09 16:56:42 well on IA we have potentially three settings, on mips three, on arm (currently) one.. Apr 09 16:56:45 ppc - two Apr 09 16:56:55 yeah thats possible too but then what if pseudo is used outside OE Apr 09 16:57:01 the problem is (besides -m) we also need a mapping of the right set of LD_LIBRARY_PATH settings Apr 09 16:57:23 thats multilib case ? Apr 09 16:57:48 perhaps the right answer is simply make this stuff more explicit in the configuration, don't assume anything and make the "user" (recipe) provide the full config? Apr 09 16:58:02 the recipe right now is determining if it thinks we need a 32-bit version as well as a 64-bit Apr 09 16:58:16 you still need to provides open knobs that are then handled by pseudo make system Apr 09 16:58:18 ya, multilib is a significant case for pseudo on IA Apr 09 16:58:22 so choose your battles Apr 09 16:58:51 force the user to configure the LD_LIBRARY_PATH components available on a system, and define the correct -m* ABI setting for a particular build.. Apr 09 16:58:56 likely very doable and fairly simple Apr 09 16:59:22 (this is going to likely matter on that new debian multiarch thing as well.. since we have to setup the library path to their whacky lib names) Apr 09 16:59:35 [if they deviate from LSB names that is] Apr 09 16:59:54 multilib is a loaded gun Apr 09 17:00:08 debian seems to be pointing it to their foot Apr 09 17:03:23 I am currently looking at --arch=arm, --arch=x86, with the assumed-default being x86. Apr 09 17:03:53 And then instead of -m$(BITS), I use compile_${arch}_${bits}, which are set only for x86_32 and x86_64 right now. Apr 09 17:05:09 So basically if you don't change anything, it'll end up doing what it does now. But if you add a --arch=arm, it'll work on arm, and if you add --arch=x86, it'll keep working on x86. Apr 09 17:05:52 seebs: as long as interface is usable and does what it says it does we are fine Apr 09 17:06:19 I'm just worried pseudo is trying to hard to get it right for a "dummy" user.. instread just make sure the user isn't a dummy.. and move the responsibility elsewhere.. (in the case of OE, into the recipe) Apr 09 17:06:49 back in a bit.. need food Apr 09 17:07:10 Hmm. Apr 09 17:07:40 fray: I differ a bit Apr 09 17:08:08 I consider package should try to help build systems by being cross compilable Apr 09 17:08:33 Well, we definitely want to be POSSIBLE to configure for arm. Apr 09 17:08:44 But I also want to DTRT where possible with --bits=. Apr 09 17:09:02 yes so you have arch and multilib Apr 09 17:09:03 Right now, if arch isn't one of '', x86, or arm, I emit a warning that it is untested. Apr 09 17:09:13 thats all fine Apr 09 17:10:09 And if you specify x86 and 32 or 64 bits, we emit -m$foo, and if you don't specify bits, we don't emit a -m at all. Apr 09 17:10:23 Because we assume the compiler matches your intent anyway. Apr 09 17:10:43 So basically, if you change nothing, it keeps doing what it's done, but it has the hooks for being educated about target compile options. Apr 09 17:10:53 seebs: yep thats better Apr 09 17:11:07 assume default multilib Apr 09 17:11:24 and if someone asks different then chose it Apr 09 17:11:31 So I'm assuming the person who got bitten on arm was still using --bits=32. Apr 09 17:11:48 seebs: its how its specified in OE Apr 09 17:11:53 I got bitten too Apr 09 17:12:03 k Apr 09 17:12:04 in OE --bits is always set Apr 09 17:12:23 Yeah, I think it is in our build system too. So adding the --arch option should help. Although. Apr 09 17:12:38 Is OE such that --arch would end up "x86" if specified? Apr 09 17:12:40 yes arch will help Apr 09 17:13:07 you have to say --arch=${TARGET_ARCH} Apr 09 17:13:16 then peices will fall into places Apr 09 17:13:23 in OE that is Apr 09 17:14:07 but I think as we move into future 64bit will be common across all arches we support Apr 09 17:14:19 arm is only one which does not have it as of now Apr 09 17:14:41 and they are getting to it soon (with v8) Apr 09 17:18:53 seebs, what about x86 - x32 and the LD_LIBRARY_PATH? Apr 09 17:26:24 I don't know about x32 yet. Apr 09 17:28:04 libx32 is the location, -mx32 is the switch Apr 09 17:29:11 (BTW not against preemptively adding libx32 to the pseudo ld-library-path settings Apr 09 17:32:19 hmm Apr 09 17:32:33 I would like to hold off until we have a test case. :) Apr 09 17:39:28 there are folks talking about x32 already -- and we do have x32 images (inside yocto) where pseudo doesn't work today.. Apr 09 17:39:54 (i.e. self-hosting doesn't work) Apr 09 17:41:35 I can totally test stuff and fix it if someone gives me a test case I can play with. :) Apr 09 20:36:51 hi Apr 09 20:37:58 I am getting /usr/include/linux/ext2_fs.h:178:41: error: unknown type name 'umode_t' while builing romley BSP Apr 09 20:38:48 FC16 kernel 3.3.0-4.fc16.x86_64 Apr 09 20:40:00 poky-1.2_M2.final Apr 09 20:40:46 unless you are building on the target, it appears that teh wrong header is being used.. Apr 09 20:41:04 it should -never- use host system headers, unless you are building a "native" app.. even then it may be sketchy.. Apr 09 20:41:09 what was being attempted to be built? Apr 09 20:41:19 and meta-intel-1.2_M2.final BSP Apr 09 20:41:33 romley BSP Apr 09 20:42:05 no, what was bitbake building when the error occured? Apr 09 20:42:59 | ../libinstaller/fat.c:45:9: warning: variable 'veryold' set but not used [-Wunused-but-set-variable] Apr 09 20:43:13 sorry, wrong one Apr 09 20:43:47 | In file included from ../libinstaller/linuxioctl.h:22:0, Apr 09 20:44:05 there's a pending patch on the mailing list for this: http://lists.linuxtogo.org/pipermail/openembedded-core/2012-April/020594.html Apr 09 20:44:43 yes, thats my question. i downloaded the patch poky-contrib-182c2cbd67d4e79e8d1c6a50a1dac4790315553a.tar.bz2 Apr 09 20:45:13 is this to sub the poky-1.2M2? Apr 09 20:46:05 ERROR: No recipes available for:because then i got Apr 09 20:47:51 cps, sorry, I wasn't logged in and don't have a log of the chat re syslinux Apr 09 20:48:00 care to pm me the details to catch me up to speed? Apr 09 20:48:03 I may be able to help Apr 09 20:48:10 ok. how do i get the 020594? Apr 09 20:48:50 i was in http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=dvhart/syslinux&id=182c2cbd67d4e79e8d1c6a50a1dac4790315553a Apr 09 20:49:45 cps, what do you mean by 020594? Apr 09 20:49:47 i don't know how to use git, i get the zip or bz2 Apr 09 20:50:04 http://lists.linuxtogo.org/pipermail/openembedded-core/2012-April/020594.html Apr 09 20:50:24 is this one to go with poky1.2M2 final tree? Apr 09 20:50:52 This patch will be applied (soon) to oe-core and poky for the Yocto 1.2 release Apr 09 20:51:05 you can apply this patch directly to your 1.2 pre-release tree Apr 09 20:51:13 now i am trying to build romley bsp Apr 09 20:51:24 you can either save the email off and apply it as a patch or you can use git to generate the patch Apr 09 20:51:49 or download the patch from the git web: Apr 09 20:51:51 http://git.yoctoproject.org/cgit.cgi/poky-contrib/patch/?id=182c2cbd67d4e79e8d1c6a50a1dac4790315553a Apr 09 20:51:59 then use "patch" to apply it Apr 09 20:52:40 i downloaded the poky-contrib-182c2cbd67d4e79e8d1c6a50a1dac4790315553a.tar.bz2 Apr 09 20:52:57 that looks like the whole tree Apr 09 20:53:34 how do i apply this to the poky1.2M2.final tree? Apr 09 20:53:56 cps, I tried to describe the process above Apr 09 20:54:02 is there some part of that which is not clear? Apr 09 20:55:29 oh, sorry, did not click on the patch link. i got it now. thanks Apr 09 20:56:34 you bet Apr 09 21:14:08 fray: I am still not able to reproduce the 2074 issue, you around to chat? Apr 09 21:21:25 sgw -- ya I'm here.. Apr 09 21:22:38 fray: I am still getting a good psplash build when I try the 2074 issue, and yes, I followed the reproduction listed in but 2082 (I did not know about that until this morning, but its the same thing I have been doing). Apr 09 21:23:34 as user #2, if you do "ls /tmp/sysroot/..../usr/include" what error do you get? Apr 09 21:23:47 if your kernel or glibc isn't sending the same error.. then that would be why Apr 09 21:24:17 ls: cannot access /home/builder1/poky/build/tmp/sysroots/: Permission denied Apr 09 21:24:32 ya, that is EPERM.. so it should be the same here Apr 09 21:24:51 I'll setup another reproducer here.. but it's going to take much of the afternoon for me to do so.. Apr 09 21:25:00 (hmm and afternoon is almost over) Apr 09 21:25:03 Can you run a strace -s 8192 -f -o out of your bitbake Apr 09 21:25:15 BTW have you followed the MIPS discussion on the oe-core list? Apr 09 21:25:25 I'm looking for external opinions on the MIPS32 vs MIPS pacakge naming debate Apr 09 21:25:29 fray: just of the psplash build Apr 09 21:25:53 fray: we should just use mips and mipsel for 32bit Apr 09 21:26:06 fray: what adv do u see by appending 32 Apr 09 21:26:09 but mips32 - tune - may not run on mips Apr 09 21:26:12 fray: I am the wrong one to ask here, I have not been following since I have up to my ears in release stuff. Apr 09 21:26:15 why ? Apr 09 21:26:20 "mips" is mips one by default according to gcc.. Apr 09 21:26:30 mips n32 may not Apr 09 21:26:34 "mips32" enabled 4Kc instructions and tunings.. along witht the optimizations.. Apr 09 21:26:39 mips n32 is mips64_n32 Apr 09 21:26:48 ok Apr 09 21:27:07 and mips uses which mtune flags ? Apr 09 21:27:16 right now we have two mips tunings that produce different binaries -- and before the "fix" didn't differentiate the pacakges Apr 09 21:27:44 the configure - GNU canonical arch -is- "mips" or "mipsel".. The OVERRIDE is "mips" or "mipsel".. the -only- thing that has changed is the package arch.. Apr 09 21:27:52 i get that but I want to know whats our tuning for mips and mipsel Apr 09 21:27:56 "mips" uses the default GCC arch/tune settings Apr 09 21:28:03 ok Apr 09 21:28:07 gcc by DEFAULT (I verified this) is r3000 & mips1 Apr 09 21:28:17 mips32 adds to the ccfalg -march=mips32 Apr 09 21:28:32 this enabled the 4Kc instructions/tunings & MIPS32 & some branch prediction hinting Apr 09 21:28:33 ok yes -march=mips32 will make it different Apr 09 21:28:44 yes familiar with that bit Apr 09 21:28:58 r3000 & mips1 I need to check that Apr 09 21:29:14 so my problem is -- if we name them both "mips" then we have a problem as they are different binaries and you can't differentiate in a package feed Apr 09 21:29:32 so it should be "mips" (default gcc) & "mips32" (-march=mips32) Apr 09 21:29:43 yes thats fine Apr 09 21:29:51 khem i verified it about an hour ago.. see my last email to the oe-core list for how I verified it Apr 09 21:29:56 but default being mips shouldnt tuning be mips too for that Apr 09 21:30:03 why mips32 started appearing ? Apr 09 21:30:34 IMO if I chose mips32 tuning then only I should get mips32 package arches Apr 09 21:30:55 because whoever implemented and checked in "tune-mips32" never set the value properly. they didn't understand the one setting.. Apr 09 21:31:06 I fixed it about a week ago, when I fixed all o fthe other other inconsistencies.. Apr 09 21:31:27 so people are using the "tune-mips32.inc" file, and are suddenly getting packages tagged with "mips32" in the -package name- only.. Apr 09 21:31:33 -everything else- is exactly the same as before Apr 09 21:31:36 ok. Apr 09 21:31:38 I verified this now multiple times Apr 09 21:31:42 thats fine then Apr 09 21:31:45 GNU canonical arch is "mips-oe-linux-gnu", etc.. Apr 09 21:31:50 we dont need to revert Apr 09 21:32:04 instead users should adjust machine tunes Apr 09 21:32:08 nothing that I found within OE uses the package arch, except for the feed and image generation.. image generation is working properly.. I verified that as well Apr 09 21:32:16 I have no easy was to verify the feeds though Apr 09 21:32:21 yes that canonical arch remains same but it can generate incompatible code Apr 09 21:32:35 -mabi=n32 or -mabi=eabi e.g. Apr 09 21:32:39 AFAIK gnu doesn't have "mips32" defined as a canonical arch Apr 09 21:32:48 no Apr 09 21:32:50 any time n32 is enabled, "_n32" is added to the package arch Apr 09 21:33:02 is there an mabi=eabi on MIPS? Apr 09 21:33:08 but it does use mips*-*-* sometimes for covering both mips and mips64 Apr 09 21:33:14 yes there is :) Apr 09 21:33:20 each architecture has a different set of defined rules for naming schemes.. Apr 09 21:33:25 there are I think 6 abis on mips Apr 09 21:33:26 these are in the various ARCH readme files.. Apr 09 21:33:33 on MIPS the defined -package- naming is: Apr 09 21:33:38 o32,o64,n32,n64,eabi Apr 09 21:33:53 and one more coming up which is like x32 abi Apr 09 21:34:01 of x86 Apr 09 21:34:15 MIPS_VARIANT[_fpu][_n32] Apr 09 21:34:25 MIPS_VARIANT is defined by each tune.. Apr 09 21:34:31 thankfully fpu is always same Apr 09 21:34:39 the gnu canonical arch is defined as: Apr 09 21:34:50 mips[64][el] Apr 09 21:35:06 64 is only defined in the mips64 instructions are enabled, and el if little endian is enabled Apr 09 21:35:33 so we have: mips-oe... mipsel-oe... mips64-oe... and mips64el-oe... defined for the configure target Apr 09 21:35:42 right Apr 09 21:35:58 if there are additional variants coming, we will need to define for those Apr 09 21:36:21 fray: its in discussion Apr 09 21:36:24 Additional variants of MIPS? Even in the subjunctive I find that terrifying. Apr 09 21:36:36 fray fwiw we should only care for o32 n32 and n64 Apr 09 21:36:39 as of now Apr 09 21:37:49 In the interests of greater generality, we're now offering 10-byte words with an arbitrary selection of byte orders, resulting in 10! possible byte orders. Obviously, we need multilibs for all possible byte ordering. Also each processor will have a serial number, and issuing an instruction the opcode of which matches the serial number will cause the embedded C4 charge to detonate. Apr 09 21:38:44 heh Apr 09 21:40:15 fray: I wonder if mips1 is a really we should care Apr 09 21:40:22 khem, currently only o32, n32 and n64 are defined -- using the variant method above.. Apr 09 21:40:22 I would start with mips3 Apr 09 21:40:30 yes thats sufficient Apr 09 21:40:50 mips3, mips4 mips32 mips64r2 Apr 09 21:40:55 thats fine -- I don't care either way.. But the tuning policy has been (since these new style tunes were enabled) that a default architecture tuning be defined.. Apr 09 21:41:02 are what realistically make sense Apr 09 21:41:16 so I would suggest "mips", "mips3", "mips4", mips32, mips32r2, and mips64(r2?) Apr 09 21:41:32 the mips and mips3 could be combined by changing the internal default of GCC to mips3 Apr 09 21:42:10 yeah if we can drop mips1 then we can drop o32 Apr 09 21:42:27 since thats one ISA that wont work with n32 or n64 for that matter Apr 09 21:42:56 I think most basic machine we target is malta anyway Apr 09 21:43:12 so dropping mips1 wont initiate a nuclear attack Apr 09 21:44:35 mips32 won't work with n32 either.. Apr 09 21:45:00 you need a mips64 processor to do n32.. even if you only compile with mips32 tunings.. Apr 09 21:45:39 thats right Apr 09 21:45:46 What I suggest to our customers is.. o32 for MIPS(32) systems.. (they don't have a choice).. n32 for MIPS64 systems, with o32 available for compatibility and n64 for large memory systems Apr 09 21:46:03 Cavium systems are configured that way, as are sibyte and some of the other bigger names.. Apr 09 21:46:25 thats a good fit Apr 09 21:46:26 xlr (can't remember the name of the company) though insisted their customers wanted o32 and n64.. with no need for n32 binaries.. so they are an outlyer Apr 09 21:46:41 RMI -> netlogic -> broadcom :) Apr 09 21:46:56 ya.. thats it.. they didn't want n32 Apr 09 21:47:13 (whereas cavium said they didn't want o32.. but we enabled it anyway since it was virtually a no-op) Apr 09 21:47:35 which is fine since most of xlr cpus go into networking gears dealing with large forwarding tables Apr 09 21:48:05 ya.. n64 makes sense.. but why o32 for base system commands.. that seems stpid Apr 09 21:48:33 we shoudl jusr use -march=from-abi for mipsen Apr 09 21:48:58 o32 for legacy stuff I believe Apr 09 21:49:00 (BTW our minimum mips system is a mips32 - 4kc.. we have a couple of custom one-offs for other mips.. but they're per customer and not generic) Apr 09 21:55:25 khem, my suggestion then.. for -this- freeze.. leave the package arch as "mips" and "mips32" Apr 09 21:55:59 after this freeze.. add definitions for mips3, mips4, ... etc.. to the base "mips" architecture file.. and define "mips, mips4, mips32, mips32r2, mips64(r2?)" Apr 09 21:56:05 and associated tunings for each of them.. Apr 09 21:56:12 "mips" would be equal to "mips2" Apr 09 21:56:14 'er.. mips3 Apr 09 22:03:48 khem -- mind responding to the MIPS thread with something about mips vs mips32 and if we should keep it as-is, revert, or... (for the current release) Apr 09 22:04:08 I'm going to sync w/ RP in the morning... I think in the end he needs to decide based on the risks of the change.. Apr 09 22:04:17 but right now there are only two opinions.. Apr 09 22:05:05 yes will do **** ENDING LOGGING AT Tue Apr 10 03:00:00 2012 **** BEGIN LOGGING AT Tue Apr 10 03:00:00 2012 Apr 10 07:48:29 good morning Apr 10 07:55:01 crap it is Apr 10 07:58:08 morning all Apr 10 12:35:25 is there a GNU Radio layer out there somewhere? Apr 10 12:36:12 That's a question for Crofton Apr 10 12:36:29 figured as much Apr 10 12:38:22 jawilson: there's a gnuradio recipe in meta-oe Apr 10 12:38:36 I wonder if there's a better place for it, but for now it's there Apr 10 12:39:17 bluelightning, ah, thanks. I'm new to the whole Yocto Project/OE-core thing, used to oe Apr 10 12:39:24 oe-classic* Apr 10 12:39:36 I'll go take a look though Apr 10 13:14:18 anyone knows about a presentation about the Yocto project under a share-alike license? those at http://www.yoctoproject.org/documentation/presentations seems to be a little old Apr 10 13:17:38 I did one at FOSDEM: http://fosdem.org/2012/schedule/event/openembedded_yocto_common_core Apr 10 13:18:13 more about OE and the Yocto Project working together than the Yocto Project specifically, plus the format was a little unconventional Apr 10 13:18:26 so it might not be quite waht you're after Apr 10 13:18:34 s/waht/what/ Apr 10 13:22:02 bluelightning: it helps - thanks Apr 10 14:48:20 fray: you around? Any update on the sstate compilation issues? Apr 10 15:55:20 I see two bugs that are old enough to cause problems with the stats, number 35 and number 61 Apr 10 15:55:40 halstead: why would they do that? Apr 10 15:56:12 They were opened before bugzilla kept enough data to determine status and they are still unresolved. Apr 10 15:56:28 bluelightning: do you know if there are other distro's that ship qt-mobility? Apr 10 15:56:51 halstead: can we add data to them or do we need to refile them? Apr 10 15:57:22 fray: re-ping Apr 10 15:57:57 hey.. just got in.. sick kid at home Apr 10 15:58:06 35 is an enhancement so I can ignore it for bug trends. Right? Apr 10 15:58:12 right Apr 10 15:58:52 sgw: it's in most major distros AFAICT, some not officially though Apr 10 15:58:53 fray: sorry to hear that. Can we sync up on the sstate issue we started with yesterday at quitting time Apr 10 15:59:18 bluelightning: Ok, I need to add distro tracking info for our process. Apr 10 15:59:39 So I'll just work around number 61 until it's resolved. Apr 10 16:01:32 sgw -- got an oe-tsc meeting right now.. then after I have to run something back home for the kid.. I should be able to sync after that Apr 10 16:01:54 (BTW I got the initial build done, but not the second user one.. I should have that within 20-30 minutes and verify if the bug is still there or not) Apr 10 16:02:20 fray: Ok, yeah that second build goes pretty fast! Apr 10 16:02:31 yup.. just have to add the user and run the build Apr 10 16:02:55 fray: I wanted to sync on what step I might have been missing, but let's see if you can reporoduce it. Apr 10 16:21:16 heh Apr 10 16:28:29 Crofton: Good Morning Apr 10 16:29:00 gm Apr 10 19:33:56 is there a branch tag decoder ring? I'm trying to figure out what the code name to Yocto project release numbering is -- and also when approx these branches were released.. Apr 10 19:46:42 fray: the release notes include version number and release name Apr 10 19:47:17 but I'm having a hard time finding anything w/ a date Apr 10 19:48:01 My list right now -- Laverne is 0.9, approx 2010-10, Bernard 1.0 - 2011-04, Edison 1.1 - 2011-10, and next release sometime thing month Apr 10 19:48:04 that sound right? Apr 10 19:48:30 yes Apr 10 19:48:34 thanx Apr 10 19:48:36 np Apr 10 19:48:46 this was raised recently and is on Song & Jefro's radar Apr 10 19:49:54 That does sound right - I'd like to also capture the interim releases like 1.1.1, but they correspond directly with the major Poky release associated (Edison in the case of 1.1.1) Apr 10 19:50:15 for what I'm doing, the interim releases don't matter.. but yes, in the grand scheme of things they do Apr 10 20:11:19 * kergoth thinks release branches named after an actual version number in an actual sane versioning scheme make a great deal more sense than going by 'release name' Apr 10 20:23:00 kergoth: This was discussed at collab and is likely going to change Apr 10 20:24:45 * ant__ was blown in the past... Blinky, Pinky, Inky, Clyde Apr 10 20:39:49 sgw -- ok, I've gone through the steps on my CentOS machine. I was NOT able to replicate the failure.. Apr 10 20:40:11 so either it's been fixed somewhere along the line in various changes within the toolchain -- or CentOS is masking it.. (it's newer then the OS I originally tested this on) Apr 10 20:45:36 fray: great, that's what I was seeing also, so maybe somekind of host contamination issue? I am trying it on an OpenSuse machine Apr 10 20:45:57 fray: 11.4 Apr 10 20:46:14 I reproduced this both on RHEL 5.x and FC13 machines.. Apr 10 20:46:19 (before) Apr 10 20:46:27 I no longer have the RHEL 5.x, only CentOS 6 Apr 10 20:46:34 Of which I have neither Apr 10 20:46:43 the FC13 isn't on right now, but I can go and power it up and see if I can get it to come back (as a problem) Apr 10 20:46:59 in fact thats what I'll do right now.. Apr 10 20:47:00 fray: at this point that would be helpful Apr 10 20:47:19 incandescant: what level CentOS do you have? Apr 10 20:47:55 sgw: I have a 5.7 VM Apr 10 21:00:33 (BTW I did my test on CentOS on a mips target.. I'm doing x86_64 on my FC13 machine) Apr 10 21:16:57 seebs: any progress on the pseudo rpath issue? Apr 10 21:38:55 hehhehheh Apr 10 21:46:03 ok FC13 usr1 image built.. now on to configure and test user 2 Apr 10 22:02:22 sgw: the rpath issue is fixed in upstream pseudo now, the problem is that pseudo shoves in an rpath for sqlite even if it's got --enable-static-sqlite. A quick local fix would be to --without-rpath pseudo's configure line. Apr 10 22:02:51 ok.. I'll sync it over to the yocto project git then Apr 10 22:03:20 sgw -- failed on FC13 Apr 10 22:03:27 FC13 & x86_64 Apr 10 22:04:09 fray yeah!, can you do a strace of the bitbake psplash Apr 10 22:04:16 onfigure:3038: ccache x86_64-oe-linux-gcc -m64 --sysroot=/home/usr2/oe-core/build-ia32-2/tmp-eglibc/sysroots/qemux86-64 -c -O2 -pipe -g -feliminate-unused-debug-types conftest.c >&5 Apr 10 22:04:16 cc1: error: /home/usr1/oe-core/build-ia32/tmp-eglibc/sysroots/qemux86-64/home/usr1/oe-core/build-ia32/tmp-eglibc/sysroots/qemux86-64/usr/include: Permission denied Apr 10 22:04:17 cc1: error: /home/usr1/oe-core/build-ia32/tmp-eglibc/sysroots/qemux86-64/usr/include: Permission denied Apr 10 22:04:17 configure:3042: $? = 1 Apr 10 22:04:24 which strace command do you want me to run? Apr 10 22:05:10 strace -s 8192 -f -o out bitbake psplash (after a cleansstate) Apr 10 22:06:41 fray: could you also see whether changing the umask has any effect on that? Apr 10 22:06:57 my current umask is 0002 Apr 10 22:07:17 that is the same on the other machine (CentOS 6) Apr 10 22:07:25 I wonder if the problem is x86_64 vs mips Apr 10 22:07:26 fray: ok, fair enough Apr 10 22:08:27 wow.. there is a lot of stuff in the small little build attempting to use the "usr1" paths.. Apr 10 22:08:31 things like 'git' Apr 10 22:09:15 7728 open("/home/usr1/oe-core/build-ia32/tmp-eglibc/sysroots/x86_64-linux/etc/gitattributes", O_RDONLY) = -1 EACCES (Permission denied) Apr 10 22:09:15 7728 access("/home/usr1/oe-core/build-ia32/tmp-eglibc/sysroots/x86_64-linux/etc/gitconfig", R_OK) = -1 EACCES (Permission denied) Apr 10 22:09:42 interesting: Apr 10 22:09:42 8384 access("/home/usr2/oe-core/build-ia32-2/tmp-eglibc/sysroots/x86_64-linux/u Apr 10 22:09:42 sr/bin/x86_64-oe-linux/../../lib/x86_64-oe-linux/gcc/x86_64-oe-linux/4.6.4/../.. Apr 10 22:09:42 ry) Apr 10 22:09:42 8384 write(2, "Using built-in specs.\n", 22) = 22 Apr 10 22:11:14 sgw -- I'll attach my "out" file Apr 10 22:12:18 fray: might have to email it. Apr 10 22:14:19 8 MB bziped Apr 10 22:23:58 yup, 1 MB is the limit Apr 10 22:26:26 sgw -- ok updated 2074 w/ the URL of the logs Apr 10 22:26:54 yocto project "pseudo" repository is also current w/ the github version now.. Apr 10 22:27:16 I'd recommend for the rpath thing we just pull the commit(s) and patch it for right now.. as there isn't a new tagged release of pseudo yet.. Apr 10 22:27:56 fray: send that patch, I will look at the logs Apr 10 22:28:10 fray did you see anything in the strace that gave any hints? Apr 10 22:28:36 nothing that I didn't expect -- except for the specs not being readable.. Apr 10 22:28:45 (and the git* files) Apr 10 22:29:14 I've got to prepare for a meeting right now.. but I want to run the same test on CentOS 6 and see if I get the same failure.. if I do or don't it should give us additional insight Apr 10 22:30:09 fray thanks for the followup Apr 10 22:31:11 looking, briefly, at pseudo git repo.. looks like there are three patches since the 1.3 release.. Apr 10 22:31:27 Yeah. One quick cleanup patch, then fixes for the RPATH thing and a cleanup for the arch thing. Apr 10 22:31:45 the first two, cleanup and fixes and improve RPATH logic are likely needed "now".. the third (and most recent) are needed only for non IA support for pseudo (I'd say we push that until after the 1.2 release) Apr 10 22:32:33 actually I take that back.. I don't think the cleanup is needed either.. except the system.c fix maybe? Apr 10 22:32:39 The cleanup's pretty optional, although it may fix weird behavior... yeah. Apr 10 22:32:40 seebs, suggestions? Apr 10 22:33:03 Well, the cleanup other than the system thing is harmless, and the arch thing should have no effect at all if we don't add a --arch= to our recipe. Apr 10 22:52:17 its a commendable thing that OE-Core builds fine with gcc 4.5 4.6 and 4.7 Apr 10 22:52:41 and also swapping C libraries (eglibc or uclibc) Apr 10 23:03:36 khem: that is nice :) Apr 10 23:04:46 RP__: indeed Apr 10 23:05:25 RP__: there are lot of config related patched in gcc we are carrying that arent needed anymore I have cleaned them up in 4.7 Apr 10 23:05:42 khem: cool! :) Apr 10 23:05:42 I am not interested in changing those for 4.6 or 4.5 Apr 10 23:05:53 khem: no, that seems reasonable Apr 10 23:06:38 but I have made sure that gcc 4.6 works well still and they both can reside together Apr 10 23:06:46 since thats going to be the case for some time Apr 10 23:08:08 khem: right :/ Apr 10 23:09:27 patches like this http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/gcc-4.7&id=4d6bf3ee829fbf4cd2d442dd8186171ada29e4ed Apr 10 23:09:36 are needed for meta-linato to gel well Apr 10 23:12:44 hm..| ERROR: autoreconf execution failed. Apr 10 23:12:44 NOTE: package shadow-native-4.1.4.3-r4: task do_configure: Failed Apr 10 23:15:50 ant__: gettext macros? Apr 10 23:16:37 yes, some warnings about that Apr 10 23:16:49 If so, "bitbake gettext-native gettext-minimal-native -c clean" Apr 10 23:17:14 ant__: there is an open bug but cleaning both at once turns out to be tricky to arrange :/ Apr 10 23:18:42 ok, thx Apr 10 23:18:56 this is on screen: http://paste.debian.net/162817/ Apr 10 23:20:40 RP__: that worked indeed Apr 10 23:46:44 Is there a debug mode bitbake can be put into where a non-zero exit status from a shell command bitbake is executing does *not* cause bitbake to immediately stop running? Apr 10 23:53:16 zenlinux: bitbake -k ? Apr 10 23:54:05 khem, not sure if that will work, let me check the docs on that Apr 10 23:55:08 I don't think that's what I'm looking for Apr 10 23:55:26 What I want to be able to do within a task is something like: Apr 10 23:55:40 shell command x y z Apr 10 23:55:47 retval=$? Apr 10 23:56:02 echo "shell cmd failed with $retval" Apr 10 23:56:23 currently, bitbake stops executing the task as soon as shell command exits with a nonzero status Apr 10 23:56:34 that's because bitbake calls sh with set -e Apr 10 23:56:39 kergoth, yes, exactly Apr 10 23:56:42 just set +e to revert hte behavior Apr 10 23:56:43 can I disable that? Apr 10 23:56:47 trivial Apr 10 23:56:52 same way you do outside of oe :) Apr 10 23:57:05 kergoth, thanks! I didn't think it was that simple. Apr 10 23:57:09 alternaitvely, set -e doesn't exit when the failure works with boolean operation Apr 10 23:57:14 I also didn't know if set -e was a bashism Apr 10 23:57:16 e.g. some shell command || retval=$? Apr 10 23:57:29 so that works too Apr 10 23:57:29 aaahh Apr 10 23:57:34 yes! thanks! Apr 10 23:57:43 np Apr 10 23:58:05 also, bashism or not isn't relevant, as we require bash right now Apr 10 23:58:12 so all tasks by definition run in bash Apr 10 23:58:23 but pretty sure set -e/+e works equally well in any posix compliant shell :) Apr 10 23:58:46 kergoth, no I thought that was dropped early in this release cycle.. Apr 10 23:58:55 the sanity check for bash vs dash was removed (or at least disabled) Apr 10 23:59:25 a user just found an issue w/ the rootfs_rpm.bbclass that when run w/ dash it fails... Apr 11 00:00:08 ah, i didn't realize it was disabled. how did you verify that it doesnt' break anything? the whole point of that check was because the build didn't fail with dash, it'd just act differently, so the problems were extremely difficiult to idenitfy Apr 11 00:00:57 you'll have to ask RP.. I thought he was the one that did that Apr 11 00:01:09 k Apr 11 00:01:54 I know in many cases, (where shell scripts are written out and executed) they're invoking /bin/bash directly now.. Apr 11 00:02:49 ya.. just verified the check is gone from sanity.bbclass Apr 11 00:03:41 I'm not sure of an easy way to find what made the change Apr 11 00:05:42 07ded02ffd37b4fe60a6210dbf56490ea306f0b6 Apr 11 00:06:07 kergoth: most of the autotools stuff prefers bash internally so that takes a large chunk of the problem out our hands Apr 11 00:06:46 kergoth: It leaves us with our scripts since most of the other build stuff was cleaned up by ubuntu by now Apr 11 00:07:26 kergoth: so the remaining failures from our scripts were fixed and some comparisons were made between builds - it all seemed to be ok Apr 11 00:08:36 set -e is posixy but usually sorta risky -- a lot of scripts will blow up in unexpected ways because people don't even think about return statuses of most commands Apr 11 00:15:58 set -e won't propogate to child processes, so i don't see set -e being an issue, unless the user is sourcing external scripts from a task, or make assumptions in writing their tasks Apr 11 00:16:02 RP__: ah, fair enough Apr 11 01:56:09 whats the oe-core magic to make the root passwd empty Apr 11 01:56:13 or what is it? Apr 11 02:05:27 add debug-tweaks to IMAGE_FEATURES to disable the add of 'zap_root_password' to the rootfs postprocess Apr 11 02:05:29 iirc anyway Apr 11 02:06:11 that sounds about right Apr 11 02:06:19 I started from an initrafs image Apr 11 02:06:31 and it cleared IMAGE_FEATURES Apr 11 02:06:41 * kergoth nods Apr 11 02:06:49 working from first principles can be a bit trying Apr 11 02:09:16 damn it Apr 11 02:09:39 I should quit Apr 11 02:09:47 and start again in the morning Apr 11 02:09:49 so close though Apr 11 02:14:57 ok Apr 11 02:15:12 i had added shadow, which broke the zap passwd thing Apr 11 02:15:51 i added shadow once too and it broke my root login with no password Apr 11 02:16:10 i couldn't log in Apr 11 02:20:14 odd Apr 11 02:20:32 ya Apr 11 02:21:10 who is supposed to make dev nodes for mmcblk0p? Apr 11 02:21:28 no idea Apr 11 02:21:31 sry Apr 11 02:23:28 I think I need more udev rules Apr 11 02:25:07 no **** ENDING LOGGING AT Wed Apr 11 02:59:58 2012 **** BEGIN LOGGING AT Wed Apr 11 02:59:58 2012 Apr 11 09:16:51 I just noticed the pale blue dot in the yocto logo. does it have an expressed meaning? I suppose it's not to make us feel small and insignificant ;-) http://en.wikipedia.org/wiki/Pale_Blue_Dot Apr 11 09:24:17 Zagor: it's the "elementary particle" I think Apr 11 09:25:42 ah Apr 11 12:14:15 Hello everybody! Apr 11 12:14:34 What is the easiest way to find why a specific rpm is installed in a image. Apr 11 12:14:36 ? Apr 11 12:14:44 Who requires it? Apr 11 12:16:12 ag: I can tell you how to do this with opkg, not so sure with rpm :/ Apr 11 12:16:36 RP__: Thanks. opkg won't work for me. Thanks anyway. Apr 11 12:17:09 ag: if you have the build, a grep over the pkgdata directory might give you a clue Apr 11 12:17:59 RP__: I will try. Apr 11 12:34:38 ag: you can also use buildhistory, that generates dependency graphs just for the image Apr 11 12:35:13 i did the hard way: query on rpms. :) Apr 11 12:38:41 ah ok... basically that's what the buildhistory class does internally Apr 11 12:38:54 bluelightning: But there will be a time for me to understand that buildhistory Apr 11 12:38:59 bluelightning: but not today. :) Apr 11 12:39:05 fair enough :) Apr 11 14:58:09 So, someone waved an issue at me involving pseudo on 64-bit hosts, which is that pseudo assumes pretty thoroughly that sqlite's libraries are in $something/lib, not lib64. Apr 11 14:58:41 And it occurs to me that OE and Yocto are built on a much wider range of hosts than wrlinux is, I think. So has anyone seen anything like that, possibly involving recentish OpenSuSE? Apr 11 15:03:38 debian is the one I know of that is moving to a weird format.. I thought SuSE was using either /lib or /lib64 for their 64-bit libraries Apr 11 16:07:15 fray: can you check your email about the useradd thing for a previous email from me Apr 11 16:07:59 seebs: we build sqlite and tell pseudo where it is Apr 11 16:08:08 I only see the one I responded too and the one from Scott Garman earlier Apr 11 16:08:14 Do we put the libraries in something/lib? Apr 11 16:08:26 fray: you didn't see my reply with the four solutions? Apr 11 16:08:30 Because if I've understood pseudo's config correctly, it presupposes a foo/lib directory. Apr 11 16:08:33 yes, thats the one I responded to Apr 11 16:09:18 ya, it's even in my sent box.. ;) I responded about an hour ago Apr 11 16:09:48 b and d I read as the same, and best solution.. c is reasonable, but not sure how that works with the debian approach of passwd/group management Apr 11 16:09:57 and I don't think a solves the issue Apr 11 16:12:38 fray: found it, sorry, my email didn't seem to want to update :/ Apr 11 16:12:55 fray: having read the rpm install code fairly recently, a will address the issue Apr 11 16:13:31 no problem.. :) Apr 11 16:13:34 seebs: we do use something/lib, yes Apr 11 16:14:02 ya, but there is nothing to guarenty that it will.. RPM really can reorder everything arbitrarily.. at once time (a testing/verification only patch) went in that did exactly that Apr 11 16:14:04 seebs: it is configurable through the libdir variable though so you probably can't install a multilib pseudo on a target Apr 11 16:14:07 relying on manifest order is a bad idea Apr 11 16:14:26 The libdir argument doesn't affect how/where we look for sqlite, though. Apr 11 16:14:35 fray: there is no code that will do that in there assuming no circular dependencies Apr 11 16:14:41 fray: that I saw anyway... Apr 11 16:14:58 seebs: we pass in that as an option though don't we? Apr 11 16:15:24 correct, the code was only temporary.. but the point is the behavior can change, and the authors have said as much in the past.. Apr 11 16:15:31 The problem reported to me is that, in another environment, sqlite is in foo/lib64, and pseudo's configuration doesn't handle that; you specify --with-sqlite=foo, and it infers foo/lib./ Apr 11 16:15:32 relying on manifest order isn't a good idea Apr 11 16:23:47 fray: I think we might have to for this release. I don't really want to rewrite the rpm package installation code at -rc3 Apr 11 16:24:31 RP__ not going to disagree with you there.. :) Apr 11 16:24:45 I'm still trying to understand from the other post set why dbus goes in before base-passwd.. Apr 11 16:25:00 thread from Donxiao Xu Apr 11 16:25:33 fray: I suspect there is more to that log Apr 11 16:25:44 bingo.. I think I know what is happening.. Apr 11 16:25:52 base-passwd required /bin/sh Apr 11 16:25:54 as does dbus-1 Apr 11 16:25:57 right Apr 11 16:26:08 and it hasn't found those in the manifest yet Apr 11 16:26:19 /bin/sh is provided by another package that uses the alternatives methods.. which are also required by the useradd stuff (I thought) Apr 11 16:26:27 so there is a long circular dependency chain, I think Apr 11 16:26:34 (haven't verified that) Apr 11 16:28:06 * fray switches a build from ipk to rpm to check if that may be happening Apr 11 16:29:01 fray: it doesn't need to be circular Apr 11 16:29:05 RP -- it just occurded to me.. there is a switch for rpm that will prevent it from evaluating dependencies Apr 11 16:29:22 so if the manifest is already in order (or adjusted order) we can force that as the install order as well.. I think Apr 11 16:29:57 * fray checks if that option still exists Apr 11 16:31:17 it's --noorder Apr 11 16:31:29 add that to the install line, and the order specified in the manifest will be used exactly Apr 11 16:31:53 there, that solves my concern of the order being changed even if we manipulate the install manifest Apr 11 16:31:57 fray: it won't help, it won't execute the post install until all dependencies are installed Apr 11 16:32:20 yes, that is correct Apr 11 16:32:52 but I thought the order was already determined? Apr 11 16:33:28 fray: we put shadow and base-passwd at the start, not their dependencies Apr 11 16:33:38 if we do the latter, I think the problem won't occur Apr 11 16:33:49 I'm trying to figure out magic shell commands to test this theory Apr 11 16:35:50 base-passwd requires /bin/sh -- /bin/sh is provided by either bash or busybox -> both require glibc components.... but I don't see glibc reuqiring anything magic Apr 11 16:36:51 BTW you can do a forced install --and-- run the post-install scripts.. you just have to make sure you have the infrastructure in place to run them Apr 11 16:37:13 installing base-passwd and shadow with --nodeps should do exactly that Apr 11 16:38:27 BTW we don't have this problem w/ the base-passwd package at least in WR Linux because we don't use shell scripts for the post-install options.. we use a built-in lua interpreter.. Apr 11 16:38:36 here is another possibility.. Apr 11 16:38:57 you can tell RPM what dependencies are already provided by the system.. we could put /bin/sh in there (as I believe that is the culpret in this) Apr 11 16:39:19 that would allow the /bin/sh dep to be satisfied right away, triggering the post install.. (but the /bin/sh providers would still be installed later) Apr 11 16:39:30 fray: and have /bin/sh effectively go missing from some images? Apr 11 16:39:36 no, it won't Apr 11 16:39:43 you generate the manifest w/o the provide Apr 11 16:39:58 you only add the manual provide during the install step.. changing the scriptlet triggering order.. Apr 11 16:40:01 fray: we'd still need to ensure libc is at the top Apr 11 16:40:05 (then remove it as well) Apr 11 16:40:17 why libc? it only nees to be on top to allow /bin/sh to run right? Apr 11 16:40:27 fray: check out shadow's depends Apr 11 16:40:38 fray: we need shadow *and* base-passwd Apr 11 16:42:49 ya, I see shadow requires libc Apr 11 16:43:34 it's the pwconv and grpconv as well.. Hmm Apr 11 16:44:25 well, the other option is go back to what we were doing in 1.1.. delay all of the post install operations until after the packages are installed.. Apr 11 16:44:31 then only pre-installs are run during the build.. Apr 11 16:46:40 back in 15.. need to grab food before my next meeting Apr 11 16:48:02 nitink, nice work on 2259 Apr 11 16:48:09 yocti, nitink++ Apr 11 16:48:25 dvhart :) Apr 11 16:48:51 changing package_install_internal_rpm triggers all the package_write_rpm tasks to rerun? That is seriously screwed up:/ Apr 11 16:55:44 fray: sadly not an option due to the requirement to setup users before installing files Apr 11 16:58:42 I thought the usersetup was "pre-install" not post Apr 11 16:59:16 really, package_install_internal_rpm shouldn't change anything except image generation.. how odd Apr 11 17:02:12 fray: our problem is preinstall Apr 11 17:02:26 fray: the pre installs also wait on dependencies Apr 11 17:02:30 Hmm.. I thought post install was part of it.. Apr 11 17:02:32 Hmm Apr 11 17:04:18 fray, zenlinux: http://pastebin.com/D96uDwQg is what I'm trying to test Apr 11 17:04:31 I have it applied to the test case on ab05 but I'm out of time :( Apr 11 17:04:49 build is running but not finished Apr 11 17:05:26 libc assumes the debian rename has happened.. turn that off and hte package name is glibc Apr 11 17:05:33 otherwise looks reasonable Apr 11 19:36:33 fray: around? Apr 11 19:36:59 my day of meetings seems to be coming to an end.. I have time to work on "real" problems Apr 11 19:37:18 fray: I tried adding /bin/sh to Providename as suggested Apr 11 19:37:27 fray: rpm appears to be ignoring me Apr 11 19:37:36 fray: strace confirms it does look at the file :/ Apr 11 19:38:03 I'm trying to remeber if that is the right file Apr 11 19:38:08 (there are a number of them) Apr 11 19:38:17 fray: its the one we use in the other case we do this Apr 11 19:38:32 but in that case we do this earlier Apr 11 19:38:39 well the way to check is try to install -only- base-passwd with it set.. Apr 11 19:38:46 if it fails, then it's not looking there like it should ;) Apr 11 19:44:39 fray: that does appear to work :/ Apr 11 19:44:57 then it must be a precidence thing with package deps over manually set ones.. :( Apr 11 19:46:34 fray: right :( Apr 11 19:47:52 does glibc have a base-passwd requirement? if it did we could trigger a circular dependency, one that we could break.. Apr 11 19:48:01 (I'm not sure its a good idea though cause of ipkg and deb behaviors) Apr 11 19:49:18 BTW that sstate compiler problem.. it happens on FC13, but not CentOS.. I verified that with identical configurations.. :P Apr 11 19:49:28 so we have a host / host contamination issue (maybe) Apr 11 19:50:24 fray: interesting :/ Apr 11 19:50:31 ya, thats one word for it Apr 11 19:50:43 my first reaction was a four letter word... Apr 11 19:53:05 fray: I'm trying not to type words like that in connection with rpm atm ;-) Apr 11 19:53:15 I can tell Apr 11 19:55:56 BTW we don't actually need the shadow utilities installed for adduser/group to work do we? (on the host install, only for self-hosted work right?) Apr 11 19:56:28 does shadow have a dependency on passwd? Apr 11 19:57:29 ahh useradd my favorite ;) Apr 11 19:57:30 Hmm it does not.. Apr 11 19:57:39 would this work? shadow requries base-passwd (which is reasonable) Apr 11 19:57:52 everything that users adduser/addgroup require "adduser/addgroup".. which is then provided by shadow? Apr 11 19:58:14 that should force shadow and base-passwd to be "installed" before adduser/group is executed Apr 11 19:59:05 I think the /bin/sh dependency in base-passwd is one thing screwing us up, but I don't know a way around that.... Apr 11 20:01:13 (btw there used to be some hard coded package names in rpm... if the code is still there, maybe we have to use it to force base-passwd early...) Apr 11 20:05:53 RP, sorry to change subjects.. any feeling on the direction of the MIPS/MIPS32 thing? Apr 11 20:06:01 Andreas was the only one to respond Apr 11 20:18:18 FYI.. centos dependencies.. "setup" provides the passwd/group files.. filesystem, basesystem, shadow-utils requires setup Apr 11 20:18:46 filesystem requires basesystem Apr 11 20:19:10 sorry, basesystem requires filesystem Apr 11 20:19:28 can't figure out what requires basesystem though.. Hmm.. Apr 11 20:19:47 point is though shadow-utils requireing the passwd/group file package is reasonable.. and it's definitely the post install script that is screwing us Apr 11 20:22:29 is there a summary of the locale situation in oe somewhere? e.g. the eglibc-locale bits, what vars do what.. in particular, I'm wondering if locale files from the external toolchain belong in usr/lib64/locale or usr/lib/locale. the csl toolchain has it in the latter, even though that's not relative to ${libdir} (base_libdir == lib64 in this case) Apr 11 20:23:10 locale files need to be wherever glibc is looking for them, I assume at least Apr 11 20:24:03 * fray breifly looks at eglibc Apr 11 20:24:13 i couldn't recall if it was glibc looking for them. if it is, i presume in this case they need to be in usr/lib/locale, which mean i might need to hack the eglibc-locale recipe Apr 11 20:24:17 hrm Apr 11 20:24:53 ya.. it's the value of --localedir when compiled Apr 11 20:24:56 'er.. configured Apr 11 20:25:08 localedir is by default datarootdir/locale.. Apr 11 20:25:13 so usr/share/locale? Apr 11 20:25:45 ah, right, intl is in eglibc, but not in uclibc, need gettext's libintl for that Apr 11 20:25:52 ah, hmm Apr 11 20:25:55 datarootdir is prefix/share.. so ya.. usr/share or just /share Apr 11 20:26:02 okay, thanks, i'll poke around some more Apr 11 20:26:05 np Apr 11 20:26:29 we have a mips64 setup we need to play with using an external csl toolchain, heh Apr 11 20:26:40 blah, the locale generation options table doesn't have that arch :) Apr 11 20:30:06 easy to add ;) Apr 11 20:30:17 tell me the arch and I'll tell you the settings.. Apr 11 20:30:25 (big endian/little endian -- n32 or n64) Apr 11 20:31:24 where is the locale table? I thought it was in meta/recipes-core/eglibc.. is it in a class? Apr 11 20:31:39 libc-package.bbclass? Apr 11 20:31:55 yep, it's in libc-package.bbclass Apr 11 20:32:24 think this is n64/le, but i'm not the expert, i'm integrating a bsp layer someone else threw together, and it's exploding in my face :) Apr 11 20:32:49 * kergoth rolls eyes Apr 11 20:33:30 I'm looking.. hopefully won't take much longer Apr 11 20:35:06 there are only two valid settings AFAIK: Apr 11 20:35:07 glibc_localedef_OPT_little4 = --little-endian --uint32-align=4 Apr 11 20:35:07 glibc_localedef_OPT_big4 = --big-endian --uint32-align=4 Apr 11 20:35:17 no worries, appreciate the assistance, i've always worked hard to ignore locales and gettext and.. Apr 11 20:35:21 so for mips and mips64 it's the same Apr 11 20:35:22 k, thanks Apr 11 20:35:27 for mipsel and mips64el it's the same Apr 11 20:35:31 * kergoth nods Apr 11 20:36:34 should make the class use the big-endian/little-endian tunings in TUNE_FEATURES control that argument at some point :) Apr 11 20:37:27 ya, I would agree with you.. Apr 11 20:37:38 hard coding it in the libc-package is likely a bad idea Apr 11 20:38:26 and afaik, all of the architectures we currently, and are likely to support all have the same alignment.. so it's just a big vs little endian thing Apr 11 20:38:31 at a minimum that should have gone based on siteinfo, at least consolidate that sort of knowledge in one place Apr 11 20:38:35 ah, cool Apr 11 20:39:00 (You'd have the ask the former CS side of the house if there are any architectures where the alignment isn't 4..) Apr 11 20:39:16 ...but there aren't in arm, ppc, ia and mips... Apr 11 20:41:15 * kergoth nods Apr 11 20:47:31 thinking about it, I wouldn't be surprised if S390 had a different alignment Apr 11 20:56:40 fray: looks like binary localedata ends up in ${libdir}/locale, non-binary in ${datadir}/i18n/locales Apr 11 20:56:43 * kergoth pokes further Apr 11 20:56:55 Ahh ok... Apr 11 20:57:13 it should be all based on the configure settings at least Apr 11 20:58:15 hmm, i never thought about potential interactions between external-csl-toolchain and host permissions. i have files in the ipk with my build machine's uid :) oops Apr 11 20:58:20 guess i need a chown in there Apr 11 20:58:39 kergoth: probably Apr 11 20:58:45 sounds like a missing do_install to correct those Apr 11 21:31:34 fray: I've just mailed a patch out Apr 11 21:36:07 (I agree it's currently horrible) Apr 11 21:38:10 what does the initial_solution manifest look like, how many pages ended up in it? Apr 11 21:38:34 fray: seven packages Apr 11 21:38:45 all on one page :) Apr 11 21:38:52 those three plus glibc and? Apr 11 21:40:46 Sorry, libc6, shadow-securetty, base-files, busybox-udhcpc, busybox, busybox-syslog, libgcc1, base-passwd, shadow, update-rc.d Apr 11 21:41:00 so 10, I can't count Apr 11 21:41:14 ahh forgot.. busybox provides the /bin/sh Apr 11 21:41:25 (and that in turn requires the busybox-udhcpc and update-rc.d) Apr 11 21:41:31 ok.. that list makes sense to me.. Apr 11 21:41:51 yes, it was the one I came up with manually and tried reordering the list with :/ Apr 11 21:41:52 I've reviewed it and don't see any issues.. want a reviewed-by email sent? Apr 11 21:41:58 fray: sure :) Apr 11 21:42:12 fray: I'm just testing out a couple of things Apr 11 21:42:42 yup.. figured you'd ned to Apr 11 21:43:06 I hope we can eventually move to a model of external image generation.. so this crap can all be moved outside of the class structure.. Apr 11 21:43:17 (it'll likely be just as painful there..) Apr 11 21:43:27 I doubt that will make much difference Apr 11 21:43:39 that class would be way more readable with some sensible functions... Apr 11 21:44:06 first versions were not so good, and it's gotten progressively worse I'm afraid.. Apr 11 21:44:23 Its not that what its doing is hard, its just all the options to pass to rpm... Apr 11 21:44:44 I spent 10 mins wondering why it wasn't working with a base_arch vs ml_arch typo Apr 11 21:44:59 ya, the multilib stuff is a huge mess.. Apr 11 21:45:16 I'd really really like to re do this using zypper, yum, smart or whatever else.. instead of having to do the dependency resolution ourselves.. Apr 11 21:47:26 fray: is this patch going to break with multilibs? Apr 11 21:47:44 I don't think so.. I looked for an obvious failure there and I don't see one Apr 11 21:47:54 fray: There is no -D "`cat ${confbase}-ml_archs.macro`" Apr 11 21:48:11 the only other obvious failure would be the debian rename class.. but none of things selected fall into that category Apr 11 21:48:14 fray: Could I pass in both the ml_archs and the base_archs ? Apr 11 21:48:19 what about multi-arch , trolls Crofton Apr 11 21:48:39 * RP__ can't hear Crofton Apr 11 21:49:00 * Crofton sees RP__ saying la la la la la Apr 11 21:49:05 looking at the code, I don't see any removed multilib functionality -- so it should be fine Apr 11 21:49:14 you can't compile the two macro sets because they would overlap each other Apr 11 21:49:20 fray: think about the case its installing lib32-base-passwd Apr 11 21:49:30 or lib32-shadow Apr 11 21:49:47 I doubt that would have worked before Apr 11 21:50:36 I'm trying to think here.. Apr 11 21:50:54 fray: it does work and I know QA test this Apr 11 21:51:06 I'm surprised actually.. Apr 11 21:51:18 did they check if it was using only lib32 items, or did it suck in the regurlar as well? Apr 11 21:51:32 what is the arch type of base-passwd? noarch/all or target arch? Apr 11 21:52:48 hmm target arch Apr 11 21:53:07 is there any way we can tell what the arch type is of the to-be-installed arch? Apr 11 21:53:21 we could adjust the check for that, but the check really should only be on the primary arch being installed Apr 11 21:53:31 (second arch's should fall back to the regular code path) Apr 11 22:00:54 This patch also breaks the toolchain build Apr 11 22:04:47 because no packages are selected? Apr 11 22:04:53 fray: no, false alarm Apr 11 22:05:03 if those things aren't there, then the initial list goes to nothing.. and ya.. that could fail Apr 11 22:05:12 * RP__ left some debug code in disabling index recreation ;-) Apr 11 22:05:24 fray: This is why I was testing that Apr 11 22:05:38 is there a check for an empty manifest anywhere? Apr 11 22:06:13 I thought there used to be, but I don't see it in the patch fragment.. (and I need to leave.. I'm the only one currently allowed to drive in the family... kid has no license, mom is on painkillers) Apr 11 22:06:40 fray: np. I think empty manifests work Apr 11 22:07:56 please verify that.. I know RPM won't like them.. infact a manifest smaller then I believe 20 characters is considered invalid as well.. Apr 11 22:08:01 (due to a historical problem) Apr 11 22:08:14 which is why most manifest files start with an initial comment line.. just to pad them out Apr 11 22:08:25 but an empty one should trigger a failure message about nothing to install Apr 11 22:08:33 (thus why i thought there was a checkf or that) Apr 11 22:08:57 RP__: had a chance to take a look at either the sstate reuse rfc or the bitbake patch for the siggen whitelist problem? Apr 11 22:09:07 later.. Apr 11 22:10:17 kergoth: I did read through both. The bitbake siggen code one is something I know has gone backwards and forwards as the code was developed. I can't remember why it ended up the way it did. Part of me wants to teach pysh what unset means... Apr 11 22:10:40 kergoth: Regardless, I concluded it was better looked at after release. I've then got swapped with release stuff :( Apr 11 22:11:14 k, np. no rush, we worked around it via manually ensuring the problematic env vars are always set in our setup scripts, and we keep the sstate-reuse bbclass in our layer for now Apr 11 22:11:48 kergoth: Its something I really want to spent some time and think about rather than rush into... Apr 11 22:12:13 the siggen one is clearly a bug. you treat tasks differently than functions. TERM is explicitly removed from the deps list for tasks, but not functions Apr 11 22:12:32 the other, i agree, which is why it's self contained and opt-in Apr 11 22:20:44 | bison -y -d ./parse.y | conflicts: 1 shift/reduce | make: *** [y.tab.c] Broken pipe | ERROR: oe_runmake failed Apr 11 22:20:53 anyone come across this one in bash's build? Apr 11 22:39:17 kergoth: never seen it before Apr 11 22:56:53 strange Apr 11 23:29:02 fray: fwiw, multilibs look saner with both solverdb sets involved. I've therefore pushed that version since it seems to work ok in other configurations too Apr 11 23:36:18 RP__: gzip-native's write to sysroot can race with sstate_archive :( another issue with non-atomic write of a binary to the sysroot bindir Apr 11 23:36:50 * kergoth 'll open a bug for tracking purposes Apr 11 23:36:58 kergoth: do you have the changes in master related to that? Apr 11 23:37:10 ah, perhaps not. will check that, thanks Apr 11 23:38:19 kergoth: those should resolve that one. Can't say I like the solution but it at least removes the race Apr 11 23:38:40 k Apr 12 01:03:04 khem: ping Apr 12 01:37:44 nitink: whats up Apr 12 01:38:17 khem: wondering if you have seen this with gcc 4.7: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2278 Apr 12 01:38:53 khem: as it is a native recipe you may not see it Apr 12 01:44:40 nitink: its a scope problem Apr 12 01:44:57 see some of my recent fixes in OE-Core Apr 12 01:45:03 khm: we found fix, saul posted it on the bug Apr 12 01:45:05 to zypper Apr 12 01:45:25 khem: ok will see your fixes too Apr 12 01:46:23 you need to include unistd.h in that file Apr 12 01:46:44 khen: yes zypper has the same fix Apr 12 01:47:38 yes I have fixed some of issues I have encountered **** ENDING LOGGING AT Thu Apr 12 02:59:58 2012 **** BEGIN LOGGING AT Thu Apr 12 02:59:58 2012 Apr 12 12:29:38 A bug I submitted looks fixed in master after one of recent commits... what's best practice? should I change its state to RESOLVED or is it done automatically as documented on the project's wiki? just to know what's best Apr 12 12:32:11 I don't know what is preferred, but I would add a comment on the bug saying it appears to be fixed Apr 12 12:35:33 Thanks Zagor! this is done ;-) Wanted to know if I should go any further Apr 12 12:47:17 gizero: which bug is this out of interest? Apr 12 12:47:51 #2244 Apr 12 12:47:53 gizero: If you were the submitter and you think its fixed, I'd add a comment, the mark it as resolved fixed. If you were not the submitter, I'd just add a comment Apr 12 12:48:39 ok! I'll do so... sounds reasonable, thanks! Apr 12 12:48:42 gizero: so since you were the submitter I'd mark it as resolved fixed if you're happy its now been resolved Apr 12 13:34:36 fray: ping? Apr 12 15:27:27 nick autif Apr 12 15:55:56 fray ping Apr 12 15:56:32 hey Apr 12 15:56:47 BTW if it comes down to it, I can likely get an FC13 outside of our VPN.. Apr 12 15:56:56 (I just can't guarenty a static IP) Apr 12 15:58:00 fray: could you run just the configure scripts (from the temp dir) on those 2 machines with strace to remove alot of the noise? Apr 12 15:59:00 ya.. I should be able to Apr 12 15:59:12 I'll run the do_configure step Apr 12 16:00:11 fray, not via bitbake, just run the script directly (you could even edit it to have the strace on the configure process itself Apr 12 16:00:46 ok.. I can do that Apr 12 16:01:10 fray: just the run.do_configure.* script in WORKDIR/temp Apr 12 16:01:30 RP__ will it setup the environment as well? Apr 12 16:03:02 the run scripts always contain the environment, yes Apr 12 16:03:11 ok Apr 12 16:04:16 30 MB uncompressed Apr 12 16:06:06 4.1 MB compressed.. Apr 12 16:06:17 Bigger? Apr 12 16:08:03 it'll take me a few minuts to rerun it on centos.. Apr 12 16:08:11 (Id rmeoved my "usr2" directory) Apr 12 16:23:01 centos version uncompressed.. 36 MB Apr 12 16:23:44 4.5 MB compressed Apr 12 16:24:54 https://gate.crashing.org/~fray/yocto/fc13-configure-out.bz2 Apr 12 16:25:02 https://gate.crashing.org/~fray/yocto/centos-configure-out.bz2 Apr 12 16:25:09 'er.. no 's' Apr 12 16:25:23 * fray is adding to the bug Apr 12 16:32:44 comparing the strace files.. the compilers are simply working differently when they get to that code path Apr 12 16:34:09 - stat("/home/usr1/oe-core/build-ia32/tmp-eglibc/sysroots/qemux86-64/home/usr1/oe-core/build-ia32/tmp-eglibc/sysroots/qemux86-64/usr/include", 0x7fff6f506ab0) = -1 EACCES (Permission denied) Apr 12 16:34:14 + stat("/home/usr2/oe-core/build-ia32-2/tmp-eglibc/sysroots/qemux86-64/home/usr1/oe-core/build-ia32/tmp-eglibc/sysroots/qemux86-64/usr/include", 0x7fffcc96cf70) = -1 ENOENT (No such file or directory) Apr 12 16:34:45 notice the difference? the first one looks in /home/usr1/.../home/usr1/... while the second looks in /home/usr2/.../home/usr2/... Apr 12 16:34:54 they are simply behaving differently here.. Apr 12 16:48:20 fray: the centos url doesn't work? Apr 12 16:53:26 * fray checks for typos Apr 12 16:53:43 it's centos62 Apr 12 17:01:18 fray: what's up with the pseudo patch? Apr 12 17:02:16 peter suggested something in the bug.. I'm trying it now.. and I can submit it shortly Apr 12 17:02:28 fray: thanks for the update Apr 12 17:04:24 fray: on fc13 can you disable ccache ? Apr 12 17:04:47 CCACHE="" in local.conf should do it Apr 12 17:04:57 sure Apr 12 17:05:09 fray: a kind of long shot but its made me wonder... Apr 12 17:05:10 do I need to rebuild it all? Apr 12 17:05:34 fray: I'd be interested even just taking ccache out the run.do_configure Apr 12 17:05:37 ok Apr 12 17:06:17 same error Apr 12 17:06:22 CCACHE="" tmp-eglibc/work/x86_64-oe-linux/psplash-0.1+git1+e05374aae945bcfc6d962ed0d7b2774b77987e1d-r1/temp/run.do_configure.7971 Apr 12 17:06:24 that is what I ran Apr 12 17:06:49 it's unlikely that that would work. the urn script almost certainly *sets* CCACHE, overriding your env var Apr 12 17:07:02 but thats coming inot this discussion without any context :) Apr 12 17:07:07 fray: sorry, for the script you'll have to edit it and remove the ccache references Apr 12 17:07:48 (I'm really glad we set F77 in the environment..) Apr 12 17:08:42 that worked Apr 12 17:09:09 fray: worked as in the build succeeded? Apr 12 17:09:16 configure succeeded yes.. Apr 12 17:09:26 can we drop the default use of ccache after the release, please? :) Apr 12 17:09:26 I removed references to "ccache" and "CCACHE_DIR" from the run file Apr 12 17:09:48 fray: The ccache changes the location the compiler objects are placed into which I think changes the compiler behaviour Apr 12 17:09:58 kergoth: yes, I really want to too Apr 12 17:14:13 fray: question is what next. Is the issue in ccache or gcc? Apr 12 17:14:22 we have a workaround I guess... Apr 12 17:14:55 these are two seperate users.. but it does appear to be using the system ccache (as far as I can tell) Apr 12 17:15:09 so the data files are local, but the cacche binary is global? Apr 12 17:15:25 the centos machine I have doesn't have ccache Apr 12 17:17:09 fray: ccache-native wasn't built, right? so yes, data files are local, the ccache binary is from the system Apr 12 17:17:19 you'd have to "bitbake ccache" to get ours Apr 12 17:17:26 er, bitbake ccache-native Apr 12 17:17:36 the ccache_dir was local to the user Apr 12 17:18:07 fray: right, I can see that from the log. There is still something odd going on here... Apr 12 17:19:37 export CCACHE_DIR="/home/usr2/oe-core/build-ia32-2/tmp-eglibc/ccache/x86_64-oe-linux/psplash" Apr 12 17:19:54 no global ccache config for the user either Apr 12 17:22:14 RP__, fyi I'm trying Sakoman's image type to reproduce the image generation issue.. Apr 12 17:22:25 (munged to remove deps outside of oe-core) Apr 12 17:22:27 fray: ah ok, cool Apr 12 17:22:47 (I"m wondering if someone broke bash in meta-oe or something) Apr 12 17:23:20 ugh.. too many windows Apr 12 17:24:18 fray: sakoman mentioned that his bash.spec does contain the Provides: /bin/sh Apr 12 17:24:27 ya.. I saw.. Apr 12 17:24:30 that should be enough Apr 12 17:24:47 fray: right, this confuses things. Next would be to check the rpm I guess Apr 12 17:25:35 ya.. once I reproduce, I'll start looking at it on the package level.. Apr 12 17:25:40 but the code you checked in should be working fine Apr 12 17:25:52 so at this point it has to be dependency resolution based.. either RPM or bad packages Apr 12 17:34:58 fray: I don't see any bash overrides is meta-oe Apr 12 17:35:09 I didn't know of any either.. Apr 12 17:35:22 I'm about 15 minutes from reproducing it (or not) Apr 12 17:42:33 it worked here.. but it picked up busybox for the /bin/sh.. Apr 12 17:42:39 I'm going to clean that out and retry Apr 12 17:44:26 ok.. failure has been reproduced here.. Apr 12 17:44:30 time to start digging into it Apr 12 17:46:14 fray: thanks for looking into this! Apr 12 17:46:56 the dependency resolution failed.. (this was before the install even) Apr 12 17:49:35 fray: have you noticed the python package_do_filedeps_append function in the busybox recipe? Apr 12 17:49:52 seems that might be why busybox is working Apr 12 17:50:20 ya, I wrote that.. ;) Apr 12 17:50:29 but not that isn't the reason it's working.. (or well shouldn't be) Apr 12 17:50:44 the filedeps and package deps all get fed back into the .spec file generation.. Apr 12 17:50:55 rpm -qp --provides shows what is being used for the resolution.. Apr 12 17:50:58 I see /bin/sh in the bash Apr 12 17:51:19 bash = 4.2-r2 Apr 12 18:01:44 msm: ping Apr 12 18:17:48 kergoth: hello Apr 12 18:17:57 now i have to remember what i wanted Apr 12 18:18:00 * kergoth scratches head Apr 12 18:18:09 probably something wrong with meta-fsl-ppc Apr 12 18:18:10 ;) Apr 12 18:18:28 hehe, no. oh, i wanted to ask if you'd had a chance to read my rfc emai about sstate reuse Apr 12 18:28:08 i've read it Apr 12 18:28:11 but not tested it out Apr 12 18:28:26 i suspect it looks good to go - and it's much better than what we have now Apr 12 18:28:32 looks = is Apr 12 18:30:08 okay, thanks, that helps, was looking to make sure i'm not completely insane.. in this, anyway ;) Apr 12 18:31:12 I need to blacklist a package from the build.. I thought there was an easy way tos pecify the PN Apr 12 18:31:28 (I'm failing to find an example) Apr 12 18:31:44 fray: iirc there's the blacklist class, and the corresponding BLACKLIST var or similar. not sure if its in oe-core or meta-oe though Apr 12 18:31:48 * kergoth has never actually used it Apr 12 18:32:00 i just bbmask things out that cause problems usually Apr 12 18:32:05 drat, I thought there was a variable that was honored by bitbake.. Apr 12 18:32:10 I need to stop busybox from being built Apr 12 18:32:21 any examples of bbmask then? Apr 12 18:32:30 (I'd rather no just rm busybox either) Apr 12 18:32:37 well, any recipe can choose to make itself not buildable by raising SkipPackage exception from anonymous python. that's how COMPATIBLE_MACHINE is implemented Apr 12 18:32:41 so you could always do that from a bbappend Apr 12 18:33:05 bbmask is just a regex. BBMASK = "/recipes-core/busybox/" or so Apr 12 18:33:14 will that stop busybox then? Apr 12 18:33:43 it'll keep it from even being parsed, which could cause other issues, it's rather brute force :) Apr 12 18:33:53 that works for me in this instance Apr 12 18:33:57 * kergoth nods Apr 12 18:34:13 at the moment i'm using it to stop the meta-oe bbappends which inheirt systemd from sucking systemd into my builds Apr 12 18:34:16 heh Apr 12 18:45:48 sakoman still working on it.. the bash entry is in the solver db.. but rpm is deciding it's not there.. Apr 12 18:55:09 fray: progress on the fc13 issue, I reproduced on ubuntu 10.11. I updated the bug Apr 12 18:58:45 ok.. so it's not just FC13 then Apr 12 19:02:36 fray: no, it seems ccache messes up the compiler search paths somehow Apr 12 19:02:45 I think this might be a bug in RPM.. its only looking up the dependencies in the FILEPATHS cache, and not the overall dependency set Apr 12 19:02:47 ugh Apr 12 19:02:49 fray: just need to figure out if its ccache or our compiler at fault Apr 12 19:03:35 fray: what worries me is that ccache has no knowledge of this path so it must be coming from some hidden corner in gcc Apr 12 19:04:09 if --sysroot= isn't passed to gcc, I suspect it will return the original path set.. Apr 12 19:04:19 my guess is ccache doesn't know that --sysroot= is a critical variable.. Apr 12 19:04:34 in WR Linux we embed the --sysroot= into a wrapper, and ccache calls the wrapper (it doesn't even know that exists) Apr 12 19:04:40 I suspect ccache is trying to be smart Apr 12 19:06:19 fray: --sysroot is passed through Apr 12 19:06:54 but when ccache does it's magic does it pass it? I assume ccache is trying to identify include paths and such from gcc so it's sure they haven't changed from one run to the other Apr 12 19:07:35 udhcpc is stupid Apr 12 19:11:23 ok.. if I play with the values I can make this work.. now to figure out the real fix.. (and I still have no idea why busybox is working and bash not) Apr 12 19:14:27 fray: the exec call has the --sysroot option passed through Apr 12 19:15:06 fray: toolchains just failed again on the rebuild of rc3 :( Apr 12 19:15:20 no idea then... Apr 12 19:17:07 verified the bug appears to be present in the latest rpm5 as well.. drat Apr 12 19:17:37 I think the real problem is that we're using a file name provide/require -- instead of a virtual one.. Apr 12 19:17:53 ther eis a check, if the thing starts w/ a "/" it assumes it's only a filename and just checks one location.. Apr 12 19:17:56 which is wrong Apr 12 19:18:05 I need to figure out how to get it to check both Apr 12 19:20:32 the normal command line lookup simply does a check of the dependency list, then falls through to the file list... Apr 12 19:20:38 we're not doing the equivalent... Hmm Apr 12 19:21:39 stupid python.. I'm forgetting how to program in C... ;) Apr 12 19:25:53 fray: I really appreciate you working on that rpm issue! Apr 12 19:26:02 fray is now half-dead to me Apr 12 19:26:23 hey I'm slowly remembering how to write C.. reading isn't the problem Apr 12 19:27:04 fray: now getting somewhere. It happens when you supply preprocessed source Apr 12 20:01:00 * fray is now compiling a slightly modified rpm5 to see if it'll resolve the issue Apr 12 20:01:13 (I'm trying to force it to lookup the deps in both packages and file indexs Apr 12 20:01:31 fray: we have another small issue. We can't run preinsts before we install base-files Apr 12 20:02:06 since I have a suspicion that a preinst triggers the creation of /var/tmp Apr 12 20:02:19 fray: can we override the path rpm uses for /var/tmp ? Apr 12 20:02:45 ya, the path is _tmpdir if I remember correctly.. Apr 12 20:02:48 why does that cause a problem? Apr 12 20:03:02 is var/tmp a symlink? Apr 12 20:03:35 fray: yes Apr 12 20:04:03 fray: see the autobuilder for the fallout. There is actually really old code in there to handle a previous version of this issue dating all the way back to yum! Apr 12 20:04:51 -D "_tmpdir /tmp" is likely what you want.. the key thing is to remember the specified dir is INSIDE of the chroot Apr 12 20:05:01 ok.. I ahve a patch that deals w/ Steve's rootfs image problem.. Apr 12 20:05:58 fray: great! Apr 12 20:06:09 fray: I might have a fix for the ab failures... Apr 12 20:06:14 I really dislike this: Apr 12 20:06:21 +- rpmtag = (*keyp == '/' ? RPMTAG_FILEPATHS : RPMTAG_PROVIDENAME); Apr 12 20:06:21 ++ rpmtag = RPMTAG_PROVIDENAME; Apr 12 20:06:21 ++ do { Apr 12 20:06:25 ... function ... Apr 12 20:06:29 ++ if (bh == NULL && *keyp == '/' && rpmtag == RPMTAG_PROVIDENAME) { Apr 12 20:06:30 ++ rpmtag = RPMTAG_FILEPATHS; Apr 12 20:06:30 ++ continue; Apr 12 20:06:30 ++ } Apr 12 20:06:30 ++ Apr 12 20:06:30 ++ break; Apr 12 20:06:30 ++ } while (1); Apr 12 20:06:51 but I couldn't think of another way to match the behavior but simply add a RPMTAG_PROVIDENAME -and- RPMTAG_FILEPATHS step Apr 12 20:07:21 (anyone has suggestions, I'm open to it..) my headache is not helping me think Apr 12 20:08:11 fray: hmm, tricky :/ Apr 12 20:10:02 sakoman: (or anyone who cares) see the top commit on poky-contrib mhatle/fixes branch Apr 12 20:10:13 (that also has the pseudo RPATH fix in it) Apr 12 20:10:23 fray: I will try it now Apr 12 20:10:37 thanx.. Apr 12 20:10:50 (this is an oe-core repo BTW.. so if you are using poky, you'll have to cherry-pick) Apr 12 20:19:43 fray: http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rpurdie/t2&id=b3ce5edb9b48b8e4813a0422eac3417ad997dcec is a no-brainer fix, right? Apr 12 20:22:28 (looking) Apr 12 20:22:42 yes, that should work fine Apr 12 20:22:53 you'll want to put that anywhere that could be before the fbase-files Apr 12 20:23:11 initial for sure.. but it might make sense to do it on the full install as well (it won't hurt) Apr 12 20:23:24 fray: thankfully they all use that function so it covers them all Apr 12 20:23:36 yup, then we're good Apr 12 20:23:48 (I thought it was _tmpdir.. but if you've verified it.. we're good) Apr 12 20:24:50 (ugh.. one of my coworkers found what I think is a bug) Apr 12 20:25:04 ...packages like coreutils don't "provide" /usr/bin/env, even though they can set an alternative for it Apr 12 20:25:17 tar as well.. Apr 12 20:25:28 I tought the alternatives class set provides, but I'm not seeing it anywehere Apr 12 20:27:14 fray: hmm, we're we going to fix the alternatives class? Apr 12 20:27:20 we'ren't we Apr 12 20:27:38 I thought we had fixed the class.. :( Apr 12 20:27:40 * RP__ needs new fingers (typed as figures) Apr 12 20:28:03 I wonder if I fixed it and lost the patch and forgot about it.. Apr 12 20:28:17 (busybox works as does bash.. but those are manually added provides) Apr 12 20:28:24 fray: would it be on contrib somewhere? Apr 12 20:28:35 if I did it, no.. I've cleaned that up multiple times.. :( Apr 12 20:28:46 fray: :( Apr 12 20:28:56 fray: I don't remember seeing a patch for it, just the busybox workaround Apr 12 20:29:08 fray: file a bug on the issue while you remember? Apr 12 20:29:33 I'll do that right now Apr 12 20:29:40 fray: I ran into that /usr/bin/env issue a while back, did a quick hack because I had a customer deadline and then forgot about it :-( Apr 12 20:29:47 I suspect busybox's "package_do_filedeps_append" would be a good model Apr 12 20:29:49 http://www.sakoman.com/cgi-bin/gitweb.cgi?p=meta-sakoman.git;a=blob;f=recipes-core/coreutils/coreutils_8.14.bbappend;h=86ac8aee9f1e4500da24ed306aa3eb59b240647c;hb=HEAD Apr 12 20:30:18 yup.. and with the RPM fix, adding an RPROVIDES will work as well.. :P Apr 12 20:31:04 fray: I remeber trying RPROVIDES at the time and it didn't work Apr 12 20:32:19 ya, thats due to the RPM bug you found.. ;) Apr 12 20:32:36 I honestly have no idea why busybox worked... as far as I can tell, it shouldn't have Apr 12 20:32:53 yeah, we could have found it weeks ago if not for pesky customer deadlines :-) Apr 12 20:33:57 damned customers Apr 12 20:34:16 * RP__ mutters about pesky release deadlines Apr 12 20:34:21 RP 2289 Apr 12 20:34:41 I'll see what I can do about it in the update-alternatives.bbclass at least Apr 12 20:34:57 RP: I won't say anything about the number of packages that still break on rebuild . . . Apr 12 20:35:08 oops, I guess I did Apr 12 20:35:16 fray: Can I assign it to you? :) Apr 12 20:35:31 sakoman: Those are on the "to fix before release" list Apr 12 20:35:51 sakoman: I was hoping we'd get some help with that but the patches aren't appearing as I'd like Apr 12 20:36:05 yes you may Apr 12 20:37:03 good lord.. I'm having problems reading package_do_filedeps_append Apr 12 20:37:50 is package_do_filedeps_append a reasonable way to implement this in the update-alternates.bbclass? Apr 12 20:39:21 ugh.. just noticed.. the package_do_filedeps always sets.. it doesn't ammend if a recipe trys to set the values manually Apr 12 20:40:14 or way.. maybe it does.. Apr 12 20:40:19 my brain isn't working today Apr 12 20:41:22 hmm, an image I made from task-core-boot can't get an address from a dhcp server Apr 12 20:41:39 fray: I'd have to look at the code... Apr 12 20:42:21 what I'd -like- to implement is: Apr 12 20:42:37 FILERPROVIDES__ += "alternative" Apr 12 20:42:45 in the recipe.. but the package.bbclass seems to always override it Apr 12 20:43:51 I could probably add a couple of lines in package.bbclass that would load an existing value, and then join it to the new values, before storing it.. Hmm.. Apr 12 20:43:57 any way to easily remove duplicates? Apr 12 20:44:12 (looking at lines 1202 and 1207) Apr 12 20:46:29 ok.. wait now.. ALTERNATIVES_LINk is the only place "/bin/sh" shows up in the bash recipe.. and it's ending up as a provide in the package.. Apr 12 20:46:32 so how.. Hmm.. Apr 12 20:47:21 found it.. Apr 12 20:47:24 package_rpm.bbclass! Apr 12 20:47:37 it's manually processing the ALTERNATIVE_LINK and ALTERNATIVES_LINKS values! Apr 12 20:47:50 * fray updates 2289 with that info Apr 12 20:49:03 fray: ah, so we did add something :) Apr 12 20:49:45 ok.. so post 1.3, we'll want to change this to work like the busybox.. but we don't need to now.. Apr 12 20:49:55 so let me look at coreutils.. does it NOT use the update-alternatives class? Apr 12 20:50:34 bingo.. that is the exact problem.. Apr 12 20:50:39 class works, package is brokne! Apr 12 20:51:28 ok.. should be a much safer fix then for 1.2 Apr 12 20:56:29 sakoman were you able to verify the image constructs? I'd like to send this patch up Apr 12 20:56:47 fray: building right now Apr 12 20:56:55 ok.. Apr 12 20:56:56 should be done shortly Apr 12 20:58:01 looks like 15 broken packages in oe-core... Apr 12 20:58:24 When I fix these, I'll have to make a note to the other distros and meta-oe that they need to see if they have a similar problem Apr 12 21:01:54 fray: what sort of breakage in those packages? Apr 12 21:01:55 BTW I have to leave in an hour.. Apr 12 21:02:16 they won't provide the alternatives.. i.e. coreutils doesn't provide /usr/bin/env.. so fi something needs it, you'll get a missing dependency Apr 12 21:02:30 sysvinit doesn't provide "wall"... that kidn of thing Apr 12 21:02:31 ok, understood Apr 12 21:02:48 jeeze, task do_rootfs is taking forever Apr 12 21:03:01 I wonder what the heck it is doing! Apr 12 21:03:24 coreutils has a list of all of the alternatives in a couple of internal variables.. I'll need to write something to translate those and shove them into the RPROVIDES automagically Apr 12 21:03:38 the others look easier for the most part Apr 12 21:03:55 (I wouldn't be surprised if the others could actually use update-alternatives the class) Apr 12 21:05:12 could someone remind me of the difference between ${BPN} and ${PN}? Apr 12 21:07:37 BPN doesn't include -native or other modifiers from a BBCLASSEXTEND Apr 12 21:07:38 fray: the image build finally finished successfully Apr 12 21:08:02 fray: so send the patch, I'll add my tested-by Apr 12 21:08:10 fray: thanks! Apr 12 21:08:32 RP__, Do you mean to keep the Copyright (C) 2007 OpenedHand Ltd in some of the OE Core metadata? Apr 12 21:08:34 incandescant interesting.. wonder how that works multilibs and alternatives Apr 12 21:09:09 Crofton_: Those probably need a s/OpenedHand/Intel/ Apr 12 21:09:31 I do not care one way or another, I was just copying and editing from such a file Apr 12 21:10:02 I'll get working on sending that and the pseudo one up Apr 12 21:10:28 fray: BPN avoids multilibs too Apr 12 21:11:07 a few things are manually using BPN for setting up alternatives.. Apr 12 21:11:11 I suspect that is broken.. Apr 12 21:11:19 (the class uses PN though so it should be fine) Apr 12 21:14:38 fray: BPN should be fine, why is that an issue? Apr 12 21:14:57 fray: oh, I see Apr 12 21:15:17 hmm, that could be interesting Apr 12 21:15:24 w/ multilibs you end up with two files of the same name.. (not a problem for RPM since it has a resolver code), but it may not actually be what someone wants.. Apr 12 21:15:35 perf is unbuildable Apr 12 21:15:42 plus it's inconsistent w/ ${PN} usage of the class Apr 12 21:15:59 it looks to me like many of the things manually doing alternatives really should be using the class.. Apr 12 21:16:02 I included task-core-tools-profile Apr 12 21:16:54 sakoman / sgw / RP -- patches for pseudo and rpm sent Apr 12 21:19:53 fray: we are meant to be converting them Apr 12 21:20:03 fray: just one of the cleanups that hasn't happened yet Apr 12 21:20:31 yup.. I'll do what I can tomorrow to get through the ones I identified.. Apr 12 21:20:58 fray: is the pseudo patch intended to fix my "run on arm" issue? Apr 12 21:21:14 or is that something else? Apr 12 21:21:42 for 1.3 though we really need to work on getting filepaths rolled up where possible, and also make alternatives work like busybox and load the per-file deps Apr 12 21:22:06 sakoman no, pseudo was leaking in rpaths... this prevents that.. Apr 12 21:22:20 you should be able to use the pseudo_git, and the current head of pseudo tree to work on ARM Apr 12 21:22:30 (pseudo_git hasn't been updated though to point ot head of tree) Apr 12 21:23:07 I'll wait for the official update, I have a local patch that fixes it for arm Apr 12 21:23:39 also on the post freeze list.. :) Apr 12 21:23:41 I'll chuck that patch when I see the official srcrev update for pseudo Apr 12 21:23:53 zeddii: ping Apr 12 21:52:59 anyone know, off hand, the smallest "reasonable" filesystem we can build w/ oe-core/yocto? (i.e. small busybox based system) Apr 12 21:53:04 something like 12 MB or so? Apr 12 21:53:13 (accounting for eglibc and busybox) Apr 12 21:54:24 fray: as small as about 8M, I think that was our target for core-image-minimal, it might be around 9 or so now Apr 12 21:55:24 Hmm.. I thought core-image-minimal was around 24 these days Apr 12 21:55:35 I could very well be wrong, I can't say I've looked recently Apr 12 21:56:58 I have one here made from task-boot Apr 12 21:57:10 compressed it is 2.4M Apr 12 21:57:30 boots, bu udhcp is pissing me off Apr 12 21:58:32 how big uncompressed? Apr 12 21:59:01 heh Apr 12 21:59:06 not sure Apr 12 21:59:11 6, 8, 12? Apr 12 21:59:20 I supposed you would like me to uncompress it Apr 12 21:59:24 I know there is a lot of redudency.. Apr 12 21:59:29 if you can great, if not.. don't worry.. Apr 12 21:59:42 just trying to answer a question posed to me.. Apr 12 21:59:51 I told them I've seen less then 8 MB.. :) Apr 12 22:00:51 5.4M Apr 12 22:01:04 I wasnt trying to amke it small Apr 12 22:01:39 now, anyone have advice sorting out udhcp Apr 12 22:01:46 cool.. thanx Apr 12 22:03:04 gotta go.. later Apr 12 22:58:57 Crofton_: what is your udhcp issue? Apr 12 22:59:13 stupidity Apr 12 22:59:33 I was chaning the image and not removing the ramdisk from the kernel Apr 12 22:59:43 now I can't log in Apr 12 23:00:41 writing the image again, incase of more stupidity :) Apr 12 23:01:52 seems like I am having a shadow issue Apr 12 23:02:06 I'm fighting with Samsung 16GB "extreme speed" microSD cards Apr 12 23:02:22 they give timeout errors in Linux :-) Apr 12 23:02:26 urg Apr 12 23:02:34 and yes, dto = 14 Apr 12 23:02:35 even with max timeout Apr 12 23:03:46 its quite strange they just seem to freeze up -- can't do a warm restart, need to power cycle them to get them working again Apr 12 23:05:06 that explains the timeout Apr 12 23:06:14 so it is not really a timeout Apr 12 23:06:18 rather they crash Apr 12 23:06:37 yeah, and then Linux mmc driver times out on the transaction Apr 12 23:07:15 interesting -- using latest u-boot seems to fix the issue Apr 12 23:07:28 now that is strange! Apr 12 23:08:03 different controller setup? Apr 12 23:08:21 yeah, a bunch of mmc changes went in recently Apr 12 23:09:16 the timeout happens when linux first mounts the mmc, so it could well be that u-boot leaves the mmc controller in a weird state that linux driver doesn't fix Apr 12 23:09:51 are they really extremely speedy? Apr 13 00:10:02 Crofton_: haven't tested speed yet Apr 13 00:10:06 maybe tomorrow morning Apr 13 00:10:17 it sounds fast Apr 13 00:10:28 marketing :-) Apr 13 00:29:04 sakoman, Apr 13 00:29:05 networking[965]: Sending select for 192.168.1.144... Apr 13 00:29:05 networking[965]: Received DHCP NAK Apr 13 00:29:05 networking[965]: Sending discover... Apr 13 00:29:05 networking[965]: Sending sele Apr 13 00:29:07 also Apr 13 00:29:12 securetty is not your friend Apr 13 01:07:04 sakoman: i have an issue with super talent 32gb class 10 cards. i bought 2 new ones and both randomly remount read only in an openpandora.org handheld device. the only cards ive had good luck with are sandisk 16gb class 6, and pny 2gb class 4. Apr 13 01:07:26 sd cards are volatile to begin with. but not all are the same quality Apr 13 01:08:08 i guess the higher the class rating, it should be expected for it not to last as long Apr 13 01:08:09 ;) Apr 13 01:08:17 crazy technology... hehe Apr 13 01:38:47 Hello. Are there Intel embedded chipsets / development boards that are headless (no graphics unit, not just disabled)? I went to an Intel presentation a few months back and the sales guy said there was nothing active, but I find that hard to believe. Apr 13 01:39:41 Obviously, I'm thinking about Yocto on a headless Intel platform. **** ENDING LOGGING AT Fri Apr 13 02:59:58 2012 **** BEGIN LOGGING AT Fri Apr 13 02:59:59 2012 Apr 13 04:04:47 bcochran: i was at ESC DesignCon East 2011, fairly sure they have _something_ check adverts from the event site Apr 13 07:25:28 hello I m building an Android OS 2.3 .... can I able to knew... how we can select our own apps.... while building Android FS? Apr 13 09:35:12 RP__: do you have any suggestion/keyword how to find your posts about build threading? you post a lot... :-) Apr 13 09:36:25 Zagor: Good question. Apr 13 09:38:02 Zagor: I'd imagine "performance" is in the dubject Apr 13 09:38:52 Zagor: e.g. http://lists.linuxtogo.org/pipermail/openembedded-core/2011-September/010179.html Apr 13 09:41:25 have you perhaps also done some build logging patch/option to log what tasks started/finished when and how much user/sys cpu they used? Apr 13 09:41:40 my "ps xf" method is rather crude :) Apr 13 09:41:43 Zagor: look in your build in tmp/buildstats Apr 13 09:43:12 Zagor: ah, it looks like this might not be enabled by default. INHERIT += "buildstats" Apr 13 09:43:21 aha Apr 13 09:43:31 It used to be the default... Apr 13 09:43:42 or perhaps I just always had it in local.conf :/ Apr 13 09:44:05 Zagor: I also had a nice way of graphing this using a hacked up ubootchart Apr 13 09:44:14 it's funny, I thought it was on by default and then the other day I noticed it was off Apr 13 09:44:55 RP__: is that chart hack available? Apr 13 09:45:00 ah right, USER_CLASSES... maybe I have an old config here Apr 13 09:45:52 Zagor: I did post it, I'm trying to find the emails Apr 13 09:48:50 Zagor: https://lists.yoctoproject.org/pipermail/poky/2011-February/003740.html Apr 13 09:49:19 Zagor: In return for me finding these pieces, could you write something on the Build_Performance wiki page with the links? :) Apr 13 09:49:45 RP__: sure! Apr 13 09:49:45 good morning Apr 13 09:49:59 Zagor: thanks :) Apr 13 09:50:06 hi mckoan Apr 13 12:06:41 RP__: yay! I was just debugging that gcc sstate issue Apr 13 12:07:13 at least I hope it's that issue :-) Apr 13 12:18:25 Zagor: It was a major pain to root cause. I don't think its done yet either as I still am seeing c++ issues Apr 13 12:26:26 * RP__ hopes its the same fix just for c++ for .ii files Apr 13 12:36:57 Zagor: I'm curious whether it is the same issue... Apr 13 12:37:18 it's not. I read (and spoke) too quickly. Apr 13 12:37:49 Zagor: hmm, so we potentially have another issue? Apr 13 12:37:58 bad part: problem remains. good part: I still have a fun challenge ;) Apr 13 12:38:05 Zagor: you are passing --sysroot flags into the compiler? Apr 13 12:38:56 no, I'm hunting for a strange "cached sstate not matching" issue. I misread it as relevant, but it's not. Apr 13 12:39:26 Zagor: ah, right. Those issues worry me less Apr 13 12:42:54 they're quite annoying though, since they break what would otherwise be a 5-minute build Apr 13 12:58:43 RP__: can I somehow get more detail about "Hash for dependent task X changed from Y to Z" ? Apr 13 13:00:00 Zagor: you need to examine that tasks sigdata/siginfo files Apr 13 13:11:35 RP__: well, I do. all I see is that, indeed, the tasks have different hashes. but how do I find what actually changed? Apr 13 13:12:03 Zagor: compare the two sigdata files with the different hashes? Apr 13 13:14:47 what I have is two sstate-linux-yocto-qemux86_64-poky-linux-3.2.11*package.tgz.siginfo. one cached from a previous build, and one build new. when I run bitbake-diffsigs against them it says "Hash for dependent task linux-yocto_3.2.bb.do_install changed from X to Y" Apr 13 13:15:16 I don't get siginfo files for the tasks. or are they somewhere else? Apr 13 13:22:38 Zagor: look in tmp/stamps/ Apr 13 13:25:24 aha! Apr 13 13:26:46 "Dependency on Variable PARALLEL_MAKE was removed" Apr 13 13:26:53 should that really be included in the hash? Apr 13 13:50:14 Zagor: no, certainly not Apr 13 14:02:03 RP__: can packages/tasks affect what is included in the hash? in this case linux-yocto_3.2.bb.do_compile_kernelmodule includes PARALLEL_MAKE, while tons of other tasks happily ignore it Apr 13 14:04:24 Zagor: hmm, that seems odd Apr 13 14:24:01 RP__: might it be related to: ./meta/classes/kernel.bbclass: oe_runmake ${PARALLEL_MAKE} modules CC="${KERNEL_CC}" LD="${KERNEL_LD}" Apr 13 14:35:24 Zagor: in the other cases this gets applied by task override Apr 13 14:35:41 Zagor: I'm guessing bitbake doesn't account for the task overrides in the variable dependency scanning Apr 13 14:36:56 I'm not familiar with what "task override" means Apr 13 14:39:23 Zagor: XXXX_task-compile = "yyy" Apr 13 14:39:33 ok Apr 13 14:40:28 morning Apr 13 14:40:32 Zagor: we should add PARALLEL_MAKE to BB_HASHBASE_WHITELIST Apr 13 14:40:37 morning fray Apr 13 14:40:54 fray: there is a bug I could use your input on, you were cc'd Apr 13 14:41:05 ok.. loading up email now Apr 13 14:41:10 fray: related to mips tune changes I suspect Apr 13 14:41:26 ok Apr 13 14:41:35 was there ever a consensus to the mips vs mips32? Apr 13 14:43:18 fray: we never made a decision, no. That discussion slipped off my radar with the bug work :/ Apr 13 14:43:38 I understand.. Apr 13 14:44:06 RP__ re - 2074, I noticed in my strace logs that sometimes the spec file was being loaded other times it was looking in the original location.. I suspect that might be .i related as well Apr 13 14:44:22 if it can't load the spec file, and the internal version doesn't have the %I.. it'll still fail.. I think Apr 13 14:45:01 wow.. someone is spamming the wind river security alert list with a resume.. Apr 13 14:45:13 I think they get added to the never hire in a million years list Apr 13 14:46:18 fray: I've noticed the spec file issue in my builds too, it doesn't seem to break them though Apr 13 14:46:33 fray: we don't have a spec file on disk, just the internal values Apr 13 14:47:00 ahh, ok.. then not a problem Apr 13 14:47:20 it's been a while since i looked at the compiler at that level.. (that compiler did have a spec file) ;) Apr 13 14:48:18 RP__ fyi, I am investigating the mips / 2292 issue now.. Apr 13 14:48:49 fray: ours probably can use them but we just use the internal values, at least the way we configure it. I'm therefore not worried about that path right now Apr 13 14:49:10 sounds fine to me Apr 13 14:49:10 fray: thanks, you agree it looks suspicious after the mips change? Apr 13 14:49:35 it does.. but I'm not sure why it matters.. the WR compilers we use are set to mips32 by default.. Apr 13 14:49:49 (we just don't manually pass the -march=mips32, it's set as the default in the compiler itself) Apr 13 14:52:06 actually wait a second.. the rc2 kernel -was- using mips32r2.. while the rc3 kernel isn't?! WTH Apr 13 15:06:14 * fray lets his RSP build go, and looks at the alternatives thing some more Apr 13 15:34:46 RP__: it does a stat on specs file though Apr 13 15:35:19 khem: right, but if its not there it just ignores that Apr 13 15:35:34 yes Apr 13 15:35:40 thats what I figured Apr 13 15:38:02 compiling with integrated-cpp i.e. .c->.s and .c->.i->.s does have quite a few differences in process Apr 13 15:38:57 khem: yes, I don't like having ccache involved Apr 13 15:39:33 RP__: building nativesdk packages for meta-toolchain for arm first and then x86 I see some of nativesdk packages being rebuilt Apr 13 15:39:38 khem: I couldn't really exactly figure out what gcc was going internally, that code for commandline options is scary and complex Apr 13 15:39:39 I think that should not happen Apr 13 15:39:51 khem: correct, it shouldn't Apr 13 15:40:25 RP__: sysroot is auxiliary and its included with hooks when needed Apr 13 15:40:53 %I is the hook for spec file Apr 13 15:41:10 if you see there is separate processing of paths when sysroot is wanted Apr 13 15:41:44 I think sysroot should have been default but thats not the case Apr 13 15:42:07 not many in gcc community cared for cross compilation back them Apr 13 15:43:30 I think your fix should go in upstream gcc too Apr 13 15:45:04 khem: quite likely although I don't know if they'll like the fix or want to fix it differently Apr 13 15:45:30 khem: I've closed that bug, I think the specs issue warrants its own bug (different severity/priority) Apr 13 15:47:04 makes sense Apr 13 15:47:30 moreover if we are not hitting it then we should not worry too much Apr 13 15:53:42 sgw, Did you work out the stalled upload issue? Apr 13 15:56:09 halstead: mostly, I have a slow modem, but paying for "fast" service, I can get a faster modem! Apr 13 15:59:40 sgw, I hope that solves it. I wondered if there was a large buffer somewhere between you and the Internet since you were seeing stalled and I was seeing traffic as expected. Apr 13 16:00:55 RP__ after basic investigation, I'm very skeptical the tuning had anything to do with the rsp kernel Apr 13 16:01:07 I see none of the tune elements being used during compliation of the kernel.. Apr 13 16:01:15 I'm going to back off prior to my change.. re verify that.. Apr 13 16:01:40 fray: hmm, ok. So how did it break? :/ Apr 13 16:01:49 dunno.. I suspect a compiler or kernel change Apr 13 16:02:50 there's been no kernel changes. Apr 13 16:03:01 but I'm still waiting to hear when they did the last good boot. Apr 13 16:03:48 I suspect it may have been a M2.. Apr 13 16:03:56 there were a lot fo changes in the middle Apr 13 16:04:53 not many for the kernel, only -stable updates. routerstation is back on 3.0 .. hence nearly not touched. I'll wait to hear from the QA guys. Apr 13 16:07:07 ok.. I have reverted the tuning changes locally.. everything else is curent.. and I'll check the kernel again Apr 13 16:16:04 davest, Bill does have a much better title than you Apr 13 16:16:48 Crofton_: indeed. I sometimes invent new titles for myself when I get my business card translated. Apr 13 16:23:35 does anyone know why in coreutils "df" and "mktemp" aren't in the regular lists? I see a comment why '[' isn't Apr 13 16:25:57 looks like hostname and uptime are also in the list.. Hmm Apr 13 16:59:49 if anyone else wants to verify the rsp before and after the tune changes, I can give you the commits to revert Apr 13 17:02:11 fray: what are we looking at ? Apr 13 17:02:14 yshi is having a look. since we'll be Monday before I hear from the reporters. Normal debug shall ensue from this point. Apr 13 17:02:34 * khem is missing context Apr 13 17:04:14 routerstationpro kernel is no longer booting.. Apr 13 17:04:25 it's unclear the last time it was tested, initial debug pointed that it may be tune related.. Apr 13 17:04:26 ugh Apr 13 17:04:31 but it's not related to my patches at least.. Apr 13 17:04:41 yocto project bug 2292 Apr 13 17:04:45 what is the last snapshot when it booted Apr 13 17:04:59 m2 for sure.. beyond that, not sure Apr 13 17:05:13 should be simple to verify. Use 4.5 toolchain and see if that boots it Apr 13 17:05:18 the initial debug points out the load address and optimizations have changes.. it used to be tagged as mips32r2.. now it's tagged mips3 Apr 13 17:05:25 then we can see there is some compiler interaction issue Apr 13 17:05:33 otherwise its a kernel problem Apr 13 17:05:52 hmm Apr 13 17:06:01 Did compiler cmdline change ? Apr 13 17:06:24 -mtune -mcpu ? Apr 13 17:07:20 shouldn't. that error is so early that the ELF looks to just be junk. Apr 13 17:12:05 oh Apr 13 17:12:37 I would also consider any post processing tools that get involved after linker links the kernel Apr 13 17:23:31 Ugh.. I think the alternatives class might have a slight bug.. the following leaked into the coreutils rpm: Apr 13 17:23:32 /usr/bin/${ALTERNATIVE_NAME} Apr 13 17:26:24 heh, oops Apr 13 17:26:31 that's rather amusing Apr 13 17:27:06 it's cause alternative_link is hard coded, even if ALTERNATIVE_NAME wasn't set Apr 13 17:28:45 ALTERNATIVE_LINK = "${@[d.getVar('bindir', True) + '/' + d.getVar('ALTERNATIVE_NAME', True), ''][d.getVar('ALTERNATIVE_NAME', True) != '']}" Apr 13 17:28:51 that should work right? Apr 13 17:29:02 it's blank if ALTNERATIVENAME isn't set, otherwise it gets bindir/alternative_name Apr 13 17:31:22 ${@['${bindir}/${ALTERNATIVE_NAME}', ''][d.getVar('ALTERNATIVE_NAME', True)]} should do as wel Apr 13 17:31:46 Hmm.. that didn't work when I tried it before.. wonder if I had a missing brace Apr 13 17:31:49 will try again Apr 13 17:31:59 erm, would have to swap the beginning bit to do it that way, or do 'not d.getVar' Apr 13 17:32:08 but you get the point :) Apr 13 17:32:48 ohh ya, this works because it doesn't need to be immediately expanded.. Apr 13 17:32:51 oh, doh, i forgot about that behavior.. iirc you can get that weird ass error about something being unterminated if you use ${} of an unset variable inside of ${@} Apr 13 17:33:11 Hmm.. Apr 13 17:33:14 i always forget that the xpansion code expands the ${}'s inside of ${@} right away, rather than leaving it as is Apr 13 17:33:20 iirc, anyway :) Apr 13 17:33:26 but yeah, your original one would work fine too Apr 13 17:33:33 Failure expanding variable ALTERNATIVE_LINK, expression was ${@['/usr/bin/which'][d.getVar('ALTERNATIVE_NAME', True)]} which triggered exception TypeError: list indices must be integers, not str Apr 13 17:33:59 ah, right Apr 13 17:34:03 anyway to prevent the expansion? Apr 13 17:34:11 bool(d.getVar()) would do, but isn't any prettier than what you had originally Apr 13 17:34:21 was hoping to avoid all that ugly inline python, but guess we're probably stuck with it :) Apr 13 17:34:39 oh, fyi, python 2.6+, which we require, supports an inline if statement as an alternative to [][] Apr 13 17:34:47 ${@'foo' if 'bar' else 'baz'} Apr 13 17:34:58 worth knowing about, though i'm not sure if that's any clearer :) Apr 13 17:35:49 ERROR: Failure expanding variable ALTERNATIVE_LINK, expression was ${@['/usr/bin/${ALTERNATIVE_NAME}'][d.getVar('ALTERNATIVE_NAME', True) == ""]} which triggered exception SyntaxError: EOL while scanning string literal (ALTERNATIVE_LINK, line 1) Apr 13 17:36:01 ya.. how do I get it to try to not expand the original ${ALTERNATIVE_NAME}? Apr 13 17:36:16 just have to use the d.getVar? Apr 13 17:36:56 either that or define an empty value instead of unset Apr 13 17:37:02 ALTERNATIVE_NAME ??= '' Apr 13 17:37:04 or whatever Apr 13 17:37:26 there are other checks to see if alternative_name is empty of not.. Apr 13 17:37:27 Hmm Apr 13 17:37:31 that EOL while scanning thing is the worst, most unintuitive response to that i could imagine Apr 13 17:37:45 any 'if alternative_name:' orsimilar will behave the same whether its None or '' Apr 13 17:38:10 definitely worth considering as a potential problem, of course. your call :) Apr 13 17:38:36 RP -- I think update-alternatives is broken for multilibs: Apr 13 17:38:40 update_alternatives_batch_doinstall() { Apr 13 17:38:40 if [ "${PN}" = "${BPN}" ] ; then Apr 13 17:38:40 for link in ${ALTERNATIVE_LINKS} Apr 13 17:38:40 do Apr 13 17:38:40 mv ${D}${link} ${D}${link}.${PN} Apr 13 17:38:41 done Apr 13 17:38:41 fi Apr 13 17:38:42 } Apr 13 17:38:45 crap Apr 13 17:40:26 * fray thinks one bug at a time.... Apr 13 17:40:35 hehe Apr 13 17:41:54 unfs-server-nativesdk starts to rebuild for x86 whereas its already in sstate that it should have reused Apr 13 17:42:05 ok.. this is what I ended up with: Apr 13 17:42:05 ALTERNATIVE_LINK = "${@['${bindir}/' + (d.getVar('ALTERNATIVE_NAME') or ""), ''][d.getVar('ALTERNATIVE_NAME') != None]}" Apr 13 17:42:14 bitbake-diffsigs is my friend I guess Apr 13 17:42:24 anything else and I get an error of some kind Apr 13 17:44:25 even with what kergoth suggested ? Apr 13 17:45:23 I couldn't find an alternative that didn't fail.. Apr 13 17:45:31 if I put in ${ALTERNATIVE_NAME} and it wasn't set.. it blew.. Apr 13 17:45:41 I didn't try the if.. since that doesn't match the format of other parts of the code.. Apr 13 17:56:17 hmm, anyone else tried building for mips64 before? hitting some compile failures Apr 13 17:56:17 hrm Apr 13 17:56:31 nope, OE compiler doesn't support it Apr 13 17:56:42 completely untested Apr 13 17:56:55 (I think zedd probably tested building the kernel, but thats it) Apr 13 17:58:18 k, figured Apr 13 17:58:25 * kergoth kicks xserver-xorg Apr 13 18:02:59 I feel like this test is fialing when SERIAL_CONSOLE is set i the machine file Apr 13 18:03:01 if [ ! -z "${SERIAL_CONSOLE}" ]; then Apr 13 18:03:22 why wouldn't you use Apr 13 18:03:43 if [ -n "${SERIAL_CONSOLE}" ];? Apr 13 18:03:50 there's nothing wrong with ! -z Apr 13 18:03:55 it'll have the same ffect as -n Apr 13 18:03:57 sure Apr 13 18:04:11 that was just me wondering why the double negative :) Apr 13 18:04:31 basically, I ahve a machine with a "new" serial console Apr 13 18:04:35 doesn't read as a double negative to me. 'is this not empty' Apr 13 18:04:55 and the code in shadow-securetty does not add it to securetty Apr 13 18:05:40 I checked the echo to extract coneole from SERIAL_CONSOLE and it looks ok Apr 13 18:06:54 given that people keep adding their special consoles to the securetty file, makes me think something is broken Apr 13 18:07:35 is shadow-securetty a seperate binary or is it a split package? Apr 13 18:07:52 if it's a seperate recipe, this it should be paying attention to the machine config.. if not.. then that is likely the problem Apr 13 18:07:58 that file is machine/configurate specific Apr 13 18:09:00 it is a seperate recipe Apr 13 18:09:47 I can't see what is wrong with it, I just know it fails Apr 13 18:09:59 and I suspect not many people actually test this case :) Apr 13 18:10:37 and since "quality is job 1" for oe-core, i thought I should be annoying :) Apr 13 18:12:41 * Crofton_ wonders why task-core-basic includes rpm Apr 13 18:13:32 hmmm interesting Hash for dependent task virtual:nativesdkunfs-server_2.1+2.2beta47.bb.do_install changed from c8c03b57749fd764e0278a1320c9a0e3 to d3ce52dad51d55e8967a6cb912eab420 Apr 13 18:14:04 how do I compare task sigs Apr 13 18:23:39 ugh, stupid arm Apr 13 18:25:13 pkg_postinst_${PN} () { Apr 13 18:25:14 # Special cases. uptime and hostname is broken, prefer busybox's version. [ needs to be treated separately. Apr 13 18:25:14 update-alternatives --install ${bindir}/uptime uptime uptime.${PN} 10 Apr 13 18:25:14 update-alternatives --install ${base_bindir}/hostname hostname hostname.${PN} 10 Apr 13 18:25:24 wouldn't that suggest that uptime and hostname be -removed- since it's broken?1 Apr 13 18:28:06 how do I force a specific version of a package to build? Apr 13 18:52:11 fray: bitbake -b .bb Apr 13 19:49:52 oh now I see the problem with difference signatures Apr 13 19:50:14 hmm I have LDISGOLD variable which are override based on ARCH Apr 13 19:52:30 hmm and that gets into eglibc-nativesdk and gcc-crossdk inturn Apr 13 19:52:36 and so on so forth Apr 13 21:07:39 fray: I'm really not sure I want to try an unravel that mess for 1.2 at this point Apr 13 21:08:06 which mess? ;) Apr 13 21:08:09 alternatives? Apr 13 21:08:17 I'm already unraveling it to fix the missing coreutils and such.. Apr 13 21:08:27 I'll leave it up to you if any or all of the patches can be merged.. Apr 13 21:08:32 (I'm not fixing the multilib though) Apr 13 21:08:37 thats way beyond my ability to test Apr 13 21:09:25 (more or less, I'm adding a function to update-alternatives.bbclass to see the per-file provides.. and then anything that manually adds links has to do MANUAL_ALTERNATIVE_LINKS = "[:]" Apr 13 21:09:50 i.e. ${bindir}/[:${bindir}/lbracket.coreutils Apr 13 21:10:28 (if source isn't specified, it's assumed to be target.${pn} Apr 13 21:11:34 fray: ok, I'll make the final call based on patches. I'm just saying I'm getting worried at this point Apr 13 21:11:43 ya, i understand Apr 13 21:11:53 particularly as patches coming in don't appear to be getting well tested and the build is broken Apr 13 21:12:11 * mranostay yawns Apr 13 21:12:29 (thats what is taking so long with these patches.. the testing sucks.. have to test deb adn ipk as well to make sure nothing accidently breaks) Apr 13 21:13:16 but I do understand, at some point you cut off the patches and delay them.. Apr 13 21:13:42 only ones I'm tracking at the mips vs mips32.. (on the background until I'm told to do something) Apr 13 21:13:46 and this alternatives one... Apr 13 21:52:35 ha.. update-alternatives doesn't work on sub packages either.. (again, not fixing that now) **** ENDING LOGGING AT Sat Apr 14 02:59:58 2012 **** BEGIN LOGGING AT Sat Apr 14 02:59:58 2012 Apr 14 12:31:35 fray: I just hope you're keeping good notes of the things we need to fix Apr 14 12:31:49 * RP__ fires off the autobuilder again **** ENDING LOGGING AT Sun Apr 15 02:59:59 2012 **** BEGIN LOGGING AT Sun Apr 15 03:00:00 2012 Apr 15 14:40:32 I am trying to build core-image-minimal for the first time in oe-core. I am on the master branch of git://git.openembedded.org/openembedded-core. I get a download error for git://git.yoctoproject.org/linux-yocto-3.2;protocol=git;bareclone=1;branch=standard/default/common-pc/base,meta;name=machine,meta. Any ideas? Apr 15 23:33:08 hello , can i use yocto project on gumstix boards ? Apr 16 00:36:01 heh **** ENDING LOGGING AT Mon Apr 16 02:59:58 2012 **** BEGIN LOGGING AT Mon Apr 16 02:59:59 2012 Apr 16 07:23:28 good morning Apr 16 08:33:12 morning all Apr 16 08:34:33 RP__: morning Apr 16 08:34:39 RP__: ping Apr 16 12:01:04 dongxiao1: sorry, missed the message in here :( Apr 16 12:12:41 RP__: are you still around? Apr 16 12:12:46 RP__: did you want me to file a patch adding PARALLEL_MAKE to BB_HASHBASE_WHITELIST? Apr 16 12:12:50 dongxiao1: yes Apr 16 12:12:58 Zagor: yes please Apr 16 12:13:09 Zagor: or I can do it but it would be a good thing to fix Apr 16 12:13:46 yeah I figured perhaps for such a small change the patch management overhead is overkill Apr 16 12:13:59 RP__: About the BBINCLUDED, do we just fix the order of BBINCLUDED? Or we also need to fix __depends and __base_depends? Apr 16 12:14:07 RP__: I can send one if you prefer it that way Apr 16 12:14:37 Zagor: I'll still have to send the patch to the list for review but I can take care of it Apr 16 12:14:51 dongxiao1: I think we should fix __depends and __base_depends Apr 16 12:14:52 RP__: ok, thanks Apr 16 12:16:55 RP__: So the idea is, while setting values to __depends, __base_depends, and BBINCLUDED, we need to sort them, right? Apr 16 12:19:19 Zagor: posted it for review Apr 16 12:19:33 dongxiao1: we need to retain order, yes Apr 16 12:20:26 dongxiao1: previously the two uses of those variables were to tell if something had already been included and whether the timestamps of files had changed, neither of which is order significant Apr 16 15:00:52 morning Apr 16 15:01:41 hi fray Apr 16 15:02:15 fray: I ended up fixing some of the update-alternatives multilib issues since there was an open 1.2 bug related to it Apr 16 15:07:59 Ahh ok.. I have local changes for related items (but not multilibs..) I'll sync up and hopefully submit today.. Apr 16 15:08:05 (again, if it doesn't get accepted, I can live w/ that) ;) Apr 16 15:08:32 I'm 50% of the way through the list of packages I found that were not using update alternatives.. most, but not all could have.. so those were easy fixes.. Apr 16 15:08:51 but update alternatives (post 1.2) needs to be fixed to work with split packages, like useradd does.. Apr 16 15:08:58 then they can all of it except for maybe coreutils Apr 16 15:17:14 cool.. may update-alternatives and yours didn't clash at all Apr 16 15:48:42 fray: cool, I tried to keep my change simple :) Apr 16 15:49:19 yup.. Apr 16 15:57:00 should libsndfile1 be supporting alsa or no? right now we pass --disable-external-libs, but that only disables flac, vorbis, etc, not alsa. either it needs to depend on alsa-lib, or it needs --disable-alsa also Apr 16 15:57:14 just had it choke and die due to having libasound on my build machine Apr 16 15:57:30 I thought alsa was a distro flag... Apr 16 15:57:41 (or am I remembering wrong?) Apr 16 15:57:46 good point, should probably be another PACKAGECONFIG Apr 16 16:08:58 RP I think the gzip package is moving files around only if it's not being used as a "native". using ${PN} = ${BPN} as the check. this isn't multilib safe right? Is there an alternative? Apr 16 16:09:35 Hmm.. only one of the two versions of gzip is going that.. odd Apr 16 16:12:56 pigz is doing the same thing... Apr 16 16:14:06 https://github.com/kergoth/oe-core/commit/42af43c might be of use Apr 16 16:15:01 ya.. it would be nice to know if something is running as a target or ! Apr 16 16:15:11 do_install () { Apr 16 16:15:11 if [ "${PN}" = "${BPN}" ] ; then Apr 16 16:15:14 that is just a bad test Apr 16 16:38:13 fray: agreed. I think khem has a proposal for some overrides in 1.3 which might make this easier Apr 16 17:07:17 fray, ping - have you seen the libzypp failure on the AB this morning? Apr 16 17:07:26 fray, mail in your inbox re http://autobuilder.yoctoproject.org:8010/builders/nightly-x86-64/builds/387/steps/shell_62/logs/stdio Apr 16 17:07:28 no.. have a pointer, I'll look Apr 16 17:07:46 thanks! Apr 16 17:08:16 so.. SUMMARY_${PN}-dev references SUMMARY, set package_write_ipk adds the pkgname to overrides and finalizes, making it self referential. am I missing something here? Apr 16 17:08:21 s/set/yet/ Apr 16 17:10:10 it litterly looks like a glitch.. Apr 16 17:10:35 | make[2]: *** No rule to make target `/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86-64/build/build/tmp/sysroots/qemux86-64/usr/include/proxy.h', needed by `zypp/CMakeFiles/zypp.dir/media/MediaCurl.cc.o'. Stop. Apr 16 17:10:49 that tells me it was going to use curl, but usr/include/proxy.h wasn't there.. Apr 16 17:10:53 has someone changed curl recently? Apr 16 17:11:06 maybe a missing dependency? Apr 16 17:11:09 either that, or curl was being installed while it was trying to use it? Apr 16 17:11:12 could be Apr 16 17:11:41 curl is a DEPENDS of libzypp Apr 16 17:11:43 curl hasn't changes since Mar 14 Apr 16 17:12:54 well pkg-write of curl is occuring after that (but that should be ok) Apr 16 17:14:47 we should just need populate_sysroot right? Apr 16 17:14:54 yes.. Apr 16 17:15:02 I see it there, and it does appear to have been run prior to libzypp.. Apr 16 17:15:07 but the header seems to not be there? Apr 16 17:15:18 is the path referenced above the -right- path for this autobuilder session? Apr 16 17:15:36 yes Apr 16 17:15:53 then no idea... if possible inspecting the build filesystem/sysroot would be useful.. Apr 16 17:16:09 fray, ok, I'll open a bug Apr 16 17:16:17 either the check for the file glitched, the file never was written (or was written after the check) or the package is broken for some reason Apr 16 17:16:26 thats all I can think of.. but it doesn't look libzypp related Apr 16 17:16:35 * dvhart nods, thanks fray Apr 16 17:58:38 Hi, I am trying to get started on oe-core. There meta dir has a recipe that point to linux-yocto-3.2 in the yocto git repos. I have not been able to fetch it for a few days now. Could the oe recipe be wrong or might there be a problem with the yocto git repos? Apr 16 17:59:52 docbook-utils-native has re-execution of tasks bugs too Apr 16 18:00:00 do you have any proxies or anything you need to go through? Apr 16 18:00:14 I fetched linux-yocto-3.2 on Friday and it worked fine.. (havent had to today) Apr 16 18:00:23 otavio: yes, Richard has sent a fix for that one already Apr 16 18:00:36 bluelightning: oh cool Apr 16 18:00:37 No proxies. I have not been able to get it for about 3 days Apr 16 18:00:45 bluelightning: it failed in my autobuilder ;) Apr 16 18:01:00 otavio: ok... the patch has not yet been merged afaik Apr 16 18:01:11 bluelightning: np Apr 16 18:01:12 [lmhatle@msp-lpggp1 git]$ git clone git://git.yoctoproject.org/linux-yocto-3.2 Apr 16 18:01:12 Initialized empty Git repository in /msp-lpggp1/mhatle/git/linux-yocto-3.2/.git/ Apr 16 18:01:14 remote: Counting objects: 294855 Apr 16 18:01:17 it's working here Apr 16 18:01:48 guyvdb_: if you try a git clone as above does it work, or fail as well? Apr 16 18:01:57 what URL are you using? Apr 16 18:02:01 one min checking Apr 16 18:03:18 hmm yea it is cloning from git://git.yoctoproject.org/linux-yocto-3.2 . Will pastie the output of the recipe that is failing to fetch it Apr 16 18:03:47 try cloning it outside of the build system first Apr 16 18:03:57 see if it starts working.. if it does it's not a connection issue but something else Apr 16 18:04:09 the url is :git://git.yoctoproject.org/linux-yocto-3.2;protocol=git;bareclone=1;branch=standard/default/common-pc-64/base,meta;name=machine,meta Apr 16 18:04:31 log output is http://pastie.org/3799496 Apr 16 18:05:18 command that is failing is : git remote add --mirror=fetch origin git://git.yoctoproject.org/linux-yocto-3.2 Apr 16 18:05:20 while I'm looking at pastebin.. see if you can pull it down on your own.. (if it gets to receiving objects.. you can kill it) Apr 16 18:05:48 yea i did pull a git clone git://git.yoctoproject.org/linux-yocto-3.2 which started getting objects Apr 16 18:06:16 Something with the fetcher or mirror stuff.. Hmm Apr 16 18:07:07 I don't know.. maybe RP or Zedd might have an idea then.. Apr 16 18:07:13 it sure seems to be fetcher related.. Apr 16 18:07:16 how can i do it manually and cache it in my download folder so the script does not try Apr 16 18:07:38 I'm not sure.. I normally let te build system do the fetch to cache it.. Apr 16 18:07:52 yea... me too Apr 16 18:08:27 this recipe comes from the oe-core meta dir ... i assume that is a common piece between oe and yocto Apr 16 18:09:03 try: PREMIRRORS += "\ Apr 16 18:09:27 where would i set that? Apr 16 18:09:32 yes. it is however mirror settings are different with oe-core and yocto Apr 16 18:09:35 git://git.yoctoproject.org/linux-yocto-3.2 file:/// \n" Apr 16 18:10:31 would file:// be the location where I did a git clone git://git.yoctoproject.org/linux-yocto-3.2 ? Apr 16 18:11:44 yes.. Apr 16 18:12:02 lets assume you did /home/guyvdb_/git/linux-yocto-3.2 Apr 16 18:12:10 file:///home/guyvdb_/git/linux-yocto-3.2/ Apr 16 18:12:14 is what youwould use.. Apr 16 18:12:23 (note the three "/" and the final "/") Apr 16 18:12:46 BTW this is a guess, I haven't done this in a while.. so I might be wrong.. Apr 16 18:12:49 k and where should PREMIRRORS be added to (defined)... Apr 16 18:12:59 you can do it in your local.conf Apr 16 18:13:06 ok Apr 16 18:13:28 I use premirrors a lot.. but it's usually pointing to local mirros.. I don't normally do it like this Apr 16 18:13:32 (but I know it can be done) Apr 16 18:13:40 let me try but I must first clone linux-yocto which might take a while on my slow connection Apr 16 18:14:05 But it sound reasonable that it would work to me Apr 16 18:15:04 note you need a "mirror", not just a clone, of linux-yocto-3.2 if you want to use a local repo Apr 16 18:15:06 ya.. it's a big repo to clone Apr 16 18:15:19 dvhart, ahh I thought a clone could be enough Apr 16 18:15:59 ok thanks for the heads up dvhart Apr 16 18:16:26 fray, guyvdb_ we need all the branches to be local, and you get that with mirror Apr 16 18:16:39 what I suggest doing is mirroring the entire thing to a bare repository Apr 16 18:16:45 use that for the builds Apr 16 18:16:56 when you want to modify something, clone from your local mirror Apr 16 18:17:05 then push back to it at the right branch Apr 16 18:18:07 linux-yocto-3.2 is "special" Apr 16 18:18:11 :) Apr 16 18:18:38 :) Apr 16 18:19:48 I was chatting in #oe with khem and he says he did a bitbake -ccleanall virtual/kernel;bitbake -cfetch virtual/kernel and it fetched ok so I am trying again Apr 16 18:21:22 Hmm, odd, getting some locale packages in PACKAGES twice but only when using 'precompiled' locales. 'ondevice' doesn't see the behavior Apr 16 18:21:33 * kergoth wades into libc-package.bbclass Apr 16 18:21:45 kergoth, be careful in there ;-) Apr 16 18:21:58 heh Apr 16 18:22:06 trying to get eglibc-locale + external-csl-toolchain happy Apr 16 18:23:54 hmm it seems to be fetching correctly now. I think the bitbake -c cleanall sorted it Apr 16 18:24:19 ahh.. repo probably went nuts and git couldn't correct it.. Apr 16 18:24:32 that hapepend to me last week on a non-yocto repository.. took me a while to figure out what was wrong too Apr 16 18:24:42 Thanks for the help all Apr 16 18:25:01 guyvdb_, you fetched the entire thing already? Apr 16 18:25:10 if so... that's not a slow connection! Apr 16 18:25:40 so, where are the docs on using the linux-yocto branch/meta management tools? Apr 16 18:25:52 the kernel doc didn't cover them at all, i was pretty surprised Apr 16 18:28:02 No... but it is now fetching... which it was not doing before Apr 16 18:28:31 I mean from the bitbake -c fetch command Apr 16 18:29:08 be back later.. thx for help Apr 16 18:33:39 kergoth, we're working on improving the situation. Have you read the Kernel Architecture and Use manual? Apr 16 18:33:48 kergoth, anything specific you're looking for? Apr 16 18:33:52 zeddii, ^ heads up Apr 16 18:33:56 yes, that gives a big picture, but says absolutely nothing about any of hte scripts in meta or anything Apr 16 18:34:00 not one line about any of them Apr 16 18:34:26 kergoth, ok, the kern-tools docs. That is a major gap that needs fixing. Apr 16 18:34:43 I want to add support for a different bsp to a linux-yocto repository, and as far as I can tell, there's no useful documentation on next steps or how I validate the files i add to meta or anything Apr 16 18:35:12 (specifically, qemumips64 and qemumips64el. I'm sure it's trivial once you know what you're doing, but..) Apr 16 18:36:10 kergoth, I suggest starting with tomz's (Guest33591) yocto-bsp tool Apr 16 18:36:20 it will allow you to do all the validation and setup in recipe-space Apr 16 18:36:44 once it's working as you want it to, the files you generate can be applied very easily to the linux-yocto repository meta branch Apr 16 18:36:48 the BSP developer guide should cover all that. what does what is in the architecture manual. Apr 16 18:36:52 this will greatly reduce the logistics Apr 16 18:37:00 and... right, the BSP guide Apr 16 18:37:01 * zeddii has mips64 qemu prep'd for 1.3 already. FWIW. Apr 16 18:37:03 * dvhart grabs the link Apr 16 18:37:09 anyone know why lrzsz in under recipes-bsp? Apr 16 18:37:15 is it only includef or bootloader support Apr 16 18:37:22 kergoth, http://www.yoctoproject.org/docs/current/bsp-guide/bsp-guide.html Apr 16 18:37:42 already read it in about 5 minutes Apr 16 18:37:43 zeddii, nice.. synced w/ khem on the toolchain support Apr 16 18:37:45 ? Apr 16 18:37:46 it's uselss for what i'm looking for Apr 16 18:37:55 recipes are trivial, i don't care about that, i can do that in 10 minutes Apr 16 18:38:02 there's no useful info about dealing with the git repository there Apr 16 18:38:09 fray. not yet, I've only got the kernel part done with an existing rootfs. Apr 16 18:39:14 kergoth, right, I think I have another doc for you... looking Apr 16 18:39:18 k Apr 16 18:39:43 zeddii: where can i find the mips64 qemu bits? Apr 16 18:39:53 zedii, ok.. Khem was mentioned ot me last week that once this freeze is over eh was going to start looking at mips64 support Apr 16 18:40:04 aha. Apr 16 18:40:21 kergoth, https://wiki.yoctoproject.org/wiki/BKM:_starting_a_new_BSP Apr 16 18:40:29 kergoth, and that links to many other references Apr 16 18:40:34 http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-dev/log/?h=standard/mti-malta64 Apr 16 18:40:40 dvhart: aha, thanks Apr 16 18:40:43 kergoth, FYI, we have been working at simplifying the process Apr 16 18:41:00 http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-dev/tree/meta/cfg/kernel-cache/bsp/mti-malta64?h=meta Apr 16 18:41:15 kergoth, and whilst doing that, we haven't been documenting the existing or older as much as people might like, as we will have to replace it continually Apr 16 18:41:20 * kergoth nods Apr 16 18:41:22 kergoth, however, the above should help Apr 16 18:41:28 kergoth, feedback would be welcome Apr 16 18:41:32 I like the concepts with the linux-yocto stuff, but was missing the practical info on getting up to speed with it Apr 16 18:41:35 kergoth, where you found gaps, etc. Apr 16 18:41:36 this seems to cover that Apr 16 18:41:37 will do Apr 16 18:41:45 thanks Apr 16 18:41:48 I'd love to see more of this flowing into the bsp guide Apr 16 18:41:58 i presume it's on the roadmap somewhere : Apr 16 18:42:28 it's definitely well understood as a gap and something tomz, zeddii, and I are actively working on. Apr 16 18:42:57 zeddii: cool, thanks. have you started on any of the metadata aspects yet? I have some of the basics locally, adding preliminary site files, adding the arch to various mappings in various classes, blah blah. trivial stuff, but needed doing. working on openssl now. heh Apr 16 18:43:11 dvhart: okay, thanks again Apr 16 18:43:18 will dive in sometime today Apr 16 18:43:25 great Apr 16 18:43:29 * dvhart handles SIGFOOD Apr 16 18:44:32 HAHAHA lrzsz recipe is broken any nobody has noticed.. sz, sx and sb don't even work Apr 16 18:44:57 * kergoth acts surprised :) Apr 16 18:45:01 (they're linked to the receive not send) Apr 16 18:45:14 * fray fixes it as part of the update-alternatives crap Apr 16 18:48:27 kergoth. I grabbed the old oe stuff and started from there, but that's still outstanding for me. Apr 16 18:48:38 sounds like we can combine it all and call it done :P Apr 16 18:49:00 but that description has been booted and tested from the kernel point of view anyway. Apr 16 18:49:14 nice, that's great progress Apr 16 18:49:32 have you looked at qemumips64el yet, or just qemumips64? Apr 16 18:50:20 I have an el description as well. got distracted, on testing it though. but it isn't far away. Apr 16 18:50:33 cool, thanks for the info Apr 16 18:54:17 the most fearsome error possible. random rpm packaging error. Apr 16 18:54:18 * zeddii weeps Apr 16 18:54:49 * kergoth chuckles Apr 16 18:54:52 good luck Apr 16 19:00:01 fray. two recipes. different names. they shouldn't stage to the same place .. right ? Apr 16 19:01:38 correct.. Apr 16 19:01:53 @#$ Apr 16 19:02:09 I have an error on the 3.2 kernel. but in the log file, it's messing with the -dev one. Apr 16 19:34:16 I am looking into questions relating to blacklisting of packages. There's BBMASK, but I'm not sure that's what I want. Anyone have pointers to good starting points for research? Apr 16 19:34:53 (I asked this last week as well in a different context).. but what we're looking for is a way to say I don't want such and such package to be built.. Apr 16 19:35:07 but like the license or version stuff, I want a message to pop-up and explain that it's been blacklisted.. Apr 16 19:35:17 (I was told BBMASK prevents bitbake from even loading the recipe that was masked) Apr 16 19:35:51 * fray wonders if we might need an inherited class or something to do the matching and complain Apr 16 19:40:26 zeddii, what does "bitbake linux-yocto -e | grep COMPATIBLE_MACHINE=" return? Apr 16 19:41:23 fray: https://github.com/openembedded/meta-oe/blob/master/meta-oe/classes/blacklist.bbclass Apr 16 19:41:33 fray: s/ANGSTROM_//g Apr 16 19:41:55 there we go.. perfect Apr 16 19:42:46 Thanks, that simplifies my life substantially. Apr 16 19:43:03 it'd be nice to make that OE vs angstrom.. but otherwisse that is exactly what we're looking fo Apr 16 19:43:44 yeah, i'd say make it obey BLACKLIST or RECIPE_BLACKLIST, and add it to oe-core Apr 16 19:44:23 yup.... with a simple default message of the item being in the blacklist if no tailored message exists Apr 16 19:45:58 good idea Apr 16 19:46:56 (BTW I prefer the variable BLACKLIST to recipe_blacklist myself.. not sure if anyoen else has any opinions) Apr 16 19:47:32 * zeddii has some less pc suggestions. Apr 16 19:48:00 hah Apr 16 19:48:54 We could have a large selection of them and code them according to widely-recognized racial stereotypes. I am all in favor of a system where a WHITELIST is a set of packages which cannot dance. Apr 16 19:49:26 ouch Apr 16 19:49:30 I resemble that Apr 16 19:49:39 :) Apr 16 19:51:42 If anyone has time, could you look at: Apr 16 19:51:43 http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=mhatle/upd-alt Apr 16 19:51:59 especially the update-alternatives.bbclass change and let me know if you have any comments.. Apr 16 19:52:07 I'm currently running final tests and I'm goign to send it up.. Apr 16 19:53:33 hmm.. upon thinking about it.. I think RECIPE_BLACKLIST is probably better then just BLACKLIST Apr 16 19:53:36 we already have a LICENSE_BLACKLIST (don't we?) Apr 16 19:57:56 yeah, i think RECIPE_BLACKLIST would be more clear and obvious Apr 16 19:59:11 does anyone know if busybox supports "mount -n"? Apr 16 20:42:21 is master frozen at the moment for the release, or is it open for post-release changes? Apr 16 20:44:31 I believe there is a "next" branch in oe Apr 16 20:56:26 kergoth, re the CSL toolchain patchset: Apr 16 20:56:26 NEAS Cheer Practice Apr 16 20:56:27 scheduled June 11, 2012 from 6:00 PM to 8:30 PM Apr 16 20:56:30 crap wrong paste Apr 16 20:56:34 +for usr_element in bin include libexec sbin share ${base_libdir}; do Apr 16 20:56:35 +usr_path=$sysroot/usr/$usr_element Apr 16 20:56:35 +cp -a $usr_path ${D}/usr/ Apr 16 20:56:35 +done Apr 16 20:56:37 there we go.. Apr 16 20:56:55 this looks to be limited to requiring a "/usr" path on the target with these toolchains.. Apr 16 20:57:00 it's already required. Apr 16 20:57:04 If that is a hard requirement it should be documented Apr 16 20:57:09 if the filesystem layout doesn't match up, glibc won't be able to find the locales Apr 16 20:57:26 for similar reasons, you can't use an external toolchain with the micro distro due to the different prefix Apr 16 20:57:42 ok.. just wanted to make sure that was intentional Apr 16 20:57:51 and you'd also have to have matching multilib setup, otherwise it wouldn't be able to find the dynamic linker at runtime Apr 16 20:58:33 so, yeah, it's something i've thought about. it just isn't viable to use a different layout than the toolchain is without rebuilding the c library Apr 16 20:58:38 afaict anyway Apr 16 20:59:18 i was talking to seebs about this earlier. i think tcmode-external-csl.inc should require multilib.conf to ensure that the base_libdir is correct, and it should either force prefix to usr or should error if it's something other than usr Apr 16 20:59:25 thoughts? Apr 16 20:59:38 I wouldn't disagree with that.. :) Apr 16 20:59:51 it's a pirce you pay for compatibility Apr 16 21:00:09 Waffling back and forth. My preference is either force-but-warn, or error out. Apr 16 21:00:55 Basically, it's a dev time tradeoff. We could spend weeks supporting all possible ways someone could configure a filesystem and faking stuff up and handling errors, or we could just say "well, actually, prebuilt libcs get to say where stuff goes, deal with it or rebuild your own". Apr 16 21:01:58 ya, that seems reasonable.. Apr 16 21:02:15 i think there are a *lot* of cases where a user *could* change a given variable, but in reality we neither test or support it. some of the individual filesystem layout variables come to mind Apr 16 21:02:25 YAGNI. I'm totally willing to think about this when someone provides a use case where there's a need to be able to move stuff. Apr 16 21:02:36 i think we should do a better job of deliniating what variables are things the user can/should be able to twiddle and what aren't, instead are internal Apr 16 21:03:10 another example would be various tmpdir path variables, i suspect there are hardcoded assumptions for some of them Apr 16 21:03:12 heh Apr 16 21:03:33 hell, the fact that it used to be impossible to move the pstaging dir outside of tmpdir was a great example of being bitten by that Apr 16 21:04:02 I've been tempted, more then once, to completely screw with all of the path variables and see what happens.. Apr 16 21:04:11 * kergoth nods Apr 16 21:04:13 last time I did that I was surprised there was no unexpected breakage during hte build Apr 16 21:04:19 (that was about 8 months ago) Apr 16 21:04:31 it'd be fun to just fondle bindir alone, or make libdir /foo, or so.. Apr 16 21:05:03 I'm tempted to implement the Ubuntu/Debian multilib naming and see how far off the rails the system goes Apr 16 21:05:04 * kergoth ponders Apr 16 21:05:23 I -know- there are a lot of hard coded assumptions for things like /bin/sh... Apr 16 21:06:05 i'm sure most of the time those sorts of failures would be few, and probably easy to fix, but there's a certain amount of maintenance load if we try to support or care about every combination of settings, so the boundaries should be clear and defined Apr 16 21:06:06 (and I'm pretty sure it's NOT worth out time to fix them so someone can do /myrandomdir/sh Apr 16 21:06:45 ya.. I'm ok with removing "/usr".. and even with trying to support the Debian braindramage.. but not changing /bin is a good idea.. ;) Apr 16 21:07:58 * kergoth nods Apr 16 21:08:39 is there a layer with a linux-yocto-dev recipe, or should i just tweak one of the existing 3.0/3.2 recipes? i realize it's trivial, was curious though Apr 16 21:09:01 I don't think there is a special layer for it... Apr 16 21:09:07 * fray looks at zeddii Apr 16 21:13:12 I seem to recall that POSIX went out of