**** BEGIN LOGGING AT Fri Dec 29 03:00:02 2017 Dec 29 03:53:30 Hi. Dec 29 03:54:16 Why with this https://bpaste.net/show/aa1c6dedff39 bblayers I get image without python/perl etc...? Dec 29 03:54:40 Builded with `bitbake rpi-hwup-image` Dec 29 07:05:07 What are the packages I can add for images display in framebuffer? Dec 29 07:06:01 I want to display something on the rgb LCD screen Dec 29 07:11:01 What's the difference between -dev and -sdk as in core-image-lsb-dev and core-image-lsb-sdk? Dec 29 07:43:53 learningc: lsb-sdk includes toolchain and dev headers as well Dec 29 07:44:10 you can check what is included in: meta/recipes-extended/images/core-image-lsb-dev.bb Dec 29 07:45:05 What is toolchain? Dec 29 07:46:13 Compiler, autotools etc. Dec 29 07:49:39 I see. What is the purpose of the -dev image since it does not contain the compiler? Dec 29 07:52:37 I believe that it includes dev headers for packages as well which aren't included in the image by default Dec 29 07:56:35 You mean the -sdk image does not contain dev headers for packages? Dec 29 09:13:05 good morning Dec 29 09:13:38 morning Dec 29 09:32:08 New news from stackoverflow: busybox error while building using yocto Dec 29 09:36:21 Hi, I've created a recipe to build homeridge and modified the avahi.inc file in order to fix libdns_sd.o and dns_sd.h error. (The patch is here https://pastebin.com/5Q2eFEcw) Also, I added the following to the homebridge recipe. DEPENDS_${PN} = "avahi libavahi-dnssd libnss-mdns" Dec 29 09:36:46 But still I got the same error. Dec 29 09:40:36 dns_sd.h is not in /poky/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/homebridge/0.4.33-r0/recipe-sysroot/usr/include folder. It seems DEPENDS didn't work. Am I missing something? Dec 29 10:31:08 I am trying to compile a recipe (NetworkManager) which requires python3-pygobject-native during compilation. I have 'DEPENDS = python3-pyobject-native' but it is still not working. Could anyone help me ? Dec 29 10:41:13 mkilivan> you can't use DEPENDS_${PN} but DEPENDS Dec 29 10:42:02 mkilivan: DEPENDS if for recipes, whereas RDEPENDS_${PN} is for packages Dec 29 10:45:27 ttllkk: you don't use http://cgit.openembedded.org/meta-openembedded/tree/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.4.4.bb?h=rocko ? Dec 29 10:52:27 hello guys Dec 29 10:52:55 Is it possible to apply patch accoring to the image name? If so, how can I do that? Dec 29 10:55:41 nayfe: No, I require a newer version Dec 29 10:56:14 But I think I have the problem very localiced Dec 29 10:56:37 It is just that 'GObject' it is not available at compilatino time for the SDK.. (like if python3-pygobject-native was not being installed) Dec 29 10:57:04 The NetworkManager configure tries to run: "$PYTHON" -c 'from gi.repository import GObject' and checks the return code to see if it is available Dec 29 10:57:23 If I try that on 'bitbake -c devshell NetworkManager' error I see that there is an ImportError Dec 29 10:58:18 However if I use 'find -name "*GObject*" I get some files, which make me thing that GObject should in fact be available (also, well I did add it to the DEPENDS of the recipe) Dec 29 10:58:40 This was working fine in Yocto 2.2, but fails now in Yocto 2.4. I believe the new feature of having recipe independent SDKs is the root of my problem Dec 29 11:00:02 ttllkk: do you inherit gobject-introspection ? Dec 29 11:00:35 Yes, this is the recipe: https://pastebin.com/zryYY6Fj Dec 29 11:01:38 By the way, would poky@yoctoproject.org be the correct mailing list to post thiskind of problems? Dec 29 11:02:24 New news from stackoverflow: Couldn't find shared library provider Dec 29 11:05:36 ttllkk: i think openembedded-core@lists.openembedded.org is more appropriate Dec 29 11:06:46 even though the python3-pygobject recipe is in the poky layer? Dec 29 11:09:50 ttllkk: see http://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#how-to-submit-a-change Dec 29 11:14:22 ttllkk: btw gobject introspection is for documentation generation i suppose? do you need it? Dec 29 11:18:02 Probably not critical, but I would like to leave things as close as possible as they were in Yocto 2.2 Dec 29 11:18:18 But yes, if aI am not able to fix this I would just dislabe introspection in the configure Dec 29 11:18:26 thanks for the link Dec 29 11:34:13 Any idea how to make PYTHON list all the available modules/libraries? Dec 29 11:34:27 I am comparing the sysroot in yocto 2.2 and 2.4 and they seem identical.. Dec 29 11:34:46 I would like to understand the process python3 uses to execute the 'from gi.repository import GObject' Dec 29 11:40:47 ttllkk: it comes from https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/configure.ac#n1284 Dec 29 11:41:10 Yes, the '"$PYTHON" -c 'from gi.repository import GObject'' is what f ails Dec 29 11:41:18 I can reproduce it on -c devshell Dec 29 11:41:22 But in yocto 2.2 it works Dec 29 11:41:50 and I am comparing the sysroots and they look the same.. they both have the .typelib file, the both have the /gi/_gojbect/__init__.py... Dec 29 11:42:41 The error it gives is 'ImportError: cannot import name GObject, introspection typelib not found' Dec 29 11:54:09 nayfe Can I add a package to a DEPENDS list? DEPENDS = "avahi libavahi-dnssd " failed with the following error: Dec 29 11:54:27 ERROR: Nothing PROVIDES 'libavahi-dnssd' Dec 29 11:54:41 avahi RPROVIDES libavahi-dnssd Dec 29 11:54:51 DEPENDS is for recipes Dec 29 11:55:11 I've added libavahi-dnssd to package list in avavi receipe. Dec 29 12:02:38 New news from stackoverflow: Process for keeping an OE/Yocto image updated Dec 29 12:04:22 ttllkk: introspection maintainer is kanavin, maybe he'll help :) Dec 29 12:04:44 Thank you Dec 29 12:05:09 nayfe perhaps I should not modify the avahi recipe. Basically, homebridge requires libavahi-compat-libdnssd-dev installed on Linux. So, I am trying to get equivalent on yocto. Can you suggest a better way of doing that? Dec 29 12:07:09 By the way, I noticed that issue was discussed here https://www.yoctoproject.org/irc/%23yocto.2014-08-12.log.html, I wonder if manuel_ build the code at the end. :) Dec 29 12:07:14 mkilivan: there are DEPENDS when recipe needs another to compile, and RDEPENDS to tell some package needs another package in runtime Dec 29 12:08:54 mkilivan: when you see "dns_sd.h is not in ..." it means you need to add the recipes responsible to fetch dns_sd.h in DEPENDS of your recipe (not RDEPENDS) Dec 29 12:09:07 The thing is avahi doesn't provide necessary files (I think) so I've edit a package to provide extra files. See patch is here https://pastebin.com/5Q2eFEcw Dec 29 12:13:12 now DEPENDS = "avahi libavahi-dnssd " Dec 29 12:13:46 ERROR: Nothing PROVIDES 'libavahi-dnssd' (but /local/mnt/workspace/raspberrypi-rocko/poky/build/workspace/recipes/homebridge/homebridge_0.4.33.bb DEPENDS on or otherwis e requires it). Close matches: avahi RPROVIDES libavahi-dnssd Dec 29 12:17:21 DEPENDS = "avahi" is enough Dec 29 12:17:46 as DEPENDS works with recipes, and you are modifying avahi recipe Dec 29 12:18:55 but maybe you need extra steps in do_install() to copy include files from WORKDIR to ${D} Dec 29 12:19:17 OK, so how can make avahi recipe to add extra files? Because my changes didn't work. Dec 29 12:22:01 in avahi.inc, do_install() part, add something like install ${D}/${includedir} ; cp -rf ${WORKDIR}/...../dns_sd.h ${D}/${includedir}/ Dec 29 12:23:03 before you can check in /tmp/work/...../avahi/.../image if dns_sd.h is already present Dec 29 12:25:51 yes I can see that dns_sd.h is in /tmp/work/.../avahi/.../image/usr/include/avahi-compat-libdns_sd/ folder Dec 29 12:26:53 and libdns_sd.so is in /tmp/work/.../avahi/.../image/usr/lib folder Dec 29 12:44:19 mkilivan: so its FILES_libavahi-dnssd = "${libdir}/libdns_sd.so.* ${includedir}/avahi-compat-libdns_sd/dns_sd.h" Dec 29 12:45:32 nayfe I am trying to add these files in do_install() but couldn't managed yet. Dec 29 12:46:48 mkilivan: if files are already installed (probably due to autotools_do_install), you dont need more, check with oe-pkgdata-util list-pkg-files -p avahi if dns_sd.h is listed Dec 29 12:51:38 nayfe Thanks, I can see dns_sd.h is in the output. So do you think that files are already installed then, right? Dec 29 12:52:47 mkilivan: indeed, so if you add DEPENDS = "avahi" to homeridge recipe, you should find dns_sd.h as well in sysroot-recipe Dec 29 12:53:02 nayfe in do_install() there is following line: Dec 29 12:53:04 rm -rf ${D}${libdir}/avahi Dec 29 12:53:28 Does that mean these files has been deleted during install? Dec 29 12:55:41 mkilivan: indeed Dec 29 12:59:20 nayfe Thanks, I will have a look at it to understand the recipe first. At least I can see what the problem is with your help. Much appreciated. Dec 29 13:01:54 mkilivan: np, did you check recipe-sysroot folder from homeridge work dir for dns_sd.h file ? Dec 29 13:02:30 I did, dns_sd.h is not there. Dec 29 13:09:42 mkilivan: do you think you can share homeridge recipe ? Dec 29 13:15:03 Sure, https://pastebin.com/X0awTquc Dec 29 13:30:18 mkilivan: did you change FILES_libavahi-dnssd = "${libdir}/libdns_sd.so.* ${includedir}/avahi-compat-libdns_sd/dns_sd.h" (add avahi-compat-libdns_sd folder) ? Dec 29 14:58:24 Hi, I coudn't find ant documentation explaining the differences between the distribution features "x11" and "x11-base" Dec 29 14:58:58 it's wrritan in the manual that "x11-base" is a x11 with minimal environment Dec 29 14:59:22 couldn't understand what is means Dec 29 15:03:27 x11-base isn't a distro feature, it's an image feature Dec 29 15:03:39 it controls what's installed, not how things are built / what the distro supports Dec 29 15:09:24 ok, I see that x11 is both a distro and an image feature Dec 29 15:15:24 so adding x11 only as image feature , install x11 libraries related but does not initialize the server ? Dec 29 15:23:42 nayfe: I changed FILES_libavahi-dnssd to add avahi-compat-libdns_sd folder and this did a trick. Now, I can see the header file in homebridge's work folder. Dec 29 15:23:44 ./recipe-sysroot/usr/include/avahi-compat-libdns_sd/dns_sd.h Dec 29 15:24:12 mkilivan: nice Dec 29 15:24:18 I still got the same error though. Dec 29 15:24:19 ../src/mdns.hpp:32:10: fatal error: dns_sd.h: No such file or directory Dec 29 15:24:56 should I add avahi-compat-libdns_sd in compiler's include folder? Dec 29 15:30:49 mkilivan indeed Dec 29 16:16:36 What's the purpose of headers when adding -dev after the image name? Dec 29 16:17:34 I mean, how do we use the image-dev as compared to image without dev? Dec 29 16:27:21 learningc: uh, you'd use the headers the same way you use headers on any linux system, for development Dec 29 16:29:04 kergoth, Then how do we compile the app? Dec 29 16:29:11 what app? Dec 29 16:29:35 headers for a library are used by projects linking against that library Dec 29 16:29:39 If it's for development, this means we are developing an app? Dec 29 16:29:43 if you don't know what you want to build, i cant help you Dec 29 16:30:07 it's an image with headers included for you to use in your development. if you don't know waht you want to code, i don't know what to tell you Dec 29 16:30:15 it's not an image intended to develop some specific thing Dec 29 16:30:29 I see Dec 29 16:31:39 So, how do we link against the library? Dec 29 16:31:47 i don't have time to teach you how to code Dec 29 16:31:54 google is your friend Dec 29 16:32:41 I know how to code. just don't understand what the -dev image used for Dec 29 16:33:14 The headers and libraries are provided Dec 29 16:34:02 But do we need a linker to link to the library? Dec 29 16:36:32 What I mean is, does the -dev image has linker in it? Or am I misunderstanding the use of the -dev image? Dec 29 20:56:21 Hi, i'm a bit confused, the do_package_write comes after the do_package ? Dec 29 20:57:37 it's a bit confusing , in the manual the do_package_write is described first Dec 29 20:57:57 http://www.yoctoproject.org/docs/1.6/ref-manual/ref-manual.html#package-feeds-dev-environment **** ENDING LOGGING AT Sat Dec 30 03:00:01 2017