**** BEGIN LOGGING AT Tue May 22 03:00:04 2018 May 22 05:27:54 New news from stackoverflow: QA issue in yocto krogoth for qtwebengine compilation in qt5.9 May 22 06:56:58 Hi, folks! May 22 07:00:00 I made sdk with populate_sdk, but I got error when I am trying #include in my sources which I compile with this SDK. This error says "No such file string". I've described include paths and use --sysroot=$(MY_SYSROOT_PATH). C programs compile like a charm. May 22 07:02:18 Have someone faced with something similar? May 22 07:55:37 Never mind. I know how to fix it May 22 07:58:05 acrap: if its no proprietary IP involved, please share so we can memorize and help the next time too :) May 22 07:58:38 I've found the solution May 22 07:58:51 ... which is? May 22 08:00:08 I've just used script from SDK to update variables. Early, I've set it up manually. May 22 08:00:45 ok, so you did not source the environment* sh, basically May 22 08:01:26 Help : I would like to check-in a new meta layer for some opensource boards in yocto project - would like to know the procedure May 22 08:01:42 Chakra: check-in? May 22 08:02:06 you mean, how to use a layer? May 22 08:02:42 No i would like to add my new meta layer as part of yocto project ex: meta-raspberrypi May 22 08:02:45 yep. But I've done almost all that stuff manually. You know, I have customer's sources with their own build system. May 22 08:03:55 acrap: its ok, just for firther support here. if somebody asks again for strage compiler warning when using the sdk, we can point out the the environment script is needed :) May 22 08:04:09 meta-myboards layer May 22 08:04:33 Chakra: you mean, you want the yocto project to *host* your layer, like it does for meta-raspberrypi? May 22 08:05:16 Yes May 22 08:05:28 Chakra: why not just put it on github? May 22 08:07:03 my layer is for few opensource boards from a vendor; hosting as part of yocto project will be well tested right ? correct me if im wrong May 22 08:07:19 LetoThe2nd: np. Thanks May 22 08:07:27 Chakra: erm, no? the yocto project does not provide free testing services just because. May 22 08:08:00 Chakra: if you want to share your layer with the world, put it on github (or something similar), and have it added to the layerindex May 22 08:08:11 Chakra: see: http://layers.openembedded.org/layerindex/branch/master/layers/ May 22 08:09:53 sorry for asking you a dumb question. what it takes to be part of yocto project ? will that be an advantage ? May 22 08:11:02 Chakra: if you're a hobbyist or such, there's little to profit. May 22 08:11:17 Chakra: you can find the whole of the member system information here: https://www.yoctoproject.org/ecosystem/ May 22 08:12:08 what is the difference between being part of yocto project and layerindex ? May 22 08:12:45 Chakra: being a member is an organisational thing. and the layerindex is jsut for everybody on the internet to find metadata. May 22 08:13:48 so we(may be my company) need to be a member to be part of yocto project. is that right ? May 22 08:16:41 LetoThe2nd: Thanks for the clarification will dig more and make out a decision May 22 08:19:23 Hi, we have a reference distro based on Poky from which we derive an eSDK. We would like to customize SDK_VERSION (http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-poky/conf/distro/poky.conf): May 22 08:19:49 SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" May 22 08:20:18 according to the recent git commit - any recommendations to achieve this? May 22 08:21:13 I was considering passing in as an environment variable, does not appear very elegant though May 22 09:19:51 bit of a noob q: have a recipe building a package with gettext dependency May 22 09:20:08 what should i do to make -lintl working? May 22 10:00:19 varjag: inherit gettext May 22 10:21:02 hello, is anyone using systemd with read-only-rootfs image feature? May 22 10:21:20 eduardas_m: yes. May 22 10:21:30 done, next ticket! May 22 10:21:40 LetoThe2nd: I am currently getting an error: The following packages could not be configured offline and rootfs is read-only: ['busybox', 'systemd', 'coreutils'] May 22 10:22:03 eduardas_m: so why don't you just ask about that error? ;-) May 22 10:22:30 eduardas_m: and, probably that is something specific to your coreutils instance, as we're not seeing it here. May 22 10:22:47 LetoThe2nd: do I have to remove all pkg_postinst stuff in a bbappend for systemd recipe, busybox and coreutils somehow? May 22 10:23:11 LetoThe2nd: did you bbappend something to systemd recipe to make read-only-rootfs work? May 22 10:23:18 eduardas_m: typically thats a postinst failing at rootfs time, you'll have to read the rootfs log to see what is failing May 22 10:23:22 no, we're using it as is. May 22 10:26:59 LetoThe2nd, rburton: this is probably related to me moving to Sumo because I get new warnings related to postinstall taks I was not getting earlier when read-only-rootfs still worked for me on earlier releases May 22 10:27:03 systemd.postinst returned 1, marking as unpacked only, configuration required on target May 22 10:30:22 LetoThe2nd, rburton: bitbake error log is quite large, probably not suitable for paste, but the systemd-related failure is probably this: https://pastebin.com/2LEybqzB May 22 10:33:28 LetoThe2nd, rburton: complete error log is this: https://pastebin.com/L66AJtVb May 22 10:37:42 rburton: thanks.. did that, doesn't seem to help May 22 10:37:48 i see that gettext is "built" May 22 10:38:11 and other link flags (-lpthread -lrt) don't fail May 22 10:41:58 eduardas_m: i can't comment on sumo, sorry. May 22 10:46:02 LetoThe2nd: I wonder how often you migrate your BSPs? do you find it ok to skip releases? while learning yocto, I have always tried to update everything as soon as possible, so I am currently checking how much of my stuff breaks on Sumo May 22 10:46:39 eduardas_m: we usually move only when totally needed, which usually means skipping a couple of releases each time. May 22 10:47:28 but in a nutshell, it totally depends on your usecase. May 22 10:50:54 LetoThe2nd: I personally did not find migrating from morty to pyro or from pyro to rocko difficult so far, though fixes for new QA checks and changes in wic were required since I use a custom wic plugin May 22 10:51:51 but my layer is not very complicated May 22 10:52:09 i really can't say anything other than "it depends" May 22 10:54:28 LetoThe2nd: how much do you care about CVEs then? I assume something like krogoth not getting any maintenance anymore in this regard May 22 10:57:10 eduardas_m: i can't commit on our policy in public. May 22 10:57:15 comment May 22 11:29:04 New news from stackoverflow: Yocto mounting initramfs / initrd image to Raspberry Pi May 22 11:36:29 I get a warning: Intentionally failing postinstall scriptlets of ['busybox', 'systemd', 'coreutils'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} () May 22 11:36:37 This is on Sumo May 22 11:37:42 Does this mean that the current systemd 237 recipe is not correct and that pkg_postinst should be replaced with pkg_postinst_ontarget there? May 22 11:57:18 I build a systemd image, but packagegroup-core-boot 1.0-r17 depends on busybox. Probably because VIRTUAL-RUNTIME_login_manager ?= "busybox" from packagegroup-core-boot.bb gets applied May 22 11:57:38 what are other valid targets for VIRTUAL-RUNTIME_login_manager besides busybox? May 22 12:15:39 rburton: merged mut, thanks. Queued a new patch in -next for bitbake May 22 12:42:15 Is it possible to run a shell/python function from a conf file for setting a variable? May 22 12:59:27 mns_: Hi, what are you trying to do? May 22 13:00:34 I would like to append a git commit to SDK_VERSION:http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-poky/conf/distro/poky.conf May 22 13:01:57 Hence I would like to run something like 'git rev-parse --short HEAD' and append to SDK_VERSION May 22 13:29:40 mns_ "You indicate Python code using the ${@python_code} syntax for the variable assignment" May 22 13:30:41 I can pass it in as env variable and assign it according to:SDK_VERSION = "${DISTRO_VERSION}-${DATE}${@ '-'+d.getVar('GIT_COMMIT') if d.getVar('GIT_COMMIT') else ''}" but it is not very elegant to have to pass in May 22 13:32:47 Thanks nayfe, will that work also from a .conf file? I have a few failed attempts and suspects it only works from recipes, but I might be wrong? May 22 13:33:56 http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-poky/conf/distro/poky.conf#n6 you can see in this line they use it in conf file May 22 13:35:46 oops sorry didn't look previous line May 22 13:36:33 hi! May 22 13:37:21 yes, I see string manipulation using python, but don't really see how to generalize to running more advanced python functionality May 22 13:42:20 write a function, and call it May 22 13:42:21 ie SRCPV = "${@bb.fetch2.get_srcrev(d)}" May 22 13:43:58 mns_ maybe you can use that variable to append to SDK_VERSION? May 22 13:49:53 @rburton, so it is possible to define and call a shell function from a .conf file? May 22 14:03:27 Function: 'get_commit () { pwd }' - called as 'tmp = "${get_commit}" ' yields 'tmp=" pwd \' (bitbake -e | grep ^tmp) May 22 14:06:54 mns_: you can't define functions in a conf file. You can INHERIT classes which do though May 22 14:17:04 eduardas_m: that\s not the whole message. it should tell you where the log with further details is, and you need to inspect that. May 22 14:17:44 eduardas_m: removing postinsts scripts is not a good idea, as they have a purpose of correctly configuring the packages you install May 22 14:18:08 eduardas_m: we are not seeing these errors on sumo with plain poky, so it\s probably something in your custom layer May 22 14:18:27 Thanks RP, moving to a custom class and inherting this from the .conf does not resolve - is 'jan = "${get_commit_id}"' not the right syntax for invoking the function? I assume '@' is specific for python (my function is plain shell) May 22 14:29:41 New news from stackoverflow: Yocto update to Sumo with Multilib results in error in do_image_wic May 22 14:32:40 kanavin: thank you for looking into this, will need to investigate further... May 22 14:36:14 mns_: you need to use @ which trigger inline python, then run the shell from the python (bb.utils.exec_func('name')) iirc May 22 14:37:05 mns_: that wouldn't capture the output of the shell mind so you may need a python function to run the shell command May 22 14:43:40 RP: I don't see any 'exec_func' from https://github.com/openembedded/bitbake/blob/master/lib/bb/utils.py ? May 22 14:43:56 mns_: sorry, bb.build.exec_func May 22 14:49:01 Thanks, I'll play further with the approach - need to log off for now then. Thanks you so far :) May 22 14:58:57 is yocto sumo already considered stable? its not listed as such still on https://wiki.yoctoproject.org/wiki/Releases May 22 15:03:05 clopez: yes it is May 22 15:30:31 clopez: fixed May 22 16:10:22 Anyone know if https://github.com/crops/docker-win-mac-docs/wiki/Windows-Instructions-(Docker-Toolbox) is out of date? docker for windows uses hyper-v by default and doesn't need docker-machine at all by default.. so there is no default vm to remove May 22 16:39:30 thanks! May 22 16:43:48 kergoth: mototimo or bluelightning if they were around, or bavery May 22 16:43:55 kergoth: I suspect its out of date May 22 16:46:55 I cannot build the my SDK May 22 16:47:00 with -c populate_sdk May 22 16:47:06 package openssh-dev-7.5p1-r0.cortexa9hf-neon requires openssh = 7.5p1-r0, but none of the providers can be installed May 22 17:03:51 After using bitbake command for building images ,i am stuck at" Currently 1 running tasks (2156 of 2176)" for over 8 hours,it has still not completed.How can i complete it. May 22 17:28:36 hrmph May 22 17:28:54 ak4721269: use `ps` to examine what processes are running, to see which process is hung May 22 17:29:01 kergoth: crops is lacking people to help develop it :( May 22 17:29:32 I can't say I've looked at the lion's share of it, just the containers for doing builds in docker. The ownership adjustments in particular are useful May 22 17:30:56 oh, right, that wiki page specifically addresses docker toolbox, not dokcer for windows, which differ, that explains it May 22 17:31:05 https://docs.docker.com/docker-for-mac/docker-toolbox/ compares the two, it seems May 22 17:31:21 course that compares mac not windows, but it'ssimilar, just using hyper-v instead of xhyve, afaict May 22 17:32:31 hmm,s eems i could create an additional hyper-v VM with a virtual network switch, i wonder if a vm created with that would be able to bind port 445 May 22 17:36:42 ah, https://github.com/crops/docker-win-mac-docs/issues/3 there it is :) May 22 17:36:55 * kergoth adds to tellmewhenitcloses.com May 22 17:44:10 i am basically trying to build an image of raspberrypi using krogoth master branch on Ubuntu 16.04 .After the necessary cloning procedures and initialisations,I used bitbake build image command .Then it got stuck at "Currently 1 running tasks (2156 of 2176):.I used ps command ,it shows the process id and ,it is a bash file.but it is not moving forward.Ho can i rectify that?? May 22 17:45:08 "a bash file" tells us nothing. please don't summarize. give us actual information, copied and pasted May 22 17:51:28 pstree -p -l where pid is the pid of bitbake that you started tells a lot of useful information quickly May 22 17:51:41 especially when wrapped in for PID in $(pgrep '^Cooker$'); do May 22 17:57:14 good idea May 22 18:02:09 Whether I should use this command after interrupting the current bitbake process or try it on a new terminal?? May 22 18:08:11 I am getting this after using the pstree command "bcm2835-bootfil(29546)───sh(29549)───git(29550)─┬─git(29552) " └─{git}(29551) May 22 18:11:59 ak4721269_: new terminal May 22 18:13:29 rburton : I am getting this after using the pstree command "bcm2835-bootfil(29546)───sh(29549)───git(29550)─┬─git(29552) " └─{git}(29551) May 22 18:13:42 looks like its doing git operations May 22 18:13:56 if they need proxies and its not in a fetch then they'll fail May 22 18:16:56 rburton: thanks for the support ,i will now try to clone some proxies separately?? May 22 18:20:45 ak4721269_ sometimes it's just a super long git command and it's progressing but going slowly May 22 18:20:56 see where it's cloning and see if the git repo is getting larger May 22 18:22:57 mattsm: ok ,i will try it out. May 22 19:00:21 armpit: Hi! Are we ready to build rocko and morty? Was thinking of having them lined up for QA May 22 19:01:12 RP.. ahhh, let me check. May 22 19:02:34 armpit: pyro is built and in QA now May 22 19:03:56 what is in morty proper, it good to go May 22 19:04:54 armpit: ok, good May 22 19:05:09 armpit: I just wanted to check we're not missing anything critical May 22 19:06:08 RP, there are two additional patches in stable/morty-mnut that I not 100% don't cause any issue May 22 19:07:50 RP stable/rocko-mnut had one odd failure. I wanted to rerun it May 22 19:08:42 I still have not gotten sumo to build. think there are some build config stuff needing to be figured out May 22 19:16:20 armpit: there hasn't been any config differences sumo to master? :/ May 22 19:16:31 armpit: what failure are you seeing? May 22 19:16:58 armpit: eclipse sumo? May 22 19:18:44 on the new cluster, eclipse was on. On the new frontend, there was not sumo branch for it to checkout out May 22 19:19:32 armpit: might need to ask mototimo May 22 19:42:26 on my yocto system gpsd daemon will not run without -N, any idea why? i thought -N was for debugging only May 22 20:44:42 hello, is there's a simple primer on how to build for powerpc ? May 22 20:49:17 MACHINE=qemuppc bitbake whateverimageyouwanttobuid May 22 20:49:29 or a better machine if you have specific hardware in mind May 22 21:28:34 rburton: hi, thanks. I was just hoping for a generic image for the powerpc architecture. I just want to use the binary, kernel is an issue here for my application. I'd like to use the binaries to chroot into on an aging machine May 22 21:28:56 you can try qemuppc then May 22 21:30:04 rburton: thanks May 22 21:31:06 New news from stackoverflow: Yocto configure: error: Package requirements (gtk+-3.0 >= 3.14.0) were not met May 22 21:31:10 rburton: I actually want it for a PowerPC architecture that uses big endian. Just curious about how difficult it would be to get the cross tools in place and then building it May 22 21:31:24 I'm building the x86 image now May 22 21:34:16 RP: is there any difference between addtask in a recipe and bb.build.addtask()? May 22 21:34:35 RP: specifically dependencies don't seem to be working with the latter May 22 21:37:40 rburton: depends when you're running it May 22 21:38:02 rburton: it if runs after dependency calcs, it would be ignored May 22 21:38:10 hm yeah good point May 22 21:38:20 wanted to have a class that adds tasks if a variable is set May 22 21:38:29 maybe i'll just deltask them if it isn't set instead May 22 21:38:42 hi folks May 22 21:39:27 so apparently my laptop decided yesterday was its last day in service... is stuck in a 0.5 second power on power off cycle May 22 21:39:40 yay May 22 21:39:56 bluelightning: :( May 22 21:41:07 apparently it's 4.5 years old, so maybe time for a new one ? May 22 21:42:56 bluelightning: probably May 22 21:52:29 I take bids for (ab)used ones May 22 22:26:01 bluelightning: that seems a damaged dc converter, it's easily replaceable (at least where I live) May 22 22:27:01 desert: hmm, interesting - thanks May 22 22:27:12 I guess it'll be up to my employer whether it's repair or replace, though I'll have to actually sort it out I imagine May 22 22:27:39 bluelightning: I was thinking it sounded like a bad SMPS too fwiw May 23 00:01:35 New news from stackoverflow: Clang Cross Compiling with Yocto SDK **** ENDING LOGGING AT Wed May 23 03:00:01 2018