**** BEGIN LOGGING AT Mon Mar 14 02:59:58 2016 Mar 14 07:49:16 Hi. I'm writing a recipe for a repo which has make file. This is by recipe --> http://pastebin.com/F3rYEyTa Mar 14 07:49:53 But I'm facing this error --> DEBUG: Executing shell function do_install | make: *** No targets specified and no makefile found. Stop. | WARNING: exit code 2 from a shell command. Mar 14 07:50:15 bitbake -c devshell is taking me to correct path and there is a makefile there. Mar 14 07:50:22 What am I doing wrong? Mar 14 07:53:09 Hi. I'm writing a recipe for a repo which has make file. This is by recipe --> http://pastebin.com/F3rYEyTa Mar 14 07:53:17 But I'm facing this error --> DEBUG: Executing shell function do_install | make: *** No targets specified and no makefile found. Stop. | WARNING: exit code 2 from a shell command. Mar 14 07:53:27 bitbake -c devshell is taking me to correct path and there is a makefile there. Mar 14 07:53:41 What am I doing wrong? Mar 14 08:03:28 LetoThe2nd: Hi there... I have installed the Compiled SDK script from the deplay/SDK folder. But when I set up Eclipse I can not seem to find "Yocto Project ADT" under Window-> Preference ... any ideas?> Mar 14 08:26:37 rtrt: some notes, you don't need to `inherit logging`, it's already there, replace make with oe_runmake, possibly move the make call to do_compile() {...}, remove systemd from depends, `inherit systemd` instead, also FILESEXTRAPATHS is not needed here (iirc ${PN}-${PV} already searched) Mar 14 09:27:54 Hi all. I'm still having issues with sshd in conjunction with systemd. I'm trying to figure out, what's going on, but i'm kind of stuck: http://pastebin.com/nsxuVV1k Mar 14 09:29:00 For example i don't get, why sshd can't bind to 0.0.0.0:22 or why init is listening on :::22 Mar 14 09:32:06 Anticom, message is "address already in use" are you sure you don't have another ssh server running Mar 14 09:32:16 (dropbear, openssl...) Mar 14 09:32:47 if not, then you need to check who is already using that port, I can never remember the command to do that (I think it's netstat) google will tell you Mar 14 09:37:24 boucman_work: look at my paste ;) Mar 14 09:37:29 I've ran netstat already Mar 14 09:37:36 there is no one listening on 0.0.0.0:22 Mar 14 09:38:39 also there is no other sshd instance running already. checked that too of course Mar 14 09:39:19 What i also don't get, that eth1 doesn't configure automatically. After boot i have to run ifup eth1 first Mar 14 09:47:30 you ran netstat -u, it only lists udp but ssh is tcp iirc Mar 14 09:47:42 oh wait, my bad.. Mar 14 10:00:07 LetoThe2nd: Btw in the bitbake manual, I'm missing how comments work. I just realized that you can't place a comment after a variable assignment in the same line. Shouldn't this be documented somewhere in the "Basic syntax" section? Mar 14 10:01:36 Anticom, it's very weird, you don't have an eth0 at all... I don't know how that can happen... Mar 14 10:06:28 Hey soo I have successfully installed the ADT from the Yocto website... but if I open Eclipse and go Window->Preferences ... I still can not see Yocto Proct ADT and so I can not set the rest of the system up. Any ideas? Mar 14 10:06:37 How do I get Eclipse to see the ADT installation ? Mar 14 10:07:23 Hi. It there a way to set the DL_DIR from an ENV variable which I could set in my .bashrc? Mar 14 10:07:43 it seem Mar 14 10:08:13 s that env variables aren' accesseble in the local.conf Mar 14 10:08:24 aren't Mar 14 10:10:35 Jeena: there is a way, gimme a sec to look into the bitbake refmanual Mar 14 10:12:19 I tried with export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE DL_DIR" but it only was empty when I did DL_DIR ?= "${TOPDIR}/downloads" Mar 14 10:13:25 Jeena: that syntax won't do what you think it does, you should do Mar 14 10:13:32 Jeena: IIRC you can provide such variables directly in the bitbake invokation Mar 14 10:13:48 BB_ENV_EXTRAWHITE_append += " DL_DIR" Mar 14 10:13:57 but in your case it should work anyway... Mar 14 10:20:00 and then I should do DL_DIR ?= "${TOPDIR}/downloads" and it would pick up the one from the env? this doesn't seem to work Mar 14 10:20:58 it always takes the ${TOPDIR}/downloads instead of the env one Mar 14 10:21:49 Anticom, how would I provide it directly in the bitbake invokation? Mar 14 10:24:14 hi guys Mar 14 10:24:30 how does yocto handle big.LITTLE archs? Mar 14 10:24:48 I am trying to compile for a big.LITTLE cortexa15.cortexa7 Mar 14 10:25:06 and can't find an appropriate tune for this Mar 14 10:25:44 Jeena: bitbake -e DL_DIR=/path/to/dldir i think Mar 14 10:27:44 -e just shows the env as far as I understand Mar 14 10:28:52 Jeena: it also explains how it reached the state, i.e what file modified the variable Mar 14 10:29:04 Oh, you're right, mb. However you should be able to export DL_DIR directly: https://www.yoctoproject.org/docs/2.0/bitbake-user-manual/bitbake-user-manual.html#passing-information-into-the-build-task-environment Mar 14 10:29:32 i've never used bitbake's environement passing mechanicism, so I'm not sure how they work Mar 14 10:30:00 from what I read, you should set BB_ENV_EXTRAWHITE in your shell-env and also set DL_DIR in your shell-env Mar 14 10:30:06 and it should work magically Mar 14 10:30:38 but since that's what you do and it doesn't, I agree with Anticom, we would need to see what bitbake -e has to say about the DL_DIR variable Mar 14 10:31:17 boucman_work: well i proposed -e would set an env var. in that i was wrong ; Mar 14 10:31:18 ;)* Mar 14 10:34:59 hehe Mar 14 10:35:45 however i've learned to love -e for debugging Mar 14 10:35:52 just need moar coffee :-) Mar 14 10:41:16 Hey I can not get Yocto ADT or Yocto Project ADT options in ECLIPSE - Windows->Preferences ... I is just not there Mar 14 10:41:42 this is my env https://jeena.net/t/env.txt Mar 14 10:42:46 Jeena: for me? Mar 14 10:48:02 cart_man, no ^^ Mar 14 10:58:18 ok, DL_DIR is in BB_ENV_EXTRAWHITE Mar 14 10:58:57 but BB_ENV_WHITELIST is not in the environement at all, that's bizarre Mar 14 11:00:18 I don't know at this stage, you need a bitbake expert/developer of higher level than I am... Mar 14 11:00:58 Hey I can not get Yocto ADT or Yocto Project ADT options in ECLIPSE - Windows->Preferences ... It is just not there Mar 14 11:02:46 hm ok thanks anyway boucman_work Mar 14 11:08:33 That is so strange... i can do ssh root@127.0.0.1 on the device. systemctl status sshd.socket looks fine too. I guess its some kind of firewall ruining my day. What are there again? iptables, mactables... anything else? Mar 14 11:09:20 boucman_work: BB_ENV_WHITELIST according to the docs just whitelists, what exported variables will be passed to BB from what i've read in the bb docs Mar 14 11:09:27 you have to export the whitelisted var aswell Mar 14 11:09:55 ^^^ might be interessting for you aswell Jeena https://www.yoctoproject.org/docs/2.0/bitbake-user-manual/bitbake-user-manual.html#var-BB_ENV_WHITELIST Mar 14 11:41:23 hm it seems systemd-networkd is missing :/ Mar 14 12:06:47 Hi. Will yocto take care of upstream changes if I use ${AUTOREV} ? Mar 14 12:08:55 rtrt: yocto won't for sure. i guess you mean bitbake on behalf of the poky reference distribution, right? ;-) Mar 14 12:10:12 rtrt: according to http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#platdev-appdev-srcrev this holds true, but generally its a very, very bad idea to use that in production, because you instantly lose reproductibility of the build process. Mar 14 12:23:01 rtrt: i actually use ${AUTOREV} but only for software that we develop in house for particular project Mar 14 12:23:26 anything 3rd party has a fixed revision (if pulled from git) Mar 14 12:24:52 keep in mind that if your git server is not reachable you will run into troubles Mar 14 12:28:30 Hello, I was looking at rootfs.py and it appears that only OpkgRootfs respects the ROOTFS_POSTINSTALL_COMMAND variable. Is this intentional or bug or am I reading things wrongly? Mar 14 12:31:32 Is there a "simple" list of all attributes i can give a package in a recipe? Mar 14 12:32:03 the manual is nice and verbose but i'm missing some sort of a cheat sheet Mar 14 12:40:22 @LetoThe2nd @mborzecki Thanks Mar 14 12:41:21 Hi everyone I install mysql server, How can i do it ? there is a command for bitbake such as bitbake mysql ? and if there is , which layer ? Mar 14 12:41:27 LetoThe2nd: Hi... Do you know anything about the "Yocto Project ADT" that is missing even though the ADT addon was installed? Mar 14 12:42:59 cart_man: i guess you are mixing up the generic adt functionality and the eclipse plugin (which are both seperate things.) Mar 14 12:43:34 i am looking for information on how to add a new karch. trying to add arm64 Mar 14 12:44:01 LinuxMice: http://layers.openembedded.org/layerindex/branch/master/layers/ doesn't find anything for "mysql", so chances are bad for you. Mar 14 12:44:02 LetoThe2nd: Hmm the one in Eclipse . Window->Preference ... usually there is a option " Yocto Project ADT " which in my case is missing FFFMMLLLLLLL Mar 14 12:44:23 cart_man: no idea about the eclipse thing. Mar 14 12:45:49 i only heard that its maintenance state is a bit... suboptimal Mar 14 12:46:21 but in the end its only clickypointy sugar. the real magic is in the sdk functionality. Mar 14 12:48:54 LetoThe2nd: I realized i'm missing systemd_networkd in my build. How do i add it? All i've found so far is this patch: https://lists.yoctoproject.org/pipermail/yocto/2015-July/025711.html Mar 14 12:50:10 Anticom: looks a bit hacky but fine, and should be easy to port. just try it. Mar 14 12:50:58 LetoThe2nd: Okay thanks Mar 14 12:51:46 LetoThe2nd: I have found one layer whic is in OE layer, its name mariadb, its true package for mysql server Mar 14 12:52:12 Anticom: with PACKAGECONFIG Mar 14 12:52:23 LinuxMice: well, my guess would be that mariadb recipe brings the mariadb package :) Mar 14 12:52:46 rburton: exactly what that patch sugests Mar 14 12:54:14 LetoThe2nd: I know mysqlserver project was turned mariadb project by oracle :) but just guess :) Mar 14 12:54:29 LinuxMice: if you say so. well then good luck. Mar 14 13:01:51 LetoThe2nd: Thanks Leto for all of your helping :) When i take an error, i write this psace :) :) Mar 14 13:02:52 rburton: ? Mar 14 13:03:04 Could you elaborate this a little more please? Mar 14 13:03:17 I need a ubifs image for the second flash partition of my device. It contains only some directories and config files. What is the correct way to build such an image? Mar 14 13:03:37 Anticom: he suggested to activate networkd by enabling the corresponding PACKAGECONFIG flag - which is exactly what that patch does. Mar 14 13:04:16 LetoThe2nd: And what is the EXTRA_OECONF and CFLAGS_append_arm good for? Mar 14 13:04:21 Anticom: you need a bbappend or local.conf tweak or distro config tweak to do PACKAGECONFIG+=networkd to systemd. this is covered the in manual, by the way Mar 14 13:04:26 i know rtfm :) Mar 14 13:04:43 Anticom: those are entirely unrelated and not mentioned in the commit message, very bad form Mar 14 13:05:07 e.g. "a bit hacky, making things work 'right now' " Mar 14 13:05:45 I suppose i need those config / compile options in order to get networkd to work tho (?) Mar 14 13:06:39 especially the CFLAGS hack looks mainly like making some arm-specific build error go away, in a QnD manner instead of properly patching the build scripts. Mar 14 13:07:14 LetoThe2nd: so usually i'd have some .patch'es ? Mar 14 13:07:26 Anticom: usually yes. Mar 14 13:07:31 okay thank's Mar 14 13:07:42 so i guess: 1st: make it work, 2nd: make it pretty Mar 14 13:07:55 Anticom: the the multiple of "patch" is "patches", just like the multiple of "thank" is "thanks" Mar 14 13:08:53 Anticom: i resisted the urge to point this out several days now, but it makes my toenails curl up everytime. Mar 14 13:09:46 English is not my native language, appologies. I'll keep it in mind from now on Mar 14 13:10:52 Anticom: no worries, i just couldn't stand it anymore. Mar 14 13:21:04 One thing i don't get, why networkd isn't included by default when having DISTRO_FEATURE += "systemd" Mar 14 13:21:21 because networkd and connman disagree quite aggressively Mar 14 13:21:39 and we wanted to have the same networking stack in sysv and systemd images for now Mar 14 13:22:07 easily turned on if you ensure you don't install connman, which is kind of the point Mar 14 13:36:33 Btw is there a simple way to disable a bbappend temporarily? like in a bash script putting "exit 0" at the top Mar 14 13:37:42 rename it to .bbappend_defunct :-) Mar 14 13:38:14 you can either use 'bbmask' or rename it.. Mar 14 13:38:27 bbmask tells the system to not load any file with a specific name or pattern Mar 14 13:39:46 fray: hence it will also apply to any .inc .conf or whatever files, right? Mar 14 13:40:05 only if you mask them Mar 14 13:40:42 fray: i mean, bbmask is in the end a regexp that amtches the file name, not necessarily those of the recipes? Mar 14 13:40:44 lets say you want linux-yocto to disappear.. and never be useful.. Mar 14 13:40:49 BBMASK ?= "/(linux-yocto)" Mar 14 13:41:02 if you just want to mask out the bbappend you can do something like Mar 14 13:41:24 BBMASK = "/layer/recipes-mystuff/mystuff/mystuff.bbappend" Mar 14 13:41:41 (it's been a while since I last used this.. so I might be off a bit..) you just have to remember it's a match pattern.. Mar 14 13:42:13 out of pure nonsensical interest, what happens if i put BBMASK = "local.conf" into local.conf? ;-) Mar 14 13:42:17 and i'd usually do this in my local.conf during development ? Mar 14 13:42:21 i mean the masking Mar 14 13:43:21 it's too late by then.. Mar 14 13:43:29 fray: guessed that :) Mar 14 13:43:35 the bbmask needs to go into the bblayer.conf or into an individual layer's layer.conf Mar 14 13:43:44 there is only one BBMASK in the whole system, if you want to mask more than one file the regexp must be carefully constructed, ex '(file1.bb|file2.bb)' Mar 14 13:43:45 it needs to have the mask -before- it loads Mar 14 13:43:53 yes Mar 14 13:44:09 bbmask is a big hammer to drop things you can't drop with any other way Mar 14 13:44:25 * LetoThe2nd likes hammers. Mar 14 13:55:51 So although renaming recipes is a bit willy-nilly it's less likely to mess up things big time i guess Mar 14 14:05:42 Where do i configure connman? Arch wiki says it's /etc/connman/main.conf but i don't have a connman directory in /etc Mar 14 14:10:35 create it, doesn't have a config by default Mar 14 14:13:42 rburton: But the location is correct? Mar 14 14:15:24 Anticom: try setting a config and see if connman reacts or look at the connman manual to know for sure Mar 14 14:16:01 What's bugging me, that i don't have connmanctl on the device Mar 14 14:16:48 openembedded-core/meta/recipes-connectivity/connman/connman.inc:85: install -m 0755 ${B}/client/connmanctl ${D}${bindir} Mar 14 14:16:48 openembedded-core/meta/recipes-connectivity/connman/connman.inc:148:FILES_${PN}-client = "${bindir}/connmanctl" Mar 14 14:17:10 connmanctl is installed by the recipe in the -client package Mar 14 14:17:21 thank's Mar 14 14:17:23 thanks* Mar 14 14:17:26 np Mar 14 14:17:26 sorry LetoThe2nd :) Mar 14 14:29:06 Anticom: :-) Mar 14 14:29:49 Anticom: please don't take it personal, just for reference: http://www.deppenapostroph.info/ Mar 14 14:38:30 LetoThe2nd: http://xkcd.com/1647/ ;-) Mar 14 14:39:05 Anticom: :-) Mar 14 14:39:24 Starting two concurrent bitbake builds might have been a mistake Mar 14 14:39:35 Computer froze for like 5 minutes Mar 14 14:39:46 that only depends on the performance of the build sysrtem. Mar 14 14:41:06 my pc Mar 14 14:42:02 Anticom: generally, when doing layer/os dev for embedded linux, it is very advisable to have access to some higher-powered system. if all else fails, some on-demand amazon ec2 instance. Mar 14 14:42:34 helps keeping up the productivity while waiting, because the desktop isn't knocked out. Mar 14 14:43:04 True Mar 14 14:43:08 as most people here do that on a professional basis one way or the other, just ask your boss how much the cost of you waiting an hour for nothing is. Mar 14 14:44:49 at least in the western world, your salary can't be so low that an ec2 instance doesn't pay off Mar 14 15:01:02 BTW you can do concurent builds, but if you do -- you really need to limit the parallel processing in your local.conf or both instances will attempt to take over teh system Mar 14 15:01:17 and that (and memory/swap pressure) can lead to very overloaded system Mar 14 15:08:12 my desktop works fine during build "on background" as long as you change the default number of bitbake threads to something more sensible like 2-3 Mar 14 15:08:40 and the build time is almost the same as with bitbake thread set to number of cores Mar 14 15:13:23 How can I add a package to the target sysroot for the SDK? Specifically, I want to add libwayland-egl-mx6-dev. Seems the native sysroot can be TOOLCHAIN_HOST_TASK, but I want to change the target sysroot. Mar 14 15:13:25 LetoThe2nd: I installed mysql but how can i connect remotely my db ? Mar 14 15:15:02 ah, TOOLCHAIN_TARGET_TASK Mar 14 15:15:42 LinuxMice: no idea, i still wonder why you always think i know those things :-) Mar 14 15:17:20 LetoThe2nd: cause you are so helpfull and u seems so genius man Mar 14 15:17:50 LinuxMice: certainly not. generally it is always best to address the channel here as a whole. if somebody knows, he/she will tell you. Mar 14 15:19:12 LinuxMice: besides, this is really a kind of generic mysql question. Mar 14 15:20:52 LetoThe2nd: Ok, i wonder one thing, there is firewall such as SELinux in yocto ? Mar 14 15:21:52 LinuxMice: maybe check http://layers.openembedded.org/layerindex/branch/master/layer/meta-security/ Mar 14 15:22:08 LinuxMice: oh, and http://layers.openembedded.org/layerindex/branch/master/layer/meta-selinux/ Mar 14 15:22:26 LinuxMice: you should always check the layerindex first :-) Mar 14 15:23:34 LetoThe2nd: How can i know installed in my image ? Mar 14 15:24:20 LinuxMice: did you include one of those layers? Mar 14 15:24:42 LetoThe2nd: No but i use prebuild image Mar 14 15:25:03 well then, ask whoever prebult it. Mar 14 15:25:20 i honest do not really care about prebuilt stuff that comes from "somewhere". Mar 14 16:08:16 hi guys, my do_rootfs task generates directories with setgid bit set. I found this : https://lists.yoctoproject.org/pipermail/yocto/2014-July/020513.html but didn't find a related bug Mar 14 16:08:32 does anyone here having clues on this ? Mar 14 16:09:57 jbrianceau: what version? and is your build directory and tmp directory g+s? Mar 14 16:10:15 if they are, it'll flow all the way down, which is why we have a sanity check in recent versions, and some logic to fix it now Mar 14 16:11:30 kergoth: yocto 1.6.3 / daisy 11.0.3 Mar 14 16:12:39 * jbrianceau is checking his build and tmp directories Mar 14 16:54:10 .. why is python3 building for core-image-base? Mar 14 16:54:11 * kergoth rolls eyes Mar 14 17:06:32 kergoth: rpm probably Mar 14 17:06:39 or smart Mar 14 17:06:46 smart is written in py afaik Mar 14 17:07:04 >>> bitbake -u depexp -g Mar 14 17:09:08 sorry to ask again, but has anybody had any experience with yocto and big.LITTLE SoC? Mar 14 17:12:34 Anticom: heh, i know how to check, i'm just complaining :) Mar 14 17:13:39 neither rpm nor smart require python3.. recent changes should make it more likely to WORK with python3, but it most definitely isn't requiring it Mar 14 17:15:02 i should really add runtime dep handling to bb-whatdepends, but i was kind of hoping we'd have that sort of ui integrated into bitbake by now.. haven't had time to spend on that, though Mar 14 17:15:05 one of these days Mar 14 17:15:39 * Anticom *le derp* Mar 14 17:48:10 kergoth: thanks (a bit late but I mean it :) ) Mar 14 17:53:45 jbrianceau: np Mar 14 18:00:54 vivante_extension/vivante_ext.c:43:21: fatal error: swaprep.h: No such file or directory Mar 14 18:01:06 anyone tried building intel-corei7-64 lately? Mar 14 18:01:43 ah, nevermind, think i got it Mar 14 18:31:57 We are getting failures on our autobuilder in Jethro now; it is failing due the changes in libsdl-native Mar 14 18:32:00 PACKAGECONFIG_class-native = "x11" Mar 14 18:32:08 Is this right? Mar 14 18:34:51 otavio: there was follow-up fix for it Mar 14 18:35:09 http://lists.openembedded.org/pipermail/openembedded-core/2016-March/118889.html Mar 14 18:35:23 JaMa: this broke several builds ... isn't the autobuilder testing a framebuffer only build? Mar 14 18:36:14 qemu: uncaught target signal 4 (Illegal instruction) - core dumped in the gobject-introspection build.. guessing qemu isn't emulating right for intel-corei7-64 Mar 14 18:36:15 * kergoth disables for now Mar 14 18:36:40 otavio: I don't know about YP autobuilders Mar 14 18:47:20 RP: please take a look on ml; I sent the fix for Jethro Mar 14 18:58:55 FYI, meta-intel unconditionally bbappends gma500-gfx-check, which is only avialable in meta-intel-bsp, but neither the meta-intel layerdepends nor its readme indicate that meta-intel-bsp is a dependency. Mar 14 18:59:18 erm, meta-yocto-bsp Mar 14 19:38:40 Hmm, does https://github.com/MentorEmbedded/meta-mentor/pull/692/files seem sane? Mar 14 20:18:47 sigh Mar 15 00:17:08 Anybody know how to manipulate the x86_64 sysroot to install the proper packages in yocto? Mar 15 00:24:42 I'm trying to get a newer version of the m2crypto python module installed so I can install crda and use wireless on my devices Mar 15 00:25:54 I have a newer version with the appropriate fixes for removed SSLv2, on my host os, and in yocto recipes. For some reason on the X86_64 sysroot it is installing only the broken version. **** ENDING LOGGING AT Tue Mar 15 02:59:58 2016