**** BEGIN LOGGING AT Tue Aug 28 03:00:03 2012 Aug 28 05:38:40 you can do a DEPENDS on a recipe, not on a package, can't you ? Aug 28 06:18:02 Anyone know how I can create a new systemd target unit? Aug 28 07:17:38 morning all Aug 28 07:20:57 hello Aug 28 08:00:21 morning all Aug 28 08:49:46 hi Aug 28 08:50:01 I'm having troubles setting up a bitbake file for my own project Aug 28 08:50:20 I set up SYSTEMD_SERVICE=myproject.service Aug 28 08:53:16 and it says For package myproj-systemd SYSTEMD_SERVICE-entry myproject.service does not exist Aug 28 08:53:47 and btw, my project's name is "pollux_gateway", but ${PN} is "pollux" ... does it cut at the underscore ? Aug 28 08:54:29 (so $SYSTEMD_PACKAGES=${PN} which is not the name of the .service file...) Aug 28 09:37:35 i changed IMAGE_DEVICE_TABLES in machine config - which receipe do I have to rebuild? Aug 28 10:50:40 re Aug 28 10:51:04 how can I force bitbake to rerun the do_configure() part ? Aug 28 10:51:15 (I tried bitbake mypkg -k configure, no success) Aug 28 10:52:03 bitbake mypkg -c configure -f Aug 28 10:52:33 ok thanks Aug 28 11:04:18 ok, my bitbake script finally works \o/ Aug 28 11:04:24 just one thing is broken Aug 28 11:04:32 it does not git clone the repository Aug 28 11:09:20 guyzmo: what's your SRC_URI? Aug 28 11:10:52 bluelightning - SRC_URI = "git://git.MYFIRM.com/MYPROJECT.git;branch=master;protocol=ssh;user=MYUSER" Aug 28 11:12:43 and of course, I got a valid ssh agent working Aug 28 11:14:37 guyzmo: I'm not entirely sure user= is valid - did you copy that from elsewhere? Aug 28 11:15:08 guyzmo: I think you may need to use git://MYUSER@git.MYFIRM.com/.... Aug 28 11:19:11 hey. any progress on building oe-core on archlinux? Aug 28 11:22:18 I wasn't aware that anyone was working on that... Aug 28 11:30:14 well, it's the glibc incompatibility, where arch moved to the new one, so the m4-native and such fail to build Aug 28 11:30:59 i've tried some patches from the mailing list so far, but unfortunately that's not my main goal right now so... i was wondering if that step was overcome in oe-core Aug 28 11:45:03 i copy pasted a chunk of asterisk config.log (http://pastebin.com/5mDurtyG). There is a dependency between asterisk and libnetsnmp.so, and between libnetsnmp.so and libnetcrypto.so. For both .so the configure scripts looks on the host os. why ? Aug 28 11:45:23 s/libnetcrypto.so/libcrypto.so/ Aug 28 12:34:19 bluelightning - ok, but how do I force bitbake to retry to get the git source ? Aug 28 12:40:20 fetchall :) Aug 28 12:42:30 guyzmo: fetchall will grab all source for all dependent packages, you just want fetch Aug 28 12:43:07 afournier: probably because the configure script needs to be fixed or otherwise told to not do that... Aug 28 12:44:43 i thought pseudo was hiding the host machine like a chroot Aug 28 12:46:35 afournier: no, pseudo is only really about pretending to be root so that file permissions within the rootfs are set correctly Aug 28 12:46:51 bluelightning - ok, I posted my .bb and the log I get to http://m0g.net/~guyzmo/bitbake.log Aug 28 12:47:16 I still get the error, after a clean/fetch Aug 28 12:47:54 guyzmo: I don't think you want SRCREV = "HEAD"... use SRCREV = "${AUTOREV}" instead Aug 28 12:48:03 (but if I cd to the directory and do git clone over there, it works) Aug 28 12:48:04 ok Aug 28 12:48:22 also PROVIDES = "pollux_gateway" is not needed, that is automatic Aug 28 12:48:25 ok Aug 28 12:50:08 I just tried with SRCREV="${AUTOREV}" and removing all the ; prepended parameters, and it still fails Aug 28 12:52:06 I suspect you should not be naming your recipe pollux_gateway as well, since it is assumed that _ is a separator between PN and PV Aug 28 12:52:19 probably not related, but I would recommend fixing it Aug 28 12:52:34 ah, ok, it explains a bug I had with systemd stuff Aug 28 12:52:48 can I use pollux-gateway ? Aug 28 12:52:52 yep that's fine Aug 28 12:53:16 ok Aug 28 12:57:52 bluelightning - still the same error Aug 28 12:58:15 bluelightning - where bitbake does execute the git clone stuff ? Aug 28 12:58:27 guyzmo: so the failure is in gitver.bbclass; seems like something is missing that's making code in there fail Aug 28 12:58:39 guyzmo: I would suggest just removing that from inherit Aug 28 13:00:24 uhuh Aug 28 13:00:30 I thought it was useful for git stuff Aug 28 13:00:46 it's totally optional Aug 28 13:00:46 but it seems it does check things inside the repository before the cloning is being done Aug 28 13:01:03 NOTE: package pollux-gateway-v0-r0: task do_fetch: Succeeded Aug 28 13:01:04 \o/ Aug 28 13:07:20 doesn't look like anything else in meta-oe actually uses gitver... I wonder if it is really that useful anymore Aug 28 13:08:15 bluelightning - the problem is that there are many documentation scattered on Internet, but no one comprehensive piece of documentation Aug 28 13:08:29 JaMa: ^ looks like you added it, but nothing in meta-smartphone master uses it either... Aug 28 13:08:34 and many of them are outdated or not welld done Aug 28 13:08:49 bluelightning - but anyway, thank you a lot for helping me out :-) Aug 28 13:08:53 guyzmo: the yocto project manuals are the most up-to-date and comprehensive reference atm Aug 28 13:08:56 guyzmo: np Aug 28 13:10:28 ok Aug 28 13:15:19 bluelightning: it's not in recipe, but it's in example how to do local builds Aug 28 13:15:40 JaMa: is it obsoleted by externalsrc.bbclass? Aug 28 13:15:51 (the new version) Aug 28 13:16:04 I don't know anything about externalsrc Aug 28 13:17:19 ok, I'll look into whether they overlap or not and submit a patch to remove it if they do Aug 28 13:18:13 thanks Aug 28 13:18:20 is there some replacement for srctree too? Aug 28 13:18:54 because the version in meta-oe does not really work it needs clean.bbclass which I have only locally Aug 28 13:19:04 and that needs some fixup to cope with sstate Aug 28 13:19:43 I think externalsrc is supposed to be that replacement Aug 28 13:49:38 I build my recipe to QWT, URI and syntax seams right but I have this error, suggest?: Aug 28 13:49:42 LANG=C LC_ALL=C /usr/bin/env svn --non-interactive info svn://qwt.svn.sourceforge.net/svnroot/qwt/trunk/qwt/ failed with signal 1, output: Aug 28 13:52:47 http://paste.ubuntu.com/1171832/ Aug 28 14:40:20 silvio_ - you may want to try with SRCREV Aug 28 14:40:53 I don't know about svn (only tried with git), but bluelightning told me to try SRCREV = "${AUTOREV}" Aug 28 14:40:57 which worked out well Aug 28 14:41:14 silvio_ - and what's the output ? Aug 28 14:41:18 Can anyone guide me to an existing channel where I may get machine-support? Aug 28 14:41:35 Like an home entertainment system. Aug 28 14:41:37 Umeaboy - I don't understand what you're asking :) Aug 28 14:42:23 I need some help understanding what's keeping me from connecting to it even thou I connect to the right port. Aug 28 14:44:28 * guyzmo tries telepathy to read Umeaboy's mind Aug 28 14:45:20 Uuuuuuuuuuuuuuuuuuuhm. The channel guidelines tells me that this isn't a distro or machine supported-channel. Aug 28 14:45:29 So I have basically no choice. Aug 28 14:45:34 ........but to leave. Aug 28 14:45:49 I just need to know WHAT channel that may help me. Aug 28 14:45:58 A channel that exists already & active. Aug 28 14:49:39 Umeaboy: this channel is for teh openembedded project specifically, not random devices you have laying around. if thatd evice wasn't built with oe, it's even less appropriate. if it was, contact whomeever did the software for it Aug 28 14:51:34 Umeaboy - and if you don't say what is the machine you're playing with, what is the distribution (or OE-flavor) you have on it... Aug 28 14:51:38 we can't redirect you Aug 28 14:56:01 kergoth: And if they refuse to help me? Aug 28 14:56:14 that doesn't make it magically our responsibility Aug 28 14:56:31 LG HX46R with Minios on it. Aug 28 14:56:41 I want to switch to another OS. Aug 28 14:56:49 So this is an embedded device. Aug 28 14:57:00 then this is the wrong place. this isn't about porting linux to devices, it's about the openembedded *buildsystem* Aug 28 14:57:13 you'd have to port linux to it before oyu even think about what software you use to build the distribution Aug 28 14:57:19 But won't that buildsystem help? Aug 28 14:57:40 no, buildsystems build things, they don't make things work on unsupported hardware for you Aug 28 14:58:27 OK. Aug 28 14:58:42 Thanks anyhow. Aug 28 15:02:04 guyzmo: http://paste.ubuntu.com/1171934/ Aug 28 15:03:05 guyzmo: http://paste.ubuntu.com/1171937/ Aug 28 15:03:10 bluelightning, kergoth - would you, by any chance, know if the distutils class dependance installs the pipy dependancies ? Aug 28 15:03:32 guyzmo: I don't I'm afraid Aug 28 15:03:33 I need to easy_install a package (that is not being packaged in openembedded) Aug 28 15:03:44 should be pretty easy to check though I would have thought Aug 28 15:03:50 I don't know either Aug 28 15:04:10 and if I add the "easy_install -U bottle" in do_configure, it fails Aug 28 15:04:18 anyway, ok Aug 28 15:05:04 i'd say make a recipe for bottle Aug 28 15:05:53 :-) Aug 28 15:06:03 silvio_ - your recipe is wrong Aug 28 15:06:16 it seems that : SRC_URI = "svn://qwt.svn.sourceforge.net/svnroot/trunk/qwt;module=qwt;protocol=https" Aug 28 15:06:21 is not the right syntax Aug 28 15:06:22 guyzmo: it clear :) Aug 28 15:06:34 it issues : /usr/bin/env svn --non-interactive info svn://qwt.svn.sourceforge.net/svnroot/trunk/qwt/qwt/ Aug 28 15:07:06 so maybe try with SRC_URI = "https://qwt.svn.sourceforge.net/svnroot/trunk/qwt;module=qwt" Aug 28 15:07:41 that won't work Aug 28 15:07:42 or do a big grep on all the recipes to catch SRC_URI.*svn and grep again to get https Aug 28 15:07:51 the url scheme determines the fetcher/tool to use Aug 28 15:07:53 (if there is a single recipe) Aug 28 15:08:01 if you put a https:// uri in src_uri, it'll use wget to download it Aug 28 15:08:06 kergoth - ok Aug 28 15:09:46 :( Aug 28 15:11:46 "svn://qwt.svn.sourceforge.net/svnroot/trunk/qwt;module=qwt;protocol=https" is correct, but it depends on yoru bitbake, iirc there were recent changes to add protocol= consistency throughout Aug 28 15:11:52 previously some fetchers used proto=, i think Aug 28 15:12:36 BitBake Build Tool Core version 1.12.0, bitbake version 1.12.0 Aug 28 15:13:59 i didn't sayi knew off the top of my head which fetchers used which or what version changed it Aug 28 15:14:04 the point was, try proto= instead Aug 28 15:14:06 and see if it works Aug 28 15:14:43 I saw with proto: Aug 28 15:14:44 https://qwt.svn.sourceforge.net/svnroot/trunk/qwt: (Not a valid URL) Aug 28 15:14:44 svn: A problem occurred; see other errors for details Aug 28 15:14:55 no.. Aug 28 15:15:05 i just told you, using https:// isn't going to work Aug 28 15:15:11 use the svn:// uri with proto= instead of protocol= Aug 28 15:15:21 SRC_URI = "svn://qwt.svn.sourceforge.net/svnroot/trunk;module=qwt;proto=https" Aug 28 15:15:29 no clue then Aug 28 15:15:46 i'd suggest looking at bitbake/lib/bb/fetch2/svn.py Aug 28 15:15:46 iI try use this maybe: Aug 28 15:15:48 http://sourceforge.net/projects/qwt/files/qwt/6.0.1/qwt-6.0.1.tar.bz2/download Aug 28 15:25:08 thanks all now I try Aug 28 15:26:21 hi is anybody there Aug 28 15:29:14 I am trying to build the gumstick desktop image with bitbake everything went smooth until I got to package 4800ish/5000ish and bitback exits with an operational error Aug 28 15:29:15 OperationalError: database or disk is full Aug 28 15:29:33 after examining I am not out of space Aug 28 15:39:01 Guest88324: what task did it fail on (what's the name)? How much disk space _do_ you have left? Aug 28 15:39:33 Aug 28 15:39:36 NOTE: package binutils-2.18.50.0.7-r13.1: task do_package_stage: Aug 28 15:39:45 4753 of 5140 Aug 28 15:42:59 google tells me that error is something related to sqlite Aug 28 15:43:19 does bitbake use sqlite Aug 28 15:43:23 ? Aug 28 15:43:26 it does, for the persistdb Aug 28 15:43:33 you're not using nfs for your TMPDIR by any chance? Aug 28 15:43:49 no Aug 28 15:43:54 ext4 Aug 28 15:43:57 ok Aug 28 15:44:55 warning like this what does it means? Aug 28 15:44:57 WARNING: /usr/local/qwt-6.0.1/doc/html/inherit_graph_1.map Aug 28 15:44:57 WARNING: /usr/local/qwt-6.0.1/doc/html/inherit_graph_46.md5 Aug 28 15:44:57 NOTE: package qwt-6.0.1-r0: task do_qa_staging: Succeeded Aug 28 15:45:40 silvio_: there must be some lines before that... it looks like the end of the warning telling you that certain files are not being packaged though Aug 28 15:46:16 bluelightning: i lost first lines in the consolle buffer... Aug 28 15:46:27 they should be in a log file Aug 28 15:46:39 yes, qa.log Aug 28 15:46:40 right ;) Aug 28 15:47:20 howdy, bluelightning :-) Aug 28 15:47:42 coldsoup: hi :) Aug 28 15:48:02 nvm I might be wrong about the diskspace Aug 28 15:48:17 I appears I bottomed out Aug 28 15:48:39 look like I need to resize my partition thanks hava good day Aug 28 15:48:48 if you've got old images you can just delete those Aug 28 15:48:54 oh, ok.. bye... Aug 28 15:49:02 heh Aug 28 15:51:14 WARNING: the following files were installed but not shipped in any package: Aug 28 15:51:14 WARNING: /usr/local/qwt-6.0.1/lib/libqwt.so Aug 28 15:51:17 thanks :) Aug 28 15:51:34 so need RPROVIDES_${PN}-dev = "libqwt-dev" Aug 28 15:57:54 hum... actually I got the same warning as silvio_ about some files I do install in /usr/lib through my makefile Aug 28 15:58:18 how do I make bitbake include those files in the package ? Aug 28 16:00:13 guyzmo, I think the manual says to use FILES_${PN} = "//", but that's just off the top of my head. Are you making a custom recipe? Aug 28 16:02:13 coldsoup - indeed I am Aug 28 16:02:23 I still have some trouble to understand this warnings Aug 28 16:04:03 http://docs.openembedded.org/usermanual/usermanual.html#metadata_writing_data a couple of paragraphs down Aug 28 16:05:14 it sounds like that's what you're running in to, starting with "All looks well, but wait"... Aug 28 16:06:48 coldsoup - I made up a /usr/lib/mysoft/ ... can I add FILES_${PN} = "/usr/lib/mysoft" ? or it shall be each file Aug 28 16:07:49 guyzmo, I'm not sure :-) anyone else out there to chime in? Aug 28 16:07:56 maybe u need use += Aug 28 16:08:25 FILES_${PN} += "/usr/lib/mysoft" Aug 28 16:08:44 My gut says if it were recursive then anything in /usr/lib would get added. Since it's not you should probably list them individually. But just a guess Aug 28 16:09:03 The += is appropriate though Aug 28 16:09:46 i m here for learn, correct me if i do or say wrong thing Aug 28 16:10:52 it is recursive Aug 28 16:10:57 sine /usr/lib/mysoft is easier give that a shot and just bitbake your package Aug 28 16:11:04 ahh, perfect. Aug 28 16:11:21 hum Aug 28 16:11:26 the zsh recipe is outdated Aug 28 16:11:38 4.3.17 is in old **** ENDING LOGGING AT Tue Aug 28 16:11:53 2012 **** BEGIN LOGGING AT Tue Aug 28 16:12:23 2012 Aug 28 16:13:31 is there a documentation on how can I contribute/send patches on outdated recipes ? Aug 28 16:14:22 http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded Aug 28 16:14:38 that's for OE-Classic though Aug 28 16:14:41 oh Aug 28 16:14:43 nevermind! Aug 28 16:15:13 well, setup-scripts/sources/meta-openembedded/meta-oe/recipes-extended/zsh/zsh_4.3.17.bb Aug 28 16:15:18 it's in oe-classic ? Aug 28 16:16:00 I'm kind of lost, as I use koen's tools to do the bitbake, my main target being angstrom... I don't really know how I can fix/contribute when I spot wrong stuff Aug 28 16:16:55 like a few months ago, I patched lighttpd to add the lighttpd.service support (which was already prepared, but not deployed) Aug 28 16:17:09 good morning Aug 28 16:17:10 also I patched crontab to add the missing lines in /etc/crontab Aug 28 16:17:15 guyzmo: depends in which layer the issue is contained in, the setup scripts don't hide that... Aug 28 16:17:16 etc.. Aug 28 16:18:17 bluelightning - yup, but I got a bunch of them and I don't really know what belongs where Aug 28 16:19:33 guyzmo: you've edited the recipes directly, right? surely you can see which directory under layers/ (I forget if that's the exact name) the edits are in? Aug 28 16:20:07 yup Aug 28 16:21:35 * guyzmo crossing fingers Aug 28 16:21:36 hi mckoan Aug 28 16:21:46 hi silvio_ Aug 28 16:21:52 I'm building my custom angstrom image :-) Aug 28 16:27:00 and good evening mckoan ;) Aug 28 16:31:55 hi guyzmo Aug 28 16:42:36 for the note, FILES_${PN} += "/usr/lib/mysoft" seems to work for /usr/lib/mysoft/*/* Aug 28 16:42:54 at least, I don't get any more warning :) Aug 28 16:44:20 guyzmo, glad to hear it Aug 28 19:35:27 is it ok to remove/clean tmp/sysroots/* ? Aug 28 19:36:07 has i have been plying with machine names, it's a bit crowded Aug 28 19:36:13 as* Aug 28 21:53:42 evening all Aug 28 22:01:52 hi pb_ Aug 28 22:02:23 hi bluelightning **** ENDING LOGGING AT Wed Aug 29 02:59:58 2012