**** BEGIN LOGGING AT Thu Apr 19 02:59:59 2012 Apr 19 07:20:36 good morning Apr 19 07:20:47 good morning Apr 19 07:21:09 Is there a place where I could find some information on how to use the PACKAGECONFIG semantics? Apr 19 07:22:16 ERROR: Task 474 (/SMDKC100/stuff/openembedded/recipes/linux/linux-smdk2440_2.6.20+git.bb, do_fetch) failed with 256 Apr 19 07:22:26 just to let you know Apr 19 07:22:52 jonasdn: I haven't used it so far but did you notice the comments on meta/classes/base.bbclass ? Apr 19 07:23:00 reading them now :) Apr 19 07:24:42 I got a comment on my patch to make alsa support conditional on DISTRO_FEATURES for bluez4 that I should use PACKAGECONFIG instead of using base_contains as I did in the EXTRA_OECONF Apr 19 07:24:54 but as I see it I need the base_contains thing when using PACKAGECONFIG as well? Apr 19 07:25:00 PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}" Apr 19 07:25:05 PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib," Apr 19 07:25:08 something like that? Apr 19 07:28:50 where can i say bitbake not to build a linux kernel for my machine? i just need a root file system? Apr 19 07:30:13 <_tasslehoff_> I get this error when compiling libgles-omap3 in oe-core: http://pastebin.com/vpp0CGdj. Weird thing is that it compiled yesterday, and I haven't touched anything related to GL(ES). Apr 19 07:39:10 could anyone say what to do here: http://pastebin.com/raw.php?i=Md7QM3W7 Apr 19 08:04:40 ericbutters: the file is missing from the web site. either the website archive is broken or the angstrom recipe is. Apr 19 08:08:29 jonasdn: it looks like you are one the right track Apr 19 08:11:45 Zagor i just changed linux-smdk2440_2.6.20+git.bb to the right repository (name changed on site) Apr 19 08:12:04 now works.. Apr 19 08:12:15 great Apr 19 08:14:22 <_tasslehoff_> hum. I see I got disconnected. did anyone answer my question? Apr 19 08:15:29 <_tasslehoff_> and another one. oe-core/oe-classic on 64-bit Ubuntu should work fine? just picked up a new work-pc, and wonder if I should go 32 or 64 bit on it. Apr 19 08:27:51 morning Apr 19 08:28:11 _tasslehoff_: 64 bit host distro works fine (ubuntu LTS & fedora 16 here) Apr 19 08:28:28 with oe-core for FC16 and oe-core + oe-classic for LTS Apr 19 08:29:13 <_tasslehoff_> ericben: thanks. it will be 12.04 LTS for both here. Apr 19 08:30:09 _tasslehoff_: here it's the previous LTS as I've now left ubuntu thanks to their "improvment" on the user interfaces ;-) Apr 19 08:33:23 Noor: yeah I think I'm starting to get the PACKAGECONFIG thing, it's nifty :) Apr 19 08:33:38 bitbake -e shows me that magic is happening all around when I use it Apr 19 08:34:09 cool .... BTW I am also learning with you ;) Apr 19 08:47:32 <_tasslehoff_> ericben: I'm one of the unofficial support guys at work, so I have to run the same as the rest of them :/ Apr 19 08:47:42 <_tasslehoff_> kinda want to try Fedora though Apr 19 08:55:39 why is my udev mount a usbstick as a whole like /dev/sda rather then its containing partiiton /dev/sda1 ??? Apr 19 09:26:15 gm Apr 19 09:28:32 rob_w: is it really partitioned? many usb sticks are formatted as "super floppy", i.e. without partition table Apr 19 09:28:55 i did it myself Apr 19 09:29:46 how does one format such thin as "super floppy" ? is that a fdisk option or a mkfs.vfat ? Apr 19 09:29:56 mkfs.vfat Apr 19 09:30:17 basically you run mkfs.vfat on /dev/sda instead of /dev/sda1 Apr 19 09:32:20 funny enough i now have sticks . one as 2 partitions the other only 1 Apr 19 09:32:41 the one with 1 part mounts coorect to /dev/sda1 .. the other is mounted to /dev/sda Apr 19 09:32:50 must be some udev rule fuckery .. Apr 19 09:59:16 How to check if binaries use the VFP on ARM, and how it's call it ? soft / hard ... Apr 19 11:44:38 since two hours i see this: NOTE: package console-image-1.0-r0: task do_distribute_sources: Succeeded Apr 19 11:44:51 is this normal ;) Apr 19 12:04:25 how tell bitbake not to download and build a linux kernel for my machine? Apr 19 13:16:36 i wondering why i only find -smdk2440.rootfs.tar.gz in tmp/deploy .. i enabled in my local.conf IMAGE_FSTYPES = "jffs2 tar.gz ext3.gz" Apr 19 13:16:43 anyone here can say? Apr 19 13:18:20 ericbutters: what does bitbake -e yourimagename | grep ^IMAGE_FSTYPES say? Apr 19 13:21:11 command takes looong :) Apr 19 13:21:48 BTW it is console-image.. Apr 19 13:23:03 ok. it shows only IMAGE_FSTYPES=tar.gz Apr 19 13:23:28 I search help to write a .bb file with just fetch and install Apr 19 13:23:37 My bb file failed on do_configure Apr 19 13:24:00 bluelightning but i need ext3 image Apr 19 13:24:27 ericbutters: it is being overridden somewhere Apr 19 13:24:34 (your setting) Apr 19 13:25:07 Delkia: can you pastebin the error please Apr 19 13:25:26 can i say bitbake to build ext3 from what it has in tmp? Apr 19 13:25:34 direct? Apr 19 13:26:05 ericbutters: the solution is to figure out why IMAGE_FSTYPES is being forced to tar.gz Apr 19 13:26:43 bluelightning: http://pastebin.com/FwnwzJA3 Apr 19 13:27:02 yes. but i only got my local.conf in build/conf and there i set IMAGE_FSTYPES to jffs2 tar.gz and ext3.gz Apr 19 13:27:18 so i do not know where to search Apr 19 13:27:39 try: git grep IMAGE_FSTYPES Apr 19 13:27:40 I have paste my bb file before the error Apr 19 13:28:13 Delkia: ok, so it's telling you you need to specify LIC_FILES_CHKSUM Apr 19 13:28:29 what is that ? Apr 19 13:28:47 Delkia: http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#usingpoky-specifying-LIC_FILES_CHKSUM Apr 19 13:29:40 it's the checksum for each file of my zip ? Apr 19 13:33:51 bluelightning: My zip don't have license information, can i disable that ? Apr 19 13:33:57 Delkia: no, just one file which describes the license Apr 19 13:34:33 It's opengl closed drivers, only .so and .ko in the zip Apr 19 13:34:36 Delkia: is this proprietary software that this recipe is building? i.e. not open source? Apr 19 13:34:46 yes Apr 19 13:34:49 Delkia: ah ok, then it is valid to set LICENCE = "CLOSED" Apr 19 13:34:58 which will also stop the LIC_FILES_CHKSUM check Apr 19 13:35:39 er, sorry.. LICENSE = "CLOSED" Apr 19 13:35:43 Thanks, i try a run Apr 19 13:35:55 bluelightning sorry, but where should i do the grep command? on which path? Apr 19 13:36:18 ericbutters: at the top of the OE source tree Apr 19 13:36:39 (note - git grep, not just grep) Apr 19 13:36:48 ok Apr 19 13:37:44 bluelightning: I need to install .ko file in the /lib/module/xxx/ folder, can i found which version is used by my image ? Apr 19 13:37:50 it's to avoid hard coded path Apr 19 13:38:08 hmm, good question Apr 19 13:39:24 bluelightning ok got it.. it is set in the machine configuration file.. so if i add here ext3 what bitbake command should i call then? bitbake console-image again? Apr 19 13:40:04 ericbutters: just bitbake the image again as before - images always get rebuilt each time Apr 19 13:40:55 ericbutters: FYI, as an alternative to modifying the machine conf file, you can put IMAGE_FSTYPES_append = " ext3" in your local.conf Apr 19 13:41:12 ah i see.. good to know. Apr 19 13:41:43 (_append processing occurs towards the end of parsing) Apr 19 13:46:53 bluelighning thanks.. that worked :) Apr 19 13:47:09 ericbutters: np Apr 19 13:48:28 bluelightning: In the do_install, the content of my zip file is in ${S} path ? Apr 19 14:40:08 Delkia: yes Apr 19 14:40:30 bluelightning: Re Apr 19 14:40:39 It's was in ${WORKDIR} Apr 19 14:41:05 ${S} is ${WORKDIR} + bb filename Apr 19 14:41:33 ah right yes your zip file doesn't have any subdir in it and you're not setting S, so that's correct Apr 19 14:42:57 bluelightning: So do_install works but do_rootfs crash Apr 19 14:44:06 opkg_install_cmd: Cannot install package cubox-opengl Apr 19 15:02:25 Delkia: are there any more details? Apr 19 15:02:44 bluelightning: no sorry Apr 19 15:03:05 maybe i need to define a PACKAGES in my bb ? Apr 19 15:03:20 Delkia: PACKAGES is already defined by default Apr 19 15:03:56 Delkia: have a look in the packages-split subdirectory of the WORKDIR, does it contain a cubox-opengl package and are there any files in it? Apr 19 15:04:12 er s/package/subdirectory/ Apr 19 15:04:53 cubox-opengl/ cubox-opengl-dbg/ cubox-opengl-dev/ cubox-opengl-doc/ cubox-opengl-locale/ cubox-opengl-staticdev/ Apr 19 15:05:16 Alls are empty Apr 19 15:06:18 This is my bb file http://pastebin.com/vQUDWn1w Apr 19 15:14:07 bluelightning: Does this warning is important ? WARNING: For recipe cubox-opengl, the following files/directories were installed but not shipped in any package Apr 19 15:14:33 that depends on how important the files were that you didn't include in any of your packages :P Apr 19 15:15:00 Delkia: yes that is important... you probably need to set FILES_${PN} to include the files you actually want to package Apr 19 15:15:19 Is duplicate job of do_install ? Apr 19 15:16:07 Delkia: not really, no Apr 19 15:16:51 I have some lines like install -D ${ZIP_CONTENT}/libEGL.so ${D}/${libdir} in do_install Apr 19 15:17:04 what i add in FILES_${PN} ? Apr 19 15:17:58 Delkia: in your case you would just set it to ${libdir} Apr 19 15:18:50 Delkia: btw rather than ZIP_CONTENT you should just set and use S Apr 19 15:19:09 ZIP_CONTENT = "${WORKDIR}/gc3184-mrvl-armv7-hard_release" Apr 19 15:19:36 s/ZIP_CONTENT/S/g ? Apr 19 15:19:46 yes, what I'm suggesting is just replace all references to ZIP_CONTENT with S Apr 19 15:20:00 since that is what S is supposed to be used for Apr 19 15:20:06 bluelightning: ERROR: ParseError at /home/wysman/Angstrom/sources/meta-cubox/recipes-bsp/opengl/cubox-opengl.bb:26: unparsed line: 'FILES_${PN} = " ${libdir}' Apr 19 15:20:30 do you have a closing quote? Apr 19 15:21:16 it looks like there isn't one Apr 19 15:21:40 I's missing a \ Apr 19 15:23:50 Delkia: \ is only needed to continue onto the next line Apr 19 15:24:06 Yes it's that Apr 19 15:24:08 you need a closing " Apr 19 15:24:16 FILES_${PN} = " \ Apr 19 15:24:16 ${libdir} \ Apr 19 15:24:16 " Apr 19 15:24:48 ok, that will work, but FILES_${PN} = "${libdir}" does the same thing and only uses one line :) Apr 19 15:25:31 Thanks, i need to go Apr 19 15:25:34 bbl Apr 19 16:42:37 bluelightning: could you pls see here and say if last line with firefox is ok? http://pastebin.com/raw.php?i=cZnb5Shf Apr 19 16:43:44 ericbutters: if there is actually a firefox package, sure, thats' fine Apr 19 16:45:25 bluelightning: i see openembedded/recipes/mozilla/firefox-1.0.7 and firefox-3.6.8 Apr 19 16:46:04 ericbutters: recipes yes, the question is do they produce a firefox package? (almost certainly yes, but if you're having problems you should check that) Apr 19 16:46:53 bluelightning but do i need to say which version in that line where i simple wrote "firefox" ? Apr 19 16:47:56 ericbutters: no, the version which is built is the latest version unless there is PREFERRED_VERSION_firefox somewhere or DEFAULT_PREFERENCE set in one of the firefox recipes Apr 19 16:48:11 ok thanks! Apr 19 17:07:18 bluelightning: last question for today ;) i setup kernel version 2.6.29 and i see linux-libc-headers/linux-libc-headers_2.6.37.bb .. could that make problems.. what do you think? BTW thank you for your answers.. Apr 19 17:08:14 ericbutters: I'm not an expert on that, but what I understand is the two do not have to exactly match up Apr 19 17:08:38 yes.. that is what i thought.. Apr 19 17:35:48 WARNING: QA Issue: lxc: /work/armv7a-angstrom-linux-gnueabi/lxc-0.8.0-rc2-r0/packages-split/lxc/usr/bin/lxc-wait contains probably-redundant RPATH /usr/lib Apr 19 17:36:08 any suggestions on eliminating this ? Apr 19 17:48:04 Crofton|work: https://fedoraproject.org/wiki/Packaging/Guidelines#Removing_Rpath Apr 19 17:49:06 basically something will be specifying that this rpath should be added, to remove the warning you need to find how to eliminate it Apr 19 17:49:27 (which is dependent on how lxc is built) Apr 19 17:57:02 lxc path /work/armv7a-angstrom-linux-gnueabi/lxc-0.8.0-rc2-r0/packages-split/lxc/usr/libexec/lxc/.debug/lxc-init Apr 19 17:57:09 --disabel-rpath worked Apr 19 17:57:25 now I am trying to work out the magic to solve this one Apr 19 18:01:18 that was me being done Apr 19 18:01:29 lxc recipe builds Apr 19 18:23:16 * mr_science submits a suggestion for an office espresso machine Apr 19 18:34:33 -EREQUESTDENIED Apr 19 19:41:53 hey. i'm having the same problem as depicted here: http://pastie.org/3125695 if qtmobility-dev is installed on the host (ubuntu precise) Apr 19 19:42:00 any development on this issue? Apr 19 19:44:41 CMoH-notebook: that seems to be a problem with QT build system that it pokes / instead of sysroot for tests Apr 19 19:47:11 khem, so is it correct to say the issue remains unaddressed so far? Apr 19 19:47:26 or is anybody working on a workaround? Apr 19 20:00:46 khem, how about forcing qmake to ignore the mobility PRF thingie from the host system? Apr 19 20:01:36 if i remove them from /usr/.../mkspecs/, then qt builds just fine Apr 19 21:46:46 evening all **** ENDING LOGGING AT Fri Apr 20 02:59:58 2012