**** BEGIN LOGGING AT Fri May 25 02:59:59 2012 May 25 06:10:57 small poll for an actual issue : is it ok to populate just /sys and no /proc for recent software ? May 25 07:38:21 hello. lautriv: sorry for the delay. did you mean i should remove rm -rf build/tmp-eglibc/work/crespo-oe-linux-gnueabi/xfce-nm-image-1.0-r0/rootfs/var ? May 25 07:38:32 here the error: http://pastebin.com/raw.php?i=35g004Wb May 25 07:39:22 it is the last task to do.. so i need to get this done now :) May 25 07:46:15 ericbutters, this error points out the problem occurs on extracting a specific archive, looks like it would be better to extract this one manually in a subdir and repack it without the mentioned symlinks. this way, you don't bother with other packages in the chain. May 25 07:47:06 ericbutters, however, it should be a warning and no error. May 25 07:47:06 sorry, but how do i do this? May 25 07:49:18 ericbutters, your paste does not even show which package is affected (collected errors) the real problem is above. May 25 07:52:14 lautriv, hiii May 25 07:52:38 snkt, hi May 25 07:53:25 lautriv, now I m looking for multiple resolution.... I have tested with 2 Screen resolution... 1024x768 and 800x600 .... both are individually working fine... May 25 07:53:59 lautriv, but if have to switch between both of them... how can I modify my code... May 25 07:56:10 snkt, because it is a framebuffer, you can't on the fly. see, if the system starts and gives you e.g. a console ( simple tty ) the FB is in use, now you will switch any part, how would you tell the console to rearrange itself without breaking ? May 25 07:58:09 lautriv, but if I can able to make them as modular... and insert according to required screen resolution before X .... might be work... May 25 07:59:07 lautriv: here all i see on my bash: http://pastebin.com/raw.php?i=9SnCYetP May 25 07:59:23 it shows: ERROR: Function failed: do_rootfs (see /mnt2/OE/build/tmp-eglibc/work/crespo-oe-linux-gnueabi/xfce-nm-image-1.0-r0/temp/log.do_rootfs.3437 for further information) May 25 07:59:27 lautriv, i m trying that but it fails to insert that modules.... May 25 07:59:32 snkt, it can work if you don't load FB before, that would need to have cosole=ttyS0 and nothing on the screen before X May 25 07:59:48 lautriv: here is the log: http://pastebin.com/raw.php?i=RxgqQd14 May 25 08:00:14 lautriv, I have already done on another board... May 25 08:01:03 lautriv, but here somewhat getting some errors.... hope so it might work... :) May 25 08:06:01 ericbutters, according to your log, several packages stopping on postinst due to the need of target-configuration where a letter chroot fails, did you run out of space ? May 25 08:06:15 *latter May 25 08:07:04 snkt, i assume you get something like "can't remove xyz, module is in use " ? May 25 08:12:05 lutriv: hmm.. no, i have 20GB of free disk space May 25 08:13:32 ericbutters, what said mnt2/OE/build/tmp-eglibc/work/crespo-oe-linux-gnueabi/xfce-nm-image-1.0-r0/temp/log.do_rootfs.3437 May 25 08:16:34 lutriv: i already posted a link to this log .. http://pastebin.com/raw.php?i=RxgqQd14 May 25 08:16:42 or what do you mean? May 25 08:17:09 urgh, that is the same one ? May 25 08:19:03 ericbutters, ok, there are a bunch of problems , is this a clean (new) build or did you try to add/change something ? May 25 08:20:33 lutriv i did not add something. but i think i called oe-init-build-env twice.. is that a problem? May 25 08:20:50 if i run a clean build it will take several hours again? May 25 08:23:22 ericbutters, i don't think redefining som env will harm you but i see a bunch of several independend failures. for one, the build can't exec useradd and fails on chroot so i assumed something was different before. May 25 08:24:03 , May 25 08:24:32 ericbutters, and yes, a clean install will take several hours if you don't rely on something already build. May 25 08:24:53 ok. so what to you think is best way to go on? May 25 08:26:17 ericbutters, i would investigate a bit of time in the postinst-scripts and also check /etc/passwd|shadow on the target for already existing users. May 25 08:28:23 ericbutters, the fault must not be a real user but a daemon, i saw somewhere also systemd won't complete. May 25 08:32:13 lswhat is best way to start a clean build? simple delete bitbake.lock pseudodone sstate-cache/ and tmp-eglibc/ in build/ and keep conf/ and download/ ? May 25 08:33:01 i only need an image with chromium, so what is the smallest one? can you say that? May 25 08:34:37 ericbutters, i stopped using oe because of many issues on my target but actually i had an idea what could give you headaches........ May 25 08:36:49 ah.. what do you use now? May 25 08:36:51 ericbutters, useradd and /etc/passwd|shadow is root only for security-reasons, on the other hand, bitbake refuses to build with root, maybe you have a chicken-egg problem and could solve this problem by giving your build-user some more privileges. May 25 08:37:33 ok i see. it bitbake as a normal user and i read that i should do so.. May 25 08:37:44 i will try to upgrade that user May 25 08:38:27 ericbutters, just a guess but chroot is still the same uid May 25 08:41:17 ericbutters, btw. you asked how do i now..........i run a virtual box, within a qemu-arm install which does the bild pseudo-native. this is boring slow (300 Bogo-Mips) but at least for the kernel i have better results (OE kernel just freezing while mine starts ) May 25 08:41:32 morning. I'm struggling to make netbase pick /etc/network/interfaces from the bbappend in my own layer. anyone see what's wrong with http://pastebin.com/XJBEm1J0? May 25 08:42:26 tasslehoff, ads about coke-zero and a hint for unknown paste-id :P May 25 08:47:16 lautriv: hehe. without the ? then. http://pastebin.com/XJBEm1J0 May 25 08:49:03 tasslehoff, got that already was j/k about "real men have a space before the question-mark" May 25 08:49:38 * tasslehoff aspires to be a real man May 25 08:50:27 * lautriv don't and like to be a very old child........makes mor fun. May 25 08:51:31 tasslehoff, unfortunately i can't answer your question because i never got inside that mess of zillions subfolders. May 25 08:51:36 hi man, who mantein the recipes for qt-embedded? May 25 08:51:38 true May 25 08:53:39 i am facing one problem when using one open embedded recipe May 25 08:53:44 anyone there to help out? May 25 08:54:02 stuk_gen, i assume there is some /here/below/another/dir../no/rather/above/or/beside/maybe/tmp/receipes/backlink/forget/that/what/did/you/ask/right/now/symlink/qt/embedded/link/to/maintainers May 25 08:55:05 When i try to bitbake "perl-native" i get an error saying "create_wrapper" does not exists May 25 08:55:32 I've created other bbappends similar to the one I pasted (e.g. for rsyslog), and they work. It's just netbase that's giving me grief, and I can't figure out why. May 25 08:57:06 tasslehoff, someone mentioned earlier netbase is pulled from debian's repo, maybe it will extract in a subdir ? May 25 09:01:49 in oe classic i found a x11-image.bb -- which meta provides that in oe-core? where to find such information? May 25 09:02:06 lautriv: it extracts into a subdir, but gets the interfaces file from openembedded-core/meta/recipes-core/netbase/netbase-4.47/ May 25 09:03:16 what do you guys think is the simplest image to run chromium? May 25 09:03:55 ericbutters, just chromium ? May 25 09:04:00 yes May 25 09:04:53 ericbutters, probably X11 but i would prefer XFCE for some additions ( onscreen-keyboard and friends ) May 25 09:05:01 lautriv: yes maybe i understand because the qt recipes in more unstable... May 25 09:06:06 stuk_gen, i was mocking about the whole structure of oe, your maintiner is probably mentioned within the bb May 25 09:06:23 lautriv: i'm looking but i not found anything May 25 09:06:25 so i tried to build xfce-nm-image ;) i think i do a clean build over the weekend :) it takes >70GB to build.. lautriv which meta provides x11-image (GPE based) ? May 25 09:06:46 lautriv: but i see now the yocto recipe have a qt 4.8.1 but angstrom 4.8.0 May 25 09:07:23 ericbutters, there is a layer-index on the wiki. May 25 09:08:15 http://www.openembedded.org/wiki/LayerIndex May 25 09:09:52 ericbutters, do you really want nm ? May 25 09:12:10 no! i don't. i just want xfce. how to do this? can i remove CONMANPKGS from the *.bb file? May 25 09:12:36 recipes-images in meta-angstrom only comes with xfce-nm-image May 25 09:13:23 ericbutters, at the time oe worked for me, i did bitbake console-image and pulled some pkg's afterwards. May 25 09:15:09 lautriv how do you did that? did you run a packetmanager on your target? and where to pull these packages from? May 25 09:18:43 ericben, yes and angstrom May 25 09:20:38 ericben, in the meantime i refused to my beloved debian but CF-card broke then i had to do a bunch of work getting a newer kernel, now it seems 3.x builds again with a crapload of patches ;) May 25 09:25:05 lautriv_afk, yes May 25 09:27:37 snkt, so you need to boot with console=ttyS0 and load the right one on demand, another solution would be to change the parameters in the running FB in conjunction with some reinit() but again, it may break your tty. May 25 09:31:44 lautriv_afk you built console-image and then something like "opkg install xfce" ? so angstrom provides the respective packages (armv7) for xfce and chromium? May 25 09:32:15 look nice! http://www.linuxtogo.org/gowiki/AngstromManual#InstallingSoftwareandPackageManagement May 25 09:33:13 ericbutters, that was the case when i used it, that time it was afaik still oe-classic and my kernel 2.6.21 but afaik the repo is still there. May 25 09:33:42 bbl May 25 11:25:14 lautriv_afk, can fbset will help me...? May 25 11:25:27 lautriv_afk, how can i change the refresh rate May 25 12:02:32 lautriv_afk or anyone can say what could cause that http://pastebin.com/raw.php?i=DdybLdGH May 25 12:03:09 i did bitbake console-image. but this one has no etc/inittab. is this correct? May 25 12:04:26 lautriv_afk these are my bootargs http://pastebin.com/raw.php?i=XFjjPFyW May 25 12:07:57 ok, then some basics first ........afk means "away from keyboard" where bbl states "be back later" so don't wonder about the delay :P May 25 12:08:51 snkt, fbset can hely IF the driver has the ability for variables, then you may check where the arg is ending resp. how others do this. May 25 12:10:14 snkt, in general, you need a mechanism which is able to replace your static definitions like ".height = 1024" wit some variable parts, where i already mentioned ".height = &deseiredhight" May 25 12:10:48 lautriv, how can I implement that? May 25 12:10:52 snkt, and a routine that will take it onto affect --> reinit() May 25 12:13:26 snkt, as far as i remember, your static defitition was within a struct, which was used elsewhere again. you may use pointers (*height), adress-content (&height) or predefined versions -> struct set = struct mode4 May 25 12:16:21 lautriv, how can I use that? May 25 12:16:46 ericbutters, you have a problem with the nfs, check syslog of server if there was any mount-attempt et all. Also nfs-root needs a bit special preparation, do you have initrd built into kernel ? May 25 12:16:57 lautriv, this is the structure... http://pastebin.mozilla.org/1649122 May 25 12:17:45 lautriv if i mount my "old" image from oe classic i can mount via nfs May 25 12:19:44 ericbutters, at this point, the kernel itself matters. i see no initrd=foo so i assume you have it buld into the kernel ? or do you lack on a initrd and try to boot the kernel withiut pre-init ? May 25 12:20:44 lautriv no not in kernel. what should i give to initrd= ? May 25 12:21:08 i boot my oe classic image with that bootargs May 25 12:21:31 why there is no inittab in console-image of oe-core? May 25 12:23:28 snkt, let me show you an example.... within you struct, you have e.g. mode_param={ .rgb_mode = 1, if you change this to mode_param={ .rgb_mode = rgbmode where rgbmode represents a variable on the address &rgbmode, which in turn can be set from elsewhere, you need just call init_fb again to have the struct changing the mode. May 25 12:24:35 ericbutters, compared the old and new kernel by size ? May 25 12:25:03 i use the same kernel. not the one that built by oe May 25 12:25:45 ericbutters, now we come closer. but you don't remeber how you built this kernel ? May 25 12:26:01 no - i know it. May 25 12:26:29 has the selected kernel in oe-core effect on the rootfs? May 25 12:26:50 because in oe classic i selected different May 25 12:27:26 btw lautriv thx for support May 25 12:27:42 ericbutters, maybe you forgot the fineprint about root=/dev/nfs which has to be a devicenode of b 0 255 May 25 12:31:57 lautriv before kernel panic i see: VFS: Mounted root (nfs filesystem) on device 0:11. May 25 12:32:15 and Freeing init memory: 128K May 25 12:32:59 ericbutters, that is more than i suspected. network is wired ? May 25 12:33:14 yes it is May 25 12:34:58 ericbutters, ok, next step is the real init. you mentioned already there is no inittab which is alone somewhat bad, what about /sbin/init ? May 25 12:35:23 got that one May 25 12:35:44 ericbutters, what about getty ? May 25 12:36:05 btw i did not re-compile my kernel with the toolchain i got from oe-core with the console-image. May 25 12:36:13 should i do that first? May 25 12:36:56 no, no getty :( strange May 25 12:36:58 ericbutters, only if you need any new kernel-module. if kernel and his modules are from the same compiler, it'll work. May 25 12:37:09 ok May 25 12:38:42 ericbutters, so getty is mandantory ( maybe they replaced it with something else but i doubt that) end even then, your /sbin/init would grab air without a reasonable inittab. because the tab is plaintext you may copy from another box. May 25 12:40:23 i downloaded http://downloads.angstrom-distribution.org/demo/beagleboard/ from here to doublecheck.. the systemd-image comes with getty but without inittab also May 25 12:40:57 lautriv i tried using inittab from an other one :/ May 25 12:43:01 ericbutters, ah, because systemd. i'm not comfortable with sysV replacements might ask in ##linux about systemd's behaviour. May 25 12:44:22 ah ok. so maybe i need some things to activate in my kernel to use systemd May 25 12:47:32 ericbutters, afaik it goes another way ( thus a daemon ) which can set services to respawn, makes inittab obsolete but not my way. dunno if the kernel needs a change, never heard about this. May 25 12:50:27 <-------- oooooldschool May 25 12:52:45 lautriv, ok... May 25 12:59:25 meh, i did a scp -r /lib/modules/3.4.0 from qemu-arm to my server and forgot that build|source links ;)) May 25 13:10:08 lautriv, then how can I store a values? May 25 13:13:16 snkt, because you have several abilities the question is more "how would you like to switch modes", one way would be a bunch of tables or predefined structs ( same as the link but changed name/value), you may accept a external call or have some entries in /proc ........did you write the initial FB or do you try to change another source ? May 25 13:20:41 lautriv, not much... just gone through... I m newbee to FB drivers... May 25 13:29:00 ericbutters, got a good reading about systemd, not sure if this thingie is neccessary et all --> https://www.linux.com/learn/tutorials/527639-managing-services-on-linux-with-systemd May 25 13:29:55 thx lautriv. i see some kernel features with respect to systemd. i enable them right now and the try that. i report back. May 25 13:47:34 F-WORD !!! image is supposed to give me console via ttySusb0,115200 8 N 1, now i have Linux-USB Ethernet/RNDIS Gadget instead :( does oe anything the right way or is it just a waste of time in endless subdirectories ? May 25 13:52:32 * lautriv must do some steps with his dogs to prevent serious damage on certain hardware.....bbl May 25 14:30:30 lautriv: i think it is a problem with tune-cortexa8 --> what do you think? could that be right? May 25 14:31:52 anyone built oe-core for cortexa8? May 25 14:48:58 lautriv i switched from tune-cortexa8 to tune-arm920t in my machine conf file. that one i can boot/mount. May 25 14:49:14 my machine is Samsung S5PC100. May 25 15:18:13 hi everyone, i've a question please, i'm building my own kernel to get a custom os, i'm trying to make a 3G key work on it, for that i've to use usb_modeswitch , to switch from mass storage mode to modem mode and get the key on ttyUSB , the problem is that after launching usb_switchmode, i get nothing on a ttyUSB, apparently it's a kernelconfig problem, does anyone know what should activate, include as a module and deactivate? May 25 16:17:31 adding variables in a layer conf file is the same as adding them globally? May 25 16:17:56 this seems to be true, i was just wondering if there were any cavaets May 25 16:18:35 just remember that bitbake.conf is parsed after it, so could override the vars, depending on what you're defining May 25 16:18:49 other than that, should be fine, afaik May 25 16:19:38 ericbutters, Cortex-A8 should be ok , S5PC100 matches. May 25 16:43:55 heh, i just verified our dm816x doesn't like booting from a locked sdcard... May 25 16:46:46 kergoth`: thanks May 25 16:47:04 np May 25 16:48:55 is there an argument for a patch that will make it apply to a different dir? May 25 16:49:20 SRC_URI_fsl += "file://gdb-7.4.1-e500mc-disassemble-fix.patch;dir=gdb-${PV}" May 25 16:49:30 yeah there yeah, there is May 25 16:49:36 blah May 25 16:49:50 i think it's "patchdir", not "dir" May 25 16:49:56 from a quick glance at patch.bbclass, anyway May 25 16:49:58 try that May 25 16:50:12 ahh i was looking for patch foo in bitbake May 25 19:35:09 ping khem May 25 20:29:13 anyone around used to fiddle on the kernel ? May 25 21:07:57 lautriv what? May 25 21:11:30 woglinde, bluelightning told me about some patches for hx4700/kernel3.4-rc which i had to change manually because 3.4 release changed a lot, also i try to get acx100 running again and have a weird issue. now i'm searching someone to discuss about a few details. May 25 21:12:13 uhm dont think thats much oe related May 25 21:13:14 woglinde, hx4700 is a flavor, oe needs a kernel, acx100 is more embedded than PC so what is not related to oe ? May 25 21:28:29 can anyone tell me the default IP if angstrom-image builds with usbnet ? May 25 21:33:16 lautriv look into /etc/network/interfaces? May 25 21:34:20 woglinde, nice joke. image was supposed to give me console=ttyUSB0,115200 8N1 and the device has just a touchscreen. May 25 21:35:23 lautriv o.O May 25 21:35:36 unpack the image on your host and look it up May 25 21:49:26 is the poky meta data available without the combined bitbake/oe-core stuff? May 25 21:50:08 not yet.. but it is a "TODO" item May 25 21:50:51 IC so its kind of an all or nothing thing May 25 21:53:25 yes.. for new users it's handy cause it's all together.. but if you want just the layer elements, you have to pull it all and break it out yourself.. May 25 21:59:13 i occasionally update https://github.com/kergoth/meta-yocto with a git-filter-branch'd version of the content. don't have the updates automated, though, it's manual May 25 22:00:15 hi kergoth May 25 22:00:41 hello woglinde May 25 22:01:16 hi ant May 25 22:11:32 hey May 25 23:20:14 khem: ping May 25 23:24:05 ant__: yes May 25 23:24:52 hi there, embarrassing problem enabling thumb with klibc... May 25 23:25:19 (testing right now with hpa on #klibc) May 25 23:25:30 http://paste.debian.net/171207/ May 25 23:27:23 khem: binaries built against this klibc thumb-enabled do segfault miserably May 25 23:27:51 (runtime testing on armv5te) May 25 23:29:56 ant__: what is full cmdline May 25 23:31:47 mom, patching defconfig on the fly May 25 23:33:22 khem: that's all, anything missing May 25 23:33:41 make -j 5 KLIBCARCH=arm CROSS_COMPILE=arm-oe-linux-gnueabi- KLIBCKERNELSRC=/oe/oe-core/build/tmp-eglibc/sysroots/poodle/usr May 25 23:35:41 ant__: I am interested in -march or -mtune if any May 25 23:36:28 this is added in a separate file May 25 23:37:29 http://git.kernel.org/?p=libs/klibc/klibc.git;a=blob;f=usr/klibc/arch/arm/MCONFIG May 25 23:38:10 once CONFIG_KLIBC_THUMB=y is set (in defconfig) May 25 23:38:13 armv4 does not have thumb so its right May 25 23:38:25 here I'm on armv5te May 25 23:38:28 CPU_ARCH ?= armv4t would be the right thing May 25 23:38:46 ah May 25 23:38:53 I see May 25 23:39:55 --tag=CC --mode=compile arm-oe-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=xscale May 25 23:40:09 ^^ this is my cross-toolchain May 25 23:41:11 I dont think that matters May 25 23:41:23 if the one from MCONFIG May 25 23:41:54 comes after thats what will be entertained May 25 23:42:00 I mane, I have to change CPU_ARCH and CPU_TUNE accordingly May 25 23:42:12 ok May 25 23:42:27 add V=1 to the make cmdline May 25 23:42:28 what is KLIBCREQFLAGS += -mabi=aapcs-linux May 25 23:42:28 ^ May 25 23:42:35 so it dumps detailed build log May 25 23:43:03 that says that I want EABI with linux extentions thats fine May 25 23:45:32 yea, regular logs! now I'll test runtime May 25 23:57:05 khem: \°/ May 25 23:57:17 mizar home # readelf -s ./mtdinfo | grep thumb May 25 23:57:17 380: 0000e8b1 8 FUNC LOCAL DEFAULT 1 ____aeabi_l2d_from_thumb May 25 23:57:17 386: 0000e8c1 8 FUNC LOCAL DEFAULT 1 ____aeabi_lmul_from_thumb May 25 23:57:17 389: 0000e8c9 8 FUNC LOCAL DEFAULT 1 ____aeabi_idiv_from_thumb May 25 23:57:17 404: 0000e8f5 8 FUNC LOCAL DEFAULT 1 ____aeabi_dmul_from_thumb May 25 23:57:19 453: 0000d455 18 FUNC GLOBAL HIDDEN 1 __gnu_thumb1_case_uqi May 25 23:57:21 567: 0000d469 20 FUNC GLOBAL HIDDEN 1 __gnu_thumb1_case_uhi May 25 23:57:23 mizar home # May 25 23:58:19 thanks! May 26 00:00:33 khem, hi May 26 00:03:01 gn May 26 00:03:24 what architecture? arm? May 26 00:03:35 * fray sees thumb1.. so it is arm.. May 26 00:03:51 disable the prelinker and make sure that's not it (assuming you are using oe-core) May 26 00:04:33 ugh, I think I just got two conversations confused.. May 26 00:04:37 * fray thinks it's time to go home.. ;) May 26 00:10:21 khem, chromium and firefox both still don't work on master....but work on denzil.... May 26 00:10:41 GNUtoo-netbook: hmm, yes May 26 00:10:53 I mean the same recipes segfault/illegal instruction on master and run perfectly in denzil May 26 00:10:57 GNUtoo-netbook: you did try to disable the thumb trampoline May 26 00:11:02 khem, FYI, I found a bug in the prelink's x86-64 support today.. working on fixing it.. May 26 00:11:08 for firefox? May 26 00:11:16 so if anyoen reports a problem, be sure to ask them to turn off the prelinker to make sure it's not that May 26 00:11:18 fray: his problem is something else May 26 00:11:21 it worked with safe-mode May 26 00:11:21 I know the issue May 26 00:11:29 its just a bug in gold linker May 26 00:11:30 it's ifunc relocation that is broken May 26 00:13:08 GNUtoo-netbook: ok. lets try something else May 26 00:13:15 ok May 26 00:13:34 how to disable thumb trampoline in firefox btw May 26 00:13:58 khem, note that I tried both firefox and chromium with: May 26 00:14:09 ARM_INSTRUCTIONSET = "arm" or something like that May 26 00:14:22 I don't have the exact syntax off hand May 26 00:16:09 GNUtoo-netbook: wha happens if you remove ld-is-gold from distro features May 26 00:17:00 I'll try May 26 00:17:07 but I don't think it would work May 26 00:17:16 because I think I already tried but I don't remember well May 26 00:17:24 so I'll retry May 26 00:41:45 khem, ok I'll try May 26 00:42:04 I just removed it from distro features May 26 00:42:17 do I need to do something else before building firefox + chromium/ May 26 00:42:29 s#/#?# May 26 01:02:33 Hey Crofton, dm8tbr, khem. So this is where y'all hang out on Friday afternoon. Don't you know it's a holiday? May 26 01:03:04 Wow, and jkridner too. Sorry I missed you at Maker Faire last weekend. May 26 01:03:28 I had a booth and a talk and was super busy, but Victor came by and tell me you were around. May 26 01:03:29 hey May 26 01:03:44 I have a really stupid bb question. May 26 01:03:44 I am at the beach May 26 01:03:56 The beach! Which one? May 26 01:04:03 Avon NC May 26 01:04:10 Isn't it dark? May 26 01:04:38 yes May 26 01:04:42 All the better to send mysterious signals to the Coast Guard with scary electronics, I guess. May 26 01:05:07 Tell the CG I say hi. May 26 01:05:25 heh May 26 01:05:31 what is the problem May 26 01:05:37 I am afk mstlyu May 26 01:05:56 But seriously, my virtual machine is failing a build on some idiot gconf error when I try to rebuild the kernel. May 26 01:05:57 movie is on May 26 01:06:08 hmm May 26 01:06:21 I think I will go watch the movie, rather than think :) May 26 01:06:23 If I could figure out where it's failing, i could just sub xterm for gnome-terminal. May 26 01:06:23 l8r May 26 01:06:33 l8r Crofton. May 26 01:06:35 build soemthing simpler? May 26 01:06:50 Hmm, good idea. Stupid i.MX6! May 26 01:07:14 Here's my dumb question: how do I tell which directory the script that's failing is in? May 26 01:07:35 Should be easy to fix if I could figure out which shell script is broken. May 26 01:08:12 The log file has not enough context for me to figure it out; who knows which CWD the failure is in. May 26 01:40:30 Alison_Chaiken: is the gconf error related to gtk ? (libXrandr cannot be found?) May 26 01:41:09 Something about gconfd error, vmeson. Are you a physicist by any chance? May 26 01:41:24 I used to be... how about you? May 26 01:41:37 I used to be too. Don't miss it a bit. May 26 01:42:03 ha! I do still miss it but software is fun too. May 26 01:42:12 What kind of physics did you do? May 26 01:42:39 Solid-state in support of magnetic and optical recording, pretty fundamental stuff. May 26 01:43:15 But the bottom line is, data storage is pretty much plateaued, and good enough anyway. May 26 01:43:41 anyway what's the gconfd error? May 26 01:43:48 Let me see. May 26 01:43:54 * vmeson is no oe expert yet... May 26 01:45:44 Oh yeah, I finally ran "make menuconfig" by hand although I felt guilty, as I figured I should do "bitbake -c virtual/kernel", as instructed. May 26 01:46:13 So now I just have a kernel that doesn't compile, and was reading Freescale BSP docs instead of OE docs. May 26 01:46:40 But it could be I left files in inconsistent state, causing compilation failure. May 26 01:47:09 ok... it sounds like you have some ideas of what to try next... May 26 01:47:50 Let me try to clean the kernel and run again, as I'd like to know how to use the machinery the right way. May 26 01:48:53 Okay now I say "bitbake -c clean virtual/kernel; bitbake -c virtual/kernel" and the system says, "Nothing to do."! May 26 01:50:00 Ah, -c menuconfig virtual/kernel. One more try. May 26 01:50:38 Are you a particle physicist, then? May 26 01:51:14 naw, I worked on SNO for an M.Sc then did software at some nuclear physics research labs: LBL, JLAB. May 26 01:51:54 I was at LLNL and SLAC for a while. They were awful places to work. May 26 01:52:08 Now I'm at Mentor, which is so much better. May 26 01:53:03 All right, here at last is my error: "Failed to summon the GConf daemon; exiting." May 26 01:53:15 ah, the competition! :) May 26 01:53:29 i got to visit some of the modeling guys at llnl, and it didn't seem *that* bad May 26 01:53:40 WTF? Who cares about the stupid GConf daemon, moronic build system. I want to compile the kernel, not watch a video! May 26 01:53:48 that was back in the 90's tho... May 26 01:54:23 LLNL was full of secrecy about everything back in the 1990's when I worked there. All staff were forced to compete with each other rather than collaborate. May 26 01:54:41 Half the other physicists were taking qualudes or whatever. May 26 01:54:47 welcome to oe, we'll build lots of stuff but it's a bit of a pita to find out why... May 26 01:54:49 didn't seem that way on the ARAC side... May 26 01:54:53 People punched each other at work, no joke. May 26 01:55:30 Yeah, I see that the failure is on "gnome-terminal --disable-factory". May 26 01:55:51 If I could just change that the "/bin/sh" or somesuch, I'd be all set. May 26 01:55:55 well, as of last year i had 20 years on an AF launch range May 26 01:56:07 But where in heck is it invoked from? which script to change? May 26 01:56:14 buy a keg of beer and I'll tell you about it some day... May 26 01:56:29 AF launch range . . . New Mexico? May 26 01:56:35 vandenberg May 26 01:56:38 Blowing stuff up: cool! May 26 01:56:51 no, not on purpose... May 26 01:56:57 Ah Vandenberg. Is China Lake near there? May 26 01:57:01 *launching* stuff May 26 01:57:37 only the ordinance disposal guys get to blow stuff up... May 26 01:57:52 china lake is way east in the desert May 26 01:57:56 So the build failure outputs a log file, and it's pretty much completely uninformative. May 26 01:58:31 it's failing at the build stage? May 26 01:58:43 What think you of SpaceX? Looked pretty impressive, no? Elon Musk is amazing: space launch and electric vehicles are not the two easiest businesses. May 26 01:58:47 you could use the devshell thing.. May 26 01:58:57 some of them are like that, but if it failed in configure/compile/install phase you should get a real error May 26 01:59:13 devshell didn't seme to do much May 26 01:59:38 Yeah, I start "bitbake -c menuconfig virtual/kernel" and a bunch of prep tasks run, then when it tries to open a new terminal to run the ncurses config, it bombs on the irrelevant gconf. May 26 01:59:40 at least the environment didn't seem like it was setup correctly May 26 01:59:52 no but once you are there you can play with the build to grok it. May 26 02:00:11 I'm logged into a VMWare build machine via SSH. May 26 02:00:29 I guess the build script won't run in a text console. May 26 02:00:51 Unless . . . is there some way to tell BB not to try to open new windows, with some CLI flag? May 26 02:00:53 if you've already built the kernel, it should just launch make menuconfig May 26 02:00:57 you need to set your OE_TERMINAL to screen? or something like that. May 26 02:01:13 yup May 26 02:01:32 Ah, thanks, I'll check that out. May 26 02:01:39 a vnc desktop and xterm works nicely May 26 02:01:48 nerdboy, I didn't build the kernel, some much smarter person did. May 26 02:02:19 no, i mean built an image with a kernel in your current "build" May 26 02:02:33 have you made it that far? May 26 02:03:10 nerdboy, this is my very first attempt to use bb to build a kernel. May 26 02:03:19 ah May 26 02:03:36 maybe try console-image or something May 26 02:04:21 then reconfigure the kernel once the image has built (and pulled in all the deps, etc) May 26 02:04:38 yeah, oe terminal tries to spawn the "best" terminal it can find on your system, though that's open to debate. OE_TERMINAL = "screen" works best May 26 02:04:43 on that note, i highly, highly recommend everyone set PATCHRESOLVE = "noop". otherwise if a patch fails to apply, it'll spawn a terminal for you to fix the rejects. but with BB_NUMBER_THREADS, you may have no clue what failed or why, and i'd much rathe things like that occur explicitly, not implicitly May 26 02:05:31 Thanks, I'll try OE_TERMINAL=screen. Suckiest terminal works for me: too bad no line-printer here. Daisy-wheel FTW! May 26 02:06:26 yeah, terminal matters much less than shell. in the past it didnt' use your user SHELL and made devshell blow as a result. nothing like dropping you into a completely bare bones, no completion, etc setup to really annoy a person May 26 02:06:28 heh May 26 02:10:59 hmm, tried "export OE_TERMINAL=/usr/bin/screen; bitbake -c menuconfig virtual/kernel", get same ridiculous GConf error. Aarrgh! May 26 02:11:19 If I were failing on actual engineering task, it would be much less annoying. May 26 02:12:22 OE_TERMINAL is not set in bitbake.rc or local.conf. May 26 02:13:53 have you been able to build and boot anything yet with OE? How did you get to the build failure? May 26 02:14:40 Yes, vmeson, I built an entire image on this VMI using someone else's instructions. May 26 02:15:01 But I didn't run "bitbake -c menuconfig", just used existing config. May 26 02:15:28 interesting... is menuconfig the only change you made? May 26 02:16:15 other than OE_TERMINAL. May 26 02:16:28 So far, vmeson, I didn't even manage to get menuconfig to start, so no changes whatsoever. May 26 02:16:55 All I've changed so far is OE_TERMINAL. Otherwise I just followed coworker instructions. May 26 02:18:56 I think I'll try making a new directory with a fresh pull and just the kernel, to see what happens. May 26 02:19:25 that doesn't sound right... I guess you have to decide between debugging the gconf error and tossing what you have and starting again.. May 26 02:19:47 good luck. May 26 02:19:52 * vmeson leaves. May 26 02:20:51 Thanks, vmeson. May 26 02:22:24 if you've built a full image, then something seems amiss... May 26 02:22:54 * nerdboy just promoted to Capt Obvious May 26 02:24:14 can you paste your fail log? May 26 02:24:18 Not at all, nerdboy, as "make menuconfig" involves popping open a new window, and none of the other tasks did. May 26 02:24:52 It's pretty clear that previous tasks didn't invoke gnome-terminal, as they were happy running in the console. May 26 02:25:00 neither screen nor xterm should involve gconf May 26 02:25:25 Neither screen nor xterm is running: it's gnome-terminal, as build failure log explicitly states. May 26 02:25:45 bitbake is assuming that gnome is running, which it ain't. May 26 02:26:17 okay, what is TERM in your env on that box? May 26 02:27:15 and is XSESSION set to anything? May 26 02:28:21 lastly, if you set OE_TERMINAL to screen, where did you set it? May 26 02:28:50 I tried setting OE_TERMINAL both as a command prefix and with export. May 26 02:29:04 TERM=xterm; XSESSION is unset. May 26 02:30:58 okay, i think you really want TERMCMD and TERMCMDRUN in local.conf May 26 02:31:26 Aha! I'll try it. May 26 02:31:51 TERMCMD = "${SCREEN_TERMCMD}" May 26 02:32:04 TERMCMDRUN = "${SCREEN_TERMCMDRUN}" May 26 02:33:24 there's some pretty touchy environment stuff wrapped around bitbake May 26 02:33:45 and i don't have it all figured out... May 26 02:35:45 changing local.conf will also force a cache rebuild, but oh well... May 26 02:36:48 nerdboy, if it works, cache rebuild is okay with me. It's just about dinner time anyway . . . May 26 02:36:56 What did you launch recently? May 26 02:37:25 nothing, i'm working on a surgical camera now May 26 02:37:45 i put in my twenty... May 26 02:38:32 a cool TI dm8168 camera May 26 02:41:33 So the camera attached to a fiber-optic laparascope thinger? May 26 02:41:55 Looks like my "make menuconfig" starts and hangs. May 26 02:42:23 This is actually excellent news, as it means you've told me what to work on to fix the problem. May 26 02:43:09 I bet if I change now from "screen" to "xterm," the sucker will pop open a new window and work. Or maybe it wants ncurses explicitly. Must be one or t'other. May 26 02:43:27 Thank you very much nerdboy! I hadn't considered changing local.conf. May 26 02:43:38 A major lesson for the future. May 26 02:46:03 xterm should work May 26 02:46:52 I started it with screen; we'll see. May 26 02:47:04 "make menuconfig" normally uses curses. May 26 02:48:36 i mean "${XTERM_TERMCMD}" May 26 02:48:42 instead of screen May 26 02:49:18 so you'd also need to have logged in with ssh -X or such May 26 02:49:53 * nerdboy resorted to xterm in vnc May 26 02:52:31 Will try after dinner, nerdboy. Thx much: I will now figure it out, since I see which variable where to poke at! May 26 02:52:42 Food, food I say! May 26 02:54:46 had dinner early tonight after the graduation stuff May 26 02:56:10 * nerdboy has it set to xterm **** ENDING LOGGING AT Sat May 26 02:59:57 2012