**** BEGIN LOGGING AT Mon Apr 08 02:59:58 2013 Apr 08 07:06:13 good morning Apr 08 07:11:05 morning all Apr 08 07:12:13 silvio__: hi Apr 08 07:13:12 morning Apr 08 07:17:44 mckoan, hi Apr 08 07:45:12 good morning Apr 08 07:53:30 gm apelete, likewise, all Apr 08 08:11:24 hi apelete Apr 08 08:12:15 morning apelete, silvio__, all Apr 08 08:14:21 hi mckoan, silvio__, bluelightning Apr 08 08:17:21 hi bluelightning , hi all :P Apr 08 08:17:27 hi bluelightning , hi all :) Apr 08 08:21:00 I broken something in my building machine, when I build a SDK, not only my, the gcc executable for i686 are not deployed inside, some suggest? Apr 08 08:30:03 silvio__: in that case I delete the whole tmp :-( Apr 08 08:30:39 I doubt that will help Apr 08 08:33:42 mckoan, do you mean tmp-eglibc? Apr 08 08:35:19 mckoan, or also out-eglibc and tmp-eglibc Apr 08 08:41:28 silvio__: I have had random build problems in the past and was caused by file corruption in tmp-eglibc, a total rebuild solved (to me) Apr 08 08:42:02 of course that wasn't an OE problem Apr 08 08:47:47 speaking of tmp-eglibc, how is the name of that directory chosen ? Apr 08 08:47:51 my tmp directory is named "tmp-eglibc-eglibc" and I wonder if that's normal Apr 08 08:48:01 http://paste.debian.net/248197/ Apr 08 08:49:38 apelete: what is your DISTRO value? Apr 08 08:49:48 apelete: usually this indicates defaultsetup.conf is being parsed twice Apr 08 08:50:07 my is quite different, I had following folders: Apr 08 08:50:26 downloads out-eglibc sstate-cache tmp-eglibc Apr 08 08:51:54 bluelightning: according to bitbake output my DISTRO is "jlime-2010.1" (the same value as in local.conf) Apr 08 08:52:43 apelete: ok... what does bitbake -e | less indicate for TMPDIR? it should show how it is getting set Apr 08 08:56:05 bluelightning, for my TMPDIR="/home/oe-core/build/out-eglibc" Apr 08 08:56:52 so I immagine that I have to delete not only tmp-eglibc, but also out-eglibc, I m right? Apr 08 08:57:20 or is useless? Because I prefer don t remove all builded :( Apr 08 09:00:05 bluelightning: ha, defaultsetup.conf is being parsed twice indeed, you're right: http://paste.debian.net/248200/ Apr 08 09:01:34 I copied the file in my conf/distro dir AND included in my distro file too Apr 08 09:02:10 it's only monday and I'm feeling ashamed already... Apr 08 09:42:10 bluelightning: seems it wasn't me after all, defaultsetup.conf is included from bitbake.conf from oe-core Apr 08 09:43:27 I guess I'll remove "require conf/distro/defaultsetup.conf" from my distro conf file then Apr 08 09:45:01 apelete: so it is... I did not realise that :/ Apr 08 09:45:08 sorry if I led you astray Apr 08 09:46:03 no problem, you pointed me on the right track nonetheless Apr 08 09:49:34 I've just fixed the migration guide Apr 08 10:05:42 great Apr 08 10:07:36 bluelightning: if I set 'DEFAULTTUNE_ben-nanonote = "mips32el-nf"' instead of 'DEFAULTTUNE = "mips32el-nf"', the setting is not taken into account Apr 08 10:07:48 what am I missing ? Apr 08 10:08:11 apelete: what does bitbake -e | less report for DEFAULTTUNE? Apr 08 10:08:38 (in the first instance) Apr 08 10:17:16 apelete: dont trust the regular bitbake output when you run it. I had the same problem. bitbake -e should show that you are using mips32el-nf Apr 08 10:18:02 I hope this is fixed in daryl... Apr 08 10:18:08 dv_: you mean the "build configuration" output at the start of the build? Apr 08 10:18:14 yeah Apr 08 10:18:35 I'm not sure if anyone filed a bug for that one or whether it got fixed Apr 08 10:18:41 bluelightning: here it is Apr 08 10:18:42 $ bitbake -e | grep DEFAULTTUNE Apr 08 10:18:42 # $DEFAULTTUNE [5 operations] Apr 08 10:18:42 DEFAULTTUNE="mips32el-nf" Apr 08 10:18:52 there you go, it is being used Apr 08 10:19:38 yeah, but build ocnfiguration output is showing wrong info like you said dv_ : Apr 08 10:19:38 TUNE_FEATURES = "o32 bigendian fpu-hard mips32" Apr 08 10:19:38 TARGET_FPU = "" Apr 08 10:19:52 I had the same problem, as said. I set DEFAULTTUNE_ to a hardfp setting in local.conf , and it didnt show "callconvention-hard" in the build config Apr 08 10:20:18 right; and as apelete is using master (correct?) we still have the bug :/ Apr 08 10:20:25 but checking with bitbake -e , and looking at the arguments used for gcc by running ps ax showed me that hardfp was indeed being used Apr 08 10:20:43 bluelightning: yes, using bitbake's master branch Apr 08 10:20:57 apelete: what about oe-core? Apr 08 10:21:01 bluelightning: I was pointed to a patch in the mailing list, but it didnt help Apr 08 10:21:12 bluelightning: master branch of oe-core too Apr 08 10:21:16 ok Apr 08 10:21:32 dv_: could you please file a bug at bugzilla.yoctoproject.org? Apr 08 10:21:38 http://comments.gmane.org/gmane.comp.handhelds.openembedded.core/30164 <- this one Apr 08 10:22:17 gotta go now, but will do as soon as I am able to Apr 08 10:22:24 thanks for helping dv_ Apr 08 10:23:38 thanks Apr 08 10:50:59 * ensc|w hates anonymous python functions in global .bbclass'es; especially these which do d.getVar(..., True)... devshell bbclass creates now an huge unreadable stacktrace when a SRC_REV=${AUTOREV} can not be determined Apr 08 10:52:45 we could of course fix the error handling so a backtrace doesn't occur Apr 08 10:54:37 it is still conceptually broken; why does devshell need to expand ${SRC_REV} in the recipe parsing phase? Apr 08 11:10:39 ensc|w: probably because it needs to determine PV ? Apr 08 11:10:52 without PV you can't have WORKDIR Apr 08 11:17:53 bluelightning: I know this; that's why I hate anonymous python functions in global .bbclass'es; especially these which do d.getVar(..., True). For PV this might be not a direct problem because this variable it expanded at other places too. But such functions introduce silent problems Apr 08 11:18:39 ensc|w: what alternative would you suggest? Apr 08 11:25:09 avoid such anonymous functions or use d.getVar(..., False). For the devshell.bbclass case, I am not sure what to do because all the related code is very dirty and it is not obvious to me when/whether global variables (e.g. os.environ in terminal.bbclass) are set/reset **** BEGIN LOGGING AT Mon Apr 08 11:28:15 2013 Apr 08 11:43:54 hello Apr 08 11:44:13 JaMa: can you take a look at my libvpx and tbb patches? Apr 08 11:55:28 hm. external-toolchain-linaro, GCCVERSION = "linaro-4.7" and it tries to build random gcc with 'bitbake gcc' **** BEGIN LOGGING AT Mon Apr 08 11:59:37 2013 Apr 08 12:00:34 hrw: btw libunwind_1.1.bb is still failing to build on qemuarm as reported before, not sure why it slipped through my prepush check and I've applied it Apr 08 12:01:02 JaMa: was working here ;( Apr 08 12:04:01 ok sorted out gcc - layers priorities matter Apr 08 12:20:29 hello hrw Apr 08 12:25:03 hi silvio__ Apr 08 13:18:19 I broken something in my building machine, when I build a SDK, not only my, the gcc executable for i686 are not deployed inside, some suggest? Apr 08 13:18:36 could related to this?: Apr 08 13:18:44 ERROR: Nothing PROVIDES 'virtual/i686-angstromsdk-linux-gcc' (but /home/oe-core/build/../stuff/meta-btw/recipes-devtools/tasks/task-test-toolchain-host.bb DEPENDS on or otherwise requires it) Apr 08 13:49:42 bluelightning: removing defaultsetup.conf from the distro conf file introduced an eglibc build error Apr 08 13:49:46 http://paste.debian.net/248236/ Apr 08 13:50:28 apelete: looks a lot like your DISTRO_FEATURES is empty or at least has no libc-* features in it Apr 08 13:55:46 bluelightning: that's strange, how can it be empty since there is a "include conf/distro/defaultsetup.conf" in bitbake.conf ? Apr 08 13:56:08 apelete: use bitbake -e | less to find out what has happened to DISTRO_FEATURES Apr 08 13:56:56 bluelightning: okay, thanks. (gotta be used to bitbake -e) Apr 08 13:57:23 apelete: the tracing of operations is brand new (and very useful in these kinds of situations) Apr 08 13:57:47 hence why I suggest piping through less rather than grep since grep will filter out that info Apr 08 14:15:28 bluelightning: adding DISTRO_FEATURES += "${DISTRO_FEATURES_LIBC_DEFAULT}" in distro conf seems to fix it (still building, but got past eglibc already) Apr 08 14:17:02 apelete: presumably you're setting DISTRO_FEATURES with = ? Apr 08 14:17:13 | checking for arm-oe-linux-gnueabi-gcc... arm-linux-gnueabihf-gcc -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon --sysroot=/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv7a -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon -isystem/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/sysroots/genericarmv7a/usr/include --sysroot=/home/hrw/HDD/devel/canonical/aarch64/openembedded/bu Apr 08 14:17:16 (which is fine) Apr 08 14:17:20 fun Apr 08 14:19:07 bluelightning: using += since I let defautsetup.conf manage the DISTRO_FEATURES setting Apr 08 14:19:29 but I'll read the bitbake -e output more closely to undesrtand why the setting was squashed Apr 08 14:20:19 hmm Apr 08 14:24:58 bluelightning: the aforementioned bug with the build config belongs to OE core or to bitbake Apr 08 14:24:59 ? Apr 08 14:27:35 bluelightning: built the kernel successfully by adding DISTRO_FEATURES += "${DISTRO_FEATURES_LIBC_DEFAULT}" (instead of require'ing defaultsetup.conf). time to go back to the bitbake -e output and see what differs Apr 08 14:27:40 dv_: I think OE-Core since that's where that info is gathered Apr 08 14:51:16 /usr/bin/arm-oe-linux-gnueabi-arm-linux-gnueabihf-gcc looks wrong... Apr 08 14:53:25 a little bit, yes :) Apr 08 14:56:21 bluelightning: got it, the culprit is bitbake.conf. it is setting DISTRO_FEATURES ?= "" at line 723 Apr 08 14:56:24 http://paste.debian.net/248255/ Apr 08 14:56:39 (I love bitbake -e already, powerful feature) Apr 08 14:57:03 yeah Apr 08 14:57:26 but when you start digging into OE, or writing complex recipes, you start wishing for a cluster as the build machine :) Apr 08 14:57:34 apelete: ok... I guess it expects the distro config to set an appropriate value in that case Apr 08 14:57:47 brb Apr 08 15:00:22 i am baking a library that is hosted on github, but using the tarball from the website. once unpacked the name of the directory is something like "username-Project-dXXXX" how can i specify S so it does not care of the XXXX ? Apr 08 15:00:50 dv_: I built an 8-core cpu machine with 16GB of ram because I was digging into OE Apr 08 15:01:02 afournier: hmm... you could mv it at the end of do_unpack perhaps... Apr 08 15:01:22 bluelightning: you always have good ideas ! Apr 08 15:01:27 dv_: a cluster may be my next build machine ;) Apr 08 15:02:36 apelete: look at what this guy uses: http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg21702.html Apr 08 15:05:14 dv_: wow. well, I am not digging into OE that hard yet :) Apr 08 15:05:56 you don't need a huge machine to get reasonable build times: http://www.burtonini.com/wordpress/2012/11/15/yocto-build-times/ Apr 08 15:09:57 that's the kind of build times I get on my 8-core AMD cpu with 16GB of ram (using a 256GB ssd instead of hdd though) Apr 08 15:11:10 seems reasonable to me since the machine was not that expensive (bought the parts last january and assembled it myself) Apr 08 15:12:47 wish I had an intel cpu though, but they were too expensive compared to amd counterparts Apr 08 15:17:43 stick lots of ram in your machine, and you are pretty well off already I guess Apr 08 15:18:18 (because then you have a huge disk cache) Apr 08 15:20:12 yeah, and I'm also using a webcache proxy to cache downloaded archives locally (on a 2TB hdd. ssd is for devel purpose only) Apr 08 15:23:19 caching doesn't work for content downloaded from git/svn/scm, but it's better than nothing (I hate it when a download server is offline when I need it) Apr 08 15:24:19 we do produce tarballs from scm fetches... won't help if you don't specify a full fixed revision for SRCREV though Apr 08 15:25:36 I have a "yocto-downloads" directory. it is holy and those who delete stuff from it get hunted down by a squad of men in black. :) Apr 08 15:25:58 bluelightning: you mean there are tarballs of scm fetches available on oe mirrors ? Apr 08 15:26:40 apelete: I think we do provide those for releases yes Apr 08 15:26:56 apelete: but not necessarily for latest master at a given time Apr 08 15:27:20 on the yoctoproject.org mirrors that is Apr 08 15:28:58 bluelightning: that means bitbake will fetch from the tarballs instead of the scm if I give it the exact SRCREV in a recipe ? Apr 08 15:32:55 while working on oe-classic I found out that having a dl server going offline is a huge pain in the back, that's why I setup a webcache proxy locally (and I configured it to keep files on the disk for months) Apr 08 15:35:29 apelete: ah now I see what you mean by webcache Apr 08 15:36:04 apelete: you can set up a local mirror with PREMIRRORS (even easier setup via own-mirrors.bbclass) Apr 08 15:37:32 bluelightning: good to know, wasn't aware of that so I chose to set up squid on my build machine Apr 08 15:38:08 every single download goes through squid, and if the file has been download before, it is served from the hdd Apr 08 15:38:48 except for files hosted on a scm of course Apr 08 15:39:26 s/download/downloaded/ Apr 08 15:44:53 is it expected that do_package_setscene() is executed for every package everytime when an image is built? do_fetch + do_write_srcrev + do_build + do_rm_work is called for every package in RunQueue then Apr 08 15:46:53 ensc|w: it's a known interaction problem between buildhistory and rm_work in latest master Apr 08 15:47:13 ok, thx Apr 08 15:47:57 ensc|w: FYI: http://lists.linuxtogo.org/pipermail/openembedded-core/2013-April/037881.html Apr 08 15:48:17 I should have a go at doing the postfunc change tonight actually Apr 08 15:49:23 btw how do you call something like VAR[index] ? Apr 08 15:49:29 what is this? a dictionary? Apr 08 15:49:34 dv_: that's a varflag Apr 08 15:49:40 ah Apr 08 15:50:10 do the pre/postfunc varflags exist on OE-classic? Apr 08 15:50:21 I have this one recipe that still uses populate_package_prepend Apr 08 15:50:25 I'm not sure, but I suspect not Apr 08 15:50:36 dv_: that should still be valid... Apr 08 15:50:46 I'd like to replace that with a prefunc. but this recipe is supposed to run with OE-classic as well (specifically OE-classic with arago) Apr 08 15:51:10 dv_: that won't be possible because of the tabs/spaces change if nothing else Apr 08 15:51:16 it would solve the issue with the indentations, yocto uses 4 spaces, arago uses tabs Apr 08 15:51:18 you'll need to have two different versions Apr 08 15:51:32 but prefuncs are their own functions, they are not simply appended Apr 08 15:51:43 indeed Apr 08 15:51:54 which is why I would like to use them. then I need only one version. Apr 08 15:52:09 there would be no mixup of spaces and tabs Apr 08 15:52:16 well, I can only say good luck with that - there are other differences Apr 08 15:52:23 :/ oh well. Apr 08 15:52:31 it may well work but I'm not sure that it will Apr 08 15:52:33 it's awy more trouble than its worth. branch and be happy Apr 08 15:52:36 currently I do have two different populate_package_prepend versions Apr 08 15:52:54 I'll stick to that then, as ugly as it may be Apr 08 16:05:09 mmh... busybox mount does not work with systemd :( the 'mount -o remount /' does not make it rw as expected Apr 08 16:06:51 try an explicit rw, perhaps? mount -o remount,rw /? Apr 08 16:06:52 * kergoth shrug Apr 08 16:08:07 kergoth: systemd's systemd-remount-fs.service calls only 'mount -o remount' Apr 08 16:08:28 moin Apr 08 16:08:47 kergoth: accordingly man-pages, this is the correct thing and mount -o remount should takes options from /etc/fstab Apr 08 16:12:15 ensc|w: is it a case that we're currently disabling a busybox option that we need to enable? Apr 08 16:16:07 bluelightning: I do not think so; I enabled all mount related options except mtab and see this behavior Apr 08 16:17:32 hmm, kind of sounds like a busybox bug then Apr 08 16:38:24 does openembedded-core/scripts/sstate-cache-management.sh works for someone? Apr 08 16:40:31 I have 61404 files in sstate-cache (62GB) Apr 08 16:41:15 ok know why Apr 08 16:41:42 wrong cache dir... Apr 08 17:17:54 bluelightning: built the kernel successfully with the right distro_features setting, at last. (thanks for your help btw) Apr 08 17:18:07 apelete: np Apr 08 17:18:40 but I'm still getting a weird error messages at the end of the build: Apr 08 17:18:40 ERROR: Creation of tar /fast/devel/oe-core.git/meta-jlime/build/tmp-eglibc/deploy/tar/kernel-vmlinux-2.6.36-r0.tar.gz failed. Apr 08 17:18:40 ERROR: Creation of tar /fast/devel/oe-core.git/meta-jlime/build/tmp-eglibc/deploy/tar/kernel-dev-2.6.36-r0.tar.gz failed. Apr 08 17:19:34 apelete: are you inheriting package_tar somewhere? Apr 08 17:19:52 bluelightning: yes, in my distro conf Apr 08 17:20:04 ah right, I suspect that may be broken Apr 08 17:20:06 I have PACKAGE_CLASSES += "package_tar" Apr 08 17:20:15 do you use that? Apr 08 17:20:39 the tar file ? ye. Apr 08 17:20:49 s/ye./yes./ Apr 08 17:21:03 ah ok, what for just out of curiosity? Apr 08 17:21:41 it easier to upload the images to the jlime community that way Apr 08 17:22:04 I could tar it by hand I guess... Apr 08 17:22:12 apelete: hang on, tarballs of the image and packages are separate things... Apr 08 17:22:35 package_tar is about creating a tarball for individual packages Apr 08 17:22:54 ah, that's not what I want then Apr 08 17:23:03 I want tarballs for my images Apr 08 17:23:20 ah right, in that case just ensure tar.gz (or tar.bz2, or just tar, etc.) is in IMAGE_FSTYPES Apr 08 17:23:47 okay, I already got that: IMAGE_FSTYPES = "tar.gz tar.bz2 jffs2" Apr 08 17:24:08 ok, so you should be set, and you can remove the package_tar line that's causing errors Apr 08 17:24:17 so I guess I won't be needing the PACKAGE_CLASSES += "package_tar" setting Apr 08 17:24:21 right Apr 08 17:24:26 thanks. Apr 08 17:24:32 (although to be fair it shouldn't error out like that) Apr 08 17:27:21 it errors but the packages are created nonetheless: http://paste.debian.net/248301/ Apr 08 17:27:48 hmm, odd Apr 08 17:29:04 anyway, I won't be needing them. I only want tarball of my final image and I still have work to do before getting there Apr 08 17:29:14 thanks for helping :) Apr 08 17:30:05 apelete: you're welcome :) Apr 08 17:31:14 apelete: just looking at your patch... would you mind adding a header to the included kernel patch mentioning what it does, Upstream-Status and adding your signed-off-by? Apr 08 17:35:48 bluelightning: hmm, the changes I did in that patch are already in the mainline kernel. I just looked at the kernel changesets and applied the same fixes. Apr 08 17:36:12 apelete: ah ok, it would be Upstream-Status: Backport in that case Apr 08 17:36:22 which is really useful to know when you're updating the kernel recipe :) Apr 08 17:36:37 bluelightning: ok, I'll add it then Apr 08 17:36:40 thanks Apr 08 17:37:19 bluelightning: is there an exemple of such an header in OE I can look at to get it right ? Apr 08 17:37:28 one sec Apr 08 17:37:32 s/exemple/example/ Apr 08 17:39:05 apelete: http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-core/dropbear/dropbear/nopw-option.patch Apr 08 17:39:26 so not too much info needed really Apr 08 17:40:18 bluelightning: great, thanks. I'll do a patch v3 as soon as I can (maybe tonight) Apr 08 17:40:41 gotta go, see you later. Apr 08 17:40:45 apelete: thanks, cya Apr 08 20:20:42 woglinde: I think I know why you're seeing so many do_package_setscene executions with rm_work, http://lists.linuxtogo.org/pipermail/openembedded-core/2013-February/035382.html Apr 08 20:20:49 No enf Apr 08 20:20:50 of chain tasks depend directly on do_package anymore.". Apr 08 20:21:10 probably we have too many task still depending on them Apr 08 20:23:14 hm Apr 08 22:31:02 So I've got my own bbappend for a kernel, and in it I do MACHINE_KERNEL_PR_append="foo". I build and deploy my angstrom image all works, but opkg list-upgradable reports my kernel as being upgradable. I don't want this Apr 08 22:31:56 What have I failed to configure to prevent this. In essence, I'd like to break chain so it NEVER reports it can be upgraded Apr 08 22:39:04 apelete: no way to boot vanilla kernels on ben-nanonote? **** ENDING LOGGING AT Tue Apr 09 02:59:58 2013