LetoThe2nd changed the topic of #yocto to: Welcome to the Yocto Project | Learn more: https://www.yoctoproject.org | Community: https://www.yoctoproject.org/community | IRC logs: http://irc.yoctoproject.org/irc/ | Having difficulty on the list, with someone on the list or on IRC, contact Yocto Project Community Manager Letothe2nd | CoC: https://www.yoctoproject.org/community/code-of-conduct
prabhakalad has quit [Ping timeout: 276 seconds]
prabhakalad has joined #yocto
tgamblin has joined #yocto
tgamblin has quit [Ping timeout: 252 seconds]
tgamblin has joined #yocto
jclsn has quit [Ping timeout: 272 seconds]
jclsn has joined #yocto
tgamblin has quit [Ping timeout: 245 seconds]
Vonter has joined #yocto
mbulut has quit [Remote host closed the connection]
Daanct12 has joined #yocto
jmd has joined #yocto
davidinux has joined #yocto
martin_97 has quit [Quit: WeeChat 4.6.3]
paulg has quit [Ping timeout: 248 seconds]
mansandersson868 has quit [Quit: The Lounge - https://thelounge.chat]
mansandersson868 has joined #yocto
tlwoerner has quit [Ping timeout: 272 seconds]
tlwoerner has joined #yocto
jmd has quit [Remote host closed the connection]
rob_w has joined #yocto
goliath has joined #yocto
druppy has joined #yocto
thomas_34 has joined #yocto
frieder has joined #yocto
rfuentess has joined #yocto
zeemate has joined #yocto
florian has joined #yocto
tlwoerner has quit [Ping timeout: 260 seconds]
tlwoerner has joined #yocto
leon-anavi has joined #yocto
florian has quit [Ping timeout: 268 seconds]
florian has joined #yocto
leon-anavi has quit [Remote host closed the connection]
leon-anavi has joined #yocto
rfuentess has quit [Read error: Connection reset by peer]
rfuentess has joined #yocto
belsirk has joined #yocto
rfuentess has quit [Ping timeout: 252 seconds]
rfuentess has joined #yocto
belsirk has quit [Ping timeout: 260 seconds]
tlwoerner has quit [Ping timeout: 260 seconds]
tlwoerner has joined #yocto
tlwoerner has quit [Ping timeout: 244 seconds]
tlwoerner has joined #yocto
rber|res has joined #yocto
ablu has quit [Ping timeout: 252 seconds]
ablu has joined #yocto
tgamblin has joined #yocto
<rburton> khem: will you be expediting the wxwidgets fix for meta-oe from jama?
florian has quit [Ping timeout: 260 seconds]
thomas_34 has quit [Quit: Client closed]
florian has joined #yocto
leonanavi has joined #yocto
leon-anavi has quit [Ping timeout: 252 seconds]
ptsneves has quit [Ping timeout: 276 seconds]
sakoman has quit [Ping timeout: 276 seconds]
rfuentess has quit [Quit: freaking vpns]
<LetoThe2nd> I'm trying to experiment with yocto-check-layer, and it immediately fails with INFO: Skipping meta-sulka-distro due to missing dependencies., albeit being run from a functional build setup which has the layer dependencies enabled. where am I possibly going wrong?
kbo has joined #yocto
<RP> LetoThe2nd: try including the path to the dependent layers even if they are configured
<LetoThe2nd> RP: like, yocto-check-layer path-to-layer-dep1 path-to-layer-dep2 path-to-my-layer?
<rburton> i prefer using yocto-check-layer-wrapper as it uses a fresh build tree, even if it makes calling the command even harder
<LetoThe2nd> rburton: let me look at that, this really goes sideways quick. one of the dependencies is meta-security, which in turn contains meta-parsec, which wants meta-clang but that isn't around - because I nowhere need or use meta-parsec...
<rburton> there's actually a bug about how its a terrible tool to drive
ptsneves has joined #yocto
<LetoThe2nd> definitely not getting anywhere :-(
rfuentess has joined #yocto
tgamblin has quit [Quit: WeeChat 4.6.3]
paulg has joined #yocto
ptsneves has quit [Ping timeout: 248 seconds]
warthog9 has quit [Ping timeout: 272 seconds]
warthog9 has joined #yocto
cyxae has joined #yocto
tgamblin has joined #yocto
sakoman has joined #yocto
Daanct12 has quit [Quit: WeeChat 4.6.3]
Xagen has joined #yocto
rob_w has quit [Remote host closed the connection]
jmd has joined #yocto
<fullstop> I have two machines with similar images. One image gets the python3 ensurepip module but the other does not, yet they have the same python packages installed. Any idea why one is different, or how can I track this down?
<fullstop> The only difference that I can spot is that I have appended python3-dev to the TOOLCHAIN_TARGET_TASK
<RP> LetoThe2nd: the interface to that tool does need work
<rburton> RP: can i do something magic in a target recipe's sysroot preprocess function to put a _native_ sysroot path in a generated file?
<rburton> (clang's target llvmconfig.cmake has "directory where binaries are" which should be the native sysroot not the target sysroot)
<fullstop> odd, the graphvis dot file does not show python3-ensurepip for either image, yet it is definitely in one of them.
druppy has quit [Read error: Connection reset by peer]
druppy has joined #yocto
<rburton> fullstop: have you compared the image manifests to verify the package lists are actually the same?
kbo has quit [Quit: Client closed]
<fullstop> I can check the manifest for the original image, but I just added python3-ensurepip to the second as a test.
<rburton> like, if you want ensurepip in an image, adding it seems like the right thing to do :)
<fullstop> rburton: it is pulled in as a dependency somehow, maybe with python3-pip ?
<fullstop> It is in the original image's manifest. I have never explicitly included it.
<rburton> ironically, pip doesn't depend on it
<rburton> fullstop: i'm guessing something else pulled it in. maybe one of your images actually pulls in python3 the metapackage
<fullstop> maybe python3-venv ?
<fullstop> To be clear -- I have python3 and python3-venv, but I am unable to create a venv because the ensurepip module is missing.
<rburton> python3-modules should be depending on python3-ensurepip (looking at master)
<rburton> python3-modules also provides: python3
<fullstop> I am not explicitly pulling in python3-modules
<rburton> you said you installed python3, so that would mean python3-modules
<fullstop> The python packages included are almost the same, but one image has python3-opencv and python3-pillow. That image has ensurepip
<fullstop> I don't explicitly include python3, it seems. I guess I was relying on the modules to pull it in.
<rburton> unless you explicitly install python3 then you get the subset of the library that your dependencies ask for
<fullstop> Okay, I will add python3 and see if ensurepip comes in
<rburton> if pip actually needs python3-ensurepip then send a patch to add it to the pip recipe
<rburton> RP: libclc split sent - means no need to build target clc in situations where its not needed and pulls another recipe out of the dependency chain for clang itself
<fullstop> rburton: https://docs.python.org/3/library/venv.html It's not _explicitly_ required, if the right options are used for venv.
<fullstop> "Unless the --without-pip option is given, ensurepip will be invoked to bootstrap pip into the virtual environment."
druppy has quit [Read error: Connection reset by peer]
<rburton> i'd err on the side of caution as its small and just pull it in anyway as a depends
<fullstop> I understand. I was just surprised that it was missing, but I should just be more explicit if I'm actively using it
<rburton> well both. its missing because nobody who noticed has sent a patch to fix it
<rburton> you can be the change you want in the world!
<fullstop> This is probably why I had to add python3-dev to the toolchain task as well.
<fullstop> rburton: I will try to create a patch. The lack of git integration with gmail is something of a roadblock when submitting patches, but maybe I was doing things wrong.
astlep5504018066 has quit [Quit: Ping timeout (120 seconds)]
<rburton> you can use b4 to avoid email entirely, or its absolutely possible to smtp to gmail
frieder has quit [Remote host closed the connection]
<fullstop> roger
astlep5504018066 has joined #yocto
<rburton> the trick with gmail is creating an app password, so you don't need to 2fa (which git can't do)
<RP> rburton: wouldn't you just hack the right thing in during a do_configure prefunc ?
<fullstop> I ran into that problem and didn't want to disable my yubikey stuff
<fullstop> I'll look at app passwords
<rburton> fullstop: yeah app passwords are the solution there
<rburton> RP: would have to be done for everything that uses it
<fullstop> I can also confirm that including python3 gets ensurepip installed
<RP> rburton: annoying but the target sysroot is not really designed to have native paths :(
<RP> rburton: can it take relative paths?
<rburton> i _guess_ so
<RP> why would 25% of our cache load time for a valid cache be in _int_to_enum in signal.py
* RP suspects we're doing something silly
<RP> ouch, it comes from pthread_sigmask :(
<fullstop> rburton: I am a little more confused now, since python has --without-ensurepip as part of the EXTRA_OECONF arguments.
<rburton> RP: thread thrashing or something?
<RP> rburton: our code does some signal masking for lock protection but the code in 3.13 python is not really performance optimised
<RP> return set(_int_to_enum(x, Signals) for x in sigs_set)
<rburton> erm that seems suboptimal
<RP> that equates to over 800,000 calls to _init_to_enum taking 1.25s
<rburton> monkeypatch that to something better?
<RP> rburton: I will seek advice from someone who understands python better than I to!
<rburton> if you can import _signal directly then you can avoid the set nonsense and call the lower function
<rburton> PSA call for testers. does anyone actually use the GL passthrough/qemu stuff? ie run a qemux86 image inside qemu and it does GL magic rendering using the host GPU?
<RP> rburton: is importing _signal safe?
<rburton> RP: define safe :) signal.py does :) just looking at https://github.com/python/cpython/blob/be02e68158aee4d70f15baa1d8329df2c35a57f2/Lib/signal.py#L72 and thinking the set stuff is pythonic but looks easily avoided if its a bottleneck
goliath has quit [Quit: SIGSEGV]
<RP> rburton: it is an implementation detail and likely to change in later versions?
<RP> rburton: is there a way to expand that mess out once?
<rburton> i'd be interested in seeing a time comparison, worst case we file a bug upstream
<rburton> i presume "mask less" isn't an option
<RP> rburton: 4.7s -> 4s if I make it use _signal.pthread_sigmask in utils.py
<rburton> what if you comment out the masking
<RP> rburton: "time bitbake -p" takes 2.56s with _signal and 2.82s with signal
<RP> rburton: the other number is with profiling
<RP> rburton: 2.4s without the masking
goliath has joined #yocto
RP has quit [Quit: Exiting]
rfuentess has quit [Remote host closed the connection]
florian has quit [Quit: Ex-Chat]
RP has joined #yocto
geoffhp has quit [Remote host closed the connection]
cyxae has quit [Quit: cyxae]
cyxae has joined #yocto
geoffhp has joined #yocto
<rburton> so yeah the lldb-server binary gains about 16 bytes of NULLs for no obvious reason
<rburton> that's fun
ptsneves has joined #yocto
leonanavi has quit [Quit: Leaving]
florian has joined #yocto
ptsneves has quit [Ping timeout: 260 seconds]
ptsneves has joined #yocto
<smurray> rburton: we have a kvm with qemu demo in AGL that leverages virgl
goliath has quit [Quit: SIGSEGV]
ptsneves has quit [Ping timeout: 260 seconds]
frosteyes has quit [Server closed connection]
frosteyes has joined #yocto
vmeson has quit [Read error: Connection reset by peer]
vmeson has joined #yocto
<rburton> smurray: would you be able to test a patch at verify it still works for me? it's not ready yet, but hopefully this week.
<smurray> rburton: for master? it make take me a bit of tinkering, as I've not tried building those images with our "next" branch for quite a while
jmd has quit [Remote host closed the connection]
* derRichard wonders why/how opkg can work in multilib setups and finds https://git.yoctoproject.org/poky/commit/?id=b9dde37eb5c76a8a058f1ec5183e644515ab1c4e :-S
cyxae has quit [Quit: cyxae]
cyxae has joined #yocto
cyxae has quit [Quit: cyxae]
davidinux has quit [Ping timeout: 248 seconds]
prabhakalad has quit [Ping timeout: 272 seconds]
prabhakalad has joined #yocto
mcfrisk has quit [Server closed connection]
mcfrisk has joined #yocto
savolla has joined #yocto
prabhakalad has quit [Ping timeout: 248 seconds]
prabhakalad has joined #yocto
savolla has quit [Quit: WeeChat 4.6.3]
savolla has joined #yocto
savolla has quit [Client Quit]
prabhakalad has quit [Ping timeout: 248 seconds]
savolla has joined #yocto
prabhakalad has joined #yocto
Xagen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chep has quit [Read error: Connection reset by peer]
chep has joined #yocto
zeemate has quit [Ping timeout: 260 seconds]
eLmankku has quit [Server closed connection]
eLmankku has joined #yocto
Xagen has joined #yocto
chep has quit [Read error: Connection reset by peer]
chep has joined #yocto
chep has quit [Read error: Connection reset by peer]
chep` has joined #yocto
chep` is now known as chep
RobertBerger has joined #yocto
rber|res has quit [Ping timeout: 248 seconds]
savolla has quit [Quit: WeeChat 4.6.3]
florian has quit [Ping timeout: 265 seconds]