**** BEGIN LOGGING AT Wed Jul 03 03:00:28 2019 Jul 03 03:46:19 New news from stackoverflow: MACHINE_EXTRA_RDEPENDS vs MACHINE_ESSENTIAL_EXTRA_RDEPENDS Jul 03 06:26:52 good morning. Jul 03 06:26:56 it is finally time. Jul 03 06:27:03 we all have waited for it. Jul 03 06:27:07 and here it is Jul 03 06:27:09 the one Jul 03 06:27:11 the only Jul 03 06:27:20 YÖP theme song! Jul 03 06:27:27 https://www.youtube.com/watch?v=Cezg2xfYKOY Jul 03 07:28:34 Hello, I have a question, since Warrior, how can we generate the file "checkpkg.csv", the checkpkgall command no longer exists? Jul 03 08:09:26 morning Jul 03 08:17:05 Hi all, I have an issue with systemd-completion, it fails to load as when bash is run as /bin/sh, it disables bashism, and I need to type "set +o posix" before sourcing ". /usr/share/bash-completion/completions/systemctl" to get it work. Do you know where this posix flag could be set Yocto's way? Jul 03 08:21:07 tprrt: I guess the question is what were you using it for. There seemed to be other better ways of doing most things that code claimed to do Jul 03 08:21:47 tprrt: the class/code was removed Jul 03 08:21:59 nayfe: why are you calling bash as `sh` when you apparently want a full-featured interactive bash shell? Jul 03 08:22:29 how is this bash instance getting started, and why can't you just execute it as `bash`? Jul 03 08:22:52 It's default in Yocto, /bin/sh is a symlink to /bin/bash.bash that is symlink to /bin/bash Jul 03 08:24:48 so when I get a shell, it's bash but through "sh" alias Jul 03 08:25:39 nayfe: If you want bash, shouldn't you be calling "bash" rather than "sh" ? Jul 03 08:28:36 So what's the point of having /bin/sh -> /bin/bash link? Jul 03 08:28:49 shouldn't it be transparent? Jul 03 08:29:42 nayfe: bash can also provide an sh shell? Jul 03 08:30:13 it seems bash removes some compatibility flags when run as sh Jul 03 08:30:14 if it didn't exist, how would shell scripts with "/bin/sh" as the interpreter run? Jul 03 08:42:31 nayfe: what do you mean by "when i get a shell"? how are you starting the shell? Jul 03 08:43:35 through ssh or serial Jul 03 08:43:37 nayfe: the /bin/sh symlink is for scripts that expect POSIX sh behavior. Jul 03 08:43:55 nayfe: perhaps you just need to change your user's interactive shell Jul 03 08:44:07 RP: we use the csv file to list all the elements embedded in our runtime, as well as the associated information licenses, versions ... Following our migration to warrior, I am looking for an alternative. Jul 03 08:44:10 nayfe: in /etc/passwd Jul 03 08:45:56 (i'm not sure what you mean by "transparent", but when invoked as sh, bash runs in posix mode. it strives for maximum compatibility with standard sh.) Jul 03 08:46:07 for interactive use, you almost always want to call it as bash Jul 03 08:46:52 for the serial console, how is the shell being executed? do you put in a username/password in the standard getty? Jul 03 08:49:12 @BCMM It makes sense to change shell in /etc/passwd, I though I could bypass shell change to get bash-completion with sh as bash but it overrides posix behaviour stuff, thanks :) Jul 03 08:50:13 that's how most distros manage things. sh symlink for scripts, /bin/bash as the default in /etc/passwd for interactive use Jul 03 08:50:51 (noting that debian-based distros symlink sh to dash, and many yocto projects link it to busybox) Jul 03 08:54:08 indeed ;) thanks for details Jul 03 08:55:26 tprrt: have a look at meta/lib/oeqa/selftest/cases/distrodata.py, for example test_maintainers Jul 03 08:55:43 tprrt: basically its simple enough to write something to query bitbake for what you need Jul 03 09:05:29 RP: I am already looking to do this as I did not find by order equivalent to checkpkgall, I asked the question not to reinvite the wheel. So, I will implement a simple tool to query bitbake. Thanks for your help. Jul 03 09:06:46 tprrt: the trouble with checkpkg was that it did several different things badly. This way you get the information you actually need using the right interface. Its near impossible to say which info you actually want. I doubt for example you actually ship everything in oe-core in your runtime Jul 03 09:09:56 RP: I agree Jul 03 09:10:28 RP: as i get paid by shipped packages, i ship everything. always. :) Jul 03 09:13:40 LetoThe2nd: perl's module splitting must be a good earner then! :) Jul 03 09:13:54 LetoThe2nd: package per file? :) Jul 03 09:14:31 tprrt: I'd be happy to have examples of this in the scripts/contrib directory btw Jul 03 09:14:41 tprrt: don't think there is one as yet though Jul 03 09:14:58 RP: i'm working on that. accounting is not yet convinced. Jul 03 09:15:36 once i got them to ack it, i'll make sure we ship full source too! Jul 03 09:15:42 world domination! Jul 03 09:18:26 LetoThe2nd: Not sure we can say that out loud ;-) Jul 03 09:18:39 can i think it out loud then? Jul 03 09:18:49 I'm sure that is fine Jul 03 09:18:53 cool Jul 03 09:19:26 on a more serious note, what do you think about (e)SDK being the main topic for the next twitch session? Jul 03 09:19:45 LetoThe2nd: We never had the picture of a globe with a yocti wrapping around it on a whiteboard... Jul 03 09:20:23 LetoThe2nd: I'm ok with that, eSDK is a bit of a tricky subject as its not being well maintained atm and needs some serious feature development which isn't happenening :( Jul 03 09:21:15 RP: i see. the esdk part would probably be only little more than "hey you can hand this out to folks for building images, and hey see, its got devtool too." Jul 03 09:21:47 LetoThe2nd: fair enough Jul 03 09:22:04 i think the image building and deploy-target things are of most interest here Jul 03 09:22:16 LetoThe2nd: right, makes sense Jul 03 09:22:27 kay. i'll get word out then. Jul 03 09:23:12 and, pro tip: blackboards are better than whiteboards. you know, black is more evil. Jul 03 09:23:58 oO( blackborads. ) Jul 03 09:25:26 LetoThe2nd: not so common now though unfortunately Jul 03 09:26:02 LetoThe2nd: I'm trying not to say that I prefer libreoffice (and now failing) Jul 03 09:28:46 RP: it is noted thank you Jul 03 10:13:00 any hints where package index files went from image oe-rootfs-repo directory between sumo and master? Jul 03 10:25:14 mcfrisk: http://git.yoctoproject.org/cgit.cgi/poky/commit/meta/lib/oe?id=26a786f86989ce47eac4eecec3b0798730194b05 ? Jul 03 10:25:46 mcfrisk: indexes shouldn't have moved though? :/ Jul 03 10:28:54 RP: thanks, also found that. have a custom image class which does opkg update and it's failing... Jul 03 10:29:34 not sure if a package index should be generated now for each image separately.. Jul 03 10:36:27 RP: indeed, adding a self.pm.write_index() before self.pm.update() fixes the issues. thanks for the hint! Jul 03 11:17:26 New news from stackoverflow: How to invoke different .bbclasses for different recipes Jul 03 13:02:54 it seems that after some time (like 15 minutes to half hour) our device becomes disassociated from the network. it often takes several pings to wake up. Jul 03 13:03:30 is there some parameter (e.g., an option in bcmXYZ) which sets some type of timeout in the wifi interface that may be causing this? Jul 03 13:55:37 yates: maybe ask your hardware provider Jul 03 14:34:28 yes, i already did. Jul 03 15:03:13 linuxfoundation.slack.com Jul 03 15:08:47 *ndec Hi Jul 03 15:09:05 I don't know how to direct message, apologies. Jul 03 15:09:47 Jacobenz: ok, got it. thanks,. Jul 03 16:18:09 Hi all, it's me again for a new round of weird questions :) Jul 03 16:19:47 we have got two recipes delivering the same named libraries but compiled with different compilers, they're put in different directories. However, Yocto complains that foo package rdepends on bar package, are you missing DEPENDS or PACKAGECONFIG or something similar Jul 03 16:20:12 Both packages RPROVIDES AND RDEPENDS on the same named library (but compiled with different compilers)\ Jul 03 16:20:43 is there a way to make this warning disappear or am I just heading straight to the INSANE_SKIP? Jul 03 16:21:32 (and sometimes it's complaining bar pckage rdepends on foo package instead of the other order) Jul 03 16:22:57 did I put enough context? Jul 03 16:30:50 qschulz: that would seem to be a valid use for INSANE_SKIP Jul 03 17:40:47 JPEW: you might find http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=rpurdie/t222 interesting Jul 03 17:41:23 JPEW: it doesn't change much functionality wise yet but you might be able to see what I'm going to try Jul 03 17:42:00 Cool. I'll take a look Jul 03 17:43:26 JPEW: I don't think I could successfully rewrite runqueue without huge regressions but I think we can step by step migrate it into what we need Jul 03 18:20:59 RP: may I ask why it happens? what's the mechanism behind the automagic rdepends? Is it looking for libraries in other packages first? Jul 03 18:28:56 qschulz: I think if you merge a patch I just added in master it won't Jul 03 18:29:15 qschulz: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=99206cb7b41be7a124ea8339bc891077f02128a2 Jul 03 18:33:43 RP: interesting, I might give it a try to know if this fixes it :) Jul 03 20:10:59 a long while back i created a cross-toolchain on my ubuntu box, but it lacks some libraries i now use, e.g., the dbus library. can i update it to include these new libraries? Jul 03 20:16:01 how can i? Jul 03 20:16:11 yates: you mean built a new more extended one? Jul 03 20:16:20 yes Jul 03 20:16:30 yates: yes, you can do that Jul 03 20:19:29 RP: thanks - that's all i wanted to know. Jul 03 23:54:04 not Jul 04 02:52:18 hey guys! I can't get QtWebEngine to work on neither thud or warrior :-( I got this https://pastebin.com/ZA2j9RJ6 in stdout and "Unhandled prefetch abort: breakpoint debug exception (0x002) at 0x6fc3f14a" in dmesg every launch :-( **** ENDING LOGGING AT Thu Jul 04 02:59:57 2019