**** BEGIN LOGGING AT Tue Jun 07 02:59:58 2016 Jun 07 04:42:47 i'm trying to build a yocto image for the raspberry pi (with the bsp) and want to add the opencv package. if i add IMAGE_INSTALL_append = "opencv" i don't have the opencv in the build Jun 07 05:13:03 atmc: you missed the space separator Jun 07 05:13:14 IMAGE_INSTALL is a space separated list, and _append doesn't add one for you Jun 07 05:13:19 IMAGE_INSTALL_append = " opencv" Jun 07 05:14:18 okay, thats at least one mistake Jun 07 05:14:27 i'm gonna test this at work in an hour Jun 07 05:14:30 thanks Jun 07 05:52:10 kergoth: i now have the following changes in the local.conf file Jun 07 05:52:12 EXTRA_IMAGE_FEATURES ?= "debug-tweaks dev-pkgs tools-sdk tools-debug" Jun 07 05:52:13 IMAGE_FEATURES += "package-management" Jun 07 05:52:14 IMAGE_INSTALL_append += " cmake opencv" Jun 07 05:53:00 but then i get Missing or unbuildable dependency chain was: ['opencv'] Jun 07 05:59:19 kergoth: i added the meta-oe layer. now it finds the opencv package. for the dev packages it is sufficient to just add EXTRA_IMAGE_FEATURES ?= "debug-tweaks dev-pkgs Jun 07 05:59:22 ? Jun 07 07:40:07 i'm running into the following error during a raspberry-pi image build: ERROR: glibc-2.23-r0 do_package: Fatal QA errors found, failing task. Jun 07 07:40:13 i cant find any information about that error Jun 07 07:42:13 i'm building on CentOS 7 if that matters Jun 07 08:18:09 atmc: the specific QA error should be mentioned there, with a tag (like [dev-so] or [textrel]) that you can search for in the reference manual Jun 07 09:31:11 Hi every one! I have a package (.ipk) which isn't provided by bitbake, It is an external .ipk. I want to include it in the yocto rootfs during the do_rootfs task! There is a proper way to perform this? Jun 07 09:31:58 jlasnier: what do you mean by not provided by bitbake? there is no recipe for it? Jun 07 09:32:53 CTtpollard: Yes exactly! Jun 07 09:34:01 CTtpollard: There is no recipe for it Jun 07 09:34:33 jlasnier: have you checked https://layers.openembedded.org/layerindex/branch/master/recipes/ ? Jun 07 09:40:01 CTtpollard: unfortunately, the .ipk is built from a proprietary source code (I haven't these sources). The recipe dosen't exist and I can't create my own recipe because I've no source... Jun 07 09:40:46 jlasnier: so you just want the .ipk on the rootfs so you can install it manually from there? Jun 07 09:44:05 CTtpollard: I would like to install the .ipk during the rootfs build. If there is no solution, I'll install it at system run-time with opkg, but I prefer not Jun 07 09:44:48 CTtpollard: I want to say to bitbake "take my .ipk to build the final image" Jun 07 09:51:44 jlasnier: here's the hack we do to get this done: https://p.dnnr.de/hZo-OxcDnokUH1KP Jun 07 09:51:54 it involves unpacking and re-packing the contents of the ipk, though. Jun 07 09:59:27 neverpanic: great! It's exactly that I want to do! But I believed that I could do this without write a recipe but rather by modifying the rootfs.bbclass or something like this. But this recipe will do the trick! Thank you! Jun 07 10:22:45 jlasnier: neverpanic: there's a slightly less hacky way of doing this - bin_package.bbclass Jun 07 10:23:32 if you're using 2.1 (krogoth) or newer you can even have "devtool add" / "recipetool create" create you a recipe to do it pretty much automatically Jun 07 10:25:07 bluelightning: interesting Jun 07 11:05:22 Hi there. Is there a way to limit the numbers of parallel connections to a server/ip ? For example if several recipes fetch from the same git-server in parallel ? Jun 07 11:09:23 just reducing BB_NUM_THREADS Jun 07 11:10:01 if you're hitting this on an autobuilder type situation, we do a world fetch before builds with BB_NUM_THREADS=2 instead of the auto-detected 20 Jun 07 11:18:05 And add a download cache Jun 07 11:19:27 yeah, share your download directory if you have multiple machines Jun 07 11:36:08 trying to add my own fstab (just to get started with customizing builds) - following this guide: https://communities.intel.com/thread/49251 but for some reason the new one is not included... Jun 07 11:36:46 i added the layer, created a config and bbappend for base-files, copied fstab and modified it... like described Jun 07 11:37:44 now bitbake my-image runs fine but just contains the default fstab.. any idea what i might be missing? i did run bitbake -c cleanall for base-files and my-image Jun 07 11:38:40 or a hint how i can check if custom recipes are used? Jun 07 11:41:51 ok, just a typo... Jun 07 11:41:55 solved! Jun 07 12:17:02 hi everyone Jun 07 12:17:17 hi bluelightning ;) Jun 07 12:19:55 I was using in yocto 1.7/1.8 ${DATETIME} in a package version (PV := "${PVBASE}.${SRCPV}.${DATETIME}"), I wanted to have this package updated for each build. Someone clever told me to use DATETIME, but now with yocto 2.1, I got some errors, I think due to ${DATETIME}... Jun 07 12:20:08 the error looks like : Jun 07 12:20:19 ERROR: skellgip2-svn.10498.20160607121331-r0 do_configure: Taskhash mismatch 8fc318691e5d72c15849b0d1acf89a0a verses 92439d39915a1779c5176ac4d14f16a1 for /home/aurele/workspace/yocto/moniteur-krogoth/sources/meta-castel/recipes-castel/skellgip2/skellgip2_svn.bb.do_configure Jun 07 12:21:22 if anyone knows how I could remove those errors and still get my package rebuild at each build... Jun 07 12:30:13 added .deb package-management to my images. but i can not install fresh packages, e.g. libattr1 is missing. can i somehow tell bitbake to build packages of .deb-dependencies? Jun 07 12:31:29 otherwise, what use is the package management if i can not install packages? Jun 07 13:56:10 xkonni: what do you mean "cannot install fresh packages". what error? it sounds like the package you're trying to install has dependnecies you're not giving it, all of these will be in the feeds in tmp/deploy/ Jun 07 14:03:47 * joseppc hi Jun 07 14:04:57 Joseppc: hi Jun 07 14:05:14 maxin: :) Jun 07 14:59:26 YPTM: Joshua joined Jun 07 14:59:50 YPTM: Ready-Access Number: 8007302996/9139049836 Access Code: 2705751 Jun 07 14:59:58 YPTM: Stephen Joined Jun 07 15:01:20 YPTM: Sona is on call Jun 07 15:01:32 Bill Randle on the call Jun 07 15:02:16 YPTM: Randy joined Jun 07 15:03:18 YPTM ross join Jun 07 15:03:32 YPTM: Michael here. Jun 07 15:03:46 Sadly RP has a conflicting meeting Jun 07 15:05:08 * RP will try and answer any questions here though Jun 07 15:10:59 YPTM is over Jun 07 21:00:25 hi there Jun 07 21:00:35 how do I sign up for yocto kernel mailing list? Jun 07 21:48:31 can someone take a look at this error? http://0fe86b863c596abd.paste.se/ I understand what it's sayig, I just can't spot the dependency loop :-P Jun 07 21:50:18 this happens when I add INITRAMFS_IMAGE to the configuration, and INITRAMFS_IMAGE_BUNDLE is set to 1 Jun 07 22:08:25 it took a lot of squinting to see it: syslinux:do_populate_sysroot depends on ... linux-yocto:do_deploy which depends on syslinux:do_populate_sysroot Jun 07 22:16:01 I think I see what's the problem: the image type is hddimg. When I add the INITRAMFS variables, the loop shows up. Jun 07 22:16:08 Am I misunderstanding something? Jun 07 22:26:53 m2: is this perhaps IMAGE_FSTYPES being set to include hddimg also for the initramfs image as well as your main image? Jun 07 23:19:15 hello all Jun 07 23:19:45 I have a problem running bitbake on UpenSuSE 42.1 Jun 07 23:21:17 anybody? Jun 07 23:22:08 What kind of problems are you having? I know it works on OpenSuSE 42.1 because one of the Yocto project AutoBuilders runs 42.1. Jun 07 23:23:25 FATAL: The knotty ui could not load the required curses python module. Jun 07 23:23:43 all python are install correctly Jun 07 23:24:23 Which version of Yocto are you trying to build? One of the releases or master? Jun 07 23:25:12 running the master i beleive ... is there a way to very that information Jun 07 23:27:47 run 'git branch' from inside the poky directory and look for the one with the "*" next to it. 'git status' should also tell you which branch is active. Jun 07 23:29:25 ok is the master Jun 07 23:32:04 ok, and you're sure you have the Python3 curses module installed? Jun 07 23:32:33 yes Jun 07 23:33:20 the version of python now is Python 2.7.9 Jun 07 23:34:00 The master branch has switched over to use python3. Jun 07 23:34:23 From the command line, try: Jun 07 23:34:32 $ pyhton3 Jun 07 23:34:35 the phython 3 is located in /usr/bin/python3.4 Jun 07 23:34:39 >>> import curses Jun 07 23:35:01 how do I import ncurse Jun 07 23:35:02 ^pyhton^Python^ Jun 07 23:35:37 if you look at "bitbake/lib/bb/ui/knotty.py" you will see it does "import curses" Jun 07 23:35:58 ok what should I type Jun 07 23:36:14 line 150. That's where it is failing on you. Jun 07 23:36:31 ok ..how to I fix that Jun 07 23:36:51 Start python3 and at the ">>>" prompt, just type "import curses" and see what it says, if anything Jun 07 23:38:05 ok when I type python it seem to load python 2.7 and ncurse failed Jun 07 23:38:31 how I can I force it to load python 3 Jun 07 23:38:32 what if you type "python3" Jun 07 23:40:20 ok even when Python 3.4.1 (default, May 23 2014, 17:48:28) [GCC] on linux is loaded ncurse failed with ImportError: No module named 'ncurse' Jun 07 23:40:32 he said curses, not 'ncurse' Jun 07 23:40:42 * kergoth yawns Jun 07 23:41:22 when I try to install ncurse I get No update candidate for 'python-curses-2.7.9-21.1.x86_64'. The highest available version is already installed Jun 07 23:42:07 kergoth: do you know if py3 curses comes standard or is an add-on package? Jun 07 23:43:26 I not sure ... the only ncurse I see in the repository is 2.7.9 Jun 07 23:44:30 python3-curses-3.4.1-6.1.x86_64.rpm Jun 07 23:44:37 it comes with the standard python 3 library in debian, no idea about rpm based distros Jun 07 23:44:48 specifically, libpython3.5-stdlib in ubuntu 16.04 Jun 07 23:45:14 found it on opensuse page. Looks like a separate package Jun 07 23:45:48 ephlodur: don't do an upgrade - do an install of the python3 package I showed above Jun 07 23:49:28 ok .. I found it on the web site ..trying to install it now Jun 07 23:50:45 ok it's installed Jun 07 23:51:11 good. things should work better now Jun 07 23:51:53 the package is python3-curses Jun 07 23:52:06 makes perfect sense Jun 07 23:52:53 import ncuse still failed ImportError: No module named 'ncurse' Jun 07 23:53:49 are you sure the error says 'ncurse' and not 'curses'? Jun 07 23:54:49 using python3 and import ncurse i get ImportError: No module named 'ncurse' Jun 07 23:54:59 you were told like 3 times to import curses, not 'ncurse' Jun 07 23:55:02 there's no such thing as 'ncurse' Jun 07 23:55:12 ok.. sorry Jun 07 23:55:39 ok curses get loaded ok with no errors Jun 07 23:56:05 ok, good news. Now try bitbake again Jun 07 23:56:10 doing import curses Jun 07 23:57:13 great all of you it's working Jun 07 23:57:40 happy to hear that. good luck with the rest of your building Jun 07 23:57:49 thanks a lot Jun 08 00:02:24 on last question how do I add systemd to my final image Jun 08 00:04:14 In your conf/local.conf file, add: DISTRO_FEATURES_append = " systemd" and VIRTUAL-RUNTIME_init_manager = "systemd" Jun 08 00:04:44 (as two separate lines) Jun 08 00:05:18 If you already have a DISTRO_FEATURES_append entry, then just add systemd to the list. Jun 08 00:05:38 ok ..btw I'm building an image for raspberry pi3 that does not make a difference Jun 08 00:06:08 shouldn't matter what your target is Jun 08 00:07:21 do I need DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" Jun 08 00:08:36 if you want both systemd init and sysv init. If you want only systemd init, I don't think you need the backfill entry. (Not an expert on that one.) Jun 08 00:09:53 how can I import openssl-dev whithout enabling dev-pkgs in EXTRA_IMAGE_FEATURES Jun 08 00:11:22 try adding it to IMAGE_INSTALL_append in local.conf? Jun 08 00:12:30 ok thanks that the way IMAGE_INSTALL_append ?="openssl-dev" Jun 08 00:13:23 Yes, but put a space between opening " and 'openssl-dev' Jun 08 00:14:10 and I think you probably want just = and not ?= in this case. Jun 08 00:14:34 ok thanks I will try that now Jun 08 00:15:42 it does not seem to like the MACHINE ??= "raspberry2" Jun 08 00:16:31 Do you actually have a "raspberry2" machine definition? Jun 08 00:17:12 ok the problem was I need to add MACHINE ??= raspberrypi2 Jun 08 00:17:17 and change the ?? to a single ? Jun 08 00:17:26 oh ok .. Jun 08 00:18:20 can I remove PACKAGECONFIG_append_pn-qemu-native = " sdl" Jun 08 00:18:22 ok. ?? or ? may work depending on how your local.conf file is written. Looks like you got it, though. Jun 08 00:18:32 for an raspberry Jun 08 00:19:28 I don't think it will matter, as it should apply if you're not using a qemu target Jun 08 00:19:39 should -> shouldn't Jun 08 00:20:06 ok thank.. now I building with an see what happen Jun 08 00:21:27 away for a few minutes, will check back on you in a bit Jun 08 00:22:20 thank for all the help Jun 08 00:31:17 you're welcome. Build still going ok? Jun 08 00:36:19 yes billr so far so good .. I have two warnigs **** ENDING LOGGING AT Wed Jun 08 02:59:59 2016