**** BEGIN LOGGING AT Mon Nov 20 03:00:02 2017 Nov 20 03:10:40 New news from stackoverflow: why u-boot source code remove while compiling? Nov 20 05:10:59 New news from stackoverflow: Where is the linux sysroot placed? Nov 20 06:41:12 New news from stackoverflow: Swig dependency error while building firmware with apparmor in openembedded Nov 20 09:07:18 Hi all, I'm having this issue "hostnamectl set-hostname XXX" Could not set property: Access denied // systemd-hostnamed[5140]: Failed to write static host name: Permission denied. Any idea? (hostname is correctly set) Nov 20 09:12:56 nayfe: I guess that your recipe it is trying to set this at HOST machine. Which it shouldn't. That's hte access denied. But this is just a guess... Nov 20 09:16:34 Tamis: sorry I dont get your message Nov 20 09:30:06 nayfe: You are building a recipe right? I said that your recipe it might tries to execute the command (hostnamectl set-hostname) at the host machine. And thus you get a permission denied. Nov 20 09:30:39 nayfe: If this is not the case. Then I cannot possibly know what is your problem. Nov 20 09:31:41 With sysvinit, I overwritten hostname.sh to set machine hostname to something computed with macaddress. Now i'm migrating to systemd, so I'm trying to use this service (https://github.com/RedPitaya/RedPitaya/blob/master/OS/debian/overlay/etc/systemd/system/hostname-mac.service) to do same kind of thing, without success Nov 20 09:54:37 Are rustaceans here? Need help https://github.com/meta-rust/meta-rust/issues/173 Nov 20 09:56:29 just giving the eclipse stuff another try, and it goes bitching: "configure: error: C compiler cannot create executables" Nov 20 09:57:04 any ideas on how do dig? plugin happily detected sdk and architecture, prfixes seem to be fine Nov 20 10:16:53 nevermind, i b0rk3d my paths! Nov 20 10:41:52 New news from stackoverflow: yocto pyro 2.3 depended package buil issue Nov 20 11:45:25 I am experiencing a problem with building multiple images in one command. When I do I get at least one package in image1.hddimg that shouldn't be there. In fact if I build alone, it doesn't show up. Where do I look to understand this issue ? Nov 20 12:22:14 Smit-Tay: start with log.do_rootfs for both cases, and see how they differ Nov 20 12:23:33 it's probable the two other images build something that the first image pulls in if it's available, and doesn't if it's absent Nov 20 12:34:08 log.do_rootfs ?? Sorry, where do I find this, in OE-Core, or in the build directory somewhere ? Nov 20 12:36:17 Why would the build of an image add something that it doesn't need ? Doesn't it know what is required, and what isn't, or does it just sweep up anything it finds in intermediate directories ? (That's damned sloppy) Nov 20 12:36:54 I've set up a M$-TFS build-agent on a Linux build-server. And now I'm configuring a Build Definition for automating our Yocto builds (our layers are in Git on TFS). Nov 20 12:37:13 I feel like a need a shower. ..and perhaps cry a little... Nov 20 12:37:35 Or both. Nov 20 12:38:06 Smit-Tay: tmp/work/...//temp/log.do_rootgs Nov 20 12:38:43 Smit-Tay: packages may recommend other packages to be installed I think, rather than require them :) Nov 20 12:39:39 kanavin: actually more often than not, it is some "clever" custom script in the end that does such "interesting" things Nov 20 12:39:50 thats at least my impression Nov 20 12:39:57 Yeah, that's what I'm worried about Nov 20 12:42:10 New news from stackoverflow: yocto pyro 2.3 depended package build issue || Yocto / Qt 5.6 - QSqlDatabase: QSQLITE driver not loaded Nov 20 12:43:48 Here's one of the offending packages mentioned in log.do_rootfs. Nov 20 12:48:09 why would openssl library need a python library? Nov 20 12:49:53 as far as oe-core master is concerned, openssl 1.0 does not require or even mention python Nov 20 12:50:01 probably some third party layer madness? Nov 20 12:50:46 which task should be appended to add capabilities using libcap? Nov 20 12:50:54 `pkg_postinst_${PN}` ? Nov 20 13:00:20 sourceforge - what the hell... Nov 20 13:02:11 http://downloads.sourceforge.net is redirecting to https://sourceforge.net/publish/ - could someone else confirm? Nov 20 13:08:15 gunnarx: yes, why is that a problem? Nov 20 13:08:46 (sourceforge on the whole is annoying, and we should get rid of any downloads from it at least in oe-core though) Nov 20 13:09:00 from what I can tell, poky, meta-oe and others have downloads.sourceforge.net as the default URL for SOURCEFORGE_MIRROR, hence no tarball downloads work unless you have other mirrors. Nov 20 13:10:17 but maybe I'm missing something? I anyway tried to fetch a missing package from the only URL I knew which was downloads.sourceforge -- doesn't work Nov 20 13:12:12 gunnarx: I just tried to fetch rng-tools, and it's working fine Nov 20 13:12:22 odd Nov 20 13:12:27 URL? Nov 20 13:13:35 DEBUG: Fetching http://downloads.sourceforge.net/gkernel/rng-tools-5.tar.gz using command '/usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /media/disk2/downloads-poky 'http://downloads.sourceforge.net/gkernel/rng-tools-5.tar.gz'' Nov 20 13:13:35 DEBUG: Fetcher accessed the network with the command /usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /media/disk2/downloads-poky 'http://downloads.sourceforge.net/gkernel/rng-tools-5.tar.gz' Nov 20 13:13:57 just picked a random recipe in oe-core Nov 20 13:14:36 it does a single redirect to a mirror, and then downloads fine Nov 20 13:15:08 Let me try again Nov 20 13:15:43 You're right, it works now. Nov 20 13:16:49 Debian runs a redirector specifically to hand out stable sf download URLs Nov 20 13:17:01 https://wiki.debian.org/debian/watch#SourceForge Nov 20 13:17:09 Anyone using myhostname from systemd ? i addend PACKAGECONFIG_append = " myhostname" , my nsswitch.conf contains myhostname module, but when i ping $(hostname) it does not resolve it Nov 20 13:17:13 ramcq, that's useful, and not surprising Nov 20 13:17:35 Not too long ago *all* the mirrors seemed to be taken down at the same time Nov 20 13:18:07 sourceforge is kwalitee Nov 20 13:19:04 thanks anyway kanavin - back to what I was working on (improving local mirrors, coincidentally ;) Nov 20 13:19:37 gunnarx: cheers Nov 20 13:19:57 Maybe yocto/oe should consider the Debian URL... Nov 20 13:51:35 gunnarx: we already do in many cases Nov 20 13:58:57 ramcq: the redirector is unnecessary Nov 20 13:59:05 sf.net already provides one in their system Nov 20 14:00:00 ramcq: c.f.: https://fedoraproject.org/wiki/Packaging:SourceURL#Sourceforge.net Nov 20 14:01:22 ah, I see you tried that and it didn't work periodically... Nov 20 14:06:55 argh, PACKAGES_DYNAMIC stuff ... need to add libnss-myhostname splitted package ... Nov 20 14:12:25 New news from stackoverflow: how build the squidguard recipe in open embedded core Nov 20 14:23:47 When install debian I have apt-get/yum from internet , but in yocto, this capabilities do not function (only from server). Any idea why ? Nov 20 14:25:05 ranran: http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#using-runtime-package-management Nov 20 14:28:14 ranran: you can't install packages from debian on a yocto system that is using dpkg Nov 20 14:34:54 rburton, I mean that even if I configure yocto with apt-get or yum, I don't have internet server for the runtime packages (imx6) , only if I create my own server Nov 20 14:35:04 of course Nov 20 14:35:21 as we discussed last week, bitbake doesn't start a web server Nov 20 14:35:22 but in debian I do have internet package manager server Nov 20 14:35:38 erm, no Nov 20 14:35:53 if you build packages on debian you don't magically get a web service sharing them Nov 20 14:36:06 there *is* a public feed of packages as that's basically what the point of debian is Nov 20 14:36:17 if you want a server sharing the packages then start one Nov 20 14:36:27 installing and configurating say lighttpd takes about a minute Nov 20 14:37:11 yes, I mean, if I install debian on imx6 I have public feed. But in yocto image, there is non. Nov 20 14:38:02 ranran: yocto is not a distribution, but a toolkit to create one. you create your own distribution when you build an image, and so you are responsible for making a package feed as well. Nov 20 14:38:32 OK, I understand. I hoped I missed something.... Thanks Nov 20 14:38:32 ranran: you simply can't have 'public feed' in yocto, as everyone has different settings which produce different packages Nov 20 14:38:48 OK, I got it,,, Nov 20 14:39:02 kanavin, Thanks Nov 20 14:40:42 ranran: btw it is not that difficult to setup a public server :) Nov 20 14:46:36 Im new to yocto, and am looking for the yocto-bsp script, but cant find it? Do I need a meta-intel bsp for that script? (am building for freescale, so I have meta-freescale atm) Nov 20 14:47:51 (i.e is it just avail for meta-intel?) Nov 20 14:51:53 nollan> indeed, did you follow https://github.com/Freescale/fsl-community-bsp-platform/tree/rocko ? Nov 20 14:53:20 nayfe: thanks for that link. Still a bit overwhelmed over the amount of info to process for a successful build. Nov 20 14:54:11 nollan: yep yocto has nice learning curve :) Nov 20 14:54:45 nayfe: so that link you provided is the way to go for freescale? Nov 20 14:55:11 I need another layer as well for my changes (call it app-layer) Nov 20 14:55:49 I guess Im asking how to make another layer on top of freescale bsp Nov 20 14:55:56 according to practice Nov 20 14:56:04 nollan: freescale has two paths, officiel releases and community releases, but both are linked as freescale includes community contributions into there releases from time to time Nov 20 14:56:44 nayfe: ok, i see, so the meta-freescale is the official, but prolly has limited hw support? Nov 20 14:57:40 nollan> nop it's community :) Nov 20 14:57:58 oh Nov 20 14:58:03 nollan: do you know about google repo tool for git ? Nov 20 14:58:12 sure Nov 20 14:58:29 nollan: so here you have minimal layers for freescale https://github.com/Freescale/fsl-community-bsp-platform/blob/rocko/default.xml Nov 20 14:58:43 you have to adapt it to add your custom layers Nov 20 14:59:00 Ok, so no yocto-bsp then :/ Nov 20 14:59:30 nayfe: thanks tho. now I know where to look at least :) Nov 20 15:00:01 np :) Nov 20 15:18:59 Hi there! I'm trying to get a serial keyboard to work on an embedded PC running yocto. For that, I believe that I need the program "inputattach" from the package "linuxconsole". Am I right, that I need a recipie that contains linuxconsole? Which one? Nov 20 15:19:11 Do I need a layer that contains the recipie? Which one? Nov 20 15:26:18 lukeer: just search the layer index Nov 20 15:26:22 layers.openembedded.org Nov 20 15:38:07 ain't a native stuff to have serial keyboard support ? with MACHINE_FEATURES keyboard and serial ? Nov 20 15:39:10 The search seems to work on layer names and layer descriptions. I have no idea how to search for a layer that contains a given program or package. Nov 20 15:43:40 But, in the branch "OE-Classic", there is a recipe "linux-input". Its recipe file "linux-input_cvs.bb" contains a line "install evtest inputattach jstest jscal fftest ${D}${sbindir}" Nov 20 15:44:12 lukeer: that is years out of date Nov 20 15:44:20 lukeer: OE-classic is so absolutely outdated that you should never look at it unless you *EXACTLY* know what it means Nov 20 15:44:29 Is there a command "install" in current poky? Or has it passed way with OE-Classic? Nov 20 15:45:10 a command "install"? Nov 20 15:45:12 passed away, I meant. Nov 20 15:45:15 what would that do? Nov 20 15:45:35 Install the given programs, I hope. Nov 20 15:45:37 lukeer install is existing in poky Nov 20 15:46:01 huh? Nov 20 15:46:36 install -d -m ... etc Nov 20 15:46:58 lukeer: are we talking about runtime package management, or are we talking about the "install"-helper tool that programs use to set owners and rights? Nov 20 15:47:02 So, I could "install inputattach a-path-I-guess" like the ancient oe-classic script did? Nov 20 15:47:09 lukeer: i think solution here could be based on uinput and some udev rules Nov 20 15:47:50 I have never heard of both u* things. Nov 20 15:47:53 lukeer: if all fails, just write your own recipe :) Nov 20 15:48:02 it is not hard, and a useful experience Nov 20 15:48:33 lukeer: you can copy/paste http://cgit.openembedded.org/openembedded/tree/recipes/linux-input folder into custom layer and include it in your image if you want to use inputattach Nov 20 15:48:56 I'm trying to use a linux driver "sunkbd". inputattach knows that keyboard. It has a command-line switch for it. Nov 20 15:50:23 nayfe: that recipe is over 11 years old. I would not give such advice to a newbie :) Nov 20 15:53:00 Thank you. What advice would you give a newbie that needs the keyboardattach program? Nov 20 15:53:18 nayfe Nov 20 15:53:29 kanavin indeed Nov 20 15:53:49 nayfe: Is there a documentation for building a custom recipe? Nov 20 15:54:03 kanavin: Sorry. Nov 20 15:54:13 lukeer: I think your best course of action is to take the latest tarball from here https://sourceforge.net/projects/linuxconsole/files/ and write a recipe for it Nov 20 15:54:24 lukeer: yes; the yocto manual Nov 20 15:54:30 lukeer: you can read www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html Nov 20 15:55:01 lukeer: depending on your machine there are some good e-books :) Nov 20 15:55:37 lukeer: you can check youtube for ELC ELCE courses too Nov 20 15:55:47 very instructive Nov 20 15:56:26 hi guys, is this https://stackoverflow.com/questions/36318491/how-to-build-qt-with-qtwebengine-support-using-meta-toolchain-qt5 still valid for yocto-morty ? Nov 20 15:57:36 I have something to read. Thank you guys for now. Nov 20 15:58:03 zero_note: you need to try and see, no? Nov 20 16:01:24 When dnsmasq and systemd-resolved are installed, dnsmasq fails to start cause it looks at /etc/resolv.conf which is not created yet by systemd-resolved. I'm new to systemd, so don't know if it is a valid conf., but if it is valid, maybe we need to add After=systemd-resolved.service in dnsmasq.service ? Nov 20 16:01:49 nayfe: I vaguely remember we had a patch and a bug for something like this Nov 20 16:02:08 nayfe: if you could do a little search on oe-core archives? Nov 20 16:02:43 kanavin: of course :) , but prior to rebuild an entire sdk, which, you know is a task that need lot of time especially on a mid-power machine like mine, it could be useful to know if that link is still valid OR other there are updated infos about Nov 20 16:03:18 nayfe: but if dnsmasq.service is coming from upstream, and doesn't have this, then maybe you should raise it with upstream first? Nov 20 16:03:32 nayfe: surely it's not just yocto's problem Nov 20 16:03:48 zero_note: sorry, I forget sometimes that not everyone has 44 cores :) Nov 20 16:04:24 zero_note: your chances are probably better if you shoot the question where meta-qt5 people hang out Nov 20 16:04:59 kanavin: np! you lucky with your 44 cores! :) Nov 20 16:05:10 zero_note: guess who is my employer ;) Nov 20 16:05:17 kanavin: that one ? http://lists.openembedded.org/pipermail/openembedded-devel/2016-April/107049.html Nov 20 16:05:35 kanavin: its not the cores, its the ram. (/me eyes the build stuck on perl, another time again) Nov 20 16:06:00 LetoThe2nd: that's why I have 64 gigs of it Nov 20 16:06:50 if for some twisted reason, llvm and qt5 start building at the same time, then it's the only way to avoid crawling to complete stop Nov 20 16:06:53 kanavin: lol, my 8 cores and 16gb are nothing in compare :D Nov 20 16:07:12 (llvm, qt5, or webkit) Nov 20 16:07:17 kanavin: /me mentally nails it with 128G EXX :-) Nov 20 16:07:55 zero_note: fortunately lesser cores == less ram used Nov 20 16:08:24 zero_note: so don't increase the cores before you add ram, or you'll run out of it in masisvely parallel c++ builds Nov 20 16:09:23 nayfe: yes, but I think there was something more recent on the same subject... memory is fuzzy Nov 20 16:09:35 can't keep an entire archive of mail in my head Nov 20 16:10:34 LetoThe2nd: I've yet to exhaust 64 gigs though, how can you do it? Nov 20 16:10:57 kanavin: yeah I know...we have a more powerful machine with a 24cores intel xeon and 32gb, but I can't (to be honest I don't want to) use it for "debugging" purposes Nov 20 16:10:58 32 gigs are easily saturated Nov 20 16:11:17 kanavin: two builds with lots of caching, something like that. Nov 20 16:11:37 kanavin: but actually, i just don't care. it was just a classic trolling "more is more" statement Nov 20 16:11:38 zero_note: when working with yocto, any developer should have a machine like that - doing massive rebuilds is simply a fact of life Nov 20 16:12:16 LetoThe2nd: I do, like I said 32 gigs are exhausted by webkit, and if llvm is there as well then mercy me Nov 20 16:14:39 kanavin: and you're right! fun fact: one of our customers in the first days of the project has provide me a 2core+2thread 8gb laptop for the yocto builds saying "that's all you'll have to use" Nov 20 16:15:23 kanavin: provided* Nov 20 16:16:03 zero_note: then you could tell the customer right then: 'your project will never ship' Nov 20 16:16:47 * LetoThe2nd advises to pick customers wisely Nov 20 16:17:31 kanavin: lol I wish I could :D Nov 20 16:19:34 zero_note: Get them to spring for an AWS EC2 instance. Nov 20 16:20:50 Get all the horsepower you want, ezpz Nov 20 16:25:40 majuk: actually their IT department is a complete disaster...just to say that they're stuck with a really old virtualization system called "oracle virtual machine", unmantained and full of bugs Nov 20 16:33:22 kay Nov 20 17:57:54 is there a command i can run on the yocto image like "dpkg-query -l" that will tell me what is installed in the yocto linux image? Nov 20 18:57:13 zarzar1: inside the image? dpkg or rpm or opkg, depending on what package manager you picked (assuming you have package-management in IMAGE_FEATURES, otherwise the tools are removed) Nov 20 18:57:51 ok i guess there is no package management Nov 20 18:58:11 cat deploy/images/xxx/.manifest ? Nov 20 19:40:36 nayfe: looks like there is no manifest file Nov 20 19:40:46 but thanks for the suggestio Nov 20 19:40:48 n Nov 20 19:41:38 btw i read after that you were looking for command in running image, and not bitbake environment Nov 20 19:41:52 ok np Nov 20 22:13:51 New news from stackoverflow: mtd-utils error during yocto build Nov 20 23:34:46 * paulg wonders at what point the yocti bot got a stackoverflow plugin Nov 20 23:44:39 blame Crofton Nov 21 02:44:32 New news from stackoverflow: glib install for arm , and double path issue **** ENDING LOGGING AT Tue Nov 21 03:00:00 2017