**** BEGIN LOGGING AT Tue Nov 25 02:59:57 2014 Nov 25 05:00:59 i want to create a receipe which clones a git repo, starts a maven build and copies the resulting jar file into my rootfs. anybody knows if a similar aproach already existing anywhere? Or do I have to start from scratch? Nov 25 05:53:46 jackmitchell: your connection is shit! Nov 25 05:59:35 also wrong channel but i still stand by my view :) Nov 25 09:38:29 hi im new to using yocto project, having problems with bitbake can anyone help me out ? Nov 25 09:46:09 sighack: maybe if you describe your actual problem... Nov 25 09:53:17 please can someone tell where can i talk to rocketboards people :) Nov 25 09:56:42 morning all Nov 25 10:09:09 Hi, does anyone know how to customize distro name, version and strings and login prompt in tty, bash, ssh console? Nov 25 10:10:37 stiandre_: hi Nov 25 10:10:48 bluelightning, hi Nov 25 10:11:10 hello all Nov 25 10:11:11 stiandre_: create a custom distro config, in which you set DISTRO_NAME, DISTRO_VERSION, DISTRO_CODENAME etc. Nov 25 10:11:20 hi rokka Nov 25 10:12:07 stiandre_: this might be helpful if you haven't already seen it: http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#creating-your-own-distribution Nov 25 10:12:44 bluelightning, okay, should it work to set those variables in the conf/local.conf? Nov 25 10:13:17 i've just did that and was not able to see any changes to the tty serial login prompt? Nov 25 10:13:59 stiandre_: no, the distro config is parsed after local.conf, so poky's distro config will override whatever you set in local.conf - you really should create your own distro config Nov 25 10:14:26 bluelightning, ahh, i see.. thank you very much Nov 25 10:14:38 bluelightning, that explains everything :) Nov 25 10:25:23 What's the yocto bitbake equivalet for 'make all' or 'make world'? To build everything from images to sdk's to tests? I'd like to provide a default in a project for our stuff but follow upstream practices.. Nov 25 10:30:37 "bitbake world" Nov 25 10:30:48 doesn't create all images though Nov 25 10:31:28 rburton1: thanks, I'll try to modify that then, thanks! Nov 25 10:31:45 modifying it would be tricky, it's embedded into bitbake itself Nov 25 10:32:35 fsst, sigh. Then I'll invent another silly meta package. Meta this meta that... Nov 25 10:33:14 sgw_: tested your resolvconf patch and it works Nov 25 10:37:54 mcfrisk: something like "bitbake world meta-all-my-images meta-all-my-sdks" seems reasonable for a "build all the things" Nov 25 10:38:36 mcfrisk: of course you may not actually want world, as oe-core has webkit/qt/gtk in thats a lot of stuff if you're not using them all already. Nov 25 10:45:12 uh, and there seems to be also 'EXCLUDE_FROM_WORLD' Nov 25 10:51:38 yeah Nov 25 10:52:02 you can't just exclude eg qt4 from world, because it will then try and build a qt4 app which pulls in qt Nov 25 10:52:17 blacklisting may work better, never looked at that Nov 25 10:54:29 all EXCLUDE_FROM_WORLD does is tell the system not to explicitly build something as part of a world build Nov 25 10:54:56 it does not exclude it from being built to satisfy a dependency of something else that is explicitly built Nov 25 11:04:41 created a meta package to build everything in a project, but it seems this meta package should not have same name as distro. Why is that? http://t144772.handhelds-openembedded-scm.pdatalk.info/paul-eggleton-classes-insane-add-check-for-pn-inoverrides-t144772.html Nov 25 11:05:35 so warning is that PN is found from OVERRIDES Nov 25 11:05:57 and I guess DISTRO goes into OVERRIDES Nov 25 11:09:53 LetoThe2nd: hey, I have downloaded a yocto poky build from here : http://git.rocketboards.org/poky-socfpga.git and am trying to run bitbake. It gives an error Nov 25 11:09:53 " ERROR: Function failed: do_install (see /home/sitpl/buildtools/poky-socfpga/build/tmp/work/armv7ahf-vfp-neon-poky-linux-gnueabi/external-linaro-toolchain-UNKNOWN-r2/temp/log.do_install.2888 for further information)" Nov 25 11:11:02 rokka: I'm stuck with some rocketboards sections too! lemme know if you find any help :) Nov 25 11:12:10 mcfrisk: yes, distro goes into overrides Nov 25 11:12:22 so you can do EXTRA_OECONF_append_mydistro Nov 25 11:16:03 hi guys. I'm trying to setup a shared SSTATE_MIRRORS over http. Is there a way to know if it's actually being used when building? bitbake -v doesn't seem to tell much about it. Nov 25 11:16:59 cassidy: for the most part, you should see setscene tasks being executed rather than real tasks Nov 25 11:19:24 bluelightning, what are setscene tasks exactly? Nov 25 11:24:15 cassdy: you could also run the build with Toaster. It will show you how many sstate tasks run and which sstate files they use. Nov 25 11:28:17 sighack: our numbers grow! :) Nov 25 11:29:03 cassidy: basically, they are tasks that run in place of the real task when restoring the task's output from shared state Nov 25 11:41:06 belen, just set up toaster, it seems to see my current bitbake build. Where can I see the sstate info ? Nov 25 11:42:40 select the build, then the 'tasks' link on the left navigation Nov 25 11:42:59 the tasks table has a column with heading 'outcome' Nov 25 11:43:11 sstate tasks have outcome set to 'cached' Nov 25 11:44:38 oh I need the build to be finished? Nov 25 11:44:51 this video might be useful https://wiki.yoctoproject.org/wiki/images/a/a4/Toaster-manual-v5.webmhd.webm Nov 25 11:45:14 cassidy: yes Nov 25 11:45:25 cassidy: the build needs to finish first Nov 25 11:45:47 ah ok thanks :) Nov 25 11:51:27 it didn't seem to use my cache. My http server requires authentification. Is adding the credentials to ~/.netrc enough? Nov 25 11:51:51 if wget reads those, then yes Nov 25 11:53:13 it does yeah Nov 25 11:54:03 are you setting SSTATE_MIRRORS = "file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH" ? Nov 25 11:54:19 (where "PATH" is verbatim, shouldn't be substituted) Nov 25 11:55:16 oh I do need file://.* first ? I assumed it was for another example Nov 25 11:55:18 ? Nov 25 11:56:15 yes you do... the first part is a regex that should be matched, and the second is what it should be replaced with Nov 25 12:01:18 ahh ok, I'll retry with that, thanks! Nov 25 12:19:06 Is there any recommended or convenient way to have a development environment to swap between debug and release when building an BSP? Nov 25 12:21:58 And what is the recommended method for adding software packages (recipes) to an image. Create a custom image recipe and use IMAGE_INSTALL instead of IMAGE_INSTALL_apend in local.conf? Nov 25 12:22:18 stiandre_: yes on the latter Nov 25 12:23:27 I don't know that we really have the debug/release split well handled unless you're happy with just debugging symbols (which are packaged by default and can be installed on the target as needed) Nov 25 12:23:35 okay, so the recipes should be bound to the particular image? Nov 25 12:23:48 what do you mean by bound ? Nov 25 12:24:41 sorry, i mean belong.. Nov 25 12:25:21 well, not really... only in that the packages provided by the recipes are pulled into the build via being mentioned in the image's IMAGE_INSTALL, if that's what you mean... Nov 25 12:26:27 bluelightning, okay, yes that was what I meant to say... Nov 25 12:27:30 bluelightning, by the way, have you experiences on how to add users using the useradd.bbclass? Nov 25 12:29:19 stiandre_: I've done it before yes... mostly it's just a matter of adding useradd to inherit and setting USERADD_PARAM (and GROUPADD_PARAM if needed) Nov 25 12:29:26 http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-USERADD_PARAM Nov 25 12:29:59 oh and USERADD_PACKAGES Nov 25 12:30:43 there are lots of examples around in the core metadata Nov 25 12:31:10 bbl Nov 25 12:32:11 bluelightning, ok.. yes I have used it, but in my case the password hash is stored in /etc/passwd directly, same experience? I want the hash to be stored in /etc/shadow.. Nov 25 12:32:50 bluelightning, when i look in the sysroot files.. Nov 25 12:47:52 bluelightning, about the debug/release split, any recommendation on how to easily add extra packages for debug only? just use local.conf? Nov 25 12:49:22 bluelightning, such as IMAGE_INSTALL_append and EXTRA_IMAGE_FEATUES..? Nov 25 13:10:32 stiandre_, I'm also using useradd. I checked it, and yes, in the sysroot the password hash is stored in passwd, but in the image it's in shadow. Nov 25 13:12:57 stiandre_, when it comes to you other question, I've set up a product-dev-image, that 'requires product-image' and then add some extra packages; like gdbserver, tcf-agent etc. That works for us for the moment. Nov 25 13:19:48 bluelightning: hi, do you remember adding iotop to meta-oe? Nov 25 13:20:16 bluelightning: someone asked me why it has rdepends on python-distutils, the commit message only says Update to 0.4.4, adjusting python module dependencies as appropriate Nov 25 13:20:24 and I don't see any reason in the code Nov 25 13:37:49 JaMa: I don't recall... I'd say if it seems wrong, remove it Nov 25 13:38:11 but I probably had a reason at the time... Nov 25 13:38:15 ok, thanks Nov 25 13:38:48 the oe-classic recipe had this python-distutils Nov 25 13:39:01 ah, maybe that's where it came from Nov 25 13:39:40 yes I see now it was based on the OE-Classic recipe Nov 25 13:40:30 Author: Holger Hans Peter Freyther Nov 25 13:40:30 Date: Mon Jul 21 19:37:45 2008 +0200 Nov 25 13:40:30 [iotop] Make the installed package work Nov 25 13:40:31 :) Nov 25 13:40:37 zecke: ping :) Nov 25 13:40:37 heh Nov 25 13:41:33 JaMa, do you know if anyone using anki? That is only thing I can find in meta-oe that uses pyqt Nov 25 13:41:38 and it seems very old Nov 25 13:42:48 looks like it was JaMa that imported it... Nov 25 13:43:24 Crofton|work: it was included in SHR feeds, but nobody is using that anymore I think Nov 25 13:43:49 Crofton|work: last time I was updating it (together with pyqt) I also had troubles find someone to properly test it Nov 25 13:44:02 you scared him off Nov 25 13:44:26 I do not thinnk changes to pyqt break it, since it has a patch to remove the build time check or soemthing Nov 25 13:44:42 which is reasonable, since it is likely only needed at runtime Nov 25 13:45:06 yes, I remember something like that Nov 25 13:45:28 if this is the only thing blocking you from upgrading pyqt then don't worry too much Nov 25 13:45:31 ok, I need to send in patche sto update pyqt and sip Nov 25 13:45:47 better to have that ettus device working with UI :) Nov 25 13:45:55 they added a sysroot option to the configure.py, which made things "easier" Nov 25 13:45:59 yeah Nov 25 13:50:21 for full gui support I need pyqwt also, but there are also long term issues with it Nov 25 13:50:30 so we want to really remove the need for it Nov 25 14:18:10 bluelightning, thanksfor your useful answers.. Nov 25 14:21:28 bluelightning: I am about to develop a custom motherboard for the imx6 module, which is very close to the wandboard, so I should probably use it as a base for futher development. Are there any reasons not to use the linux kernel mainline? Nov 25 14:22:08 stiandre_: you'd have to ask someone else who is more familiar with imx6 mainline support to be honest - perhaps otavio ? Nov 25 14:23:19 bluelightning: ok, thanks, done :) Nov 25 14:35:11 Hallo! i need help. I want to add some Config files to ppp recipe Nov 25 14:35:58 I made ppp_2.4.6.bbappend file and addes my files in /files directory Nov 25 14:36:50 If i starts the build: bitbake image-XXX -c ppp, i see the ERROR: AttributeError: 'module' object has no attribute 'pythonCacheLine' Nov 25 14:37:06 can somebody help me? thanks! Nov 25 14:39:24 My ppp.bbappend file: https://gist.github.com/achest/50064d29865f9d94f3c2 Nov 25 14:42:12 achest: -c ppp doesn't make sense, just do bitbake image-xxx Nov 25 14:42:24 -c ppp means "run the task called ppp Nov 25 14:42:32 there isn't a task called ppp Nov 25 14:42:35 achest, this may works: bitbake -c install ppp Nov 25 14:42:38 tasks are fetch, unpack, build, etc Nov 25 14:43:17 Sorry, I see . How can i test only ppp recipe? Nov 25 14:43:19 and you don't want to just do install as you edited SRC_URI so you need to do unpack too. just build the image again and let bitbake figure out what changed. Nov 25 14:43:26 if you just want to do ppp, do bitbake ppp Nov 25 14:45:59 Nice: It works. Nov 25 14:46:19 I habe the other error. How cann i create a symlink? Nov 25 14:50:39 Sorry: wrong quiestion. I forgot to say: make -p Nov 25 14:51:30 <_qwerty_> Hi I have problem to run image on beaglebone on SD Nov 25 14:52:31 <_qwerty_> http://pastebin.com/qQf0V4tt Nov 25 14:52:55 <_qwerty_> I didn't change any uboot variable but kernel Nov 25 14:57:55 bluelightning: do you know if it's possible to require core-image-minimal.bb from own image recipe (from own meta layer)? Nov 25 14:58:31 bluelightning: do I need to use absolute path to reference it? Nov 25 15:00:07 stiandre_: using require or include across layers, you need to specify the path starting at the base of the layer Nov 25 15:00:28 stiandre_: to be honest though for image recipes you're better off just copying and modifying them Nov 25 15:01:04 bluelightning: ok, thanks Nov 25 15:54:12 :q Nov 25 15:54:25 lol (vim) Nov 25 15:56:51 stiandre_: happens to me frequently too Nov 25 15:57:09 diego_r: :) Nov 25 15:57:51 stiandre_: with ":cq", ":q!", ":qa", ":wq" variants Nov 25 15:58:48 diego_r: by the way, have you seen this before: Required build target 'my-custom-image' has no buildable providers. Nov 25 16:00:42 diego_r: I am trying to build my own image which requires core-image-minimal.bb Nov 25 16:01:43 stiandre_: did you define your image name? export IMAGE_BASENAME = "my-custom-image"? Nov 25 16:03:46 diego_r, no that probably the one I am looking for :) where should this be defined? in my-custom-image.bb? Nov 25 16:04:05 stiandre_: yeah, in your my-custom-image.bb Nov 25 16:04:18 diego_r, thanks Nov 25 16:05:14 diego_r: thanks for the review! Nov 25 16:09:19 sgw_: you're welcome Nov 25 16:13:58 bluelightning: hi Nov 25 16:14:14 hi lpapp Nov 25 16:14:28 Does yocto convert symlinks to normal files when it installs them? Nov 25 16:14:48 bluelightning: what is the best way to ship my stunnel config and certificate with Yocto? Shall I do it outside my stunnel package or in that? Nov 25 16:15:14 fishey: not as a matter of course, no Nov 25 16:15:20 hmmm Nov 25 16:15:32 my stunnel package is kind of reusable, but since I am imported into our layer, it does not sound that bad to put it into that at first. I guess I would put it otherwise into a .bbappend. My other idea is putting it into the initscripts, but that is a bit more brittle. Nov 25 16:16:11 lpapp: I'd say add it from a bbappend Nov 25 16:17:44 bluelightning: beside the .bb? Nov 25 16:18:32 lpapp: it can be; it depends on how your layers are structured... the bbappend would go where your distro config is, if that's the same place as where the recipe is at the moment, that's fine Nov 25 16:18:53 bluelightning: I reduced my stack to the meta/ and meta-foo/ (ours) Nov 25 16:20:06 ok, I will put it next to the .bb Nov 25 16:22:46 diego_r: when trying to build my-custom-recipe, i got a few other errors: "ERROR: Nothing RPROVIDES 'libgl-mesa-dev' (but /home/user1/yocto/sources/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q_3.10.9-1.0.0-hfp.bb RDEPENDS on or otherwise requires it)" Nov 25 16:22:57 diego_r: any ideas? Nov 25 16:23:32 are your layers configured correclty in bblayers.conf? Nov 25 16:24:24 i am not sure, but my layers are defined at least.. Nov 25 16:25:10 stiandre_: is core-image-minimal building? Nov 25 16:25:20 diego_r: yes Nov 25 16:25:50 diego_r: do I need to build core-image-minimal first? Nov 25 16:26:41 diego_r: more output for you.. :) Nov 25 16:27:00 diego_r: NOTE: Runtime target 'libgl-mesa-dev' is unbuildable, removing... Nov 25 16:27:00 Missing or unbuildable dependency chain was: ['libgl-mesa-dev'] Nov 25 16:27:00 NOTE: Runtime target 'mcs' is unbuildable, removing... Nov 25 16:27:00 Missing or unbuildable dependency chain was: ['myqtapp', 'qtdeclarative', 'qtjsbackend', 'qtbase', 'virtual/libgles2', 'libgl-mesa-dev'] Nov 25 16:28:28 diego_r: i have also created my own distro, meta-mylayer/conf/distro/mydistro.conf Nov 25 16:29:02 stiandre_: ok, so you're messing with qt... are you building for a Freescale SOC without GPU functionalities like i.MX6 SoloLite? Nov 25 16:30:14 diego_r: ok, but do you think it could be something with my distro config? Nov 25 16:31:22 diego_r: btw, yes i am trying to build my qt application which worked perfectly until I created my own image recipes and distro config Nov 25 16:33:27 stiandre_: what are the issues you are having? Nov 25 16:34:34 otavio: I am getting: NOTE: Runtime target 'libgl-mesa-dev' is unbuildable, removing... Nov 25 16:34:34 Missing or unbuildable dependency chain was: ['libgl-mesa-dev'] Nov 25 16:34:34 NOTE: Runtime target 'mcs' is unbuildable, removing... Nov 25 16:34:34 Missing or unbuildable dependency chain was: ['myqtapp', 'qtdeclarative', 'qtjsbackend', 'qtbase', 'virtual/libgles2', 'libgl-mesa-dev'] Nov 25 16:34:36 stiandre_; otavio is the Freescale BSP layer guru (and maintainer) Nov 25 16:36:50 otavio: i am trying to build a custom image (my-custom-image.bb) but get those errors.. Nov 25 16:37:14 otavio: i have also created my own distro, meta-mylayer/conf/distro/mydistro.conf Nov 25 16:39:07 diego_r: maintainer yes; guru ... not that much Nov 25 16:39:18 stiandre_: which distro features you have enabled? Nov 25 17:31:47 otavio: I am back again, sorry.. Nov 25 20:27:05 stiandre_: perhaps take a look at the features/prefered packages defined in the distro you were previously using and add the appropriate ones to your custom distro Nov 25 20:27:26 or just `require` the previous distro Nov 25 20:27:31 and extend Nov 25 20:34:48 fishey: Yes, I recently solved it. It was related to DISTRO_FEATURES, and I did exactly what you suggested, added require recipes-core/images/core-image-minimal.bb Nov 25 20:35:25 fishey: thanks for answering Nov 25 20:36:50 I'm not entirely sure, but It might not be safe to put DISTRO_FEATURES in the image .bb file (assuming that's what you're doing). Now if it's IMAGE_FEATURES, that should be fine. Nov 25 20:37:24 I'm fairly new to this myself Nov 25 20:45:15 fishey: sorry, my mistake, I had to solve a few things. I wanted to create my own custom distro and images (for debug and release), and the DISTRO_FEATURES was applied to the .conf and IMAGE_FEATURES for the .bb Nov 25 20:46:44 fishey: so I think you are right about the unsafe DISTRO_FEATURES in .bb Nov 25 20:47:23 fishey: i am not sure as I'm fairly new to this too.. :) Nov 25 20:56:53 otavio: would be appreciated if you'd ack the uboot patches from yesterday Nov 25 22:21:51 I want to change the hostname for my image, anyone know how to do this to the prebuild image? Nov 26 00:22:29 rburton: I am leaving to a work trip and will not be able to test until Thursday Nov 26 00:26:02 rburton: so please wait until Thursday before merging it; I want to give it a good test in the two use cases (with and without SPL) **** ENDING LOGGING AT Wed Nov 26 02:59:58 2014