**** BEGIN LOGGING AT Sat Dec 14 02:59:59 2013 Dec 14 03:06:02 can i list all rpm installed? rpm -qa errs Dec 14 03:06:48 i c it's a rpm from busybox that can only install pkg? Dec 14 03:08:41 sucks, comparing to dpkg Dec 14 08:19:13 . Dec 14 08:19:20 skipping incompatible /usr/lib/libX11.so when searching for -lX11 Dec 14 08:19:25 Build error Dec 14 08:19:52 Just following Quick Start Guide. Dec 14 08:20:19 Why wouldn't Yocto be linking against its own toolchain or sysroot X11 ? Dec 14 08:51:35 http://pastebin.com/Ls8qcpqu Dec 14 08:51:41 I'm confused Dec 14 08:52:28 Why is Yocto building ARM architecture when I am targetting qemu86 Dec 14 08:53:44 And why is it looking anywhere other than its sysroot for available link lbraries Dec 14 09:15:16 Is anybody here ? Dec 14 12:20:55 I am still no wiser after what I consider fairly extensive (over 1 hour) investigation into my build issue: http://pastebin.com/Ls8qcpqu Dec 14 12:23:54 http://pastebin.com/2jvCf4DP Dec 14 13:20:35 anyone home ? Dec 14 13:20:59 Please see: http://pastebin.com/2jvCf4DP Dec 14 13:22:03 I am really getting frustrated by this. I assume that the Quick Start Guide *should* work. I've followed the instructions exactly, three times in a row, and continue to run into trouble each time. Dec 14 13:32:23 smartin, loks like it is catching libs from the build machine Dec 14 13:32:44 Smigers, that is Dec 14 13:32:49 that shoudn't ahppen Dec 14 13:32:54 I know Dec 14 13:33:02 not many people around over the weekend either Dec 14 13:33:11 The question is how it's even possible for such a huge error Dec 14 13:33:15 what distro is your build machine running Dec 14 13:33:27 Fedora 19 with latest updates Dec 14 13:33:33 weird Dec 14 13:33:36 same as me Dec 14 13:34:07 I'm willing to start over *again*. Is there anything other than the yocto source tree that I should wipe our Dec 14 13:34:09 out Dec 14 13:34:36 the build dir, but I think you are catching that Dec 14 13:34:44 but this is really weird Dec 14 13:35:06 I'll delete poky-dora-10.0.0, and extraxt the tar again, and just run through the quick start once more. Dec 14 13:35:33 that's all under poxy-dora right ? Dec 14 13:38:56 should be Dec 14 13:39:34 So, I'm not storing any kind of state in a hidden directory in HOME, or /etc, or somethign silly like that Dec 14 13:40:21 shouldn't be Dec 14 14:23:09 During the build I see these types of warnings Dec 14 14:23:11 WARNING: Failed to fetch URL ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz, attempting MIRRORS if available Dec 14 14:23:13 I Have tried to log into that server via ftp and get disconnected immediately Dec 14 14:24:19 Actually it seems quite a few of the links are out of date Dec 14 14:24:44 I am now failing to download from http://www.apache.org/dist/apr/apr-1.4.8.tar.bz2 Dec 14 14:25:48 Presumably I will see an error rather than a warning if the download can never be resolved Dec 14 14:31:03 Smigers: correct, if it's just a warning, no need to worry Dec 14 14:31:53 upstreams do disappear / remove versions from download quite often unfortunately, that's why we have mirrors Dec 14 14:33:21 Understood. Maybe contacting the host admin and asking for the package to be preserved so that the Quick Start Guide doesn't have to be constantly adjusted would be a good idea Dec 14 14:34:38 rahter I should say so that poky-10.0.0 recipes don't need to be maintained Dec 14 14:35:51 either that or host all the poky-10.0.0 packages on the Yocto server Dec 14 14:51:22 Smigers: well, we don't really need to update the qs guide in these instances because we automatically fall back to our mirror Dec 14 14:51:51 Ah Dec 14 14:51:55 Smigers: we always have all sources available in our mirror - disk space is cheap ;) Dec 14 15:07:27 dora build looks good on the AB at least... Dec 14 15:10:31 RP: great stuff Dec 14 15:19:38 Same problem: http://pastebin.com/U50EUDU5 Dec 14 15:24:27 Seems like a pretty fundamental error to me Dec 14 15:25:21 Why would y64 even be built if I am targetting i586 running under qemu ? Dec 14 15:25:30 x64 Dec 14 15:26:37 TARGET_SYS = "i586-poky-linux" Dec 14 15:26:39 MACHINE = "qemux86" Dec 14 15:27:24 or is it trying to build qemu for my host machine ? Dec 14 15:37:57 OK, looking through the Yocto release logs, it seems that Fedora 19 was a problematic build host platform until more recent releases of yocto. I'm-a try latest yocto rather than the prescribed version in the Quick Start Guide. Dec 14 15:42:30 Actually, they are the same version Dec 14 15:42:50 OK, so, now I am totally confused. Dec 14 15:52:31 OK, it seems that for some reason the link line is not finding the 64 bit libX, rather it finds the 32 bit version, and then says it's no goo (obviously) Dec 14 15:53:58 where would I adjust that so that it points to the right place. Dec 14 16:09:22 I find this system completely unfathomable. TO the point where I am beginning to doubt that it works. Dec 14 17:17:28 hmm, toolchain with fortran/java seems a little incomplete Dec 14 17:28:33 what's the proper bugzilla product for a toolchain bug? Dec 14 18:00:25 building another crossdev toolchain with java... Dec 14 18:00:27 nerdboy: oecore/devtools Dec 14 18:06:05 thx Dec 14 18:07:19 * nerdboy <= ignoring oe-classic homework Dec 14 18:10:23 damn that little x86 vm is fast... Dec 14 18:16:44 is there a way to manipulate bb variables like 'SRC_URI' from shell functions or do I need to use python i.e. d.appendVar? Dec 14 18:17:55 shell functions are run at task execution time, not parse time Dec 14 18:18:03 so it wouldn't make much sense for them to be able to alter bitbake metadata Dec 14 18:18:06 what would it affect? Dec 14 18:18:23 if you just want to *use* the variable, just dereference it with ${SRC_URI} Dec 14 18:18:29 if you need to alter it, you can use inline python Dec 14 18:18:43 ${@','.join(SRC_URI.split())} or whatever Dec 14 18:19:16 thanks kergoth, very clear Dec 14 18:20:45 np Dec 14 18:30:20 no gcj out of crossdev either, at least using the native 4.6.4 i built a while back, which apparently doesn't have it enabled... Dec 14 18:32:02 let's try that again Dec 14 18:32:51 crossdev, that's the gentoo cross toolchain generator, or the ubuntu one? Dec 14 18:34:23 I just installed windows 3.11 in dosbox, with the right drivers to run it in 1024x768 and all, installed quicktime and video for windows.. now for trumpet winsock to get internet working in there :D Dec 14 18:34:27 * kergoth` is in a nostalgic mood Dec 14 18:35:06 you're one big giant mystery... Dec 14 18:35:20 * kergoth` chuckles Dec 14 18:35:26 crossdev is the gentoo version of crosstool Dec 14 18:35:31 ahh, right Dec 14 18:35:33 cool Dec 14 18:35:57 rebuilding gcc with java, then try cross with java again Dec 14 18:37:25 and i don't see the ecj-4.x.jar file in poky downloads either Dec 14 18:37:44 might it be missing that dep? Dec 14 18:41:35 seems like it should work as long as c++ is also enabled and the lib source is available Dec 14 19:00:34 boy do you get a buttload of javax/swing headers if you enable java and gtk Dec 14 20:32:13 that looks like a fail for crossdev and gcj Dec 14 20:32:35 it did build all the fortran stuff, but no java Dec 14 21:35:03 tags no longer work as a git SRCREV? hmmm... Dec 14 22:34:06 Please help Dec 14 22:34:08 http://pastebin.com/598mjykJ Dec 14 22:34:52 I cannot understand how this could be happening without Yocto itself being completely broken Dec 14 22:35:40 have you tried some other machines? Dec 14 22:36:22 I've already targetted qemux86, and this time qemux86-64 Dec 14 22:36:31 try setting MACHINE to beagleboard Dec 14 22:37:02 I am grasping at straws, becuase I do not understand how something that should be that well test will find things on the build machine Dec 14 22:37:14 Why ? Dec 14 22:37:16 I don't have a beagleboard, and it's not the target Dec 14 22:37:18 so tryin gan arm target might give us some clues Dec 14 22:37:22 I know Dec 14 22:37:40 see the "I am grasping at straws" Dec 14 22:37:50 Sure, I appreciate the help Dec 14 22:37:53 I want to see if we can make anything work Dec 14 22:38:55 BUT, If it can't do the Quick Start Guide , which should be absolutely tested, why would I ever imagine it could do some other variant Dec 14 22:39:19 Yes, this is very curious Dec 14 22:39:28 More than curious Dec 14 22:39:41 Almost like none of this really works Dec 14 22:39:44 annoying, most of the people that care about that particular path aren't usually around on weekends Dec 14 22:40:23 That particualr path is the test system Dec 14 22:40:44 if I can't build the cannonical system, why would I do anything else Dec 14 22:41:17 just try the beaglebone Dec 14 22:41:24 er board :) Dec 14 22:41:50 your ip suggests you are in .de? Dec 14 22:42:01 can you try asking on Monday morning? Dec 14 22:44:22 Sure, Monday is not a problem. But, How could this be broken. I'm doing nothing but trying to follow the QSG. How could that not work on a supported environment ? Dec 14 22:46:37 It makes me think worry that actually none of it is correctly tested. I really have to wonder about the standard of the developer when I can't even follow the basic example. Dec 14 22:47:07 without an error occuring Dec 14 22:53:05 Smigers: what branch are you on? Dec 14 22:53:17 what do you mean ? Dec 14 22:53:29 meta-yocto-bsp = ":" Dec 14 22:53:52 how do I tell yout the answer to that question Dec 14 22:53:57 did you try master or one of the other branches? Dec 14 22:54:16 git status in your poky/oe dirs Dec 14 22:54:17 I don't understand the question Dec 14 22:54:33 ?? Dec 14 22:55:19 Please, if you are asking me to do something, be precise. Dec 14 22:55:28 you followed the quickstart and downloaded a tarball? Dec 14 22:55:32 yes Dec 14 22:55:57 hmm, haven't tried that... Dec 14 22:56:08 What ? Dec 14 22:56:38 tarball Dec 14 22:56:44 How did you possibly get started without using some kind of documentation. Dec 14 22:56:58 would you like to try the cloning the layers? Dec 14 22:57:03 Did you just guess your way though the whole process Dec 14 22:57:20 no, i followed the readme Dec 14 22:57:33 Idiotic Dec 14 22:57:49 https://github.com/sarnold/meta-raspberrypi/blob/master/README Dec 14 22:58:02 I follow the instructions that are presented to me on the documentation page Dec 14 22:58:16 Why would I ever do anything other than that Dec 14 22:58:28 i'm just talking building from git clones instead of the tarball Dec 14 22:58:45 What would compell me to do that Dec 14 22:58:46 then you can switch branches between different releases Dec 14 22:59:03 how would I even know that that was an option Dec 14 22:59:36 That is simply stupidity Dec 14 22:59:46 it's in the regular docs, just not the quickstart i guess Dec 14 23:00:03 I am following the documentation. If the docs are wrong the whole project is wrong Dec 14 23:00:18 you're following one version of one doc Dec 14 23:00:37 the proect "lives" in the documentation Dec 14 23:00:47 the quickstart guide is only part of the yocto documentation Dec 14 23:00:54 there are other documents Dec 14 23:01:30 I am following the documentation on the most significant link of the main page of the Yocto project web site# Dec 14 23:01:33 regardless, I don't think continuous complaints are going to resolve your problem any faster Dec 14 23:01:45 That's a bullshit respone Dec 14 23:01:56 http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#intro-getit Dec 14 23:01:56 Yet, completely accurate Dec 14 23:01:57 I want to learn Dec 14 23:02:16 but I am unable to learn from the provided documentation Dec 14 23:02:26 you haven't bothered to read all the documentation Dec 14 23:02:29 "You can set up the Source Directory by downloading a Yocto Project release tarball and unpacking it, or by cloning a copy of the upstream Poky Git repository" Dec 14 23:02:49 try method #2 Dec 14 23:03:20 Why would I try method #2 when method #1 fails in ways that are totally stupid Dec 14 23:03:46 because method 1 fails maybe? Dec 14 23:04:27 Method 1 fails, so I am expected to continue to waste my time following another method which might also fail ? Dec 14 23:04:48 while you were complaining i just tried bitbake qemu-native -c build and it builds fine Dec 14 23:05:12 Sorr, I can't belive it Dec 14 23:05:20 you're the one who said you wanted to learn Dec 14 23:05:39 maybe uncorking your attitude would help Dec 14 23:05:52 NOTE: Tasks Summary: Attempted 164 tasks of which 137 didn't need to be rerun and all succeeded. Dec 14 23:05:54 Please list the "exact" steps that you took to build Dec 14 23:06:07 see method #2 Dec 14 23:06:29 i have git clones i just updated today Dec 14 23:06:45 NOTE: Tasks Summary: Attempted 5075 tasks of which 5074 didn't need to be rerun and 1 failed. Dec 14 23:06:50 usually build off master, but you're free to build a release branch Dec 14 23:07:03 I'm trying to follow the QSG Dec 14 23:07:18 if that doesn't work, I assume the whole prodict is crap Dec 14 23:07:45 maybe the quickstart is out of date, aor maybe that particular tarball is borked Dec 14 23:07:57 or maybe your build env isn't sane Dec 14 23:08:03 i have no idea Dec 14 23:08:18 How could my build env be not sane if I am following the QSG Dec 14 23:09:16 normal stuff builds fine for most people, so obviously something is amiss Dec 14 23:09:46 Please, I beg you. Start our on a vanilla Fedora x86-64 machine. The follow the QSG, and let me know how you progress Dec 14 23:10:04 i build on gentoo/debian/ubuntu Dec 14 23:10:13 don't have fedora handy Dec 14 23:10:23 Great. Das hilft mich ncht Dec 14 23:10:25 but other people do Dec 14 23:11:00 do it on a virtua machine Dec 14 23:11:10 try pasting the output of bitbake -e Dec 14 23:12:00 i native/chroot/vm setups, still don't have any fedora... Dec 14 23:12:06 *have Dec 14 23:18:32 So I tried to past the output, but there some much of it that it fails. Dec 14 23:18:43 Even in a pastebin Dec 14 23:20:08 and you have all host packages installed listed here? http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#required-packages-for-the-host-development-system Dec 14 23:23:03 WTF is all that ? Dec 14 23:23:40 I have just run that and suddenöly it seems I neeed to insatall 200 Mb of packages Dec 14 23:24:00 Yet, I have all the dependeincies specified in the QSG Dec 14 23:24:39 So, are you saying the QSG is a completely irrelevent piece of dreck, or what ? Dec 14 23:25:44 And anyway, none of those packages provide the missing X11 library anyway Dec 14 23:25:44 er, that's the same info that's in the quick start guide, just broken out for specific use cases... Dec 14 23:25:51 no Dec 14 23:25:54 it is not Dec 14 23:25:59 it is, I wrote it... Dec 14 23:26:05 buull Dec 14 23:26:09 Sorry Dec 14 23:26:11 well, I provided the list at any rate Dec 14 23:26:17 It is simply wrong to say that Dec 14 23:26:25 where are you looking then? Dec 14 23:26:32 I followed the QSG verbatim 5 times Dec 14 23:26:43 and ever time I fail at the same place Dec 14 23:26:55 no, where in the quick start guide are you getting a list that is different from that given in the link above? Dec 14 23:27:48 I am following this QSG: http://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html Dec 14 23:28:33 exactly as written Dec 14 23:29:16 right, and the list of packages given there is the exactly the same as "Essentials" and "Graphical Extras" in the reference manual section linked above Dec 14 23:29:32 What ? Dec 14 23:30:20 The essential and graphical packages you need for a supported Fedora distribution are shown in the following command: Dec 14 23:30:24 $ sudo yum install gawk make wget tar bzip2 gzip python unzip perl patch \ Dec 14 23:30:26 diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath \ Dec 14 23:30:28 ccache perl-Data-Dumper perl-Text-ParseWords SDL-devel xterm Dec 14 23:30:35 I did that Dec 14 23:31:07 right, so then you should have all that is needed installed Dec 14 23:31:31 But clearly I don't Dec 14 23:31:46 So, rather than blame me, why not try it yourself Dec 14 23:32:14 I'm not blaming you Dec 14 23:32:23 so, What is wrong Dec 14 23:33:26 I'm not sure, I can tell you I have done builds on F19 and not seen that error Dec 14 23:33:38 I can try one now Dec 14 23:33:52 And besides.....If all these stupid things are required, why doesn't the yocto build resolve and download them itself Dec 14 23:34:25 this is childs play Dec 14 23:35:14 we do download and build a lot of tools, but for some things it is better for the host system to provide them Dec 14 23:36:33 I have a Cmakae system that lets me do all of this already. BUT for some stupid marketing reason I am forced to used Yocto - bperhaps because the name is cute, or perhaps because my comapny has to kowtow to the Japanese - I am supposed to use Yocto. But from what I can see it provides absolutely nothing but more chaos and broken 'crap' that I have to deal with. Dec 14 23:37:16 BS on you last statement Dec 14 23:37:26 you know, if you want help from people you'd do well to be a bit more polite Dec 14 23:37:26 If you need it, you download it Dec 14 23:37:38 Come on Dec 14 23:37:46 I'm really trying here Dec 14 23:38:01 But I'm getting completely frustrated with this Dec 14 23:38:08 I can see that Dec 14 23:38:22 Yocto should be able to resolve everythign it needs Dec 14 23:38:38 why doesn't it do that Dec 14 23:38:53 My own, homegrown CMake system does that already Dec 14 23:39:01 it's not that simple Dec 14 23:39:15 really ? Dec 14 23:39:20 yes really Dec 14 23:39:20 Why not ? Dec 14 23:40:04 look, I'm in here on my weekend, if you want help with your problem I will try to help, but I'm not going to go through everything justifying it, sorry Dec 14 23:40:18 I appreciate that Dec 14 23:40:28 I understand completely Dec 14 23:40:34 I am on my own time too Dec 14 23:41:12 So, let's work together to try to figure this lunacy out Dec 14 23:42:08 Can you do voice ? Dec 14 23:43:07 no, I'm afraid not Dec 14 23:43:23 OK Dec 14 23:43:32 Well, how do we progress ? Dec 14 23:43:47 I'm starting a build here now Dec 14 23:44:05 what build ? Dec 14 23:44:49 I am running x86-64 Fedora 19 and would like to target qemux86-64 Dec 14 23:45:40 Now, why I would specify qemux86-64 rather than simply x86-64, I must admist I really don't understand Dec 14 23:46:03 that's just what the machine is called Dec 14 23:46:18 Yeh, it's dumb. Dec 14 23:46:25 it isn't Dec 14 23:46:32 qemu is an emulator Dec 14 23:46:52 if I buld an x86 I expect qemu to run it Dec 14 23:47:10 if I buld x86-64 I also expect qemu to run it Dec 14 23:47:16 we have qemux86-64 and genericx86-64; the distinction (mainly level of functionality) is a useful one Dec 14 23:48:04 if I build zilog6800, the of course I would expect a problem find a VM that can run that Dec 14 23:48:42 but if it is a supported target, it should buld, regardless of my ability to actually run the target Dec 14 23:50:57 do you understand ? Dec 14 23:51:35 I agree, it should build, but I don't think this has anything to do with the failure Dec 14 23:51:42 I do Dec 14 23:51:55 The failure is really fundamental Dec 14 23:52:29 it's apparently failing to find an appropriate libx11 on your system, though it thinks it should be there Dec 14 23:52:38 Exactly. Dec 14 23:53:05 If it needs a specific version of X11, it should FREAKING build it Dec 14 23:53:24 hpw complicated is that Dec 14 23:53:55 that's what thwe whole damned system is about Dec 14 23:54:23 When I buld for a target, I want the buld system to resolve the target dependencies Dec 14 23:54:44 I shouldn't have to resolve them myselve Dec 14 23:54:49 that doesn't work; we've had problems trying to do that in the past; I don't know the full details off the top of my head Dec 14 23:55:03 no of course you shouldn't have this failure, but every piece of software has bugs Dec 14 23:55:06 Really Dec 14 23:55:22 that's a üretty fundamental bug Dec 14 23:56:31 module ZZZ required libX (version ???) and doesn't resolve it ???? Dec 14 23:56:33 WTF is the build system doiing if it isnt't doing that Dec 14 23:56:46 well, if we run test builds on F19 (and our QA team does regularly) and we don't see this error, then how would we know to go and fix it? Dec 14 23:57:14 No, you are missing the point Dec 14 23:57:34 Everything is resolvable Dec 14 23:58:12 the whole point of a build system like Yocto is that it takes this resolution issue away from the developer Dec 14 23:58:46 I sould not have to worry about resolving the dependencies of a module that I include Dec 14 23:59:02 that's what Yocto is supposed to be doing for me Dec 14 23:59:23 this is not a missing dependency though Dec 14 23:59:32 Let'S be clear Dec 14 23:59:47 I am typing this on my "host machine" Dec 15 00:00:01 it is fedora x86-64 Dec 15 00:00:31 fedora 19 with the latest updates as of 13.12.2013 Dec 15 00:02:05 yes, I understand that Dec 15 00:02:40 For example, I want to build an app that runs on an ARM ARMv8-A (or something) Dec 15 00:03:36 Assuming Yocto supports that , I should simply specify that in some config, and start the build Dec 15 00:04:42 I have clearyl tried that already with a target of x86, x86-64, some weird variant called qemux86, and another one called qemux86-64 Dec 15 00:04:48 None of the builds Dec 15 00:04:56 they all fail at the same place Dec 15 00:05:07 none of them builds Dec 15 00:07:45 The manner in which they fail indicates that the build system is looking in *poison* directories. In other words, Since I am running x86-64 Fedora, and the bulld system is targetting qemux86, then it shoudl never look in my system for a link library. It should only ever look in its idea of sysroot Dec 15 00:09:19 Why would Yocto ever look outside of its own target sysroot environment for a library. That's simply wrong Dec 15 00:10:40 This is such a fundamental problem that I can't imagine what Yocto is doing Dec 15 00:10:48 other than something wrong Dec 15 00:18:42 it can't start building for the target until it's build some native tools Dec 15 00:19:01 that is why it is looking at your host system and that is why it fails in the same place no matter what the target is Dec 15 00:20:36 Native tools ? Dec 15 00:21:03 You meam something other than the toolchain ? Dec 15 00:21:30 Toolchiain being gcc, ld, nm, etc... Dec 15 00:21:46 if it needs it, it should download it and buld it Dec 15 00:22:00 or specify it as a prerequisite Dec 15 00:22:15 neither is happening Dec 15 00:23:42 Since neither sis happening, Yocto is broken Dec 15 00:39:39 Smigers: I am curious, do you have multilib binaries or libraries installed on your host machine? I have not read back, but it seems like that. Dec 15 00:44:10 SGW I am am sorry, but I don't understand your question Dec 15 00:46:42 Please provide some kind of shell command which would allow me to answer your question sensibly Dec 15 00:55:21 Smigers: rpm -qa | grep libX11.*686 Dec 15 00:55:32 Smigers: or actually, rpm -qa | grep libX11 Dec 15 02:15:02 well, FWIW I was able to build qemu-native on my F19 VM here... Dec 15 02:15:12 * bluelightning needs sleep **** ENDING LOGGING AT Sun Dec 15 03:00:00 2013