**** BEGIN LOGGING AT Thu Feb 11 02:59:58 2016 Feb 11 08:30:58 good morning Feb 11 08:36:22 mckoan: good morning Feb 11 09:43:11 any ideas why I cannot build native valgrind ? http://pastebin.com/e2h6AWxN . Also tried bitbake glibc-dbg . nothing provides that, but it is required in recipe Feb 11 10:05:37 Hi everybody. I've got this packagegroup in my layer: http://pastebin.com/04q9LB4Q . Do you think upstreaming it might make sense? I think it's quite handy for the use case "install all supported timezones". Feb 11 12:04:00 I am behind a firewall and that's probably the reason why I cant clone YP. https has worked in the past. What do I do? Feb 11 12:05:09 is there a http mirror? Feb 11 12:11:03 cloning yocto doesnot work, it is just stuck at "Cloning into 'poky'..." please help. Feb 11 12:11:39 can you did it over git:// ? Feb 11 12:12:19 yes. Feb 11 12:12:47 Cloning other stuff from github and all works, CTtpollard Feb 11 12:13:10 try to clone git://git.yoctoproject.org/poky ? Feb 11 12:14:17 CTtpollard: still does not work. Feb 11 12:15:25 archer121: you can download archives of the releases here https://git.yoctoproject.org/cgit/cgit.cgi/poky/refs/tags Feb 11 12:16:11 So if I clone it, will I be missing updates? Feb 11 12:17:28 I'm unaware of ohw often the tarballs are updated Feb 11 12:18:07 But then it will be difficult for me to push the changes too ;-( Feb 11 12:19:47 if the http and git:// clone url's don't work, I'm not sure what your other options could be Feb 11 12:20:28 The download works. Feb 11 12:27:04 CTtpollard, hi when did it broke for you , I cloned fine today Feb 11 12:28:28 CTtpollard: works fine for me Feb 11 12:28:36 archer121 seems to be blocked by a firewall Feb 11 12:29:27 CTtpollard: yes it is. I am able to clone on a different machine on which I have ssh access. Feb 11 12:29:55 I am trying to set an ssh tunnel to bypass the firewall. Feb 11 12:31:16 good luck! Feb 11 12:36:16 archer121, try connect-proxy Feb 11 12:36:48 rZr: lemme google it. Feb 11 12:37:31 archer121, it's part of debian Feb 11 12:40:04 rZr: How do I use it? Feb 11 12:40:44 if your proxy uses CONNECT Feb 11 12:40:53 then just configure .ssh/config Feb 11 12:41:11 as explained in manpage ;) Feb 11 12:41:34 do I need a socks5 server? Feb 11 12:42:32 or 4 Feb 11 12:43:00 or HTTP-PROXY Feb 11 12:43:22 rZr: I have not used proxies before. How do I get any one of these? Google em? Feb 11 12:44:12 ask your sysadmin Feb 11 12:45:33 rZr: Okey, will have to wait till tomorrow, coz office time has ended. Thanks! Feb 11 12:59:04 archer121: instead of using: git clone -b jethro git://git.yoctoproject.org/poky.git Feb 11 12:59:25 use: git clone -b jethro https://git.yoctoproject.org/git/poky.git Feb 11 12:59:33 works perfectly Feb 11 12:59:42 wait a sec... Feb 11 12:59:53 of course you need to have HTTPS_PROXY variable set in your environment Feb 11 13:00:08 What should it be set to? Feb 11 13:00:19 your company's proxy :-) Feb 11 13:00:34 or if you have transparent proxy == not issue at all Feb 11 13:00:37 just try it Feb 11 13:01:00 at bash shell set Feb 11 13:01:16 export HTTPS_PROXY= Feb 11 13:01:47 after character '=' put your proxy IP or adress and optionally port if required Feb 11 13:05:10 I am a college student and it's evening. So I don't know if there is a proxy. but I did a nmap scan on a machine and it says "8080/tcp open http-proxy". So would it be the proxy? Feb 11 14:46:31 neko iz Bosne Feb 11 14:46:33 za razgovor Feb 11 14:46:35 bilo ko Feb 11 14:46:37 ??? Feb 11 15:12:17 Hi guys. Is there an easy way to configure if a want a busybox based system or a full fledged "bash, coreutils, util-linux, net-tools, etc" system? In other words, is it easy to have a busybox free image or should I manually install & replace all the additional components I need? Feb 11 15:13:47 unfortunately I see that quite some times installing the "full fledged" package doesn't always override the busybox default Feb 11 15:15:02 e.g. /sbin/hwclock -> /bin/busybox.nosuid even if util-linux-hwclock is installed Feb 11 15:17:23 busybox-free isn't trivial, but the proper package should have a higher priority than busybox Feb 11 15:19:06 rburton: another example is ifconfig: /usr/bin/ifconfig -> /bin/busybox even if net-tools is there Feb 11 15:20:00 rburton: so is it a good idea to file bugs / submit patches if proper package isn't overriding busybox? Feb 11 15:22:48 sounds like incorrect update-alternative priorities Feb 11 15:28:04 kergoth: in ifconfig case it looks like busybox links to /usr/bin/ifconfig while net-tools links to /sbin/ifconfig. Apparently /usr/bin/ takes precedence over /sbin/ Feb 11 15:28:58 ah, that's definitely a problem. i'd say you should definitely open bugs or submit patches for those, clearly bugs Feb 11 15:33:17 kergoth: rburton: the hwclock seems to be known though. http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-core/util-linux/util-linux.inc#n222 Wondering if the mentioned problem is documented anywhere... Feb 11 15:36:50 Mark Hatle 2012: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-core/util-linux/util-linux.inc?id=cb2a93ee321a277beacc8e9df97a5dc85f66d221 Is the guy still around? Feb 11 16:36:58 rburton: kergoth: bugs reported. https://bugzilla.yoctoproject.org/show_bug.cgi?id=9102 https://bugzilla.yoctoproject.org/show_bug.cgi?id=9103 Feb 11 16:37:00 Bug 9102: normal, Undecided, ---, jussi.kukkonen, NEW , ifconfig from net-tools doesn't override ifconfig from busybox Feb 11 16:37:01 Bug 9103: normal, Undecided, ---, ross.burton, NEW , hwclock from util-linux doesn't override hwclock from busybox Feb 11 16:37:24 reposting my morning question: I've got this packagegroup in my layer: http://pastebin.com/04q9LB4Q . Do you think upstreaming it might make sense? I think it's quite handy for the use case "install all supported timezones". Feb 11 16:38:59 diego_r: a better solution would be for tzdata to depend on all the subpackages Feb 11 16:40:04 oh, pn contains stuff already Feb 11 16:40:15 well, not a packagegroup, but maybe a metapackage Feb 11 16:40:36 ideally i'd have tzdata as a empty metapackage and put the current contents of tzdata into tzdata-core or something Feb 11 16:40:47 if we're going to sit there and call some zones more important than others Feb 11 16:47:04 rburton: you'd be called racist then. :) Better the "all or pick the ones you want" approach Feb 11 16:48:31 well we're already doing that Feb 11 16:49:03 rburton: working on grouping tzdata or just picking some zone over others? Feb 11 16:50:30 tzdata contains a subset of timezones Feb 11 16:54:29 rburton: should I try a patch for "tzdata as a empty metapackage and put the current contents of tzdata into tzdata-core or something" or does it risk to break things? Feb 11 16:54:47 diego_r: shouldn't break things Feb 11 16:55:18 rburton: but changes installed packages for those that now install "tzdata" Feb 11 16:55:27 yes Feb 11 16:55:36 that's just a matter of release notes Feb 11 16:56:14 ok. Will put that in my TODO list then Feb 11 18:13:27 Is there currently any functionality for having do_patch() to use 'git am' to apply patches (when appropriate)? Feb 11 18:14:21 When dropping into a devshell, I'd love to actually just see patches applied rather than ${S} have a dirty state. Feb 11 18:20:39 jynik: yes, set PATCHTOOL to git Feb 11 18:20:48 it's already used by some recipes that need it, e.g. for binaries in the patch Feb 11 18:20:52 or permissions Feb 11 18:21:21 kergoth: Awesome, thanks. Feb 11 18:21:22 also if you're doing active development with devtool, it puts the patches as commits in the repository Feb 11 18:24:28 kergoth: Perfect! Feb 11 18:31:53 kergoth: Is it a faux paus to add oneself to the CC list to yocto bugzilla items, just to be aware of changes in the issue? Feb 11 18:32:30 not that i know of. it does notify the existing owners, but there's no other way to keep yourself in the loop on certain issues Feb 11 18:32:38 i've certainly done t=hat on a number of issues, and not just in this project Feb 11 18:32:58 Okay... just didn't want owners and devs to be like "wtf is this guy doing?" Feb 11 18:33:00 i.e. i'm cc'd on a number of wine bugzilla issues for games i can't play on my mac :) Feb 11 18:33:01 * kergoth nods Feb 11 18:33:13 no one has complained about it to me yet, so i'd say go for it Feb 11 18:33:25 as long as you're not doing it to mass numbers of issues or something crazy Feb 11 18:34:26 Yeah... it's just one that I had a hacky workaround for.. Feb 11 18:35:14 Thanks for confirming though Feb 11 18:35:24 np Feb 11 18:35:57 note that i'm not sure if setting patchtool to git globally would work, depends on whether it uses your host git or git-native, could end up with circular deps. worth trying, though Feb 11 18:37:38 Indeed, I'll check that out. Just needed to know what to be searchign for in the manual :) Feb 11 18:37:45 *searching Feb 11 18:39:33 * kergoth nods Feb 11 18:41:38 Hello guyz, I am trying to build a lightweight OS for my development board. I read through the docs, everything is running fine except for a single error. Here are the logs: https://paste.ubuntu.com/15018040/ Feb 11 18:43:28 strange enough, I can't even change permissions manually. Feb 11 18:45:38 never seen that before, sounds like your umask is hokey Feb 11 18:45:58 I've found the issue Feb 11 18:46:25 I wanted a lot of free space, so I carelessly used an NTFS partition. Feb 11 18:46:50 that would be a problem, yes, not only permissions but also case insensitivity Feb 11 18:47:03 i see Feb 11 18:47:55 sp kergoth, should I start the build again? It would be great if I could copy it to an ext4 partiotion and continue... Feb 11 18:48:07 wipe tmp and start over Feb 11 18:48:29 if sstate is in use, and sstate dir is outside tmp, it won't buid everything from scratch, otherwise it will Feb 11 18:53:56 kergoth: PATCHTOOL = "git" in the recipe worked like a charm. Turns out setting it in local.conf was... explosive. Guess that make sense, as not all patches are in the git patch format... Feb 11 18:54:23 git apply can apply regular patches too Feb 11 18:54:26 but it's pickier Feb 11 18:54:34 patch will apply with fuzz, whereas git apply wants exact Feb 11 18:54:43 i imagine we have some that only apply with fuzz at the moment Feb 11 18:55:41 Yeah... didn't look at in much detail. Had 12 or so recipes that lost their minds when I had PATCHTOOL = "git" in local.conf. Temporarily tossing it in my recpipe was a simple "good enough" solution for me to keep my sanity. Feb 11 19:04:37 * kergoth nods Feb 11 20:23:19 hi, need some quick help... Feb 11 20:23:48 build a yocto for sama5d3xek, mounted root file system via nfs but cannot login.. Feb 11 20:24:12 did I set a password somewhere that i forgot about??? Feb 11 20:25:09 gettign the error message that says login can't set groups???? Feb 11 20:25:36 anyone here knwo why that is? Feb 11 20:25:44 sounds like you didn't extract it as root or something, lost permissions or suid on some binaries that need it Feb 11 20:27:17 ahh, I created a symbolic link to grab it at the normal place where I mount the nfs, but did not create that link as root/sudo. Feb 11 20:31:21 I recreated the symbolic link as sudo, but still ahve the same result. Feb 11 20:32:26 oh, and I did not extract it, using the directory as given in this command i used: sudo ln -s /home/ivor/yocto/poky/at501/tmp/work/sama5d3xek-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs Feb 11 20:34:19 is that directory not the complete rootfs with the correct rights? Feb 11 20:38:20 Do i need to run the "prepare-nfsroot sama5d3ex -g" command? Feb 11 20:40:30 no, it's not Feb 11 20:40:39 that directory has completely wrong permissions when used outside of pseudo Feb 11 20:40:44 most likely, yes Feb 11 20:41:04 or add tar.gz to your IMAGE_FSTYPES, bitbake the image, and extract the tar.gz from deploy/image/ as root Feb 11 20:41:15 ok, i see, can you point me in the right direction to find out how to do it? Dont want to waste your time if it written up somewhere? Feb 11 20:41:55 yeah, i can do that tar bit, thats how I used to do it before yocto, with buildroot. Feb 11 20:42:18 I just thought yocto sorted those manual tasks out somehow. Feb 11 20:42:59 yocto doesn't do anything as root, ever Feb 11 20:43:08 so how would it chown things to root for you in nfs? Feb 11 20:43:18 which is a good thing, of course Feb 11 20:44:00 yeah, i realise it was a stupid expactation. Feb 11 20:45:20 while i am being stupid, can i ask a newbie question? With buildroot, I used menuconfig to make changes to kernel and rootfs, what is the equivalent in yocto? Feb 11 20:50:53 there is no equivalent, really. you can drop into the kernel or busybox menuconfig, but there is no config UI for the build as a whole Feb 11 20:50:59 toaster provides a gui, if that's what you're looking for Feb 11 20:52:55 toaster did look cool, but i think i will stick to the command line. My main problem is just that i am so new to yocto, that I find myself searching in the wrong directories for stuff, and mounting the wrong rootfs ;>) Feb 11 20:53:24 busy going trought the ref manual now. Feb 11 20:53:38 I appreciate you help. Feb 11 20:53:44 thanks Feb 11 20:55:00 general rule of thumb, if you're poking around anywhere in tmp/ other than deploy/, you're on the wrong track Feb 11 20:55:15 the rest of the content is internal for bitbake to use, not for your consumption directly Feb 11 20:55:29 well, pkgdata is one exception, oe-pkgdata-util is extremely useful Feb 11 20:57:02 I am returning to YP after an year's gap. AM I not supossed to create a new layer to make all my custom changes? Why is it not in the new docs? Feb 11 20:58:29 creating a new layer is best, yes Feb 11 20:58:49 Kergoth, that was very insightfull comments about where to look, thanks, pretty sure that insight i will not get from the ref manual. Anyway, i foudn the tar.gz files in the images folder and will extract that as root and boot again. Feb 11 21:00:22 archer121: https://www.yoctoproject.org/docs/2.0/dev-manual/dev-manual.html#understanding-and-creating-layers doesn't look missing to me. Feb 11 21:03:36 Kergoth, thanks for your help, the extraction of the tar.gz as route sorted the problem. Feb 11 21:03:45 np Feb 11 21:09:28 khem: are you following the binutils regressions saga? Apparently there are quite a few issues and they are spinning a 2.26.1 soonish Feb 11 21:10:07 yes Feb 11 21:10:54 khem, just checking, I figured you where, i am chasing one of the issues with ld and u-boot. Feb 11 21:11:09 /where/were/ Feb 11 22:59:19 So, I'm thinking we should move the messages from bb.{debug,note,..} into their own logging domain Feb 11 22:59:50 then we could exclude all debug messages but those coming from that, which would mean mostly from the metadata Feb 11 22:59:53 can't do that today Feb 11 23:00:55 when you start splitting domains, timestamps become important to reassemble things though Feb 11 23:19:38 kergoth: i was mumbling about the need for logging domains to RP just last week Feb 11 23:19:54 each class needs a domain, bitbake needs several etc Feb 11 23:20:14 i was attempting to read package.bbclass's -DDD output but the pages of bitbake spew was tiresome Feb 11 23:20:26 bitbake has several, by module, but purpose sometimes crosses module boundaries, and we never make sub-domains for some reason.. Feb 11 23:20:41 yeah, a lot of those messages are just pointless, or the info can be found via other means Feb 11 23:20:50 i.e. what files are parsed, we can get that from bitbake -e nowadays Feb 11 23:21:05 need to audit every bb.msg or logging usage in bitbake Feb 11 23:21:07 will be a pain though Feb 11 23:21:09 it would help debuggign Feb 11 23:21:22 todays hack was to glue checkbashism to tinfoil Feb 11 23:21:52 surprisingly few bashisms in the sh fragments! Feb 11 23:22:10 https://gist.githubusercontent.com/kergoth/66928c528317de1a000b/raw/4a14c8e61f018a3afdaed586eead0c8a73f5cda3/- + bitbake -l Main seems to function Feb 11 23:22:26 still testing, though Feb 11 23:24:01 though, perhaps it should be BitBake.Msg, though that could be misconstrued as being about the messaging internals Feb 11 23:24:46 doing build testing with https://gist.github.com/kergoth/b7a8b250dcedca7df5bd Feb 11 23:29:13 How do you get every file parsed via bitbake -e? Feb 11 23:34:01 bitbake -e alone will show you global config files and classes, and bitbake -e will show you everything for that recipe. i expect bitbake-layers will probably show some more info. whether that's sufficient really depends on the use case Feb 11 23:35:17 I also think it'd be useful for the verbose logging for tasks to have a bit more control Feb 11 23:35:29 i.e. some way to show the output of a specific recipe or recipe+task rather than everything Feb 11 23:36:07 also today -v does both enabling of task output to the ui *and* changes the logging level, which i think could be potentially confusing, though 'verbose' is still accurate Feb 11 23:40:06 hmm, rather than only setting the colorizing log handlers on the fds we know are ttys, we could instead (or in addition..) filter out any color codes for fds that aren't Feb 11 23:40:23 then the caller could colorize the message in any way they like, in addition to the note/debug/warning prefix color Feb 11 23:40:28 and a non-tty would get them filtered out Feb 11 23:40:41 actually, colorama does that already, along with adding color on windows. might be worth pulling in Feb 11 23:41:26 was thinking it'd be nice to color the recipe/task prefix in knotty :) Feb 11 23:45:07 huh, wonder why knotty has special handling for NOTE when we can just set our log level appropriately to exclude them Feb 12 00:10:13 .. there's no readme in the bitbake git repo? that's just sad Feb 12 00:16:00 <_berke_> is there a user-space command that would do the reverse of what ubinize does, that is, take a file containing a UBI image and extract its contents? Feb 12 00:17:20 <_berke_> http://www.linux-mtd.infradead.org/faq/ubifs.html#L_ubifs_extract ← according to this it doesn't exist :( **** ENDING LOGGING AT Fri Feb 12 02:59:58 2016