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
florian_kc has quit [Ping timeout: 245 seconds]
Perflosopher has quit [Quit: Ping timeout (120 seconds)]
Net147 has quit [Quit: Quit]
Net147 has joined #yocto
Net147 has joined #yocto
Net147 has quit [Changing host]
Perflosopher has joined #yocto
hnez has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
shoragan has quit [Quit: quit]
hnez has joined #yocto
shoragan has joined #yocto
<belgianguy> rburton, the build failed on Meson again, something about xlib based GLX requires at least one gallium driver. https://pastebin.com/NzqdbWFj
<belgianguy> As I can see -Dgallium-drivers= -Dllvm=disabled in my pastebin as well
hnez has quit [Read error: Connection reset by peer]
shoragan has quit [Read error: Connection reset by peer]
shoragan has joined #yocto
hnez has joined #yocto
<khem> belgianguy: which image are you trying to build ? I would suggest to build core-image-weston if you are not hung up on X11
<belgianguy> khem, I'm just following a tutorial series on YouTube to get the hang of Yocto, but outside of the qemu builds, I haven't had much succes :)
<khem> yeah GPU drivers are always PITA
<khem> We do lot of curating for real devices in yoe distro e.g. see https://github.com/yoedistro/yoe-distro
<belgianguy> It's this one https://www.youtube.com/playlist?list=PLEBQazB0HUyTpoJoZecRK6PpDG31Y7RPB they build for this specific board STM32MP1
<khem> What image are you building that is pulling in mesa-gl ? it seems some X11 dep
<belgianguy> it's the core-minimal-image, but I do see the issues that is mentioned in the st.com community forum
<belgianguy> it has 'osmesa gallium' but perhaps it needs 'gallium' as a standalone option (without osmesa)
<khem> so are you trying to follow part2 tutorial ?
<belgianguy> khem, indeed
<khem> thats based on dunfell branch and they are just building core-image-minimal
<khem> so no graphics
<belgianguy> I used kirkstone, but all the same steps
<khem> and same image ?
<belgianguy> yes
<khem> core-image-minimal should not be pulling mesa-gl thats a bit over dependencies
<belgianguy> I had also expected that minimal would be console only, but alas
<khem> you can generate the dependency file and see who is pulling it
<belgianguy> Can you tell me how? I've found 4 files related to mesa: ➜ Yocto less ./poky/meta/recipes-graphics/mesa/mesa_22.0.3.bb
<belgianguy> ➜ Yocto less ./poky/meta/recipes-graphics/mesa/mesa-gl_22.0.3.bb
<belgianguy> ➜ Yocto less ./meta-st-stm32mp/recipes-graphics/mesa/mesa_%.bbappend
<belgianguy> ➜ Yocto less ./meta-st-stm32mp/recipes-graphics/mesa/mesa-gl_%.bbappend
<khem> May be first try adding `DISTRO_FEATURES:remove = "x11"` in conf/local.conf
<belgianguy> will do
<khem> for deps you can do `bitbake -g core-image-minimal`
<khem> this should dump a file called `*.dot` you can pastebin them somewhere
<belgianguy> ah, graphviz ? I remember that :)
<khem> its standard dotty file format so you can either use some dotty program to display it, or open it in editor and search for -> "mesa-gl*"
<khem> that should list who is wanting it
<belgianguy> the dot file is too big for pastebin it seems
<belgianguy> would a grep suffice?
<khem> yeah you have to follow it a bit
<khem> so full file is good
<belgianguy> I'll try to find another pastebin clone, where I can post it in full
<belgianguy> That's the contents of task-depends.dot
<khem> they have bunch of EXTRA_IMAGEDEPENDS in that layer which will insert depedencies to any image including core-image-minimal sadly
<belgianguy> khem, and based on the dot file, is every mention of mesa on the right side of a -> a "want" from someone?
<khem> Here is what I can see bluez5 -> python3-pygobject -> python3-pycairo -> cairo -> mesa-gl
<khem> and bluez5 is inserted from st layer
<belgianguy> It's a bluetooth protocol stack if I read that correctly
<khem> yeah
<khem> so I think you can break this dependency chain at cairo
<khem> add a cairo_%.bbappend in st layer perhaps
<belgianguy> Could you explain how that would solve it? Would I repeat the same dependencies but leave out bluez5 then?
<khem> PACKAGECONFIG:append = " egl glesv2"
<khem> PACKAGECONFIG:remove = "opengl"
davidinux has quit [Ping timeout: 248 seconds]
prabhakarlad has quit [Quit: Client closed]
<belgianguy> I'm very new, and I really appreciate you take the time to teach me the "how", teach a man to fish etc.
<khem> I think you could get rid of this problem by simply removing X11 from your DISTRO_FEATURES as I suggested earlier
<khem> or do the cairo bbappend as I suggested now
<khem> cairo thing could be upstreamed to st layer too with proper overrided
davidinux has joined #yocto
<belgianguy> ok, I do not need or expected any GUI, so x11 can go
<khem> ok
<belgianguy> So here it's a case of "bloatyness" where a minimal image gets weighed down to be more user friendly?
<belgianguy> khem, would regenerating the dependency tree (dot file) also show that it no longer will be used?
<belgianguy> (after adding the removal of x11)
sakoman has quit [Quit: Leaving.]
<belgianguy> Tried a rebuild with the DISTRO_FEATURES:remove = "x11" at the bottom of my local.conf, but it still pulls it in
<belgianguy> same error
<khem> can you try bitbake-getvar DISTRO_FEATURES
<belgianguy> will do
<belgianguy> it mentions wayland :/
Emantor has quit [Quit: ZNC - http://znc.in]
<khem> it still has x11
<belgianguy> ah, I had commented that removal line
<belgianguy> let me repeat it with it active
<khem> try adding `DISTRO_FEATURES :remove = "x11"` in conf/local.conf file
<khem> DISTRO_FEATURES:remove that is
<belgianguy> I added it, but x11 seems to stay even with it active https://pastebin.com/52Ra86aP
Emantor has joined #yocto
<khem> where did you add it can you show the diff and file location you added it to
<belgianguy> sure, I'll make a screenshot and a diff
<khem> this local.conf should be in your build/conf/ dir same place where you made change for MACHINE as per the tutorial
<belgianguy> khem, you're right, I had another build folder in poky that I was editing, now added the removal parameter to the correct file (sorry)
<khem> np you learn :)
<belgianguy> khem, https://pastebin.com/5yCk1KDz x11 no longer there :)
<khem> looks better
<khem> give it a try
<belgianguy> I'll give the dependency tree a whirl
<khem> sure,
<belgianguy> Learned lots of diagnostics, which is very valuable to poke around :)
<belgianguy> no more mention of mesa when I grep the task-depends.dot file :)
<belgianguy> let's give it a go
<belgianguy> I hope they don't use a GUI in the next steps of the tutorial :D, oh well, we'll see
Circuitsoft has joined #yocto
<belgianguy> khem, thanks for the help and the link to https://github.com/yoedistro/yoe-distro, seems like something I could use :)
<khem> sure, once you want some more fun you are welcome there :)
<belgianguy> khem, the build completed succesfully! Thanks for taking the time to explain things (teach a man to fish etc. ;) )
<khem> cool enjoy
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #yocto
sakoman has joined #yocto
pbsds has quit [Quit: The Lounge - https://thelounge.chat]
pbsds has joined #yocto
amitk_ has joined #yocto
<dash_hope> i am not familiar with meson build so wondering if anyone knows this:
<dash_hope> common_inc += [ include_directories('.'), include_directories(join_paths(meson.current_build_dir(), '../../../recipe-sysroot/usr/include/internal/'))]
<dash_hope> testcommon = shared_library( 'testcommon', sources, include_directories: common_inc, dependencies: t_deps, link_args : t_link_args,install: true,)
<dash_hope> This is currently a hack that is present in the code which is causing issue, wondering if there is any way to get rid of the hardcoded path as the header is already present in usr/include from other package?
<dash_hope> install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} FILES_MATCHING PATTERN *.h)
amitk_ has quit [Ping timeout: 248 seconds]
Vonter has quit [Ping timeout: 246 seconds]
Pinta has joined #yocto
warthog9 has quit [Ping timeout: 252 seconds]
xmn has quit [Quit: ZZZzzz…]
sakoman has quit [Quit: Leaving.]
Ablu has joined #yocto
Wenqing has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Wenqing has joined #yocto
warthog9 has joined #yocto
GNUmoon has quit [*.net *.split]
zelgomer has quit [*.net *.split]
zelgomer has joined #yocto
xmn has joined #yocto
dash_hope has quit [Quit: Client closed]
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #yocto
Lihis has quit [Quit: Quitting]
Lihis has joined #yocto
Pinta has quit [Quit: Client closed]
Chaser has joined #yocto
xmn has quit [Ping timeout: 248 seconds]
GNUmoon has joined #yocto
alessioigor has joined #yocto
ajfriesen847 has quit [Ping timeout: 244 seconds]
ajfriesen847 has joined #yocto
florian_kc has joined #yocto
florian_kc has quit [Ping timeout: 244 seconds]
goliath has joined #yocto
kpo has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
Starfoxxes has quit [Ping timeout: 244 seconds]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
florian_kc has joined #yocto
ajfriesen847 has quit [Ping timeout: 245 seconds]
davidinux has quit [Quit: WeeChat 3.5]
ajfriesen847 has joined #yocto
alessioigor has quit [Quit: alessioigor]
prabhakar has quit [Ping timeout: 258 seconds]
florian_kc has quit [Ping timeout: 245 seconds]
ajfriesen8473 has joined #yocto
ajfriesen847 has quit [Ping timeout: 256 seconds]
ajfriesen8473 is now known as ajfriesen847
camus has quit [Remote host closed the connection]
florian_kc has joined #yocto
Sai-Kiran has joined #yocto
florian_kc has quit [Ping timeout: 248 seconds]
kpo has quit [Ping timeout: 256 seconds]
<Sai-Kiran> Hi. I am using meta-rust and compiling an rust application. I would like to know how to cross compile the same code, in Yocto. Could someone give some pointers for this?
Vonter has joined #yocto
Sai-Kiran has quit [Quit: Client closed]
ajfriesen847 has quit [Ping timeout: 240 seconds]
Chaser has quit [Quit: Chaser]
belgianguy has quit [Remote host closed the connection]
kpo has joined #yocto
sakoman has joined #yocto
belgianguy has joined #yocto
ajfriesen847 has joined #yocto
belgianguy has quit [Remote host closed the connection]
ajfriesen847 has quit [Ping timeout: 256 seconds]
starblue has quit [Ping timeout: 246 seconds]
ajfriesen847 has joined #yocto
zelgomer has quit [Ping timeout: 246 seconds]
zelgomer has joined #yocto
Chaser has joined #yocto
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #yocto
Chaser has quit [Ping timeout: 250 seconds]
GNUmoon has quit [Ping timeout: 246 seconds]
<dvergatal> abelloni: I'm running it from latest c8cac0d5db1a12b3fb37f0a7d3f9a9b456d2e9e4 abelloni/master-next to see what is causing these ipks failures
GNUmoon has joined #yocto
Vonter has quit [Read error: Connection reset by peer]
florian has joined #yocto
pabigot has quit [Ping timeout: 248 seconds]
alessioigor has joined #yocto
pabigot has joined #yocto
Chaser has joined #yocto
Chaser has quit [Client Quit]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
Chaser has joined #yocto
Chaser has quit [Remote host closed the connection]
Chaser has joined #yocto
<khem> dvergatal: which fails ?
starblue has joined #yocto
Wouter0100670440 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100670440 has joined #yocto
goliath has quit [Quit: SIGSEGV]
kpo has quit [Ping timeout: 256 seconds]
Chaser has quit [Quit: Chaser]
amitk has quit [Ping timeout: 256 seconds]
starblue has quit [Ping timeout: 246 seconds]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
alessioigor has quit [Client Quit]
alessioigor has joined #yocto
goliath has joined #yocto
starblue has joined #yocto
pabigot has quit [Ping timeout: 250 seconds]
pabigot has joined #yocto
<dvergatal> khem: the one with mine patches for preserving acls in ipks
<JaMa> dvergatal, khem: fwiw I've recently updated glibc to 2.38 on gentoo and I'm not seeing that failure (with oe-core/master + glibc-2.38 changes)
alessioigor has quit [Quit: alessioigor]
<dvergatal> JaMa: your talking about ACLs?
<dvergatal> JaMa: sorry, my bad, it should be written "you're" :P
<JaMa> I was assuming you were talking about this and that it should be reproducible with glibc-2.38 on host even without your ACL patchset
<dvergatal> v10 is wrong
<dvergatal> there is already v12
<dvergatal> btw. I haven't seen that message from khem on my email before, which is odd, thx JaMa
warthog9 has quit [Ping timeout: 248 seconds]
warthog9 has joined #yocto
rsalveti has quit [Quit: Connection closed for inactivity]
florian has quit [Ping timeout: 245 seconds]
prabhakar has joined #yocto
prabhakarlad has joined #yocto