Guest9816 | Androo: what does `go env` say ? | 00:04 |
---|---|---|
Androo | CC and CXX both have that invalid sysroot in 'go env' | 00:05 |
Guest9816 | right so that is the problem in building go compiler | 00:05 |
*** goliath <goliath!~goliath@clnet-p04-043.ikbnet.co.at> has quit IRC | 00:09 | |
*** NiksDev <NiksDev!~NiksDev@192.91.75.12> has quit IRC | 00:10 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 00:15 | |
Guest9816 | I guess setting CC/CXX in your env is a workaround you can use but we need to fix it by setting CC_FOR_TARGET in recipe to use target compiler as it will be duting runtime not buildtime | 00:15 |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 00:33 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 00:37 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 00:43 | |
*** RPi_IMX6 <RPi_IMX6!~willy@s206-116-52-144.bc.hsia.telus.net> has quit IRC | 00:54 | |
*** ericch <ericch!~ericch@pool-108-34-251-214.prvdri.fios.verizon.net> has quit IRC | 00:57 | |
*** dev1990 <dev1990!~dev@dynamic-78-8-233-105.ssp.dialog.net.pl> has quit IRC | 01:03 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 01:04 | |
*** paulg <paulg!~paulg@24-212-229-210.cable.teksavvy.com> has quit IRC | 01:36 | |
*** RPI_IMX6 <RPI_IMX6!~User@node-1w7jr9qkgk55azrepn7b9946x.ipv6.telus.net> has joined #yocto | 01:43 | |
*** csd <csd!~csd@78.80.197.35.bc.googleusercontent.com> has quit IRC | 01:44 | |
*** csd <csd!~csd@78.80.197.35.bc.googleusercontent.com> has joined #yocto | 01:44 | |
*** paulg <paulg!~paulg@24-212-228-244.cable.teksavvy.com> has joined #yocto | 01:49 | |
Androo | thanks for the assistance everyone, I believe I'm running smoothly with Go on the target machine now and will file a bug report once I dig into the problem a bit more and better understand it | 01:52 |
*** Androo <Androo!~andy@071-081-137-109.res.spectrum.com> has quit IRC | 01:52 | |
*** tgamblin <tgamblin!~tgamblin@cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com> has quit IRC | 01:53 | |
*** tgamblin <tgamblin!~tgamblin@cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com> has joined #yocto | 01:54 | |
*** robbawebba <robbawebba!~rob@8-3-93-140.starry-inc.net> has quit IRC | 01:55 | |
*** robbawebba <robbawebba!~rob@8-3-93-140.starry-inc.net> has joined #yocto | 01:56 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 02:19 | |
*** ssajal <ssajal!~ssajal@bras-base-otwaon0147w-grc-22-70-51-212-187.dsl.bell.ca> has quit IRC | 02:21 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 02:25 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has joined #yocto | 02:25 | |
*** robbawebba <robbawebba!~rob@8-3-93-140.starry-inc.net> has quit IRC | 02:46 | |
*** manuel1985 <manuel1985!~manuel@089144216205.atnat0025.highway.a1.net> has quit IRC | 02:53 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 03:03 | |
*** ssajal <ssajal!~ssajal@bras-base-otwaon0147w-grc-22-70-51-212-187.dsl.bell.ca> has joined #yocto | 03:05 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has joined #yocto | 03:05 | |
*** manuel1985 <manuel1985!~manuel@213-147-162-188.nat.highway.bob.at> has joined #yocto | 03:06 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 03:09 | |
*** sakoman <sakoman!~steve@rrcs-66-91-142-162.west.biz.rr.com> has quit IRC | 03:14 | |
*** rcw <rcw!~rcwoolley@216.154.0.157> has quit IRC | 03:15 | |
*** ahadi <ahadi!~ahadi@89.244.120.8> has quit IRC | 03:21 | |
*** ahadi <ahadi!~ahadi@i5E86AD67.versanet.de> has joined #yocto | 03:23 | |
*** hpsy1 <hpsy1!~hpsy@92.118.12.87> has joined #yocto | 03:25 | |
*** hpsy <hpsy!~hpsy@92.118.12.30> has quit IRC | 03:27 | |
*** onkelpit <onkelpit!~pit@x4db918fd.dyn.telefonica.de> has quit IRC | 03:34 | |
*** onkelpit <onkelpit!~pit@78.48.28.195> has joined #yocto | 03:36 | |
*** vineela <vineela!~vtummala@134.134.139.76> has quit IRC | 03:43 | |
*** ssajal <ssajal!~ssajal@bras-base-otwaon0147w-grc-22-70-51-212-187.dsl.bell.ca> has quit IRC | 03:53 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 03:58 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 04:01 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 04:03 | |
*** la_croix <la_croix!~la_croix@cpc97624-walt24-2-0-cust98.13-2.cable.virginm.net> has quit IRC | 04:13 | |
*** la_croix <la_croix!~la_croix@cpc97624-walt24-2-0-cust98.13-2.cable.virginm.net> has joined #yocto | 04:14 | |
*** ojdo <ojdo!~ojdo@unaffiliated/ojdo> has quit IRC | 04:35 | |
*** ojdo <ojdo!~ojdo@unaffiliated/ojdo> has joined #yocto | 04:42 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 04:45 | |
*** paulg <paulg!~paulg@24-212-228-244.cable.teksavvy.com> has quit IRC | 04:48 | |
*** paulg <paulg!~paulg@24-212-229-210.cable.teksavvy.com> has joined #yocto | 04:49 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 04:53 | |
*** guido_ <guido_!~quassel@83.80.130.15> has quit IRC | 05:00 | |
*** Scoutboy <Scoutboy!~quassel@83.80.130.15> has joined #yocto | 05:00 | |
*** AndersD <AndersD!~AndersD@h83-209-96-136.cust.a3fiber.se> has joined #yocto | 05:34 | |
*** AndersD_ <AndersD_!~AndersD@h83-209-96-136.cust.a3fiber.se> has joined #yocto | 05:35 | |
*** AndersD <AndersD!~AndersD@h83-209-96-136.cust.a3fiber.se> has quit IRC | 05:39 | |
*** chise <chise!3b29a236@59.41.162.54> has joined #yocto | 05:43 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 05:44 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 05:44 | |
*** camus1 <camus1!~Instantbi@58.246.136.202> has joined #yocto | 05:59 | |
*** NiksDev <NiksDev!~NiksDev@192.91.101.31> has joined #yocto | 06:00 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 06:00 | |
*** camus1 is now known as kaspter | 06:00 | |
*** Scoutboy <Scoutboy!~quassel@83.80.130.15> has quit IRC | 06:02 | |
*** guido_ <guido_!~quassel@83.80.130.15> has joined #yocto | 06:02 | |
*** B0ned1ger <B0ned1ger!~B0ned1ger@82-135-139-249.static.zebra.lt> has joined #yocto | 06:12 | |
*** beneth` <beneth`!~beneth@irc.beneth.fr> has joined #yocto | 06:29 | |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-skzcpcjdvvsaxxco> has quit IRC | 06:29 | |
*** pohly <pohly!~pohly@p54bd56f5.dip0.t-ipconnect.de> has joined #yocto | 06:44 | |
*** chise <chise!3b29a236@59.41.162.54> has quit IRC | 06:56 | |
*** oberstet <oberstet!~oberstet@213.170.219.39> has joined #yocto | 07:05 | |
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has joined #yocto | 07:13 | |
*** RPI_IMX6 <RPI_IMX6!~User@node-1w7jr9qkgk55azrepn7b9946x.ipv6.telus.net> has quit IRC | 07:20 | |
*** guido_ <guido_!~quassel@83.80.130.15> has quit IRC | 07:25 | |
*** psrcode <psrcode!~psrcode@104.225.222.123> has quit IRC | 07:27 | |
*** leon-anavi <leon-anavi!~Leon@78.130.197.211> has joined #yocto | 07:29 | |
*** lukma <lukma!~lukma@85-222-111-42.dynamic.chello.pl> has quit IRC | 07:29 | |
*** Ox861726f6c64 <Ox861726f6c64!~Ox861726f@gateway/tor-sasl/ox861726f6c64> has joined #yocto | 07:33 | |
*** mckoan|away is now known as mckoan | 07:34 | |
mckoan | good morning | 07:34 |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 07:34 | |
*** frsc <frsc!~frsc@mue-88-130-75-071.dsl.tropolys.de> has joined #yocto | 07:39 | |
*** Net147_ <Net147_!~Net147@unaffiliated/net147> has joined #yocto | 07:39 | |
*** Net147 <Net147!~Net147@unaffiliated/net147> has quit IRC | 07:39 | |
*** camus1 <camus1!~Instantbi@58.246.136.202> has joined #yocto | 07:42 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 07:42 | |
*** camus1 is now known as kaspter | 07:43 | |
*** LetoThe2nd <LetoThe2nd!uid453638@gateway/web/irccloud.com/x-lcevyjwvuinahnnt> has joined #yocto | 07:47 | |
LetoThe2nd | yo dudX | 07:47 |
mckoan | hi LetoThe2nd | 07:47 |
*** beneth` <beneth`!~beneth@irc.beneth.fr> has left #yocto | 07:50 | |
*** beneth` <beneth`!~beneth@irc.beneth.fr> has joined #yocto | 07:53 | |
*** fl0v0 <fl0v0!~fvo@89.244.123.111> has joined #yocto | 07:57 | |
*** agust <agust!~agust@p508b685f.dip0.t-ipconnect.de> has joined #yocto | 08:07 | |
*** psrcode <psrcode!~psrcode@104.225.222.123> has joined #yocto | 08:31 | |
*** miwa <miwa!~miwa@unaffiliated/miwa> has quit IRC | 08:33 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 08:35 | |
*** florian_kc <florian_kc!~florian_k@Maemo/community/contributor/florian> has joined #yocto | 08:36 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 08:40 | |
*** dev1990 <dev1990!~dev@dynamic-78-8-233-105.ssp.dialog.net.pl> has joined #yocto | 08:45 | |
*** florian_kc is now known as florian | 08:50 | |
*** B0ned1ger2 <B0ned1ger2!~B0ned1ger@78-60-213-230.static.zebra.lt> has joined #yocto | 08:55 | |
*** B0ned1ge_ <B0ned1ge_!~B0ned1ger@82-135-139-249.static.zebra.lt> has joined #yocto | 08:57 | |
*** B0ned1ger <B0ned1ger!~B0ned1ger@82-135-139-249.static.zebra.lt> has quit IRC | 08:58 | |
*** B0ned1ger2 <B0ned1ger2!~B0ned1ger@78-60-213-230.static.zebra.lt> has quit IRC | 09:01 | |
*** manuel1985 <manuel1985!~manuel@213-147-162-188.nat.highway.bob.at> has quit IRC | 09:08 | |
*** B0ned1ger <B0ned1ger!~B0ned1ger@78-60-213-230.static.zebra.lt> has joined #yocto | 09:12 | |
*** yacar_ <yacar_!~yacar_@91-168-169-253.subs.proxad.net> has joined #yocto | 09:12 | |
*** B0ned1ge_ <B0ned1ge_!~B0ned1ger@82-135-139-249.static.zebra.lt> has quit IRC | 09:15 | |
*** B0ned1ger <B0ned1ger!~B0ned1ger@78-60-213-230.static.zebra.lt> has quit IRC | 09:18 | |
*** B0ned1ger <B0ned1ger!~B0ned1ger@82-135-139-249.static.zebra.lt> has joined #yocto | 09:22 | |
*** manuel1985 <manuel1985!~manuel@213-147-162-188.nat.highway.bob.at> has joined #yocto | 09:23 | |
*** azxxza <azxxza!662b44aa@102.43.68.170> has joined #yocto | 09:53 | |
*** hpsy1 <hpsy1!~hpsy@92.118.12.87> has quit IRC | 09:55 | |
*** hpsy <hpsy!~hpsy@92.118.12.87> has joined #yocto | 09:55 | |
*** eduardas <eduardas!~eduardas@93.93.57.5> has joined #yocto | 10:02 | |
*** nlhnt <nlhnt!99133168@mwave2.eti.pg.gda.pl> has joined #yocto | 10:05 | |
nlhnt | join #poky | 10:06 |
nlhnt | sorry :) | 10:06 |
nlhnt | Hey guys and gals, I wanted to ask for some help, is this a good place? | 10:07 |
nlhnt | I am trying to install vboxguest additions for a NI Linux RT system which is based on Poky (I think), so I followed the guide found in here: https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-core/images/build-appliance-image/README_VirtualBox_Guest_Additions.txt | 10:08 |
nlhnt | Unfortunately there are some missing files (probably more than one) and I cannot finish the ```make scripts``` step | 10:08 |
nlhnt | For example `classmap.h` is missing. And it is not present on the system, I searched for some similar problems on Fedora distribution but there are no present solutions, they seem to struggle with similar problems as well. | 10:09 |
*** camus1 <camus1!~Instantbi@58.246.136.202> has joined #yocto | 10:14 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 10:14 | |
*** camus1 is now known as kaspter | 10:14 | |
*** megabread <megabread!~megabread@2a01:4b00:e031:2600:908d:4b52:6024:2fa1> has joined #yocto | 10:22 | |
*** leon-anavi <leon-anavi!~Leon@78.130.197.211> has quit IRC | 10:25 | |
*** leon-anavi <leon-anavi!~Leon@78.130.197.211> has joined #yocto | 10:26 | |
LetoThe2nd | nlhnt: well the readme you linked specifically refers to the build-appliance image, so it probably does not work on any given poky-based build | 10:28 |
LetoThe2nd | see: https://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-core/images/build-appliance-image_15.0.0.bb | 10:28 |
LetoThe2nd | this includes kernel-dev and kernel-devsrc, which are probably both not present in your image | 10:28 |
*** ahadi <ahadi!~ahadi@i5E86AD67.versanet.de> has quit IRC | 10:29 | |
*** ahadi <ahadi!~ahadi@i5E86AD67.versanet.de> has joined #yocto | 10:29 | |
nlhnt | letothe2nd: Ok, will do, thank you! :) | 10:31 |
*** ak77 <ak77!~quassel@188-230-148-80.dynamic.t-2.net> has quit IRC | 10:32 | |
*** ak77 <ak77!~quassel@188-230-148-80.dynamic.t-2.net> has joined #yocto | 10:33 | |
*** azxxza <azxxza!662b44aa@102.43.68.170> has quit IRC | 10:56 | |
manuel1985 | What does the SH in SHLIBS stand for? I knew but it slipped my mind. | 10:57 |
LetoThe2nd | um, "shared"? | 10:58 |
*** camus1 <camus1!~Instantbi@58.246.136.202> has joined #yocto | 10:59 | |
*** nlhnt <nlhnt!99133168@mwave2.eti.pg.gda.pl> has quit IRC | 10:59 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 11:00 | |
*** camus1 is now known as kaspter | 11:00 | |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has quit IRC | 11:07 | |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has joined #yocto | 11:08 | |
manuel1985 | LetoThe2nd: Ah, yes.. Now I remember ;) Thx | 11:12 |
manuel1985 | I remember it was something pretty obvious when I first learned about it | 11:13 |
manuel1985 | Still I forgot | 11:13 |
LetoThe2nd | :) | 11:15 |
*** B0ned1ger <B0ned1ger!~B0ned1ger@82-135-139-249.static.zebra.lt> has quit IRC | 11:22 | |
*** B0ned1ger2 <B0ned1ger2!~B0ned1ger@82-135-139-249.static.zebra.lt> has joined #yocto | 11:22 | |
*** berton <berton!~berton@191-221-68-106.user3p.brasiltelecom.net.br> has joined #yocto | 11:45 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 11:58 | |
*** Scoutboy <Scoutboy!~quassel@83.80.130.15> has joined #yocto | 11:58 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has joined #yocto | 11:59 | |
*** georgem_home <georgem_home!uid210681@gateway/web/irccloud.com/x-gnhjjaqxydqlmnze> has joined #yocto | 12:19 | |
*** rsalveti <rsalveti!uid117878@gateway/web/irccloud.com/x-irywbjmdvlcplkpj> has joined #yocto | 12:37 | |
marex | fray: hey, are you around to discuss meta-xilinx-standalone ? :) | 12:39 |
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has quit IRC | 13:09 | |
*** mattia1 <mattia1!~mattia@85.148.245.106> has joined #yocto | 13:29 | |
*** goliath <goliath!~goliath@clnet-p04-043.ikbnet.co.at> has joined #yocto | 13:35 | |
*** maudat <maudat!~moda@bras-base-mtrlpq2848w-grc-43-70-53-242-33.dsl.bell.ca> has joined #yocto | 13:51 | |
*** sakoman <sakoman!~steve@rrcs-66-91-142-162.west.biz.rr.com> has joined #yocto | 13:52 | |
*** eduardas <eduardas!~eduardas@93.93.57.5> has quit IRC | 14:13 | |
*** eduardas <eduardas!~eduardas@93.93.57.5> has joined #yocto | 14:14 | |
*** ericch <ericch!~ericch@pool-108-34-251-214.prvdri.fios.verizon.net> has joined #yocto | 14:41 | |
*** huseyinkozan <huseyinkozan!~huseyinko@159.146.72.110> has joined #yocto | 14:57 | |
*** ssajal <ssajal!~ssajal@bras-base-otwaon0147w-grc-22-70-51-212-187.dsl.bell.ca> has joined #yocto | 15:00 | |
*** guest252 <guest252!a5e11b61@165.225.27.97> has joined #yocto | 15:03 | |
LetoThe2nd | epyc 7ksomething for build server? good or bad idea? | 15:05 |
guest252 | Hi, I'm having trouble with cross-linking a trivial c program with the yocto SDK: I get the error message "cannot find crti.o: No such file or directory" despite including it in my IDE | 15:05 |
LetoThe2nd | guest252: are you properly passing the sysroot, repectively using the environment setup script? does it work manually (e.g. without the ide?) | 15:07 |
guest252 | aarch64-poky-linux-gcc -L/opt/poky/3.0.4/sysroots/aarch64-poky-linux/lib -L/opt/poky/3.0.4/sysroots/aarch64-poky-linux/usr/lib -L/opt/poky/3.0.4/sysroots/aarch64-poky-linux/usr/lib/aarch64-poky-linux/9.2.0 -o "test" ./src/test.o | 15:09 |
*** g0hl1n <g0hl1n!~g0hl1n@83-215-125-121.lhau.dyn.salzburg-online.at> has joined #yocto | 15:09 | |
guest252 | these are the sysroot directories | 15:10 |
guest252 | I'm not using the environment setup script | 15:10 |
LetoThe2nd | guest252: then thats the problem. use the script, its there for a reason. | 15:12 |
LetoThe2nd | and AFAIK, passing random -L flags is not the same as passing --sysroot | 15:12 |
rburton | guest252: you don't *need* to use the environment script, but you *do* need to pass --sysroot | 15:15 |
rburton | because having 1 sysroot in a SDK is basically a nice edge case | 15:16 |
rburton | multilib, multiarch, multitune, all have multiple sysroots | 15:16 |
guest252 | Okay, that makes sens rburton, thank you | 15:17 |
LetoThe2nd | rburton: so my AFAIK strikes! | 15:17 |
rburton | yeah, gcc needs to find its internal libraries and stuff | 15:17 |
* LetoThe2nd feels mightily proud. | 15:19 | |
guest252 | Hm, it's probably easier if I actually use the environment script, the alternative is copy&paste anyway, so does anyone know a tutorial to include this script in Eclipse? | 15:24 |
* LetoThe2nd knows how to get rid of eclipse | 15:25 | |
rburton | when I used a SDK inside vscode the trick was to tell it that the compile command was . environment.. && $CC | 15:26 |
guest252 | Ah, that's actually a great idea, thank you | 15:27 |
LetoThe2nd | rburton: sounds legit, or robs latest blueprint for vsc | 15:27 |
rburton | yeah that is next-level | 15:28 |
*** goliath <goliath!~goliath@clnet-p04-043.ikbnet.co.at> has quit IRC | 15:32 | |
*** fl0v0 <fl0v0!~fvo@89.244.123.111> has quit IRC | 15:32 | |
*** goliath <goliath!~goliath@clnet-p04-043.ikbnet.co.at> has joined #yocto | 15:35 | |
roussinm | I was wondering if this is the style of code you are using inside bitbake python: https://pastebin.com/6z2438FY instead of `return fn in self.clean` ? | 15:36 |
roussinm | Oups that pastebin has expired. | 15:36 |
roussinm | https://pastebin.com/6tqdUcis | 15:38 |
kergoth | roussinm: it's not a question of general style, just individual choices about readability. generally we favor idiomatic python, but we try not to sacrifice readability just for conciseness. it's case by case. | 15:40 |
* zeddii nods | 15:42 | |
zeddii | I've read too much perl/script/python code where the author is just trying to show how clever they are, and make things as small/concise/single line as possible. | 15:43 |
roussinm | kergoth: what about usage of functions like `all` and `any` ? | 15:43 |
kergoth | we've used them on a number of occasions and continue to do so | 15:43 |
*** vineela <vineela!~vtummala@134.134.139.74> has joined #yocto | 15:43 | |
kergoth | zeddii: precisely, they often sacrifice readability and make maintenance harder in the doing | 15:43 |
kergoth | we aren't going to be clever just because the stdlib has a function. if it makes sense and it's idiomatic and readable, we'll use it | 15:44 |
kergoth | certainly patches to make the codebase more idiomatic would be considered for sure | 15:44 |
roussinm | We all have threshold of readability I guess, I would prefer using `return MYCONDITION` instead of spliting false/true. I'm used to the second syntax because I use a clang-tidy (C++) check that requires to "simplify" statement. | 15:46 |
roussinm | *first syntax. | 15:46 |
kergoth | IMO it depends on the complexity and readability of the condition | 15:47 |
fray | I love people who use obfuscators.. 'Don't steal ma code, I'm an eleete haxor'.. dude, it's an interpreted language, the code is open.. | 15:48 |
roussinm | you can always extract to a function or variable to put a name on the condition which should simplify. | 15:48 |
zeddii | if not not foo: do this. | 15:48 |
roussinm | zeddii: oh god. don't. | 15:49 |
zeddii | signed-off-by: his-eliteness@elite.org | 15:49 |
fray | if not not not foo: | 15:49 |
zeddii | :D | 15:49 |
*** yann <yann!~yann@88.120.44.86> has quit IRC | 15:49 | |
fray | if not not not foo or not not foo: | 15:49 |
*** yann <yann!~yann@88.120.44.86> has joined #yocto | 15:49 | |
fray | (actually I was going through some code a few weeks ago, where the code was something like foo = not bar \n (about a dozen lines later) if foo or bar: .... | 15:50 |
fray | so always do this? | 15:50 |
LetoThe2nd | zeddii: you're not really eleet until you get your PoCs back from customer presentations with the commend "worked nicely, but they asked us what foo and bar meant" | 15:51 |
zeddii | :D | 15:52 |
LetoThe2nd | for the record: yes, this has happend to me. | 15:52 |
zeddii | it definitely level sets for the rest of the conversation, doesn't it ? | 15:52 |
*** AndersD_ <AndersD_!~AndersD@h83-209-96-136.cust.a3fiber.se> has quit IRC | 15:53 | |
LetoThe2nd | ayup | 15:53 |
roussinm | kergoth: https://clang.llvm.org/extra/clang-tidy/checks/readability-simplify-boolean-expr.html that's the check I'm using in our code base. I don't have much experience in Python, does python has similar tooling? Auto-refactoring, Auto-modernization? | 15:55 |
fray | One thing I do, and have been called on it numerous times.. "for k,v in pairs(table)" (lua code).. "Please expand what k and v do".. for a lot of cases, that makes sense, cause the key and value do have meaning... but I wrote a function that simply copied a structure.. got the same comment and say "stands for key and value, since it can copy any table..." | 15:55 |
fray | so it was clear the reviewer just went 'k,v' but enver looked at the comment to the function that says 'copy a table' | 15:55 |
rburton | roussinm: https://github.com/python-rope/rope? | 15:57 |
roussinm | rburton: Yes I use rope inside VSCode. That's the only one I use with PyLance server. | 15:58 |
*** Ox861726f6c64 <Ox861726f6c64!~Ox861726f@gateway/tor-sasl/ox861726f6c64> has quit IRC | 15:58 | |
*** guest252 <guest252!a5e11b61@165.225.27.97> has quit IRC | 15:58 | |
roussinm | Pylance has been very usefull to find unused imports and unused variables, but I don't think I understand how import works in bitbake because when I experiment by removing unused imports in a module, another module fails because it's missing that import. It feels like transitive import dependency? Maybe that's the python way? | 16:07 |
JaMa | halstead: is patchwork known to be broken or is it just really slow? https://patchwork.openembedded.org/project/oe/patches/?submitter=&state=*&q=&archive=both&delegate= shows last patch from 2020-10-30 and there were many patches on ML after that | 16:09 |
halstead | JaMa, I keep repairing patch processing and then it fails again. I'm not sure why this time. | 16:14 |
roussinm | kergoth: the maximum python version supported in BitBake atm is 3.6, correct? | 16:15 |
halstead | Email to OE patchwork-next is bouncing again just like on Oct 17th. I need to change this set up instead of repairing. | 16:16 |
*** eduardas <eduardas!~eduardas@93.93.57.5> has quit IRC | 16:16 | |
kergoth | roussinm: https://github.com/openembedded/bitbake/blob/master/lib/bb/__init__.py#L15 | 16:16 |
kergoth | roussinm: sadly we can't use f-strings yet :) | 16:16 |
roussinm | kergoth: :( Do you have a ETA on when it's going to be possible? Because even Debian has Python 3.7, debian is always behind usally. lol | 16:17 |
kergoth | would have to ask RP, but oe+bitbake is expeted to run on a wide variety of hosts, so it always tends toward a certain level of compatibility | 16:18 |
kergoth | would be nice, though | 16:18 |
roussinm | it would improve readability on a lot of strings ;) | 16:18 |
*** WillMiles <WillMiles!~Will@209.87.231.80> has joined #yocto | 16:24 | |
halstead | JaMa, It's starting to catch up now. | 16:35 |
*** Sandrita <Sandrita!d0586e2e@gateway/web/cgi-irc/kiwiirc.com/ip.208.88.110.46> has joined #yocto | 16:42 | |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has quit IRC | 16:44 | |
JaMa | halstead: thanks! any update on -commits MLs? | 16:44 |
*** kpo_ <kpo_!~kpo@bwu34.internetdsl.tpnet.pl> has joined #yocto | 16:45 | |
*** andycooper is now known as andycooper_ooo | 16:48 | |
marc1 | Question about wic: when calling wic from the command line, it uses the NATIVE_SYSROOT from the wic-tools recipe, right? But when wic is called from a run.do_image_wic script will it use the NATIVE_SYSROOT from the image (so recipe-sysroot-image)? | 16:54 |
marex | fray: oh hello | 16:55 |
marex | fray: you still around ? | 16:55 |
Guest9816 | marc1: yes | 16:55 |
marex | fray: I have a question about some interpreted language (python) scripts (meta-xilinx-standalone) :-) | 16:56 |
*** chris_ber <chris_ber!~quassel@213.138.44.181> has quit IRC | 17:01 | |
*** huseyinkozan <huseyinkozan!~huseyinko@159.146.72.110> has quit IRC | 17:03 | |
*** mattia1 <mattia1!~mattia@85.148.245.106> has quit IRC | 17:15 | |
*** frsc <frsc!~frsc@mue-88-130-75-071.dsl.tropolys.de> has quit IRC | 17:21 | |
*** vineela <vineela!~vtummala@134.134.139.74> has quit IRC | 17:21 | |
*** nerdboy <nerdboy!~sarnold@47.143.129.47> has joined #yocto | 17:37 | |
*** nerdboy <nerdboy!~sarnold@gentoo/developer/nerdboy> has joined #yocto | 17:38 | |
*** mckoan is now known as mckoan|away | 17:48 | |
*** mattia1 <mattia1!~mattia@85.148.245.106> has joined #yocto | 17:56 | |
*** florian <florian!~florian_k@Maemo/community/contributor/florian> has quit IRC | 17:59 | |
*** vineela <vineela!vtummala@nat/intel/x-xtkhqdgtoozpwwch> has joined #yocto | 18:08 | |
opello | is there a bgg with PN being only [0-9-]+ and ALLOW_EMPTY_${PN} = "1" breaking? (thud, haven't checked newer; package_rpm.bbclass seems pretty stable; pretty sure this didn't happen in rocko) | 18:15 |
opello | s/bgg/bug/ | 18:15 |
*** Sandrita <Sandrita!d0586e2e@gateway/web/cgi-irc/kiwiirc.com/ip.208.88.110.46> has quit IRC | 18:26 | |
*** oberstet <oberstet!~oberstet@213.170.219.39> has quit IRC | 18:31 | |
*** B0ned1ger2 <B0ned1ger2!~B0ned1ger@82-135-139-249.static.zebra.lt> has quit IRC | 18:34 | |
*** camus1 <camus1!~Instantbi@58.246.136.202> has joined #yocto | 18:37 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 18:37 | |
*** camus1 is now known as kaspter | 18:37 | |
*** lukma <lukma!~lukma@89-64-5-98.dynamic.chello.pl> has joined #yocto | 18:43 | |
*** lukma <lukma!~lukma@89-64-5-98.dynamic.chello.pl> has quit IRC | 18:51 | |
yann | do we have a tool that would compare the pn-buildlist with the recipes really used for an image ? | 18:53 |
yann | I'd think a first step would be to include the output of "bitbake -g" in buildhistory, and write this as a buildhistory-analysing script ? | 18:54 |
* yann does not like to spend time waiting for the build of useless stuff, especially when bisecting | 18:56 | |
kergoth | Are you just trying to get a list of the recipes that were used as build tools? | 18:56 |
kergoth | nothing is built that isnt in the dependency graph. if it's there, something depended on it | 18:56 |
kergoth | so i'm not sure what you're looking for | 18:56 |
kergoth | you can't just blindly remove dependencies, unless they're pulled in through PACKAGECONFIG and you can opt out of those fatures | 18:56 |
kergoth | features | 18:56 |
yann | eg. lmsensors default to building sensord, which pulls rrdtools, which pulls perl - I just noticed that by chance, glancing idly at the bitbake progress and gaping at the sight of rrdtool | 18:57 |
yann | that's easily fixed by a PACKAGECONFIG tweak, but I'm sure there are many such occurences, and we should have a way to see that easily | 18:58 |
yann | and yes there are cases where we just did not add the PACKAGECONFIG items yet, I'm sure :) | 18:59 |
*** LetoThe2nd <LetoThe2nd!uid453638@gateway/web/irccloud.com/x-lcevyjwvuinahnnt> has quit IRC | 19:00 | |
yann | looking at task-depends.dot I can see I have some more work if I do want to avoid building perl, which does not every reaches my rootfs, it's sad not to be warned :) | 19:01 |
kergoth | oftentimes packageconfigs add runtime dependencies as well, which *would* end up in the image, and yet is still an optional dep you might not want | 19:03 |
kergoth | and warning about everything you build that doesn tgo in the image will show you hundreds of native and cross tools. i guess if you filter it to target. | 19:04 |
*** beneth` <beneth`!~beneth@irc.beneth.fr> has left #yocto | 19:04 | |
*** mattia_ <mattia_!~mattia@85.148.245.106> has quit IRC | 19:07 | |
*** lukma <lukma!~lukma@89-64-5-98.dynamic.chello.pl> has joined #yocto | 19:08 | |
Guest9816 | RP: it seems the python3 recipe staged in master-next needs some rework http://errors.yoctoproject.org/Errors/Build/112196/ | 19:18 |
*** vineela <vineela!vtummala@nat/intel/x-xtkhqdgtoozpwwch> has quit IRC | 19:18 | |
RP | Guest9816: yes, sorry. Let me drop that lot | 19:19 |
RP | it was an experiment which didn't work | 19:19 |
zeddii | khem is in disguise these days | 19:20 |
RP | armpit: the license errors I mentioned ^^^ | 19:20 |
*** megabread <megabread!~megabread@2a01:4b00:e031:2600:908d:4b52:6024:2fa1> has quit IRC | 19:28 | |
*** B0ned1ger <B0ned1ger!~B0ned1ger@82-135-139-249.static.zebra.lt> has joined #yocto | 19:36 | |
*** LetoThe2nd <LetoThe2nd!uid453638@gateway/web/irccloud.com/x-kowizvwncxudfsuz> has joined #yocto | 19:42 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 19:49 | |
*** Sandrita <Sandrita!d0586e2e@gateway/web/cgi-irc/kiwiirc.com/ip.208.88.110.46> has joined #yocto | 19:51 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 19:52 | |
*** Guest9816 is now known as khem | 19:53 | |
khem | zeddii: I use matrix for IRC these days and it forgets nicks | 19:54 |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 19:58 | |
khem | RP: I have some patches for master to fix my world builds on ml | 19:59 |
*** B0ned1ger2 <B0ned1ger2!~B0ned1ger@78-60-213-230.static.zebra.lt> has joined #yocto | 20:13 | |
*** yacar_ <yacar_!~yacar_@91-168-169-253.subs.proxad.net> has quit IRC | 20:14 | |
*** B0ned1ger <B0ned1ger!~B0ned1ger@82-135-139-249.static.zebra.lt> has quit IRC | 20:16 | |
DanmerZ | Hi! I run basic core minimal image x86 runqemu and want to SSH into it. I installed ssh-server-dropbear but ssh root@192.168.7.2 gives "connection refused" | 20:16 |
*** B0ned1ger2 <B0ned1ger2!~B0ned1ger@78-60-213-230.static.zebra.lt> has quit IRC | 20:18 | |
DanmerZ | EXTRA_IMAGE_FEATURES ?= "debug-tweaks ssh-server-dropbear" | 20:18 |
DanmerZ | ping 192.168.7.2 works fine | 20:19 |
rburton | is it actually running? | 20:23 |
DanmerZ | how can I check it? | 20:29 |
DanmerZ | Starting Dropbear SSH server: dropbear. | 20:30 |
DanmerZ | I see this on qemu start | 20:30 |
DanmerZ | ip a -> inet 10.0.2.15/24 which looks strange, ip should be 192.168.7.2 | 20:31 |
rburton | oh sorry qemu | 20:33 |
rburton | no, 10.0.2.15 is the right ip | 20:33 |
rburton | 192.168 presumably is your machine's ip? | 20:33 |
DanmerZ | - You can access the host computer at 192.168.7.1 within the image. | 20:34 |
DanmerZ | - Your qemu system will be accessible as 192.168.7.2. | 20:34 |
DanmerZ | this is from poky/scripts/runqemu.README | 20:35 |
rburton | well, in that case, the qemu networking setup is a bit duff | 20:35 |
DanmerZ | can I check somehow that sshd service is running? | 20:36 |
rburton | ps ax | 20:39 |
rburton | but the IPs not matching might be the problem | 20:39 |
rburton | runqemu assumes that you've got the qemu networking config files installed in the image | 20:39 |
rburton | if you don't then networking will be different | 20:39 |
DanmerZ | 201 root 2924 S /usr/sbin/dropbear -r /etc/dropbear/dropbear_rsa_host_key -p 22 -B | 20:40 |
DanmerZ | I did not provide any networking config for the image, should I? | 20:43 |
DanmerZ | Can I provide something useful here ? runqemu qemux86 qemuparams= | 20:45 |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 20:54 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has joined #yocto | 20:54 | |
*** B0ned1ger2 <B0ned1ger2!~B0ned1ger@78-60-213-230.static.zebra.lt> has joined #yocto | 20:54 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 20:59 | |
*** B0ned1ger2 <B0ned1ger2!~B0ned1ger@78-60-213-230.static.zebra.lt> has quit IRC | 20:59 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 21:03 | |
*** berton <berton!~berton@191-221-68-106.user3p.brasiltelecom.net.br> has quit IRC | 21:16 | |
*** B0ned1ger <B0ned1ger!~B0ned1ger@78-60-213-230.static.zebra.lt> has joined #yocto | 21:27 | |
*** B0ned1ger <B0ned1ger!~B0ned1ger@78-60-213-230.static.zebra.lt> has quit IRC | 21:31 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 21:33 | |
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has joined #yocto | 21:37 | |
*** rob_w <rob_w!~rob@unaffiliated/rob-w/x-1112029> has quit IRC | 21:41 | |
*** pohly <pohly!~pohly@p54bd56f5.dip0.t-ipconnect.de> has quit IRC | 22:09 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 22:21 | |
*** dakhouya <dakhouya!4a3bc5db@modemcable219.197-59-74.mc.videotron.ca> has joined #yocto | 22:22 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has quit IRC | 22:25 | |
alejandrohs | DanmerZ: Can you ssh to localhost from inside qemu? | 22:29 |
*** LetoThe2nd <LetoThe2nd!uid453638@gateway/web/irccloud.com/x-kowizvwncxudfsuz> has quit IRC | 22:40 | |
*** kiwi_29 <kiwi_29!~kiwi_29@c-73-231-211-214.hsd1.ca.comcast.net> has joined #yocto | 22:45 | |
*** dakhouya <dakhouya!4a3bc5db@modemcable219.197-59-74.mc.videotron.ca> has quit IRC | 22:54 | |
*** camus1 <camus1!~Instantbi@58.246.136.202> has joined #yocto | 23:00 | |
*** kaspter <kaspter!~Instantbi@58.246.136.202> has quit IRC | 23:02 | |
*** camus1 is now known as kaspter | 23:02 | |
*** B0ned1ger <B0ned1ger!~B0ned1ger@78-60-213-230.static.zebra.lt> has joined #yocto | 23:13 | |
*** B0ned1ger <B0ned1ger!~B0ned1ger@78-60-213-230.static.zebra.lt> has quit IRC | 23:17 | |
*** agust <agust!~agust@p508b685f.dip0.t-ipconnect.de> has quit IRC | 23:25 | |
*** ssajal <ssajal!~ssajal@bras-base-otwaon0147w-grc-22-70-51-212-187.dsl.bell.ca> has quit IRC | 23:37 | |
*** BCMM <BCMM!~BCMM@unaffiliated/bcmm> has quit IRC | 23:42 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!