**** BEGIN LOGGING AT Wed Jun 10 02:59:57 2020 Jun 10 08:40:10 Hi all, do you know a nice platform for getting logs of IoT devices available in yocto ? Jun 10 08:40:44 define logs, define nice, define iot :P Jun 10 08:42:20 Letothe2nd: LOL Jun 10 08:42:56 hey at least i think we can agree on....erm wait. Jun 10 08:43:04 clementp[m]: please define "platform". Jun 10 08:43:22 i think the "yocto" part at least is clear. Jun 10 08:45:13 Letothe2nd: more and more frequently nowadays I think I'd need the help of a 'crystal ball'(TM) Jun 10 08:45:48 to understand requests for quotation and tech specs :-D Jun 10 08:46:11 Letothe2nd: okay i have 50devices on the field and want to check if everything is fine or if they reboot what happened. Jun 10 08:46:33 They have internet connection and I don't save anything in the flash right now Jun 10 08:46:41 clementp[m]: so we are talking about the system logs of the underlying linux, right? Jun 10 08:46:45 Yes Jun 10 08:47:25 sysdig, maybe Jun 10 08:47:35 should be in meta-oe Jun 10 08:54:24 thanks i will check Jun 10 08:55:04 maybe zabbix? Jun 10 08:55:51 eventhough this might be overkill :D Jun 10 09:06:56 as usual, it "depends". Jun 10 09:07:09 one could also just pipe rsyslog out, AFAIK Jun 10 09:08:10 yeah thats true... I used zabbix during my time at the institute in order to monitor our development VMs Jun 10 09:08:39 nothing wrong with that. Jun 10 09:10:11 well, "it depends" is really the correct term to describe such a solution :D Jun 10 09:11:38 Dracos-Carazza: looks interesting, thank you for sharing Jun 10 09:19:01 RP: what's the current schedule for running AUH? I couldn't figure this out from the autobuilder. Jun 10 09:19:15 kanavin_home: its manually triggered Jun 10 09:19:36 kanavin_home: We can schedule it if we wanted Jun 10 09:20:01 RP: right, I guess it's not too much trouble to press the button once a month Jun 10 09:20:50 kanavin_home: we can make it work whichever way we want... Jun 10 09:21:18 RP: maybe once a month on the 15th would be good, same as before Jun 10 09:25:26 kanavin_home: http://git.yoctoproject.org/cgit.cgi/yocto-autobuilder2/commit/?id=6375d089c23ed152c9f647a384c34f9ae875c9dc - not live yet but will get added Jun 10 09:40:57 I try to create a cmake shared library and got the message: "ERROR: libprom-1.0-r0 do_package_qa: QA Issue: -dev package contains non-symlink .so: libprom-dev path '........./usr/lib/libprom.so' [dev-elf]" Jun 10 09:41:01 any idea? Jun 10 09:43:08 chris_ber: sounds like versioning is not correct Jun 10 09:43:44 chris_ber: i think you need to specify the library version so all the naming and symlinking works properly, then it gets packaged as intended. Jun 10 09:45:13 chris_ber: libprom.so.1.0 is what your library should be named. Then you can have a symlink libprom.so.1 and libprom.so, which will make it to ${PN}-dev package Jun 10 09:48:17 ok Jun 10 09:51:43 the key point is that the naming works automatically once you properly use cmakes library versioning Jun 10 09:55:56 you talking about the missing version info in the CMakeLists.txt? Jun 10 09:57:50 chris_ber: i haven't looked at your cmakelists. jsut saying that if you do things correctly, then they get packaged correctly. Jun 10 10:01:21 i added in CMakeLists.txt: project(prom VERSION 1.0.0) and got still the saem Problem -> https://bitbin.it/Nj015pMb/ Jun 10 10:08:17 chris_ber: can't find it right now, but i guess you need to make sure the SOVERSION and all is set Jun 10 10:08:57 ok Jun 10 10:11:09 who is arranging the devday at ELC-NA? Jun 10 10:11:13 i bet Letothe2nd knows Jun 10 10:11:29 rburton: i do? Jun 10 10:11:43 Seemed like the sort of thing you'd know ;) Jun 10 10:12:24 rburton: i now whom i would get in touch with if i had something to discuss concerning that, no idea if that also the organizing person :) Jun 10 10:12:28 *know Jun 10 10:12:37 who is that? Jun 10 10:13:09 rburton: david reyna Jun 10 10:13:21 I shall hunt him down later, thanks Jun 10 10:13:26 have fun. Jun 10 10:29:41 Letothe2nd: when i execute cmake itself folowed by make the shared library (incl symlink xx.so-> xx.so.1.0.0) are created. So maybe i missing something in the recipe? any idea? Jun 10 11:39:09 RP, regarding the features_check/warn-if-unused thing, could you elaborate on the parsing hit ? I did some before/after measurements but I can't detect any noticeable differences Jun 10 11:44:27 chris_ber: then are you maybe installing to non-canonical places? but no real idea, sorry. Jun 10 11:46:46 ok Jun 10 11:53:30 kroon: out of interest why couldn't you use BBINCLUDED ? Jun 10 11:56:48 RP, as I see it, I can only warn of those variables are unset *and* features_check is inherited directly in the .bb file. If its in an .inc it could be false positive (which there are in OE-Core). I don't think that information can be extracted from BBINCLUDED Jun 10 11:58:43 RP, for instance there is a "inherit features_check" in xorg-lib-common.inc, but not all xorg bb recipes that include it use the feature check functionality Jun 10 12:01:54 kroon: the xorg issue looks like its aviodable by checking for None vs "" in the set value? Jun 10 12:03:27 kroon: I understand why you've built it the way you have but I fear its trying to be a little bit too clever :/ Jun 10 12:06:15 RP, xorg was a bad example Jun 10 12:06:33 RP, I think Jun 10 12:06:44 RP, libva-initial is another one Jun 10 12:07:24 RP, it includes libva.inc, but doesnt set any of the variables Jun 10 12:08:13 kroon: shouldn't that just be cleaned up? Jun 10 12:08:29 RP, how ? Jun 10 12:08:43 RP, move the inherit from the inc ? Jun 10 12:08:43 kroon: dropped from libva.inc ? Jun 10 12:09:10 RP, id say that depends on how recipes include the .inc file Jun 10 12:09:20 RP, *how many recipes include* Jun 10 12:09:32 kroon: ok, but looking at the way those recipes use the inc, it can be dropped Jun 10 12:09:59 RP, then there is glib and glibc Jun 10 12:11:24 kroon: glib doesn't use it at a quick glance? Jun 10 12:11:33 RP, well, glib should just be fixed, right Jun 10 12:12:07 can't spot any glibc usage immediately either Jun 10 12:12:11 right Jun 10 12:12:19 so we just fix those? Jun 10 12:14:35 RP, ya, and bluez5 Jun 10 13:25:58 Good Morning, If you want to use cve-check.bbclass what is the best practice for adding cve-update-db in Zeus? Jun 10 13:34:45 the class is already in zeus isn't it? Jun 10 13:39:35 yes, the class is there but to use it there is a cve-update-db recipe. what I'm trying to understand is if the parser knows that needs to be run first or you need a separate build to update the db. Jun 10 13:40:48 the class knows to run the tool Jun 10 13:40:50 mcfrisk: ^? Jun 10 13:46:18 hwen i have to versions of my recipe: app_0.0.1.bb and app_0.0.2.bb how can i instruct bitbake to install one specific version? Jun 10 13:47:18 chris_ber: PREFERRED_VERSION, see ref-manual Jun 10 13:47:55 o Jun 10 13:49:52 ok Jun 10 13:52:11 chris_ber: in your distro conf file or machine conf file, elsewhere it has no effect Jun 10 13:54:05 qschulz: hey you just ruined the fun! Jun 10 13:59:38 Letothe2nd: sorry, I foresaw the next question :) Jun 10 14:03:53 qschulz: i did too, yet i remained purposefully silent Jun 10 14:21:54 I am adding dunfell to patchwork Jun 10 15:33:45 Does somebody experienced the same? changes in CMakeLists.txt (e.g. changing SOVERSION) are unrecognized. When i update the content of the recipe it will be Jun 10 15:35:19 chris_ber: is it still a combined metadata-source thing? Jun 10 15:36:09 you don't wanna hear this: yes Jun 10 15:36:20 then you screwed yourself. Jun 10 15:36:27 even if you don't wanna hear it Jun 10 15:36:41 chris_ber: you probably have used devtool before right and forgot to reset? Jun 10 15:36:51 or forgot you reset and still use devtool workspace Jun 10 15:37:04 reason: bitbake looks at the recipe, sees no change, decides not to act. Jun 10 15:37:24 qschulz: no, i am not using devtool Jun 10 15:37:32 if you had followed given advice (separate repo, or at least EXTERNALSRC) it would have worked. Jun 10 15:37:38 chris_ber: what do you have in SRC_URI? Jun 10 15:37:44 blame your wasted time at your unwillingness to listen, then. Jun 10 15:37:46 glob Jun 10 15:37:53 and with that, i call it a day. Jun 10 15:38:18 chris_ber: there is no glob support in SRC_URI Jun 10 15:38:23 we told you yesterday Jun 10 15:38:31 files or directories only Jun 10 15:39:24 the issue is that Yocto pulls the files correctly the first time (not even guaranteed?) but the files aren't watched over Jun 10 15:39:30 when you're using a glob Jun 10 15:39:48 tomorrow i restart over and do it your way. i am sick of getting results and got stuck in another place. Jun 10 15:42:28 chris_ber: whatever suits you best. You need to give directories and files to SRC_URI only, explicitely, not with glob or regexp. If you just explicit them, you can keep your (bad practice) current way of doing it Jun 10 16:09:10 Maybe a strange question - I'm using podman/docker to build Yocto with some older OSes Jun 10 16:09:10 The problem is that I need to build it as root (as this avoids a lot of issues with UID/GID mismatches on namespaces and mount directories) Jun 10 16:09:10 I do know that just running bitbake as root is forbidden and can be fixed with using: Jun 10 16:09:10 meta/conf/sanity.conf (#INHERIT += "sanity") Jun 10 16:09:10 But is there any plan to make it optional (as use case in containers)? Jun 10 16:12:03 lukma: Running builds as root hides operations that are not properly run under pseudo, Yocto's fakeroot implementation. Jun 10 16:12:46 When running builds as user, such issues will be caught by a sanity check. Jun 10 16:12:59 lukma: Have you looked into the CROPS containers? They're designed to fix exactly that issue Jun 10 16:13:17 A startup script in the container ensures uids/gids match Jun 10 16:13:21 or JPEW's pyrex tooling Jun 10 16:14:48 lukma: Pyrex is designed to preserve the proper permissions of your user when running bitbake in a container Jun 10 16:20:45 lukma: https://github.com/garmin/pyrex Jun 10 18:20:03 lukma: also some upstream packages *refuse* to build if root, if you want more reasons to run builds as non-root user Jun 10 18:45:01 * Letothe2nd gets beer, starts late shift. Jun 10 18:46:21 * qschulz should really leave the office now :) Jun 10 18:46:49 qschulz: alone there? best time to get $stuff done! Jun 10 18:47:18 9pm before a holiday? sure thing I'm alone at the office Jun 10 18:47:32 best time to get $STUFF done. Jun 10 18:53:59 happy dance due to random click: git blame annotations in vs code. /me likes! Jun 10 19:02:27 smurray: or yoe distro also uses docker container :) Jun 10 19:05:03 kas also supports docker Jun 10 19:05:29 i think its harder to find proper project not relying on a docker build than those which do these times. Jun 10 19:15:58 yeah building master I prefer to use archlinux, but for releases docker is so much better, I can still use archlinux of today to build morty Jun 10 19:16:26 its that pill which gets sweeter with time :) Jun 10 19:16:39 heh Jun 10 19:17:26 I do my own tinkering with master on Fedora if it's not broken, otherwise a debian stable container Jun 10 19:18:06 broken ? fedora or OE or both Jun 10 19:22:55 khem: e.g. the occasional bleeding edge brokenness like gcc 10 in F32 Jun 10 19:23:02 ah yes Jun 10 19:23:37 yeah someone has to fix them and unfortunately its some of us at that edge Jun 10 19:24:43 in my experiments I see systemd images have 30MB extra ram usage compared to sysvinit Jun 10 19:25:01 regardless of musl or glibc Jun 10 19:33:13 khem: runtime, you mean? Jun 10 19:41:52 yes Jun 10 19:42:37 so certainly not a lot of you have modern machines, but still a lot if you have 32MB flash and 128MB DRAM parts Jun 10 19:45:04 khem: yeah. Is it spread around, or does e.g. journald seem to be larger than expected? Jun 10 19:50:23 its spread Jun 10 19:50:49 its fresh isntall so journald is not housing much Jun 10 19:55:54 gotcha Jun 10 21:45:40 v5.2.x SRBDS released, for all those who monitor CVEs. https://lists.yoctoproject.org/g/linux-yocto/message/8744 Jun 10 21:47:57 https://www.vusec.net/projects/crosstalk/ <------ CVE-2020-0543 Jun 10 21:49:53 the v5.4.x and v5.7.x can be found in the "normal" integrations of linux-stable that zeddii does. Jun 10 23:21:50 paulg, thanks Jun 10 23:27:32 armpit, as always I'm glad to see it used. There have even been side benefits, like finding backport issues in v5.4 Jun 10 23:27:43 https://www.spinics.net/lists/stable/msg392076.html **** ENDING LOGGING AT Thu Jun 11 02:59:59 2020