Monday, 2021-10-18

*** linkliu59 <linkliu59!~user_name@> has quit IRC (Ping timeout: 260 seconds)00:14
*** linkliu59 <linkliu59!~user_name@> has joined #yocto00:15
*** paulg <paulg!> has quit IRC (Remote host closed the connection)00:21
*** paulg <paulg!> has joined #yocto00:42
*** Tokamak <Tokamak!~Tokamak@> has quit IRC (Read error: Connection reset by peer)00:55
*** Tokamak <Tokamak!~Tokamak@> has joined #yocto01:00
*** Vonter_ <Vonter_!~Vonter@user/vonter> has joined #yocto01:45
Ch^W_RP: Here is a gist of the patch update I emailed to the list:
Ch^W_RP: The only changes I made were to lines 29, 100, 102, and 110.01:49
*** Vonter_ <Vonter_!~Vonter@user/vonter> has quit IRC (Ping timeout: 252 seconds)01:49
Ch^W_And the more I ponder it, the more I like your idea. It more or less causes bitbake behave like Git.01:50
*** Vonter_ <Vonter_!~Vonter@user/vonter> has joined #yocto01:55
*** Vonter_ <Vonter_!~Vonter@user/vonter> has quit IRC (Ping timeout: 252 seconds)02:00
*** hpsy <hpsy!~hpsy@user/hpsy> has quit IRC (Ping timeout: 256 seconds)02:04
*** Vonter_ <Vonter_!~Vonter@user/vonter> has joined #yocto02:06
*** camus <camus!~Instantbi@> has joined #yocto02:08
*** Vonter_ <Vonter_!~Vonter@user/vonter> has quit IRC (Ping timeout: 252 seconds)02:10
*** Vonter_ <Vonter_!~Vonter@user/vonter> has joined #yocto02:16
*** Vonter_ <Vonter_!~Vonter@user/vonter> has quit IRC (Ping timeout: 265 seconds)02:21
*** Vonter_ <Vonter_!~Vonter@user/vonter> has joined #yocto02:47
*** Vonter_ <Vonter_!~Vonter@user/vonter> has quit IRC (Ping timeout: 264 seconds)02:51
*** Vonter_ <Vonter_!~Vonter@user/vonter> has joined #yocto02:57
*** Vonter_ <Vonter_!~Vonter@user/vonter> has quit IRC (Ping timeout: 264 seconds)03:01
*** Vonter_ <Vonter_!~Vonter@user/vonter> has joined #yocto03:11
*** Guest32 <Guest32!~Guest32@> has joined #yocto03:15
*** Vonter_ <Vonter_!~Vonter@user/vonter> has quit IRC (Ping timeout: 265 seconds)03:16
Guest32Hello, I have a question. I'm using Yocto Dunfell and I'm trying to remove qemu-edk2 support. How I can remove the edk2 support from qemu?03:17
*** Ad0 <Ad0!~Ad0@> has quit IRC (Ping timeout: 268 seconds)03:31
*** Vonter_ <Vonter_!~Vonter@user/vonter> has joined #yocto03:32
*** Vonter_ <Vonter_!~Vonter@user/vonter> has quit IRC (Ping timeout: 252 seconds)03:37
*** alicef <alicef!~none@gentoo/developer/alicef> has quit IRC (*.net *.split)04:30
*** risca_ <risca_!> has quit IRC (*.net *.split)04:30
*** Gaffel_ <Gaffel_!> has quit IRC (*.net *.split)04:30
*** tkoskine <tkoskine!> has quit IRC (*.net *.split)04:30
*** xantoz <xantoz!> has quit IRC (*.net *.split)04:30
*** tkoskine <tkoskine!> has joined #yocto04:30
*** alicef <alicef!~none@gentoo/developer/alicef> has joined #yocto04:31
*** risca <risca!> has joined #yocto04:31
*** xantoz <xantoz!> has joined #yocto04:31
*** xmn <xmn!> has quit IRC (Ping timeout: 265 seconds)04:35
*** Gaffel <Gaffel!> has joined #yocto04:42
*** amitk <amitk!~amit@> has joined #yocto05:03
*** Schlumpf <Schlumpf!~Schlumpf@> has joined #yocto05:07
*** sakoman <sakoman!> has quit IRC (Ping timeout: 264 seconds)05:21
*** m4ho <m4ho!~m4ho@> has quit IRC (Quit: WeeChat 3.1)05:24
*** alessioigor <alessioigor!~alessioig@> has joined #yocto05:26
*** manuel1985 <manuel1985!~manuel198@2a02:1748:dd5c:f290:f85b:5e51:df16:ed40> has quit IRC (Ping timeout: 252 seconds)05:27
*** alessioigor <alessioigor!~alessioig@> has quit IRC (Quit: alessioigor)05:34
*** sakoman <sakoman!> has joined #yocto05:35
*** hpsy <hpsy!~hpsy@user/hpsy> has joined #yocto05:35
*** zyga-mbp <zyga-mbp!~zyga@> has joined #yocto06:10
*** rsalveti <rsalveti!> has quit IRC (Quit: Connection closed for inactivity)06:23
*** bps <bps!~bps@> has joined #yocto06:23
*** Schlumpf <Schlumpf!~Schlumpf@> has quit IRC (Quit: Ping timeout (120 seconds))06:30
JosefHolzmayrTheGuest32: remove from where and whats the reasoning?06:30
*** tre <tre!> has joined #yocto06:30
Guest32I have a low memory system that is booting from RAM and I don't need the UEFI support06:31
JosefHolzmayrTheGuest32: but how does that relate to qemu?06:31
*** goliath <goliath!~goliath@user/goliath> has joined #yocto06:33
Guest32bash-5.0# ls -lah /usr/share/qemu/ | grep edk06:33
Guest32-rw-r--r--  1 root root  64M Mar  9  2018 edk2-aarch64-code.fd06:33
Guest32-rw-r--r--  1 root root  64M Mar  9  2018 edk2-arm-code.fd06:33
Guest32-rw-r--r--  1 root root  64M Mar  9  2018 edk2-arm-vars.fd06:33
Guest32-rw-r--r--  1 root root 3.5M Mar  9  2018 edk2-i386-code.fd06:33
Guest32-rw-r--r--  1 root root 3.5M Mar  9  2018 edk2-i386-secure-code.fd06:33
Guest32-rw-r--r--  1 root root 528K Mar  9  2018 edk2-i386-vars.fd06:33
Guest32-rw-r--r--  1 root root  42K Mar  9  2018 edk2-licenses.txt06:33
Guest32-rw-r--r--  1 root root 3.5M Mar  9  2018 edk2-x86_64-code.fd06:33
Guest32-rw-r--r--  1 root root 3.5M Mar  9  2018 edk2-x86_64-secure-code.fd06:33
Guest32edk2 seems to be part of qemu ...06:33
JosefHolzmayrTheGuest32: i'd rather guess that something in your image/distro/machine pulls it in, and if you don't need it, then remove it there.06:34
*** Schlumpf <Schlumpf!~Schlumpf@> has joined #yocto06:36
*** manuel1985 <manuel1985!~manuel198@> has joined #yocto06:37
*** mvlad <mvlad!~mvlad@2a02:2f08:4d01:ef00:24d7:51ff:fed6:906d> has joined #yocto06:39
Guest32do you have an example? I want qemu without edk2 ...06:39
JosefHolzmayrTheGuest32: but you do want qemu?06:40
Guest32Yes, I want qemu ...06:40
*** rfuentess <rfuentess!> has joined #yocto06:43
JosefHolzmayrTheGuest32: according to this list i cannot easily spot a switch that would affect uefi or edk2. so I'd say thats your starting point: find out what build parameter makes qemu build and install all that stuff, then turn it off. one sidenode: before you dig too deep, make sure that you're actually looking at the right thing. oe-pkgdata-util will help06:45
JosefHolzmayrTheyou map the file to a recipe/package06:45
JosefHolzmayrTheGuest32: and trimming down supported architectures might be helpful too.06:47
*** mckoan|away is now known as mckoan06:51
mckoangood morning06:51
*** hpsy <hpsy!~hpsy@user/hpsy> has quit IRC (Quit: Client closed)06:55
*** hpsy <hpsy!~hpsy@user/hpsy> has joined #yocto06:56
*** kroon <kroon!> has joined #yocto06:57
*** Vonter_ <Vonter_!~Vonter@user/vonter> has joined #yocto06:58
*** gsalazar_ <gsalazar_!> has joined #yocto07:00
*** Vonter_ <Vonter_!~Vonter@user/vonter> has quit IRC (Ping timeout: 258 seconds)07:03
*** zpfvo <zpfvo!~fvo@> has joined #yocto07:07
hmw[m]good morning07:07
hmw[m]how do i set a perered version of linux-libc-headers?07:08
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV)07:08
JosefHolzmayrThehmw: be providing a recipe for it and then using PREFERRED_VERSION, probably.07:09
hmw[m]PREFERRED_VERSION_linux-libc-headers = "5.10.%" ?07:09
JosefHolzmayrThePREFERRED_VERSION:linux-libc-headers it is on master, and it also only works if there is a recipe that provides said version.07:11
*** amitk <amitk!~amit@> has quit IRC (Quit: leaving)07:12
*** amitk <amitk!~amit@> has joined #yocto07:12
*** amitk <amitk!~amit@> has quit IRC (Client Quit)07:17
*** amitk <amitk!~amit@> has joined #yocto07:17
*** gsalazar__ <gsalazar__!~gsalazar@> has joined #yocto07:18
*** Vonter_ <Vonter_!~Vonter@user/vonter> has joined #yocto07:19
*** gsalazar_ <gsalazar_!> has quit IRC (Ping timeout: 264 seconds)07:21
*** alejandr1 <alejandr1!~alejandro@user/alejandrohs> has quit IRC (Read error: Connection reset by peer)07:22
*** kroon <kroon!> has quit IRC (Quit: Leaving)07:23
*** Vonter_ <Vonter_!~Vonter@user/vonter> has quit IRC (Ping timeout: 258 seconds)07:24
*** kroon <kroon!> has joined #yocto07:26
*** alejandr1 <alejandr1!~alejandro@user/alejandrohs> has joined #yocto07:28
*** Vonter_ <Vonter_!~Vonter@user/vonter> has joined #yocto07:30
*** tnovotny <tnovotny!> has joined #yocto07:31
*** Vonter_ <Vonter_!~Vonter@user/vonter> has quit IRC (Ping timeout: 258 seconds)07:34
*** pgowda_ <pgowda_!> has joined #yocto07:45
qschulzRP: I saw over the week-end that the can of worms is open for the JSON files :p07:45
JosefHolzmayrTheqschulz: JSON files? where are JSON files?!?07:46
qschulzJosefHolzmayrThe: IIUC, the format of the sigdata files is changed from pickled objects to JSON files07:47
*** goliath <goliath!~goliath@user/goliath> has joined #yocto07:56
*** kpo_ <kpo_!> has quit IRC (Read error: Connection reset by peer)08:01
*** mattsm <mattsm!> has quit IRC (Quit: Ping timeout (120 seconds))08:03
*** mattsm <mattsm!> has joined #yocto08:03
wyrecan bitbake include a recipe in the workspace into a specific layer? Have I to do this manually? 🤔08:13
JosefHolzmayrThewyre: you mean, once you are finished with it, after you worked on it with devtool? i think it can, go for devtol help08:14
*** wwilly <wwilly!~wwilly@> has quit IRC (Quit: Leaving)08:22
*** ChanServ sets mode: +v ndec_08:34
*** ndec_ is now known as ndec08:34
*** florian <florian!> has joined #yocto08:45
JosefHolzmayrThehow crazy would it be to put DL_DIR and maybe even SSTATE on a remote location, connected over rclone?09:04
qschulzI think it's a bad idea for SSTATE if you don't have a blazing fast download speed from your remote location?09:10
qschulzwhat are you trying to achieve?09:10
JosefHolzmayrTheand if i had?09:10
qschulzyou would have the network overhead for every sstate-cache checks09:11
qschulzso still much slower than local fs I'd assume but it's just guessing :)09:12
JosefHolzmayrThei'm not doubting that it will be slower, probably also substantially, but would it work?09:13
qschulzlet us know :p09:13
*** RP <RP!~richard@2001:8b0:aba:5f3c:96de:80ff:fe6d:2d2b> has quit IRC (Ping timeout: 252 seconds)09:14
JosefHolzmayrTheexactly the "i did not hope for"-answer :P09:26
*** Stormenberg <Stormenberg!~thomas@> has joined #yocto09:26
rburtonJosefHolzmayrThe: isn't the stuff local if you use rclone, it's just mirrored remotely too?09:28
*** RP <RP!~richard@2001:8b0:aba:5f3c:96de:80ff:fe6d:2d2b> has joined #yocto09:28
rburtonthe canonical solution is local sstate_dir, remote readonly sstate mirror, task to sync local to remote09:29
RPqschulz: yes, I hadn't realised the code used them as sets :(09:30
JosefHolzmayrTherburton: yeah i know, but what if i want a remote sstate and have no nfs or such?09:31
JosefHolzmayrThee.g. want to use aws s3 or such?09:31
rburtonthen you need to write locally then mirror afterwards09:31
rburtonwhich is trivial, after a successful build do the sync09:32
JosefHolzmayrTheand how do i use the remote one? any example?09:32
rburtonlocal.conf.sample has an example using the autobuilder sstate09:34
rburtonstuff in a mirror is downloaded to your local sstate dir, so if your intention is to reduce disk usage then sorry09:34
JosefHolzmayrTheyeah i know that one, but its a) public and b) uses the whole http sutff09:35
rburtonsure, but its an example of the syntax09:35
rburtonit runs through bb.fetch209:35
qschulzyou upload your SSTATE_DIR to your remote and rnu a webserver serving those files09:35
qschulzand rsync every now and then to keep your mirror up to date09:36
qschulzsame mechanism can be used for DL_DIR09:36
rburtonor if s3 wasn't an abstract example, you can use s3: urls09:36
JosefHolzmayrTheyeah but... it kinda doesn't feel like i want it to.09:37
JosefHolzmayrThethanks for the input, will dig deeper.09:37
qschulznot sure to understand the issue, can you elaborate?09:37
JosefHolzmayrTheqschulz: not yet, sorry.09:37
JosefHolzmayrTheread as: "busy evaluating crazy brainfarts"09:38
*** Tyaku <Tyaku!> has joined #yocto09:46
*** bps <bps!~bps@user/bps> has quit IRC (Ping timeout: 260 seconds)09:56
*** bps <bps!~bps@> has joined #yocto10:10
*** bps <bps!~bps@user/bps> has quit IRC (Ping timeout: 264 seconds)10:21
*** bps <bps!~bps@> has joined #yocto10:24
*** Tyaku <Tyaku!> has quit IRC (Quit: Lost terminal)10:29
*** leon-anavi <leon-anavi!~Leon@> has joined #yocto10:30
*** zyga-mbp <zyga-mbp!~zyga@> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)10:51
*** zyga-mbp <zyga-mbp!~zyga@> has joined #yocto10:55
*** pidge957 is now known as pidge11:05
*** pidge <pidge!~pidge95@> has quit IRC (Quit: Client closed)11:07
*** pidge <pidge!~pidge@> has joined #yocto11:07
*** vladest <vladest!~Thunderbi@2001:171b:c9b1:9c20:3791:1b60:b4f4:8e14> has quit IRC (Quit: vladest)11:09
*** vladest <vladest!~Thunderbi@2001:171b:c9b1:9c20:1174:53b9:f68b:a0b7> has joined #yocto11:10
wyredoes bitbake provide cmake? 🤔11:15
rburtonthere is an oe-core recipe for cmake11:15
rburtonbitbake doesn't provide anything11:16
wyrerburton, I mean for the build process in the docker instance where I'm running bitbake11:16
rburtonright.  oe-core has a recipe for cmake.11:16
rburtonlike it has a recipe for autoconf or gcc.11:16
wyrerburton, so actually cmake has to be built before built c packages with it? 🤔11:16
rburtonbitbake is a python tool which reads recipe files, and executes them. nothing else.11:17
rburtonwell, yes, of course11:17
rburtoninherit cmake in the recipe that uses cmake and that will add a dependency on cmake-native for you11:19
wyrerburton, what do you mean with "cmake-native"?11:21
rburtonthat's teh recipe that provides a cmake you can run during the build11:22
wyrerburton, I wrote a recipe to build a c program with cmake, but I'm having these errors
wyreand I think they could be because some cmake extension is missing 🤔11:23
rburtondoes your recipe inherit pkgconfig?11:28
rburtonbecause your cmake is calling pkgconfig11:29
JosefHolzmayrThei think the standard sdk includes qemu, and i thought it also would include the kernel+image that it was built for, but has that changed?11:40
wyrerburton, no, it doesn't, I'll try inheriting pkgconfig also11:48
wyrecan I do it like `inherit cmake pkgconfig`?11:49
wyrewell, currently is inheriting also pkgconfig but the error is still the same11:57
wyremaybe I need to set DEPENDS 🤔11:57
*** jwillikers <jwillikers!~jwilliker@2604:2800:2:a403:fe91:ac3e:5153:1290> has joined #yocto11:57
*** tgamblin <tgamblin!~tgamblin@2607:fea8:c29d:d7c0:fa88:8bc5:c0d2:27cc> has joined #yocto12:00
manuel1985I'm reorganizinig my metalayers. I'd md5sum the whole generated rootfs before and after my change to assert my change is functionally neutral. Is there any smarter way of doing that?12:05
JosefHolzmayrThemanuel1985: having a proper automated testing strategy.12:06
JosefHolzmayrThemanuel1985: from guessing i'd expect md5sum to trip over timestamps and such12:06
qschulzprobably the cache of metadata parsing might be enough?12:10
JosefHolzmayrTheone thing that i've learnt in the last year is: "if you're afraid to touch or refactor it, then it means that your testing strategy needs improving"12:17
*** otavio <otavio!> has joined #yocto12:17
*** bps <bps!~bps@user/bps> has quit IRC (Ping timeout: 258 seconds)12:17
wyrerburton, is `check` also inheritable?12:17
qschulzwyre: only bbclass files are inheritable12:18
qschulzso if there's a check.bbclass, yes you *can* inherit it.12:18
qschulzwyre: make sure that the flags passed by Yocto are used in your cmake and not overridden in your cmakelists.txt or whatever12:19
wyreqschulz, what flags are passed by yocto?12:19
qschulzcflags, cxxflags, ldflags, cmake specific flags etc12:20
wyreI've got an empty EXTRA_OECMAKE12:20
*** jwillikers <jwillikers!~jwilliker@2604:2800:2:a403:fe91:ac3e:5153:1290> has quit IRC (Quit: jwillikers)12:21
qschulzbest practice is to default variables if not defined, and if you want a particular flag being used, you add to the variable and not replace it12:21
*** jwillikers <jwillikers!> has joined #yocto12:21
wyrewell, I don't get why I'm having this error now
wyreapparently is cmake which is missing `check`12:22
qschulzI've read that this is required when tests are enabled, not sure you need that? Might want to try disabling it from EXTRA_OECMAKE or similar/ I don't know anything about cmake so can't help more than that12:25
qschulzotherwise I assume DEPENDS += "libcheck-native" might help12:27
*** wwilly <wwilly!> has joined #yocto12:35
*** Stormenberg <Stormenberg!~thomas@> has quit IRC (Quit: Leaving)12:35
wyreqschulz, what's the difference between libcheck-native and just libcheck?12:35
qschulzlibcheck-native is compiled so it can run on the host/build machine12:38
qschulzlibcheck is built for running on the target (the "recipient" of your image)12:39
wyreis this in that way for all suffixed -native recipes? 🤔12:39
qschulzwyre: I've pointed you to the documentation where this is explained12:40
wyreoh, yes, I'm reading it right now, thank you 😊12:40
*** pgowda_ <pgowda_!> has quit IRC (Quit: Connection closed for inactivity)12:46
*** michaelo <michaelo!> has joined #yocto12:50
rburtonwyre: if you need check then add it to depends12:54
*** jwillikers <jwillikers!> has quit IRC (Remote host closed the connection)12:56
*** Jonathan <Jonathan!> has joined #yocto13:00
*** artri <artri!> has joined #yocto13:09
*** vladest <vladest!~Thunderbi@2001:171b:c9b1:9c20:1174:53b9:f68b:a0b7> has quit IRC (Ping timeout: 258 seconds)13:10
*** atril <atril!~artri@> has joined #yocto13:14
*** artri <artri!> has quit IRC (Ping timeout: 258 seconds)13:18
*** kiran <kiran!~kiran@2607:fea8:5a80:ea0:694e:44bf:26e4:a134> has joined #yocto13:21
*** bluelightning_ <bluelightning_!~paul@2406:e003:1587:9901:97a:5341:b105:1f85> has joined #yocto13:24
*** bluelightning <bluelightning!~paul@2406:e003:142b:3101:6509:d240:2b0f:9480> has quit IRC (Ping timeout: 264 seconds)13:25
*** jwillikers <jwillikers!~jwilliker@2604:2800:2:a406:5684:ab2e:169e:127> has joined #yocto13:28
*** hpsy <hpsy!~hpsy@user/hpsy> has quit IRC (Quit: Client closed)13:34
*** kroon <kroon!> has quit IRC (Quit: Leaving)13:35
*** nucatus <nucatus!> has joined #yocto13:40
wyrecould I include extra cmake flags with EXTRA_OECMAKE variable? 🤔13:42
*** leon-anavi <leon-anavi!~Leon@> has quit IRC (Remote host closed the connection)13:49
*** Schlumpf <Schlumpf!~Schlumpf@> has quit IRC (Quit: Client closed)13:52
rburtonyes, that's what it is for14:01
wyrerburton, what about TARGET_CFLAGS?14:02
rburtonthat is for CC flags14:02
rburtonlike -Wall or -DFOO=bar14:02
*** fleg <fleg!64bf4386e9@user/fleg> has quit IRC (Remote host closed the connection)14:03
*** dlan <dlan!~dennis@gentoo/developer/dlan> has quit IRC (Remote host closed the connection)14:04
*** leon-anavi <leon-anavi!~Leon@> has joined #yocto14:04
*** fleg <fleg!64bf4386e9@user/fleg> has joined #yocto14:05
wyrerburton, I can't see the flags set when I use EXTRA_OECMAKE in the bitbake output14:07
rburtonthey'll be passed to cmake in do_configure14:09
wyreso I guess I should read the do_configure log to see them?14:09
wyreand how can I found it? 🤔 has bitbake some command to check logs per recipe?14:10
rburtonif you install the extra 'bb' utility, yes.  otherwise, tmp/work/*/RECIPE/VERSION/temp/log.do_configure14:10
rburtoni've installed bb so `bb log RECIPE TASK` shows that file14:11
JPEWmoto-timo: Are you giving a talk on phosh of the Yocto summit?14:12
*** Jonathan <Jonathan!> has quit IRC (Quit: Client closed)14:14
moto-timoJPEW: working on the proposal this morning. I ‘ve been fighting the gnome stack (for a packagegroup-gnome-apps install vs a sato lookalike).14:15
moto-timomore recipes in meta-gnome need inherit pkgconfig14:15
JPEWmoto-timo: Ya, I found one yesterday (`colord-native`)14:16
moto-timoAnd gjs is currently unbuildable because it depends on an older mozjs14:16
moto-timoupstream is working on mozjs-91 compatibility14:16
JPEWI've been testing with master-next of meta-or14:16
moto-timoI was attempting to get more of the look of
moto-timoI have an upgrade to gjs in the works, but current release requires mozjs-7814:18
*** willo <willo!> has quit IRC (Ping timeout: 260 seconds)14:19
JPEWAh, is gjs needed by the extra packages you're installing (I'm only building older `phosh` and `phoc` and it seems to build OK)14:19
moto-timognome-weather is a recipe I’m trying to add14:21
moto-timognome-screenshot seems ok, but I haven’t built a full image yet while figuring out other landmines14:22
*** Guest32 <Guest32!~Guest32@> has quit IRC (Quit: Client closed)14:25
*** Tyaku <Tyaku!> has joined #yocto14:31
*** rsalveti <rsalveti!> has joined #yocto14:33
*** bps <bps!~bps@> has joined #yocto14:36
*** bps <bps!~bps@user/bps> has quit IRC (Ping timeout: 260 seconds)14:42
moto-timognome-photos needs gfbgraph, which is currently failing because it checks for rest-0.7 and we have rest-0.8.1 (which is from 2019... so hrmm)14:42
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV)14:43
kanavin_moto-timo, gjs has an open pull request  for mozjs 9114:46
moto-timokanavin: I saw the branch and a recent merge to "prepare for mozjs-91"14:47
*** sb27 <sb27!> has quit IRC (Quit: Client closed)14:49
*** wwilly <wwilly!> has quit IRC (Ping timeout: 260 seconds)14:51
*** wwilly <wwilly!> has joined #yocto14:58
tlwoernermoto-timo: yea! +1 (YPS proposal)15:01
*** tre <tre!> has quit IRC (Remote host closed the connection)15:02
tlwoernergentle reminder to everyone that the CFP for the next YPS closes tomorrow :-)15:02
wyrewhen I run `bitbake <my_recipe>` where are the compiled binaries stored?15:04
kanavin_wyre, tmp/deploy/15:05
wyrekanavin_, but for that shouldn't I do something like `bitbake -c deploy <my_recipe>`?15:09
wyreI cannot see it in tmp/deploy15:10
qschulzexcept if my_recipe is an image recipe, yes15:10
qschulzwhat are you looking for exactly?15:10
wyreqschulz, I'd like to build just my recipe to get the binaries15:10
qschulzin tmp/deploy you have your packages, which do contain the binaries you compiled, and also some deployed artifacts, among which your image, the result of bitbaking your image recipe15:10
qschulzthen tmp/work/<arch>/<my-recipe>/<some-vers>/15:11
wyreand cannot I get the generated package for my specific recipe (which is not an image recipe)15:11
qschulzideally your binary should be in tmp/work/<arch>/<my-recipe>/<some-vers>/image (which is $D) if you did the install task correctly15:11
kanavin_wyre, taking things out of tmp/work is not recommended - tmp/deploy exists specifically as a place for 'deliverables'15:11
qschulzwyre: the package is in tmp/deploy as I said earlier15:12
qschulznote that this is clearly only for development/hacks15:12
wyreqschulz, I can see images, licenses and rpm folders inside tmp/deploy15:12
qschulzwyre: rpm is a package format15:13
wyreI guess it should be an rpm package inside rpm folder15:13
wyrebut I cannot see it15:13
qschulzwyre: then I'm pretty sure you didn't do your install task properly15:13
qschulzas empty packages are not created and put in tmp/deploy/<pkg-fromat>15:13
kanavin_wyre, I think you need to run bitbake -c deploy recipename for the rpm to show up in tmp/deploy15:16
wyreI guess all packages are rpm because I've got `PACKAGE_CLASSES ?= 'package_rpm'`, right?15:18
qschulzkanavin_: I think this is done in do_package_write_<format> which is run before do_build, so any time bitbake <recipe> is called15:18
qschulzwyre: yes15:18
wyredoes that also mean that final image will handle packages through rpm?15:18
kanavin_wyre, yes, image creation is basically a gigantic package installation transaction15:18
kanavin_yocto does not compose root filesystem directly, but outsources the job to package managers15:19
kanavin_dnf for rpm, apt for deb or opkg for ipk15:19
*** Tyaku <Tyaku!> has quit IRC (Quit: Lost terminal)15:21
wyrekanavin_, have I also to write a do_deploy task? 🤔15:23
kanavin_wyre, give me a sec15:24
qschulzwyre: no15:25
qschulzyou write a deploy task if you want artifacts to go into tmp/deploy/images/<image>/15:25
qschulzwhen the image is created15:25
*** rfuentess <rfuentess!> has quit IRC (Remote host closed the connection)15:32
kanavin_wyre, I just checked: simply run bitbake recipename, and packages will show up in tmp/deploy/rpm15:33
kanavin_there are some subdirs in there but you will find it15:33
*** dlan <dlan!~dennis@gentoo/developer/dlan> has joined #yocto15:37
*** jwillikers <jwillikers!~jwilliker@2604:2800:2:a406:5684:ab2e:169e:127> has quit IRC (Remote host closed the connection)15:38
*** tnovotny <tnovotny!> has quit IRC (Quit: Leaving)15:38
*** Xagen <Xagen!~Xagen@2600:1700:211:7e60:f988:cf6e:b340:eab5> has joined #yocto15:46
Xagenhi everyone15:47
Xageni'm using a recipe from meta-intel for sbsigntool15:47
Xagenthis one:
Xagenand i'd like to build it as nativesdk15:48
Xagenbut can't seem to get it to work15:48
Xagenit can't find bfd, which is supposed to be from binutils15:49
*** dev1990 <dev1990!> has joined #yocto15:49
*** dev1990 <dev1990!> has quit IRC (Client Quit)15:51
*** dev1990 <dev1990!> has joined #yocto15:51
rburtonwhat's the actual error? it most likely is expecting native tools and can't handle doing a cross compile (which is needed for nativesdk)15:57
Xagen| configure: error: bfd.h not found.15:59
Xagen| bfd.h is usually distributed in a binutils development package.15:59
Xagenand then it exits15:59
*** pidge <pidge!~pidge@> has quit IRC (Quit: Client closed)16:00
*** pidge10 <pidge10!~pidge@> has joined #yocto16:00
*** pidge10 <pidge10!~pidge@> has quit IRC (Client Quit)16:00
rburtonyou'll likely need to depend on binutils16:00
rburtonthe recipe will need quite a bit of sorting out to remove the native assumptions16:01
rburtoni'm assuming you already renamed the recipe, removed the inherit native, and added a bbclassextend16:01
rburtonthere's definitely a bfd.h inside target binutils, so you just need to stop it insisting on bintuils-native16:04
Xagenthanks :)16:04
Xageni'll keep poking at it then16:04
*** zpfvo <zpfvo!~fvo@> has quit IRC (Quit: Leaving.)16:08
*** goliath <goliath!~goliath@user/goliath> has joined #yocto16:18
*** mckoan is now known as mckoan|away16:21
*** florian <florian!> has quit IRC (Quit: Ex-Chat)16:32
*** tangofoxtrot <tangofoxtrot!~tangofoxt@user/tangofoxtrot> has quit IRC (Remote host closed the connection)16:51
*** tangofoxtrot <tangofoxtrot!~tangofoxt@user/tangofoxtrot> has joined #yocto16:56
JPEWmoto-timo: I just ran into the mozjs error; apparently I just hadn't made it that far yet :)16:58
moto_timo[m]The good news is I fixed gfbgraph (and thus gnome-photos) and gnome-calendar16:59
moto_timo[m]Also, phoc and phosh need to inherit pkgconfig17:00
moto_timo[m]Latest phosh branch updates pushed, sans -gnome image since it doesn’t build yet.17:01
moto-timoI’ll probably refactor core-image-phosh to have the knobs core-image-sato has (or similar)17:05
moto-timomanuel1985: phosh is a possible wayland compositor for gtk+3 apps, but it is currently decidedly phone form factor (lock screen by default with numeric only PIN and portrait layout)17:08
moto-timoWell, phosh is the shell, phoc is the compositor to be precise17:10
manuel1985moto-timo: Thanks :)17:10
manuel1985moto-timo: FYI The readme says one shall execute ./kas/kas-container but .kas/ doesn't contain that file17:14
manuel1985Guess I'll just use plain kas, don't like that kas-container script anyway.17:14
moto-timomanuel1985: that's just how I run it and that branch is still WIP. I had permissions issues with straight kas17:15
moto-timomanual1985: you can also run it just normal command line, but look at the kas files for hints about what to put into local.conf (especially a default PIN/password, otherwise you will never get past the lockscreen in the GUI, even though passwordless root will still work in a console)17:16
moto-timoand I can't spell17:17
manuel1985moto-timo: Got you, thanks17:17
moto-timomanuel1985: also, for qemu it is a bit wonky because the canvas extends beyond the display and I haven't figured out why yet. Most of my success has been on rpi417:18
*** florian <florian!> has joined #yocto17:20
*** vd <vd!> has joined #yocto17:22
vdhow can I set a variable from the output of a shell command?17:23
moto-timoJPEW: gentle nudge to upstream your mutter-gsettings sub-package17:33
JPEWOh, right!17:33
*** wwilly <wwilly!> has quit IRC (Quit: Leaving)17:34
*** leon-anavi <leon-anavi!~Leon@> has quit IRC (Quit: Leaving)17:34
*** sb27 <sb27!> has joined #yocto17:34
*** manuel1985 <manuel1985!~manuel198@> has quit IRC (Ping timeout: 264 seconds)17:36
*** florian <florian!> has quit IRC (Ping timeout: 264 seconds)17:39
*** GlennTrimble <GlennTrimble!~GlennTrim@> has joined #yocto17:48
*** GlennTrimble <GlennTrimble!~GlennTrim@> has quit IRC (Client Quit)17:50
kanavin_halstead, stdio: WARNING: libusb1-1.0.24-r0 do_package: Error contacting Hash Equivalence Server [Errno -2] Name or service not known17:52
kanavin_known issue?17:52
halsteadkanavin_: First I've seen it.17:53
kanavin_halstead, it could be something in my patchset, I'm not sure :-/17:54
*** suchas <suchas!~GlennTrim@> has joined #yocto17:54
halsteadkanavin_: Not happening now. Perhaps this is related to the network issues RP was having and the connection to github failing.17:56
halsteadkanavin_: Have we seen these succeed before?17:57
kanavin_halstead, in general, yes, but not with this patchset, as it's the first time I'm running it17:57
halsteadkanavin_: I'm curious if the connect string is formatted correctly. Could it be as simple as that?18:05
*** suchas <suchas!~GlennTrim@> has quit IRC (Quit: Leaving)18:07
*** florian <florian!> has joined #yocto18:11
kanavin_halstead, I need to check where that warning is coming from first, and whether anything from my patchset is involved in that18:12
kanavin_I'm not a hashequiv specialst, JPEW is18:12
JPEWkanavin_: Ya, hashequiv needs to handle a missing upstream better18:15
kanavin_JPEW, does hashequiv use anything from -native builds?18:15
JPEWThere is a patch on the ML to check if the upstream exists when bitbake starts (not from me), but the server itself needs to handle it better also; a missing upstream really isn't fatal, just perhaps non-optimal18:16
kanavin_JPEW, I have a massive version update set, and wondering if something in it broke hashequiv with those warnings18:16
JPEWkanavin_: It does not use any -native recipes; pure host python18:16
kanavin_JPEW, phew :)18:17
vdhow can I set a variable from the output of a shell command like this: d.setVar('FOO', 'output is: %s' % <call to a shell command>)18:27
*** linkliu62 <linkliu62!~user_name@> has quit IRC (Ping timeout: 264 seconds)18:31
*** linkliu60 <linkliu60!~user_name@> has quit IRC (Ping timeout: 252 seconds)18:31
vdthank you18:33
moto-timokanavin_: but I can see why you might be nervous. lol18:40
*** Tokamak <Tokamak!~Tokamak@> has quit IRC (Ping timeout: 252 seconds)18:57
vdkergoth: is there a better way to call python from python instead of doing this: d.setVar('FOO', '>>> %s <<<' % -c 'import crypt; print(crypt.crypt("somesecret", "salt"))'))19:00
*** nucatus <nucatus!> has quit IRC (Remote host closed the connection)19:02
vdkergoth: also is called at parse time or at run time?19:16
*** bps <bps!~bps@> has joined #yocto19:22
*** vladest <vladest!> has joined #yocto19:24
*** sakoman <sakoman!> has quit IRC (Quit: Leaving.)19:29
*** nucatus <nucatus!> has joined #yocto19:32
*** amitk_ <amitk_!~amit@> has joined #yocto19:34
*** amitk <amitk!~amit@> has quit IRC (Ping timeout: 264 seconds)19:36
*** nucatus <nucatus!> has quit IRC (Ping timeout: 265 seconds)19:37
*** kiran <kiran!~kiran@2607:fea8:5a80:ea0:694e:44bf:26e4:a134> has quit IRC (Ping timeout: 264 seconds)19:41
*** florian <florian!> has quit IRC (Ping timeout: 252 seconds)19:48
*** nucatus <nucatus!> has joined #yocto19:50
*** kuzz <kuzz!> has joined #yocto19:53
*** nucatus <nucatus!> has quit IRC (Ping timeout: 260 seconds)19:57
*** GillesM <GillesM!> has joined #yocto19:58
tlwoernerwhat does this mean?20:05
tlwoernerNo currently running tasks (56 of 56/445 of 446)20:05
*** amitk <amitk!~amit@> has joined #yocto20:06
tlwoerneri'm not too concerned about the "no currently running tasks" part, it's the rest that has me wondering20:06
*** mvlad <mvlad!~mvlad@2a02:2f08:4d01:ef00:24d7:51ff:fed6:906d> has quit IRC (Remote host closed the connection)20:07
*** amitk_ <amitk_!~amit@> has quit IRC (Ping timeout: 258 seconds)20:09
moto-timoI think the 56 of 56 is native tools and the 445 of 446 is the image/target task queue20:12
moto-timoNew behavior. It used to run the 56 of 56 first and then the 445 of 446 after that20:12
*** amitk <amitk!~amit@> has quit IRC (Quit: leaving)20:14
kanavin_I think those are setscene/full20:16
JPEWright, because setscene and regular tasks are intermixed now20:17
rburtonyeah, it's setscene/normal20:17
*** bluelightning_ is now known as bluelightning20:18
tlwoernerah okay. thanks :-)20:19
tlwoerneryes, this feels new20:19
JPEWTIL what TIL means20:20
rburtonit landed about a week ago, so yes its new :)20:20
moto-timoJPEW: lol20:21
moto-timoJPEW: frequent Twitter thing20:21
JPEWYa, I've heard it spoken out a lot, but I never put it together20:22
*** Vonter_ <Vonter_!~Vonter@user/vonter> has joined #yocto20:22
JPEWAnd I'm not on the Twitters much20:22
moto-timoSafer that way20:22
*** bps <bps!~bps@user/bps> has quit IRC (Ping timeout: 264 seconds)20:24
*** manuel1985 <manuel1985!~manuel198@2a02:1748:dd5c:f290:c5b2:fdff:b718:9edf> has joined #yocto20:25
kanavin_you don't want to know what I use twitter for20:25
kanavin_it's surprisingly good for that purpose20:25
*** zyga-mbp <zyga-mbp!~zyga@> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)20:25
*** Vonter_ <Vonter_!~Vonter@user/vonter> has quit IRC (Ping timeout: 258 seconds)20:27
*** sakoman <sakoman!> has joined #yocto20:34
* tlwoerner looks for kanavin_'s twitter handle, but doesn't find anything obvious20:46
RPWhat is twitter? :)20:48
RPkanavin_, halstead: That looks very like the "something wrong with networking" thing which we keep seeing intermittently :(20:49
RPthere is no way the autobuilder shouldn't know and be able to resolve that address20:50
RPwe should track which hosts this is happening on and when20:50
*** bps <bps!~bps@> has joined #yocto21:00
*** nucatus <nucatus!> has joined #yocto21:02
*** nucatus <nucatus!> has quit IRC (Ping timeout: 265 seconds)21:07
halsteadRP: Would this form work?
RPhalstead: interesting. I'd probably have just gone for noting on a wiki page or a google doc or something!21:16
halsteadRP: That might be a bit harder to analyze but if you think it would be easier.21:17
halsteadFor users that is. ;)21:17
RPhalstead: probably21:19
RPabelloni: ^^^ - thoughts?21:19
RPhalstead: I don't have a strong opinion, just that we need to work out the pattern. I wondered if some service was restarting at that time. Is that distro using systemd and anything in the logs at that time when the error happened?21:20
abelloniwhy not21:22
abelloniI can also extract what I have from the swat stats but I'm not sure all of the network issues we've had are related21:23
abelloniThe data I have is bug#,worker,completion timestamp21:24
RPabelloni: I suspect there is some subset which are21:25
RPfinding the commonality is the hard bit :)21:26
*** bps <bps!~bps@user/bps> has quit IRC (Ping timeout: 260 seconds)21:26
*** florian <florian!> has joined #yocto21:28
halsteadIs there a way to find the timestamp of the warnings from ?21:29
abelloniI guess we can get the 9356 seconds interval21:30
RPhalstead: the warnings are in the full build log so you can also look at the position of them in the log relative to the build21:31
RPhalstead: if you login to the system and look at the build if it is still there that would narrow down further as I suspect some are in individual task logs and would be at the start of tasks21:32
*** manuel1985 <manuel1985!~manuel198@2a02:1748:dd5c:f290:c5b2:fdff:b718:9edf> has quit IRC (Ping timeout: 245 seconds)21:36
* halstead nods.21:38
kanavin_halstead, here's another (different) fail that I think is the same issue - network timeouts in qemu(!)
kanavin_RP ^^^21:45
kanavin_but I'll run it again to confirm21:46
*** neverpanic <neverpanic!> has quit IRC (Quit: brb)21:54
*** neverpanic <neverpanic!> has joined #yocto21:56
*** GillesM <GillesM!> has quit IRC (Remote host closed the connection)21:57
*** Vonter_ <Vonter_!~Vonter@user/vonter> has joined #yocto22:00
*** jwillikers <jwillikers!~jwilliker@2604:2800:2:a403:fe91:ac3e:5153:1290> has joined #yocto22:00
*** fleg <fleg!64bf4386e9@user/fleg> has quit IRC (Remote host closed the connection)22:04
*** Vonter_ <Vonter_!~Vonter@user/vonter> has quit IRC (Ping timeout: 260 seconds)22:04
*** atril <atril!~artri@> has quit IRC (Ping timeout: 260 seconds)22:17
halsteadIt doesn't look like the logs in the build-renamed dir have any more exact time info.22:34
RPhalstead: /home/pokybuild/yocto-worker/genericx86-64-alt/build/build-renamed/tmp/work/core2-64-poky-linux/gtk+3/3.24.30-r0/temp/log.do_package.4131922:37
RPhalstead: warning is at the end of the log and one of the last things to run so the log timestamp should match with the rough time it happened22:37
RP(Oct 18 17:11)22:38
halsteadI wonder what the cost benefit ratio is for adding timestamps to log output? I bet there have been other times it would have been useful.22:41
RPhalstead: It is harder than you'd think as should the stamp be added at source or at the time it is printed to the user/UI :/22:44
RPIn this case anything would be helpful but I know a soon as we do it, the accuracy would then come into question and people would want it at source22:45
RPI'm sure I have patches somewhere but it got ugly :(22:45
halsteadEhmm.. well. One of those things where almost good enough would be simple and doing it right is a pain? I understand.22:46
*** nucatus <nucatus!> has joined #yocto22:53
agherzanI reckon there is a bug on dunfell with pseudo and coreutils 9.0 on host. I can't yet point exactly how it happens, but it looks like when under fakeroot, sometimes, install (hosttool) strips the binary even if the respective flag was not passed.22:58
agherzanHere is an example:22:58
*** nucatus <nucatus!> has quit IRC (Ping timeout: 265 seconds)23:00
agherzan+ file cmd/foo... (full message at
agherzanWhat is even more awkward is that on a subsequent install (with force bitbake flag), it behaves as expected - both binaries are not stripped.23:03
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV)23:13
*** Wouter0100 <Wouter0100!> has quit IRC (Ping timeout: 245 seconds)23:15
*** Wouter0100 <Wouter0100!> has joined #yocto23:23
*** GillesM <GillesM!> has joined #yocto23:54

Generated by 2.17.2 by Marius Gedminas - find it at!