**** BEGIN LOGGING AT Fri Nov 20 02:59:58 2015 Nov 20 09:40:17 Hello everyone. I built package gcc-cross-canadian-i586 and get warning about library liblto and libcc1 in wrong location Nov 20 09:40:22 gcc-cross-canadian-i586: found library in wrong location: /opt/poky-tiny/2.0/sysroots/x86_64-pokysdk-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/5.2.0/liblto_plugin.so.0.0.0 Nov 20 09:40:54 Is it safe if ignore this warning by INSANE_SKIP Nov 20 09:41:14 I am using poky at branch master with latest commit Nov 20 09:42:52 the full warning is here: http://paste.ubuntu.com/13362679/ Nov 20 12:10:39 Anyone know how to find/replace string sin files Nov 20 12:11:09 sed Nov 20 12:11:13 sed -i 's/foo/bar/g' * Nov 20 12:11:17 does not work Nov 20 12:11:23 sed: can't move 'avZSxhl' to 'a': Is a directory Nov 20 12:11:32 find . -type f -exec sed ... Nov 20 12:11:34 \; Nov 20 12:11:50 * rink thinks you have subdirectories in there which * matches Nov 20 12:12:41 So should it be: find . -type f -exec sed -i 's/foo/bar/g' * Nov 20 12:13:27 with a \; on the end to terminate the exec expression Nov 20 12:17:08 "find . -type f -exec sed 's/foo/bar/g' * \;" doesn't fail but also doesn't replace anything Nov 20 12:17:21 uh Nov 20 12:17:28 that is because * should be {} Nov 20 12:18:12 and this isn't good channel for this OT Nov 20 12:18:29 yeah, you are right. Nov 20 12:18:44 sorry all Nov 20 12:21:24 JaMa: well Yocto seems to deviate from stock linux on this point, so why not? Nov 20 12:21:38 because it doesn't Nov 20 12:22:33 'stock linux', that's interesting. Nov 20 12:23:07 all my linux distributions aren't stock enough, because they behave the same as Yocto Nov 20 12:25:08 So why does sed -i 's/foo/bar/g' fail? Nov 20 12:25:47 because no sed can do regexp on directories Nov 20 12:26:47 guess I misunderstood the command Nov 20 12:27:02 apologies for clogging up the airways Nov 20 12:30:44 the find command is wrong, too, should be find * -maxdepth 0 -type f -exec sed -i 's/foo/bar/g' {} \; to achieve the same thing as sed -i 's/foo/bar/g' * for files-only expansions of * Nov 20 12:31:20 find . -type f -exec sed -i 's/foo/bar/g' {} \; works for me Nov 20 12:31:52 different semantics, though, will also replace foo in files in subdirectories, which sed ... * did not. Nov 20 12:34:03 If you have a common suffix for the files you want to modify (and assuming you don't have directories suffixed like that), you can also "sed -i 's/foo/bar/g' *" (or other globbing tricks). Nov 20 12:35:30 neverpanic, yes that what I assumed he wanted :) Nov 20 12:37:07 thanks guys Nov 20 16:37:47 Hi all, I don't know if anyone remembers me from yesterday with working on Twisted. Nov 20 16:38:07 But I talked with the Twisted devs, including Glyph (the guy who made it). 15.4.0 is changed and they don't support having the package be split up anymore. Nov 20 16:43:39 In their NEWS file, they have: " - Twisted no longer supports being packaged as subprojects. (#7964)" Nov 20 16:53:36 moto-timo (fyi) Nov 20 16:54:01 I'll do my best to split up the docs, tests, and the rest. So we can at least make it as small as technically possible. Nov 20 17:06:41 kratsg: interesting Nov 20 17:07:02 kratsg: but nonetheless, we still package into -doc, -dbg, -dev etc. all the time Nov 20 17:07:16 kratsg: but python modules are... special Nov 20 17:39:00 should i use ${bindir} or ${PYTHON_SITEPACKAGES_DIR}/bin for the bin files? Nov 20 18:44:11 moto-timo: I've cleaned up python-twisted a lot now: https://github.com/kratsg/meta-l1calo/blob/master/recipes-core/python/python-twisted_15.4.0.bb Nov 20 18:44:29 I'm going to check that this version of the recipe works as expected, and then try and package it out more. Nov 20 18:52:25 how up to date is the prserver on wiki? Nov 20 18:56:45 I'm running into a missing package "no python-twisted-admin" but I have it listed in the python-twisted package.How can I make sure it's parsing it correctly? Nov 20 19:36:02 * armpit why do i need a drink this early in the day Nov 20 19:38:28 hmmm. Nov 20 19:38:44 Unfortunately I'm away from Linux so I can't test it Nov 20 19:46:10 so python is throwing no package error? or bitbake? Nov 20 19:48:19 hrmm, ok Nov 20 19:48:20 so Nov 20 19:48:24 it all succeeded now Nov 20 19:48:31 i look in the /usr/lib/python2.7/site-packages Nov 20 19:48:40 I see the Twisted-15.4.0-py2.7.egg-info Nov 20 19:48:44 as well as the twisted/ folder Nov 20 19:49:00 but it's not showing up... so im guessing it's the init.py file that's missing unfortunately. Nov 20 19:49:12 hmm. Nov 20 19:49:29 all i see is the following Nov 20 19:49:41 Well, if you don't get anywhere by tomorrow, I'll be able to work on it in the morning (Pacific time) Nov 20 19:49:44 twisted/internet; twisted/manhole, twisted/python, twisted/runner, twisted/web, twisted/words Nov 20 19:49:50 hrm Nov 20 19:50:11 and all the python files are missing.... Nov 20 19:50:39 maybe it doesn't like the *.py* match? Nov 20 19:53:35 gotta go to a meeting. sorry. Nov 20 19:53:37 good luck Nov 20 20:36:24 yeah, I don't know what's going on Nov 20 20:36:25 shit Nov 20 20:40:27 my guess is it has something to do with how ${PN}-src works, since it's including almost all of the same files that ${PN}-core uses Nov 20 20:40:43 but it's higher up. So maybe if I move it down to the bottom like in 13.2.0 -- it would include all my files. Nov 20 20:51:54 nope Nov 20 20:51:58 it's not including anything Nov 20 20:51:58 :( Nov 20 21:02:58 So does anyone know what's wrong with this bb file for python-twisted? https://github.com/kratsg/meta-l1calo/blob/master/recipes-core/python/python-twisted_15.4.0.bb Nov 20 21:04:15 It seems to be missing all of the python files when I use RDEPENDS += `python-twisted-core` for a dependency in another python package. Nov 20 21:53:53 anyone have experience with making python recipes? Nov 20 22:08:35 there has to be something wrong with the way folders are added. Nov 20 22:08:50 I wonder if in order to include a files in a folder, I have to specify the folder first. Nov 20 22:17:04 it looks like folders have to be explicitly written out?! **** ENDING LOGGING AT Sat Nov 21 02:59:59 2015