**** BEGIN LOGGING AT Tue Aug 30 02:59:58 2016 Aug 30 06:52:22 Hi all, is it possible to build the sdk for i686 and x86_64 with the same build? Aug 30 06:53:20 not sure about x86 but it worked for beaglebone Aug 30 06:53:32 just add -c populate_sdk Aug 30 06:55:23 is it possible to pass IMAGE_INSTALL variable via shell environment to bitbake ? Aug 30 06:56:16 iskander_work, of course this works, and you can also set the SDKMACHINE variable, but as the SDKMACHINE variable is discribed, you can set only one arch... thanks anyhow ;) Aug 30 06:58:02 i fear it's not that simple Aug 30 06:58:15 because IMAGE_INSTALL is aleays extended in local.conf Aug 30 06:58:21 always* Aug 30 06:58:29 i think bitbake initializes it Aug 30 06:58:46 and if i pass it via env then it won't be initialized by bitbake anymore Aug 30 07:00:18 i could of course append it to local.conf file in my shell script but i wanted to know if it is possible to extend it via shell env, i couldn't find anythin in the manual or google Aug 30 07:10:38 iskander_work: you could always edit your local.conf to append a different variable name to IMAGE_INSTALL, whitelist that variable, and set it from the environment Aug 30 07:11:51 What's Yocto's view on libtool la files and its dependency_libs field? Aug 30 07:12:25 Because honestly I think it's causing more trouble than it's worth, and I have a patch locally to just clear dependency_libs in all .la files, which solves all those problems Aug 30 07:13:13 neverpanic: thanks, good idea :) Aug 30 09:19:35 hi people, is it possible to create a meta recipe? Aug 30 09:20:01 a recipe that does only pull in other recipes as dependencies? Aug 30 09:22:05 mwarning: you mean a packagegroup? Aug 30 09:23:24 I do not know about packagegroups Aug 30 09:24:04 I just want to generate a opkg dummy package with some dependencies Aug 30 09:32:49 hi, can someone tell me how to switch between locales in my yocto build? Aug 30 09:33:16 I have included glibc-locale-* packages in my image Aug 30 09:42:30 frsc: i think its something with LINGUAS or so to be set in cont Aug 30 09:42:33 *conf Aug 30 09:44:23 mwarning: what you're describing is a packagegroup Aug 30 09:45:37 neverpanic: the packagegroup does not create a ipk file, afaik Aug 30 09:46:31 at least if there are only dependencies in it, i'll try to do a do_install in my package group in see if it creates a ipk then Aug 30 09:53:28 mwarning: yes it does Aug 30 09:53:44 and yes, those have dependencies, unless you didn't set RDEPENDS_${PN} in your packagegroup Aug 30 10:56:13 hello, I've been able to compile a running linux distribution using Yocto. I also added some simpe programs using cmake and wrapped it into bitbake recipes. Now I also want to include a shared library using cmake, however I am a bit lost now. Especially I am confused about how to set the install paths (and package distribution on linux in general). Aug 30 10:57:23 for example, that shared library should be included in other projects. So I somehow have to tell Yocto/Cmake, the dependencies and all that stuff Aug 30 11:00:51 Just use the defaults Yocto provides, should be fine Aug 30 11:01:05 And in the recipes that use the library, make sure to add DEPENDS += "your-library-recipe" Aug 30 11:01:20 Standard CMake methods to find libraries (find_package, find_library, ...) work Aug 30 11:14:56 LetoThe2nd: Thanks, I set IMAGE_LINGUAS = "de-de en-gb" and I also have the locales in /usr/lib/locales. I set LC_ALL=de_DE and LANG=de_DE, but still can't use German Umlaute in filenames: "touch bä" results in "b??" Aug 30 11:14:59 Any ideas? Aug 30 11:16:48 frsc: no idea, sorry. i only had that one buzzword on the back of my hea. Aug 30 11:37:23 LetoThe2nd: ok, thanks! Aug 30 11:37:52 frsc: good luck! Aug 30 11:39:18 nerverpanic was right, the opkg package was created in a different directory :> Aug 30 11:57:49 mwarning: that's an unfortunate misspelling, because it translates to "annoyingpanic" in german ;-) Aug 30 12:09:07 neverpanic: now that I see my typo... xD (and yes, I understand german) Aug 30 12:15:07 i can't build toaster-next, getting this error Aug 30 12:15:13 $ ./bitbake/lib/toaster/manage.py syncdb Aug 30 12:15:13 Traceback (most recent call last): Aug 30 12:15:13 File "./bitbake/lib/toaster/manage.py", line 8, in Aug 30 12:15:13 from django.core.management import execute_from_command_line Aug 30 12:15:16 ImportError: No module named 'django' Aug 30 12:15:26 any ideas what's wrong ? Aug 30 12:16:08 all previous steps from the manual succeeded Aug 30 12:25:47 How do I setup default locale on yocto Aug 30 12:27:03 currently im getting this error: "E: Unable to locate package locale-base-en-gb" Aug 30 12:27:28 paletteguy: check the LINGUAS configuration and talk to frsc, he was working on the same. Aug 30 13:36:01 I can't get this locale stuff working. I have the de_DE locale in /usr(lib/locale, and the environmet variables set, but I still get "Tue Aug 30 13:31:16 UTC 2016" from "date". Aug 30 13:36:20 What else is missing here? Aug 30 13:36:51 I'm having a problem with getting locale installed :S Aug 30 13:39:09 How to get locale-gen install on image ? Aug 30 13:45:56 paletteguy: I think there's no locale-gen. There's only localedef... Aug 30 15:01:11 I have recipe with SRC_URI="${GIT_MIRROR)/repo.git;protocol=ssh;branch=master". Now, if I set GIT_MIRROR = "git://git@mymirror.local/mirrors" bitbake parsing fails with "fatal: '/mirrors/repo.git' does not to appear to be a git repository.". OK. So I set GIT_MIRROR="git://git@mymirror.local:mirrors". But then it fails with "Could not resolve hostname mymirror.local:mirrors: Name or service... Aug 30 15:01:12 ...not known. What am I getting wrong here? Aug 30 15:02:14 The URL I use from a git command is git@mymirror.local/mirrors/repo.git and it works Aug 30 15:13:57 is there a bitbake setting so that it only does shallow clones of git repos? Aug 30 15:15:13 sveinse, do you need to use ssh for cloning or would anonymous git:// without any login also work? Aug 30 15:15:53 Cwiiis: nope. it's not really viable, as the recipe doesn't know the depth needed from the branch HEAD to the defined SRCREV we need, so we don't know what --depth to give clone Aug 30 15:16:06 gunnarx, I need it to be ssh Aug 30 15:16:11 Cwiiis: it is possible to have support for shallow git mirror tarballs, which i've done some work on Aug 30 15:16:50 kergoth: of course, makes sense - thanks Aug 30 15:16:51 so e.g. it'd download a 100mb tarball with just the bits for the current version if it's on the mirror, rather than a full 1gb tarball of the kernel git repository, and then use that directly instead Aug 30 15:17:05 sveinse, OK. Maybe try GIT_MIRROR="ssh://git@server/repo" Aug 30 15:17:07 there are patches on the bitbake list for this, but they're out of date, i'm sending new ones shortly Aug 30 15:17:24 kergoth: also, long time no see :) Aug 30 15:18:36 sveinse, so originally does git://;protocol=ssh work for you? Aug 30 15:19:22 I would try to drop "git@" from what you had, see if that works Aug 30 15:21:54 gunnarx: Yes, towards the original git server, it works (and it use GIT_MIRROR="git@server/dir/repo.git"). And manual git clone git@mirror/dir/repo.git also works fine (using ssh and keys) Aug 30 15:21:56 Hi! I am trying to have a variable with overrides depending on the platform, like this: Aug 30 15:22:05 UBOOT_CONFIG_LOADADDR = "test_2" Aug 30 15:22:14 well git clone git@ is different from git clone git://git@ Aug 30 15:22:21 UBOOT_CONFIG_LOADADDR_platform-one = "0x12000000" Aug 30 15:22:29 UBOOT_CONFIG_LOADADDR_platform-two = "0x18000000" Aug 30 15:22:30 git clone git@ is basically a shortcut for ssh:// Aug 30 15:22:59 That works great for usual recipes (the ones which get crosscompiled) but it is not working for a native recipe Aug 30 15:23:04 how could I make that work for the native ? Aug 30 15:23:37 gunnarx: yes, it is. So my question is what would the syntax be for this? Because I have understood that URI="git:// " means fetch a git repo, and protocol=ssh means ssh transport. Am I right? Aug 30 15:23:52 yes, that's my understanding Aug 30 15:24:15 I'm not understanding your question. If you say you have used GIT_MIRROR=git@server successfully, why are you asking about other formats that do not work. Aug 30 15:24:21 Can't you write it that way simply? Aug 30 15:32:43 gunnarx: The upstream git repo works with SRC_URI="git://git@server/dir/repo.git;protocol=ssh". But it does not work using SRC_URI="git://git@mirror/dir/repo.git;protocol=ssh" against my mirror, nor with ssh://. The git cmd line I have to use is "git clone git@mirror:dir/repo.git" <-- note the colon. If I put that in SRC_URI, bitbake crash with "list index out of range" Aug 30 15:32:53 sveinse: i think your issue is the mismatch between the two repo formats for git. user@host:path vs scheme://user@host/path. in the latter, as the separator between host and path is /, there's no way to, afaik, pass a relative rather than absolute path. i.e. ://git@host/path -> git@host:/path, not git@host:path Aug 30 15:33:47 so to get to work, i think you need a working absolute path to the repository rather than relative Aug 30 15:33:55 afk Aug 30 15:34:20 ok. (oh joy) Aug 30 15:34:22 how is the path relative? Aug 30 15:35:18 i just told you Aug 30 15:35:29 no you didn't Aug 30 15:35:36 okay, googel the defintiion of what a relative path is Aug 30 15:35:41 i'm not going to teach you unix 101 Aug 30 15:35:49 stop Aug 30 15:36:00 a relative path does not start with /, it's relative to the current path Aug 30 15:36:03 oh Aug 30 15:36:17 OK. Here's what I have tested: A) SRC_URI="git://git@mirror/dir/repo.git", fails on fatal: '/dir/repo.git' does not appear to be a git repo. Aug 30 15:36:20 when you git clone user@host:path, it's cloning that path relative to the git user's home directory, not an absolute location Aug 30 15:36:27 so again, try using an absolute path Aug 30 15:36:37 if you need to know more about what an absolute path is, read more about how paths work on unix systems Aug 30 15:36:48 see the aforementioned google Aug 30 15:36:57 again stop Aug 30 15:37:08 you have now answered my question: how the path is relative Aug 30 15:37:18 Or B) SRC=URI="git://git@mirror:dir/repo.git" stops on "Could not resolve hostname mirror:dir" Aug 30 15:37:19 thankyou for being clear, finally Aug 30 15:37:31 So I agree with kergoth Aug 30 15:38:21 Hmm.. How do I convince the admin for the git mirror to allow me to make symlinks on /... Aug 30 15:38:24 seems logical sveinse. I can only wish you luck, it's clear I'm not helping Aug 30 15:38:25 it was crystal clear to begin with to anyone who understands paths on linux or unix systems Aug 30 15:38:37 and you don't need a symlink, you just need to give the existing absolute path to the repository Aug 30 15:38:37 kergoth, you're acting like a prick, I don't know why Aug 30 15:39:00 it's not necessary Aug 30 15:40:16 kergoth: OOI, how is this handled with github or bitbucket that use the ':' notation in the URLs? Ah, you may checkout using http, is that it? Aug 30 15:41:41 github and bitbucket use custom ssh servers that probably don't even have a concept of a home directory Aug 30 15:42:01 i expect that's usually how it's resolved, either they allow clones via absolute path via ssh, or yeah, they also allow clones over a different protocol. it's possible i'm missing something, maybe there's an option in the fetcher to allow using a relative path for ssh, I'm not certain. it's a clear lack, setups using gitolite and the like rely on the relative clone Aug 30 15:44:19 Well, out git mirror use the same notation "git@mirror:dir/repo.git", which string-wise is the same as those repo-systems Aug 30 15:44:46 Yeah, just verified, GitHub doesn't have the difference between git@github.com:/user/repo and git@github.com:user/repo Aug 30 15:45:01 Just tested on github btw, git clone git@github.com/user/repo.git and git@github.com:/user/repo.git are equivalent Aug 30 15:45:06 sveinse, About HTTP: My original question to you was if you *had* to use SSH. If the servers you are using offer up any another (anonymous) clone method then that would be the easiest way right? Aug 30 15:45:11 jinx, neverpanic Aug 30 15:45:58 gunnarx: All of these use ssh (in this example) Aug 30 15:46:00 ^http(s) can also use authentication of course, but I guessed that you implied anonymous Aug 30 15:46:10 nope Aug 30 15:46:53 I don't know if you can clone a github repo (for that example) anonymously. I think you must be using http for that Aug 30 15:47:00 man git-clone, "/The ssh and git protocols additionally support ~username expansion" Aug 30 15:47:05 confused now by what you want to achieve so I'll drop it. Aug 30 15:47:58 Turns out GitHub didn't read that part of the documentation, but it should help in your case Aug 30 15:47:59 gunnarx: Well, I've got my answer. As for my goal, is to be able to use my mirror against some recipes. Aug 30 15:48:54 sveinse: have you tried git://git@mirror/~git/dir/repo.git ? Aug 30 15:51:22 neverpanic: Good proposal. No, bitbake croaks with IndexError: list index out of range Aug 30 15:51:31 I hoped this one worked :( Aug 30 15:51:50 Err, that sounds wrong. Do you have a backtrace? Aug 30 15:53:03 Yes.... but I gotta leave. A compulsory PTA meeting at my child's school is waiting..... I'll pick this up tomorrow Aug 30 16:20:21 hi, is anyone here aware of mirror to TI kernel repo? Aug 30 16:21:10 I am trying to build linux-ti-staging_4.4 but fetch task fails Aug 30 16:22:59 I tried manual clone, and it's been stuck on "counting objects" for 5 minutes or so Aug 30 16:27:01 maciejjo: By manual clone do you mean running "git clone" from the command line? Aug 30 16:29:50 hweaving: yes Aug 30 16:30:54 it's been 20 minutes since I ran the command, still "counting objects" Aug 30 16:31:30 maciejjo: Try "git clone --depth 1 git://whatever target_directory" Aug 30 16:31:41 That will do a shallow clone instead of downloading the entire internet Aug 30 16:33:54 ok, I added depth 1, but it's still painfully slow Aug 30 16:34:03 Is it at least making progress this time? Aug 30 16:34:23 Either their server is slow or their repo is massive, most likely Aug 30 16:34:23 same as before, counting objects Aug 30 16:34:55 when I clone from kernel.org it's much faster Aug 30 16:35:06 Sorry I wasn't more assistance Aug 30 16:38:10 must be something with server... I tried from machine in another location and itss just as slow Aug 30 16:39:53 What's the name of the repo? Aug 30 16:40:04 I assume you've also tried git:// vs. https:// Aug 30 16:40:07 git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git Aug 30 16:40:27 have not tried another protocol... maybe it will help Aug 30 16:40:48 Even the website is slow Aug 30 16:41:36 if I clone manually and copy repo to work dir, will it skip fetch? Aug 30 16:42:09 hi o/ Aug 30 16:42:54 I'm using poky and I want to add a native-package which use pthread. glibc in native toolchain has --disable-threads. Which ones am I supposed to use? Aug 30 16:43:31 maciejjo: I'm not sure if there's a stamp or something, I'll have to defer to someone else. I notice the TI site has a .tar.gz you can download, probably at slow speeds Aug 30 16:46:49 hweaving: thanks, suprisingly downloading tarball is pretty fast. I'll try to work with that Aug 30 17:33:55 kergoth: Hello, I hope you are doing good. We talked last week regarding the user of BUILD_CC and recipes which use part of their make to build components on the host so that these components can be run on the host for building additional .cpp files for the target. You pointed me to a file which I found in openembedded-core/meta/conf/bitbake.conf. I imagine if I this source i'm working on used Makefiles, I Aug 30 17:34:01 would replace CC with BUILD_CC for those particular make rules. Since, this project uses cmake as a frontend, I'm guessing I will need to do some twisting around of the cmake files. Aug 30 18:48:28 so my bitbake runs fine with multiple cpu's. This cmake project I'm trying to get working, can not build with multiple cpu's. Is there anyway to configure bitbake to use multiple cpu's for its work, but when it does this one particular make do it with one cpu? ie. make standalone works fine. bitbake make of this project fails because of multiple threads and poor dependency handling. Aug 30 19:07:30 hi guys Aug 30 19:07:40 trying to add a recipe which contains some prebuilt binaries Aug 30 19:07:45 hello Aug 30 19:07:53 and I get this Aug 30 19:07:53 Computing transaction...error: Can't install Aug 30 19:08:01 no package provides libgcc_s.so.1 Aug 30 19:08:11 but I do have a RDEPENDS on libgcc Aug 30 19:10:02 any thougts? Aug 30 19:10:08 thoughts :) Aug 30 19:13:03 gronor: does your libgcc provide libgcc_s.so.1, or possibly a different version of libgcc_s.so? Aug 30 19:14:21 neverpanic: is there anyway to tell bitbake to build with just one core for this troublesome cmake recipe? Aug 30 19:14:45 davis: er, what cmake recipe? Aug 30 19:15:17 we talked last week or week before about this cmake project I'm trying to get working in bitbake. Aug 30 19:15:38 i did not write this cmake project, im just rying to get it to build within bitbake Aug 30 19:15:53 if I build it stand alone will build. Aug 30 19:16:04 davis: your question just seems out of context for me, maybe I'm missing a piece of backlog? Aug 30 19:16:18 if I try to use it within the bitbake system, it really screws up. Aug 30 19:17:54 es tut mir leid, we talked a few times. You pointed out some problems with a cmake project using CMAKE_ vars instead of PROJECT_ style dirs Aug 30 19:18:12 it was breaking since all this stuff was fully qualified path names. Aug 30 19:18:17 that stuff has been fixed. Aug 30 19:18:43 now I have "$cmake ." working standalone and within bitbake Aug 30 19:19:07 yes, I remember that, but what's your current problem? Aug 30 19:20:34 but the projects poor implementation of dependcies breaks when its build like so "$ make -j8 " which is the default in bitbake. If build standalone "$make " it will work standalone. I'm just trying to get that worked out before I move on to the binaries in target form vs host form. Aug 30 19:22:41 Oh, so you want to disable the -j8? Aug 30 19:22:58 yes, just for this particular cmake project. Aug 30 19:23:50 There's an option for that, even though I currently don't remember the name Aug 30 19:23:59 Try searching the mega-manual for "parallel" Aug 30 19:24:17 there is something about PARALLEL_MAKE Aug 30 19:24:28 https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html Aug 30 19:24:39 its the 17 find of the word make Aug 30 19:24:50 i'll try to find more. Aug 30 19:24:56 vieln danke Aug 30 19:25:40 https://lists.yoctoproject.org/pipermail/yocto/2011-November/003344.html Aug 30 19:25:46 yeap, spot on here. many thanks Aug 30 19:26:57 since i have your attention, let me throw one more q your way. Aug 30 19:27:22 i have found some notes on BBCLASSEXTEND="native" Aug 30 19:28:59 Yes? Aug 30 19:29:12 this cmake project generates a makefile which builds some components, and then uses those components as exes to generate new src files. I think this BBCLASSEXTENDED and BUILD_BBCFLAGS si something I need to tie in. Do you know of any projects which use these? Aug 30 19:32:11 neverpanic, I see libgcc_s.so.1 in libgcc/5.2.0-r0/packages-split/libgcc/lib Aug 30 19:32:17 so it provides it Aug 30 19:35:42 davis: You don't need BBCLASSEXTEND to do this, the CMakeLists.txt just needs to be aware which component it needs for the host system and which for the target Aug 30 19:37:04 basically you need http://public.kitware.com/pipermail/cmake/2013-January/053252.html Aug 30 19:37:14 No idea how to get that right in bitbake, luckily I never had to Aug 30 19:37:19 in the generated spec of my package, I see this though: Requires: libgcc_s.so.1(GCC_3.5) Aug 30 19:37:26 autotools does it out of the box Aug 30 19:37:50 gronor: I can only assume it's a library mismatch, but I'm not sure Aug 30 19:38:12 gronor: If I were you I'd give however gave you the binary an SDK and ask them to compile using that. Aug 30 19:38:23 the spec also has this: Requires: libgcc_s.so.1 Aug 30 19:38:39 neverpanic: ill look into it. as now, i'm estatic that its a single build. this at least gives me something to compare vs standalone. Aug 30 19:39:05 yeah, I am trying to get the sources and compile them in yocto but I may not be able to get them; for the moment I need to make it work with the binaries Aug 30 20:55:01 neverpanic: are you still arund? Aug 30 20:57:48 is there something I need to get localedef to work Aug 30 20:57:55 i get this error: character map file `UTF-8' not found: No such file or directory Aug 30 20:58:30 first it did not find the directory: cannot read character map directory `/usr/share/i18n/charmaps': No such file or directory Aug 30 22:08:02 paletteguy: are you still here? Aug 30 22:09:21 if you return, do you know what charmaps are? I don't. If you can find out what provides it. The solution might be asimple as including requires or depends upon this package provider in your recipe. **** ENDING LOGGING AT Wed Aug 31 02:59:58 2016