**** BEGIN LOGGING AT Mon Oct 21 02:59:59 2013 Oct 21 05:01:24 whats the proper way to clean out my tmp/deploy/images/ folder? Oct 21 05:02:11 i usually just rm -rf tmp/* and rebuild Oct 21 05:02:29 so should be okay? wont mess any internal state up or something like that? Oct 21 05:02:36 doesn't take long with the cache Oct 21 05:02:43 nope Oct 21 05:02:44 ok, cheers Oct 21 05:03:17 if you want a clean rebuild of everything then rm the cache dirs as well Oct 21 05:03:24 where are they? Oct 21 05:03:46 just keep your conf dir unless you want to nuke it... Oct 21 05:03:57 ive just cleared the entire tmp dir Oct 21 05:04:07 well clearing Oct 21 05:04:16 bloody spinny harddrives are slow Oct 21 05:04:30 do a rebuild from that Oct 21 05:07:06 amazing how even fast sata interfaces still feel slow sometimes... Oct 21 05:08:10 yep, went from a very fast SSD to a slow 5400rpm disk, forgot how slow they are :| Oct 21 05:09:37 the cache dir. do you mean, build/cache? Oct 21 05:10:56 or sstate-cache Oct 21 05:20:05 both if you want a squeaky-clean build from scratch Oct 21 05:34:40 ok Oct 21 05:36:08 but it will be much slower if you get rid of the cache dirs too Oct 21 08:42:24 morning all Oct 21 08:42:34 Heya. I'm having a problem trying to make rrdtool (an existing recipe with meta-oe) compile with Perl. Oct 21 08:42:42 The recipe itself specifies --no-perl, but I need the perl binding. Oct 21 08:42:52 When I compile it then, however, I get an error about LLD -> http://pastebin.com/DZWz9Ley Oct 21 08:43:11 Which normally I don't get when using autotools. Oct 21 08:43:13 Any suggestions? Oct 21 08:43:19 bluelightning, Also, morning. Oct 21 08:43:33 hi Stygia Oct 21 08:44:41 Stygia: kind of looks like it's not cross-compiling correctly there... using the host compiler and /usr/local/lib Oct 21 08:46:06 bluelightning, Yes, I noticed that too. Currently I'm looking through the configure scripts and such to see if it hardcodes anything, but I'd assume that `inherit autotools` would use the proper paths and such? Oct 21 08:46:34 it supplies the correct paths to the configure script automatically yes Oct 21 08:46:49 you can see this if you look at log.do_configure for the recipe Oct 21 08:50:19 Hmm, yes. The log does seem to indicate that it _is_ properly cross-compiling, host, target and such look like they're set correctly. Oct 21 08:50:36 This, BTW, is the original rrdtool recipe, which starts to fail once I remove --without-perl Oct 21 08:54:07 right, so it kind of looks like the perl parts specifically are where things are going wrong Oct 21 08:56:49 Yes, it definitively is, the only change from the original recipe is removing --without-perl Oct 21 09:00:59 * rburton is shocked at anything involving perl breaking cross-compilation. shocked! Oct 21 09:03:13 rburton, Be nice. ^_^ Oct 21 09:05:56 Okay, so... I installed a number of libs on the host system, and this seemed to change the error message a lot. Oct 21 09:06:02 Now I simply get: http://pastebin.com/S2aHrmbS Oct 21 09:06:09 But I'm not sure what this implies, or how to go about fixing it. Oct 21 09:07:06 I would guess something in autotools failing. Oct 21 09:10:43 Anyone have any ideas? I fear I'll have to manually write do_configure, do_compile etc. Oct 21 09:11:47 you'll have to dig into the build system and see how it's building the bits that are failing, maybe you need to pass more flags. Oct 21 09:14:03 I'd suggest having a look at the Makefile.am in the directory where it's failing, compare that to the Makefile produced from it Oct 21 09:14:35 then compare that to other directories where cross-compilation is working fine Oct 21 09:46:49 Well. Oct 21 09:47:03 I can make it pass the objcopy error by setting INHIBIT_PACKAGE_STRIP = "1" Oct 21 09:47:18 But then it seems like it compiles the perl-related .so files for x86-64 instead of ARM. Oct 21 09:47:24 But, that could very well be unrelated. Oct 21 09:59:09 Generally speaking, how bad is it to use INHIBIT_PACKAGE_STRIP? Oct 21 10:01:05 Stygia: only use it if you've binaries you don't want stripped. in this case, your binaries are wrong,. Oct 21 10:04:35 rburton, Yes, it did made it pass the objcopy error, but I suppose that's not satisfying. Seems like, since it's the perl aspect failing, I need to do something with the Makefile.PM, that ExtUtils::MakeMaker makefile. Oct 21 10:04:37 But, I'll look into it. Oct 21 10:05:19 Stygia: yeah, have a look at what your build is using, and then look at the classes we have for perl Oct 21 10:06:01 rburton, I can't exactly inherit the classes here, since the package itself isn't in perl, only a sub-package, but I take it you suggest reading the source for them? Oct 21 10:06:25 yeah Oct 21 10:06:42 inherit autotools if that's the "main" build, and then see what else you need to set from the perl classes Oct 21 10:17:21 rburton, Where are these classes normally located, is there one location for them all? Oct 21 10:17:32 meta/classes Oct 21 10:20:12 Hi, I'm new to yocto and try to build a basic wandboard image but are getting the following error: No recipes available for fsl-community-bsp/sources/meta-fsl-arm/recipes-graphics/drm/libdrm_2.4.46.bbappend - Any hints? Oct 21 10:23:23 d_s_e: you need to match up the version of meta-fsl-arm with the version of poky/OE-Core you are using Oct 21 10:24:44 rburton, Thanks. Oct 21 10:28:59 bluelightning: Ok, how do I do that? Where can I see the versions? Oct 21 10:32:43 d_s_e: how have you obtained the various components? Oct 21 10:33:50 bluelightning: with repo. I followed this documentation: http://wiki.wandboard.org/index.php/Getting_started_with_Yocto_on_Wandboard Oct 21 10:41:50 d_s_e: you're using master I assume? Oct 21 10:42:05 bluelightning: right Oct 21 10:42:34 I would suggest trying "dora" as the branch Oct 21 10:45:24 Hey, BTW. Oct 21 10:45:50 Anyone know what it means when a Makefile.in file has something like "perl = @perl@" in it? Oct 21 10:46:08 or cc = @cc@, and so on. Oct 21 10:46:08 @perl@ will get replaced by whatever the configure script found Oct 21 10:46:50 rburton, So, hmm. To ensure this value becomes what I want, do I look at the configure script and try to influnce that, or can I just hardcode it to something, and due to the lack of @..@, the configuer script will then leave it? Oct 21 10:47:29 Stygia: best to see what configure --help says and see if you can override that first Oct 21 10:47:35 then read configure.(ac/in) Oct 21 11:00:31 bluelightning: thanks, that seems to work - at least it's building... Oct 21 11:07:16 rburton, Do you know how to use environment variables in the recipe? If, say, I have CC in my environment with the proper path to the compiler, how do I access that variable from a recipe? If this is an awful thing to do, then any idea how I access the path to the cross-compiler from the recipe so I can pass it to a configure file? Oct 21 11:08:57 the path to the cross-compiler is already known Oct 21 11:09:14 export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" Oct 21 11:09:17 (see bitbake.conf) Oct 21 11:10:19 rburton, Yes, and normally that is quite enough, but this recipe has a perl aspect, with it's own makefile, where that seemingly isn't catching as its .so files are compiled for my host instead of my target (x86 vs arm) Oct 21 11:10:32 ./configure --help mentions a PERLCC environment variable. Oct 21 11:10:42 I wanted to try and force that environment variable to be eq to CC, but I'm not sure how. Oct 21 11:10:48 so "export PERLCC=${CC}" in your recipe Oct 21 11:11:06 or see if there's an option that can be used to pass that directly Oct 21 12:46:25 good morning Oct 21 12:47:28 Hey, I made it a bit further. Now I am getting this error: http://pastebin.com/dm9BZZLK Oct 21 12:47:44 I have tried a number of places, but I have been unable to properly set the libdir, to avoid this error. Oct 21 12:47:56 Any suggestions? Oct 21 12:48:40 I tried to add it to PERLLDFLAGS, which is a variable related to these perl files, setting -rpath ${libdir} and such. Oct 21 12:50:27 This is the recipe I am using: http://pastebin.com/jdpm4krL Oct 21 12:55:22 rburton, Sorry if it's bad form to poke you, but any clue? Oct 21 16:03:35 hello Oct 21 16:03:51 how do i add a new asound.state for a specific platform Oct 21 16:30:23 Hi there. Does yocto provide a methods (or best practice) for creating a image for 'non-rootfs' partitions (for example like a data - partition)? Oct 21 18:46:19 Is there a blog/wiki page that recommends hardware for a build server? besides just "big" ;) Oct 21 19:22:58 kmacleod: based only on anecdotal evidence, I suspect the point of diminishing returns is somewhere below 2-socket * 16-core Xeon with 32GiB RAM Oct 21 20:24:10 where should I be looking for a poky hostapd recipe? Oct 21 20:27:49 tharvey: there's a hostap-daemon recipe in the meta-oe community layer Oct 21 20:28:09 http://layers.openembedded.org/layerindex/recipe/1198/ Oct 21 20:28:14 isn't that the 'hostap' driver not to be confused with the access point configuration tool? Oct 21 20:28:45 not sure Oct 21 20:28:53 I haven't used either myself Oct 21 20:29:00 (not recently, anyway) Oct 21 20:29:22 bluelightning: yes, hostap-utils is the PRISM2 wireless driver, not hostapd Oct 21 20:29:53 not sure why yocto recipes exist for wpa-supplicant but not hostapd Oct 21 20:31:40 might have something to do with connman requiring wpa-supplicant Oct 21 20:51:45 Anyone thought about setting up a service at yoctoproject.org to receive a github webhook and update one of the git.yoctoproject.org repositories from a github repo, as a means of keeping a yoctoproject.org layer mirror current without a cronjob? :) Oct 21 21:00:13 Seems like a reason able idea to me, or consider using grokmirror to push things if the server hosting the gits for yoctoproject.org is owned and operated by the folks here. Oct 21 23:39:31 yay, i got meta-mono working on my am335x-evm Oct 21 23:45:55 if i want to reverse touch screen x/y on sato build, whats the best way to go about it? **** ENDING LOGGING AT Tue Oct 22 02:59:58 2013