**** BEGIN LOGGING AT Mon Jul 25 02:59:58 2016 Jul 25 04:36:42 sveinse: sstate is a lot of data depending upon your stack keep that in mind Jul 25 04:37:14 e..g if you have webkit or chromium based systems then it can very well span into multi gigabytes Jul 25 04:37:43 sometimes rebuilding is faster depending upon your network Jul 25 04:38:14 if you have gigabit connection between node and server thats different then fetching sstate over a DSL connection Jul 25 08:11:45 sveinse: relaize that PACKAGES_prepend = "${PN}-foo" is sometimes what you need, because files are put in the first package with a matching FILES_${PN}-foo. That means that an appended package can end up empty. Jul 25 08:13:49 * jubr reads further up and realizes PACKAGE_BEFORE_PN does the trick as well, but that one wasn't around in the days of old Jul 25 08:37:06 Hi all. I haven't been working on our yocto project for quite some time now and sadly forgott about 70% of what i've learned. We'd like to move our programs build using the SDK from make to cmake. I've found this http://stackoverflow.com/questions/38049377/how-to-build-a-sdk-with-yocto-including-cmake thread on SO. Now the answer states adding nateivesdk-cmake to the image. Now i was wondering, whether the image would be the right place to do that Jul 25 08:38:28 Basically we want to build the same system for different devices. Hence this would be different images or would it be the same image with different local.conf config? Jul 25 08:47:38 Anticom, the answer is yes, did it not work? Jul 25 08:49:24 each cmake invocation will use the image's sysroot, each image will have its own sysroot Jul 25 08:51:14 is it possible to exclude a specific recipe from package_classes? Jul 25 08:51:37 i.e, do not package 'x' with ipk? Jul 25 08:52:13 redengin: dunno whether it did (not) work. Haven't tried yet. I just wanted to make sure i'm doing the right thing and not just copy-pasting some potential willy-nilly answer. I'd like to keep our code base clean :) Jul 25 08:55:30 Anticom, truly clean would mean that the dependencies were exposed to bitbake, cmake will find them if given the correct sequence Jul 25 08:57:01 CTtpollard, if you don't want it, why are you including it? Jul 25 08:57:03 redengin: what dependencies? I thought adding that task would (only) supply a .cmake file i can include in my project to set up the cross-compiler toolchain Jul 25 08:57:36 redengin: I want ipk, but not for a specific package as it is throwing errors Jul 25 08:57:53 Anticom, cmake also has scripts to find the headers/libraries it needs for its project Jul 25 08:57:55 redengin: so in local.cong I currently package for rpm & ipk Jul 25 08:58:33 redengin: ah okay, thanks (= Jul 25 09:00:15 CTtpollard, you're saying ipk throws errors, but rpm doesn't? Jul 25 09:04:32 redengin: yep Jul 25 09:07:31 redengin: when was nativesdk-cmake added? We're using jethro and i'm unable to find it anywhere in the mega-manual Jul 25 09:18:09 good morning Jul 25 09:29:31 Anticom, I've not heard of cmake being adopted Jul 25 09:31:27 this seems to be the start https://git.congatec.com/yocto/poky/commit/b9b5aeffa60d94c4a6283c1232b015b6afde8c62 Jul 25 09:35:44 Thank's Jul 25 09:37:07 There's another issue i'm having for quite some time now... I'm having trouble with the svn fetcher. When i do `svn ls path/to/remote/repo` everything just works fine. But when i try to build our image bb is failing with fetching from that very svn repo Jul 25 09:37:57 failing how? Jul 25 09:38:07 i ran bb with -DDD and there's SSH_AUTH_SOCK, PATH, HOME and LANG exported before running `/usr/bin/env svn --non-interactive --trust-server-cert log --limit 1 --no-auth-cache svn://path/to/remote/repo ` Jul 25 09:38:20 "redengin: svn: E170001: Can't get username or password" Jul 25 09:38:27 redengin: "svn: E170001: Can't get username or password" * Jul 25 09:38:56 and before that with same errno "Unable to connect to a repository at URL 'theurl'" Jul 25 09:44:03 I have no clue where or what is going wrong exactly Jul 25 09:45:36 sounds like it doesn't know where to get usernam and password for the repo :-) Jul 25 09:45:36 run for the hills, you got hacked.... or slow down and figure it out Jul 25 09:48:30 LetoThe2nd: But it's got to be stored somewhere since i can access svn repos from my terminal without any additional hax / setup Jul 25 09:48:41 so i guess it's in my keyring Jul 25 09:48:49 but still bitbake is having a hard time using that information Jul 25 09:49:15 Anticom: then i'd say that the svn inside the build process just does not use the same enviroment, e.g. sysroots or something like that. Jul 25 09:49:26 (which makes perfect sense for me.) Jul 25 09:50:03 Well what i don't get is, that for all my collegues they don't have this issue Jul 25 09:50:05 is it possible to forcefully set PN in a recipe? Jul 25 09:50:08 I seem to be the only one Jul 25 09:50:32 Anticom: then you're doing something wong :-) Jul 25 09:50:51 LetoThe2nd: possibly my svn setup. Never used svn before ( - hate it still - ) Jul 25 09:51:11 i think i've modified some svn client config to store my credentials in the gnome keyring Jul 25 09:51:22 hence i got no problems accessing the repo from cli Jul 25 09:51:37 however bitbake doesn't seem to want to use that information Jul 25 09:51:54 CTtpollard: yes Jul 25 09:52:00 Is there any way to set credentials in my local conf etc.? Jul 25 09:52:16 i don't want to append the credentials to all the svn urls for obvious reasons... Jul 25 09:53:08 bluelightning: yeh.. a little slow this monday morning on my end, thanks! Jul 25 10:39:35 Why does bitbake logged output contain so many extra line shifts? Might it be when the subprocesses, such as make, flushes its stdout? (Which is does for every command it executes?) Jul 25 10:50:26 Hi everyone. Is it possible to change ownership of a file from one recipe to a user that is created with extrausers inside image bb file? Jul 25 12:14:34 hi, how is it possible that opkg files mypackage shows certain files, but if I do opkg search anyofthosefiles, then I do not get the package name back, just an empty output? Jul 25 12:16:04 opkg info mypackage also returns the right thing, but I also checked /var/lib/opkg/mypackage.info, etc, too. Jul 25 12:16:13 yet, opkg search myfile does not return anything. Jul 25 12:21:28 ok, I fixed that by --force-overwrite, but what still happens is that my /usr/lib/symlink does not get updated from the package. It still points to the "old" target on the filesystem Jul 25 12:21:43 is shipping symlinks from a package not supposed to work? Jul 25 12:26:02 is there a way to see what commands opkg runs? Jul 25 12:27:28 I want to see what it does with a symlink inside a package. Jul 25 13:31:19 Hi there, is there any way I can add gcc to my target image? I have tried adding commands such as; IMAGE_FEATURES += "package-management dev-pkgs" Jul 25 13:31:19 IMAGE_INSTALL += "autoconf automake binutils binutils-symlinks cpp cpp-symlinks gcc gcc-symlinks g++ g++-symlinks gettext make libstdc++ libstdc++-dev file coreutils" to local.conf but on the target device it still says gcc is not found. Jul 25 13:31:44 add tools-sdk to IMAGE_FEATURES is the easy fix Jul 25 13:32:03 ah perfect thank you Jul 25 13:36:29 zeddii, ping Jul 25 17:30:19 guys, should we be putting -swupd or -noswupd image on GT that leaves factory? Jul 25 17:31:49 as of now we don't have any swupd bundles prepared, but having -swupd potentially allows to do that in future Jul 25 17:31:54 what do you think? Jul 25 17:32:23 oh, that's a wrong channel Jul 25 18:00:29 Does anyone know where the default PACKAGES and FILES are specified in poky/bitbake? Jul 25 18:03:25 jmesmon: meta/conf/bitbake.conf Jul 25 18:04:06 Ulfalizer: thanks! Jul 25 18:04:40 np Jul 25 18:04:56 defaults are usually in either base.bbclass or bitbake.conf Jul 25 18:05:28 got it. Apparently my searching tool (ag) doesn't like looking in .conf files :(. Guess I'll need to go back to grep -r. Jul 25 18:06:05 jmesmon: i'm using ag too. i don't have the alias handy at the moment though. Jul 25 18:06:28 it's best to explicitly list the files you want it to search. i think i'm doing it with a regex with a bunch of cases, but not sure. Jul 25 18:07:23 a good list is something like .bb, .bbclass, .inc, .conf, .py Jul 25 18:07:35 yep, that sounds like a good idea. Jul 25 18:08:30 something like -G \.bb$|\.bbclass$|\.inc$... maybe Jul 25 18:08:44 might need some more quoting, but adjust till workable ;) Jul 25 18:09:14 I'll give it a go next time I'm looking for something :) Jul 25 18:09:31 having an alias for looking for files by name is nice too Jul 25 18:36:15 What is the best practice regarding us of 'PR'? Should it just be left unset so that bitbake can manage it internally most of the time? Jul 25 18:36:39 jmesmon: yes Jul 25 18:37:27 jmesmon: have you seen the note in the latest version of the reference manual? http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-PR Jul 25 18:38:19 i submitted documentation patches for a bunch of stuff that i've seen confuse people in practice Jul 25 18:40:30 Ulfalizer: I had not read those docs recently, but on reading them they don't quite clarify the situation. The first part of the text there implies, but doesn't state that they are automatically managed, but then the last sentence implies that only manually managing PR has been talked about. It doesn't really provide a concrete recommendation (other than noting that manually managing them is cumbersome and Jul 25 18:40:32 error-prone). Jul 25 18:41:49 jmesmon: good points. feel free to open a bug or better send an improvement patch Jul 25 18:43:29 hi guys Jul 25 18:43:41 there is a way to know if a recipe exists? Jul 25 18:44:10 something that I can create an annonymous function to set a VARIABLE? Jul 25 18:44:14 jmesmon: PR never changes by itself unless you use the PR service Jul 25 18:44:42 and even if it stays the same, the recipe will be rebuilt as needed Jul 25 18:44:52 any suggestions for clarifying it? Jul 25 18:45:35 Ah yes, I miss read the first bit. Missed the "conventionally". Jul 25 18:45:39 another way to put it is that bitbake itself doesn't care at all about PR. it's not a special variable to bitbake. Jul 25 18:46:16 it just happens that PR becomes the PKGR of the generated packages Jul 25 18:46:25 so if you're doing manual stuff with those, then it matters Jul 25 18:46:56 jmesmon: feel free to suggest improvements still that would make it clearer Jul 25 18:51:59 igor2: recipes can't see variables set in other recipes. each recipe has a "private" set of variables. Jul 25 18:52:36 probably best to reorganize it somehow so you don't have to check for the existence of the recipe directly Jul 25 18:52:38 but I want to know if a recipe exists Jul 25 18:52:48 might be messy to do Jul 25 18:52:57 humm.. Jul 25 18:53:23 I want to install a package only if it is provided for someone Jul 25 18:53:38 there is no easy way to do that? Jul 25 18:54:52 igor2: where is the package from? some separate layer? Jul 25 18:55:00 yes Jul 25 18:55:09 its from another layer Jul 25 18:55:13 if you control that layer, then you could add a .bbappend in it to add the package to the set of installed packages Jul 25 18:56:01 yes, I was thinking if there is another way without bbappend and without local.conf Jul 25 18:56:18 but it seems too much unusual Jul 25 18:56:19 aheuhauiea Jul 25 18:56:31 not that i know of. bbappend might be pretty clean. Jul 25 18:56:55 I was wondering if there is some global variable that have all packages or all recipes Jul 25 18:57:39 might be, but i haven't seen anything like that Jul 25 18:57:51 ok, thank you very much sr Jul 25 18:57:53 sir Jul 25 18:58:01 np **** ENDING LOGGING AT Tue Jul 26 02:59:58 2016