**** BEGIN LOGGING AT Mon Feb 04 02:59:59 2013 Feb 04 06:16:46 rp, it looked like something you would enjoy :) Feb 04 08:23:56 good morning Feb 04 08:24:18 good morning Feb 04 08:24:43 hi florian how was fosdem this year? Feb 04 08:47:38 hi mckoan Feb 04 08:47:55 mckoan: pretty good of course! :) Feb 04 10:40:49 morning all Feb 04 10:45:35 bluelightning: hi Feb 04 10:48:01 hi mckoan Feb 04 12:04:16 hello Feb 04 15:48:29 https://gist.github.com/4707483 not quite ideal yet, but getting there Feb 04 15:50:02 Crofton|work, you back from across the pond? Feb 04 15:52:21 I guess I should check G+ before asking questions. Feb 04 19:17:02 hi Feb 04 19:17:08 hi Feb 04 20:21:28 Hi all, I'm trying to add a recipe for a python module that I'm modeling after python-epydoc_3.0.1.bb. When I try to build my image I get an error that my package needs /usr/bin/python-native/python Feb 04 20:22:07 any ideas as to what I've messed up? Feb 04 20:30:15 I've tried removing the BBCLASSEXTEND = "native", but I thought that shouldn't matter Feb 04 20:31:09 (along with the DEPENDS_virtclass-native += "python-native") Feb 04 20:40:53 Garibald1: /usr/bin/python-native/python is probably used in shebang is your recipe using pythonnative inherit or doing something with shebangs? Feb 04 20:41:50 not that I know of Feb 04 20:42:16 there was once a 'BBCLASSEXTEND = "native"' Feb 04 20:42:37 but I removed it when I ran into this problem Feb 04 20:42:56 I had it only because the one I copied had it, I don't fully understand what it does Feb 04 20:43:18 from what I read it let's the recipe build a -native version too? Feb 04 20:43:46 yes Feb 04 20:44:01 so having it shouldn't make it a -native only version Feb 04 20:45:01 my recipe looks almost identical to meta-openembedded/meta-oe/recipes-devtools/python/python-epydoc_3.0.1.bb Feb 04 20:45:20 just with the values of the variables updated Feb 04 20:46:56 individually they build, it fails during do_rootfs on my image Feb 04 20:49:15 now, there are scripts in the package that do #!/usr/bin/env python at the top Feb 04 20:50:00 maybe the install process is examining that and trying to do some substituion? Feb 04 20:54:12 although that shebang seems to work correctly in the generated machine Feb 04 21:02:13 hum, changing a RDEPEND = "package" to a DEPEND = "package" seems to have resolved it Feb 04 21:02:34 but then I'm confused, I thought RDEPEND was for runtime deps? Feb 04 21:03:38 What do I need to do to get user crontabs with vixie-cron in OE, or does it simply not support them? It runs things in /etc/crontab if I create it, but doesn't bother to get proper user permissions when it does(groups, etc). Feb 04 21:04:44 monttyle: so as a normal user, you can do 'crontab -e'? Feb 04 21:05:32 I cannot. It gives me permission denied. I would add them to the cron group, if there was one. Feb 04 21:06:12 yeah, that would be my next suggestion. Maybe add a cron group yourself? Feb 04 21:06:16 actually, it gives 'seteuid: operation not permitted'. Feb 04 21:06:59 'groupadd cron' Feb 04 21:07:35 Done, added user to the group, relogged in, no change. Feb 04 21:08:19 so 'groups' for the user now lists 'cron'? Feb 04 21:08:28 Yes. Feb 04 21:08:36 yeah, I'm out of ideas Feb 04 21:10:02 Me too. I have been fiddling for a while, but suspect the stuff to make user crontabs is not just broken but missing. There is no /var/spool/cron for instance. Feb 04 21:10:33 try a ls -l $(which crontab)' Feb 04 21:11:06 what group is it associated with? Feb 04 21:11:19 I chowned it to cron when you suggested the group. Feb 04 21:11:39 I also made sure it was set group-sticky. When that didn't work, I tried user-sticky. When that didn't work, I changed it back to the way it was. Feb 04 21:12:02 yeah, should likely be: rwxr-sr-x Feb 04 21:12:10 Tried that, no go. Feb 04 21:12:30 the chmod failed? Feb 04 21:12:36 I also checked permissions on another linux system where it was rwxr-s--- Feb 04 21:12:44 No, the chmod didn't fail. It just made no difference. Feb 04 21:12:50 ah Feb 04 21:12:54 As in, the command kept failing with not permitted. Feb 04 21:13:01 that's odd Feb 04 21:13:13 do you have working vixie-cron in oe though? Feb 04 21:13:20 no Feb 04 21:13:30 maybe it's not odd. :shrug: Who knows? Feb 04 21:13:45 I've used it outside of oe, but never within it. Feb 04 21:14:06 I'm building a datalogger and didn't think most of my stuff really deserved to run as root. Feb 04 21:14:30 yeah Feb 04 21:15:26 Speaking of... does su work in oe either? Without a 'wheel' group, and with 'uucp' where 'wheel' belongs, things look pretty messed up Feb 04 21:16:08 Hmm.... I can kludge it with sudo I guess. That still works fine. Feb 04 21:20:19 All right. It works with sudo. I can live with this. Feb 04 21:23:39 any guidance on my python woes? I'm trying to add a python package and when I try to build the system image I get errors about /usr/bin/python-native/python being needed by the package Feb 04 21:24:47 Afraid I don't know. Feb 04 21:24:56 I also get warnings about multiple packages trying to write to /usr/lib/python2.7/site-packages/site.{py,pyo} Feb 04 21:25:04 monttyle: thanks anyway Feb 04 21:25:57 I'm somewhat at a double disadvantage, I know neither python or bitbake well Feb 04 21:26:03 s/or/nor/ Feb 04 21:26:31 I don't know what site.{py,pyo} is for, and I don't know how to make my recipe work Feb 04 21:26:33 heh Feb 04 21:32:31 JaMa: any other guidance/suggestions? Feb 04 21:33:02 Garibald1: does it have /usr/bin/python-native/python somewhere in shebang or not? Feb 04 21:33:16 grep -R "/usr/bin/python-native/python" your-package/packages-split to be sure Feb 04 21:55:53 JaMa: sorry, had a visitor. Yes, I get /usr/bin/pytest scripts that shebang /usr/bin/python-native/python Feb 04 21:56:09 for each of my packages Feb 04 21:58:08 those seem to come from the package itself, the build is translating /usr/bin/python to /usr/bin/python-native/python Feb 04 21:58:11 Garibald1: ok, that's the issue, now find out how it got this shebang Feb 04 22:00:38 if my package source has shebangs, do I need to massage them during install? Feb 04 22:01:55 like package X has bin/* scripts that #!/usr/bin/python; those are the scripts that have #!/usr/bin/python-native/python in them at install time Feb 04 22:04:27 Garibald1: depends, e.g. distutils in python-native is using patch to prevent shebang modifications Feb 04 22:04:47 you need to look into your sources what and why modifies them Feb 04 22:05:02 ok, thanks for the pointers Feb 04 22:07:13 I am inheriting distutils; but only because the package I'm modeling after did. Feb 04 22:07:55 Other than modeling after existing python packages, I don't quite know where to start Feb 04 22:13:11 and I don't understand why I'm getting a native package when I want one for the generated image Feb 04 22:13:33 I mean, apparently it's because I'm inheriting distutils Feb 04 22:16:29 but every python packate I see is inheriting distutils or setuptools Feb 04 22:16:34 and setuptools seems even less appropriate Feb 04 22:28:51 granted, with that patch it seems like this wouldn't be modifying it Feb 04 23:58:36 https://gist.github.com/4710876 - any opinions on the output (formatting, or content) or behavior of this? Feb 04 23:59:06 it's starting to get closer to what I want to see, but it's not quite there yet, I haven't nailed down what's off Feb 05 00:16:00 refresh, it has two examples now **** ENDING LOGGING AT Tue Feb 05 02:59:59 2013