Tuesday, 2024-06-04

*** lexano <lexano!~lexano@pool-174-119-69-134.cpe.net.cable.rogers.com> has quit IRC (Ping timeout: 264 seconds)00:52
*** davidinux <davidinux!~davidinux@45.11.82.37> has quit IRC (Ping timeout: 268 seconds)01:04
*** davidinux <davidinux!~davidinux@45.11.82.48> has joined #yocto01:06
*** Jones42_ <Jones42_!~Jones42@user/Jones42> has joined #yocto01:45
*** Jones42 <Jones42!~Jones42@user/Jones42> has quit IRC (Ping timeout: 240 seconds)01:48
*** jclsn <jclsn!~jclsn@2a04:4540:6532:e400:2ce:39ff:fecf:efcd> has quit IRC (Ping timeout: 268 seconds)02:01
*** jclsn <jclsn!~jclsn@2a04:4540:650f:fe00:2ce:39ff:fecf:efcd> has joined #yocto02:03
*** sgw <sgw!~swold@user/sgw> has quit IRC (Quit: Leaving.)02:23
*** Ad0 <Ad0!~Ad0@93.124.245.194> has quit IRC (Ping timeout: 260 seconds)03:03
*** jmd <jmd!~user@2001:a61:2b57:a201:4b92:15ba:c66d:13b9> has joined #yocto04:41
*** amitk <amitk!~amit@58.84.62.221> has joined #yocto04:43
*** Ad0 <Ad0!~Ad0@93.124.245.194> has joined #yocto05:13
*** jmd <jmd!~user@2001:a61:2b57:a201:4b92:15ba:c66d:13b9> has quit IRC (Remote host closed the connection)05:42
*** jmd <jmd!~user@2001:a61:2b57:a201:4b92:15ba:c66d:13b9> has joined #yocto05:43
*** jmd <jmd!~user@2001:a61:2b57:a201:4b92:15ba:c66d:13b9> has quit IRC (Remote host closed the connection)05:43
*** BhsTalel <BhsTalel!~BhsTalel@147.161.164.164> has joined #yocto05:54
BhsTalelHello everyone,05:56
BhsTalelI am working for a company that does not allow their Linux servers to access full Internet, so they told me they are only allowed to create a list of mirrors that Yocto uses to add them to their Firewall,05:56
BhsTalelIs this idea possible ? Because I know that there are some major mirrors for Yocto that do not change, but I think the idea is not possible for making Yocto works only with specific mirrors, also one cannot collect all mirrors for sure05:56
BhsTalelWhat do you think about this ?05:56
*** goliath <goliath!~goliath@user/goliath> has joined #yocto05:57
*** alperak <alperak!uid641238@id-641238.ilkley.irccloud.com> has joined #yocto06:22
*** kevans <kevans!~kevans91@user/kevans> has joined #yocto06:24
*** ablu <ablu!~m-bfyrfh@user/Ablu> has quit IRC (Ping timeout: 252 seconds)06:45
*** ablu <ablu!~m-bfyrfh@user/Ablu> has joined #yocto06:47
*** ablu <ablu!~m-bfyrfh@user/Ablu> has quit IRC (Ping timeout: 255 seconds)06:52
*** ablu <ablu!~m-bfyrfh@user/Ablu> has joined #yocto06:55
*** ablu <ablu!~m-bfyrfh@user/Ablu> has quit IRC (Ping timeout: 256 seconds)07:00
landgrafBhsTalel: try this one http://downloads.yoctoproject.org/mirror/sources/07:02
*** ablu <ablu!~m-bfyrfh@user/Ablu> has joined #yocto07:04
*** rfuentess <rfuentess!~rfuentess@lfbn-lyo-1-1566-5.w90-52.abo.wanadoo.fr> has joined #yocto07:08
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #yocto07:11
*** zpfvo <zpfvo!~fvo@i59F5CDE4.versanet.de> has joined #yocto07:12
*** enok <enok!~Thunderbi@94.191.152.61.mobile.tre.se> has joined #yocto07:16
*** prabhakalad <prabhakalad!~prabhakar@147.161.225.104> has quit IRC (Quit: Konversation terminated!)07:19
*** prabhakalad <prabhakalad!~prabhakar@147.161.225.104> has joined #yocto07:20
*** enok <enok!~Thunderbi@94.191.152.61.mobile.tre.se> has quit IRC (Ping timeout: 240 seconds)07:39
*** altru <altru!~altru@static-css-ccs-204145.business.bouyguestelecom.com> has joined #yocto07:40
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)07:41
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto07:41
*** xmn <xmn!~xmn@2600:4040:9398:a200:80dd:46d3:671a:7c9d> has quit IRC (Ping timeout: 246 seconds)07:50
*** mbulut <mbulut!~mbulut@ip1f128e51.dynamic.kabel-deutschland.de> has joined #yocto07:59
*** mischief <mischief!~mischief@2601:646:100:23:2efd:a1ff:feba:38aa> has quit IRC (Quit: WeeChat 4.1.1)08:15
*** mischief <mischief!~mischief@2601:646:100:23:2efd:a1ff:feba:38aa> has joined #yocto08:17
rburtonBhsTalel: the downloads.yoctoproject.org mirror covers everything in oe-core and hopefully meta-oe too, but it won't cover _all_ sources you'll need so you need to figure something out.  you can download on another machine (eg bitbake world --runall fetch) to create a local source mirror and copy that to the servers?08:31
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has joined #yocto08:32
BhsTalelrburton The issue that we don't have Linux hosts, it is not allowed to have Linux hosts, and other solutions like (WSL, docker, ...) cannot work too, so I need to figure out the full list of mirrors,08:33
BhsTalelmaybe I will start with the downloads.yoctoproject.org mirror and for every FetchError I will collect the new mirror08:33
RPhttps://github.com/kpcyrd/what-the-src/commit/e78e79217174cd7eb0868a36e935863b25e154d0#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 - "integrate Yocto Project". Not sure how well that will work but its a start I guess08:33
BhsTalelRP is that a suggestion for me ?08:35
RPBhsTalel: no08:35
*** Guest13 <Guest13!~Guest13@132.198.137.78.rev.vodafone.pt> has joined #yocto08:36
Guest13hello. i have an automatic ci/cd that builds images. however, sometimes i get the following error08:37
Guest13 Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://git.toradex.com/linux-toradex.git;protocol=git;branch=toradex_5.4-2.3.x-imx')08:37
Guest13im not sure why it happens, but re-building usually fixes it.08:37
Guest13is there any workaround for this? (e.g, retry fetch multiple times?)08:37
qschulzGuest13: the work around is to mirror it locally once you have fetched it. Network is unreliable so keeping as much as possible locally helps with that08:40
qschulzand also, makes things much faster AND is kinder to those git servers that are then less hit :)08:41
Guest13qschulz  how do I do that?08:42
qschulzGuest13: the easiest is to share DL_DIR between your CI workers08:43
qschulzGuest13: you can also do this through a custom PREMIRRORS, c.f. https://docs.yoctoproject.org/dev-manual/efficiently-fetching-sources.html?highlight=premirrors08:44
Guest13do i need a separate machine for the mirrors?08:49
Guest13i suppose i cant use it in the same machine as the ci job since it runs in docker08:49
qschulzI personally only use a shared DL_DIR over NFS between our different CI workers08:49
qschulzI would only set a PREMIRRORS if you want users to build stuff locally and make use of that local mirror08:50
qschulzsame for SSTATE_DIR, I share that over NFS08:50
qschulzbut if I had users of that sstate cache, I would make it a SSTATE_MIRROR08:50
qschulzbasically, shared dir = read-write, mirror = read-only from user perspective08:50
Guest13so if source_mirror_url is set and the ci worker doesnt find anything there, what happens?09:01
Guest13it skips, or fetches and stores it there?09:02
Guest13(i suppose since its ready only, it just skips?)09:02
qschulzGuest13: the mirror is read-only, your worker will hit the mirror first (provided you set it up as PREMIRRORS), if not found, will it the other PREMIRRORS if any, then upstream (as listed in SRC_URI), if not, then in MIRRORS09:02
qschulzand download this locally in its DL_DIR09:02
qschulzsorry, it'll look first into its own DL_DIR, if not found then goes to the premirrors first, then upstream, then mirrors09:03
qschulzso each worker would download locally, ideally from the premirror you've set up09:03
qschulzsomething has to feed this mirror though otherwise it'll stay empty (as it's read-only from user perspective)09:04
Guest13so, recapping, for CI workers, i should use the read-write which is09:04
Guest13export BB_ENV_PASSTHROUGH_ADDITIONS="DL_DIR SSTATE_DIR"09:04
Guest13export DL_DIR="${HOME}/data/bitbake.downloads"09:04
Guest13export SSTATE_DIR="${HOME}/data/bitbake.sstate"09:04
Guest13for user perspective, they can use the bitbake.dowloads setting the mirrors, right?09:04
*** mvlad <mvlad!~mvlad@2a02:2f05:821a:fb00:e88e:21ff:fe65:be18> has joined #yocto09:04
qschulzGuest13: I think they could yes, but make it a PREMIRROR for your users09:06
qschulzotherwise they may modify DL_DIR09:06
qschulzand you don't want that09:06
qschulze.g. a user runs bitbake -c cleanall <recipe> and one of your CI worker is running and fetching this tarball at the same time it's being removed => problems09:06
qschulz(in any case, never run -c cleanall or -c cleansstate on anything that is using a shared build directory, shared download directory or shared sstate cache09:07
Guest13  variables:09:16
Guest13    KAS_ALLOW_ROOT: "yes"09:16
Guest13    KAS_PREMIRRORS: "git@my.orgcom: https://my.org.com/git/"09:16
Guest13    DEBIAN_FRONTEND: "noninteractive"09:16
Guest13    BB_ENV_PASSTHROUGH_ADDITIONS: "DL_DIR SSTATE_DIR"09:16
Guest13    DL_DIR: "10.11.2.33:/srv/nfs/bitbake.downloads/"09:16
Guest13    SSTATE_DIR: "10.11.2.33:/srv/nfs/bitbake.sstate/"09:16
Guest13  script:09:16
Guest13    - kas build $PLATFORM09:16
Guest13im getting WARNING: Invalid mirror data file:///10.11.2.33:/srv/nfs/bitbake.downloads/ tho09:16
qschulzGuest13: BTW, DL_DIR and SSTATE_DIR are already passed by kas to bitbake so no need to explicit it09:17
qschulzGuest13: well, the error is quite self-explanatory?09:17
qschulzit's trying to access DL_DIR as file09:17
qschulzif you're using kas-container, you probably need to mount the NFS externally and pass it as a volume to your container09:18
qschulzotherwise, mount it outside of kas and pass the path on the local filesystem to kas in DL_DIR/SSTATE_DIR09:18
Guest13oh. im running kas docker image with normal kas09:19
*** wooosaiiii <wooosaiiii!~Thunderbi@89-212-21-243.static.t-2.net> has quit IRC (Ping timeout: 256 seconds)09:22
*** wooosaiiii <wooosaiiii!~Thunderbi@89-212-21-243.static.t-2.net> has joined #yocto09:23
ldywicki@qschulz the snippet with variables section is github action statement :)09:25
* ldywicki just to avoid confusion09:25
*** mckoan|away is now known as mckoan09:27
qschulzhttps://github.com/agherzan/meta-raspberrypi/blob/master/.github/workflows/mirror.yml this seems to be setting up some cache?09:27
qschulzah never mind, didn't take the time to read what that was doing09:27
qschulzno clue how to do this on non self-hosted workers09:28
qschulzwe have a self-hosted GitLab instance + workers, so we have some ansible mounting this NFS on the host, then have it exposed inside the gitlab worker via volumes09:29
Guest13FROM ubuntu:latest09:35
Guest13RUN apt-get update && apt-get install -y nfs-common09:35
Guest13ENV NFS_SERVER 10.11.2.3309:35
Guest13ENV NFS_SHARE /srv/nfs/bitbake.downloads/09:35
Guest13RUN mkdir -p /mnt/nfs09:35
Guest13CMD ["mount.nfs", "$NFS_SERVER:$NFS_SHARE", "/mnt/nfs"]09:35
Guest13trying to mount it on the docker image, no success for now :(09:35
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)09:43
*** Jones42__ <Jones42__!~Jones42@user/Jones42> has joined #yocto09:44
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto09:44
*** Jones42_ <Jones42_!~Jones42@user/Jones42> has quit IRC (Read error: Connection reset by peer)09:46
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 240 seconds)09:47
*** altru <altru!~altru@static-css-ccs-204145.business.bouyguestelecom.com> has quit IRC (Quit: Client closed)09:57
qschulzBTW, before I forget, do **NOT** access DL_DIR/SSTATE_DIR at the same through NFS and through another fs, the flock doesn't work across those (been there :) )10:05
*** enok <enok!~Thunderbi@94.191.153.32> has joined #yocto10:06
*** enok <enok!~Thunderbi@94.191.153.32> has quit IRC (Ping timeout: 268 seconds)10:13
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto10:18
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has joined #yocto10:20
*** lexano <lexano!~lexano@pool-174-119-69-134.cpe.net.cable.rogers.com> has joined #yocto10:50
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)11:00
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto11:00
*** Guest13 <Guest13!~Guest13@132.198.137.78.rev.vodafone.pt> has quit IRC (Quit: Client closed)11:02
*** Kubu_work <Kubu_work!~kubu@lfbn-nan-1-335-137.w82-120.abo.wanadoo.fr> has joined #yocto11:22
*** BhsTalel <BhsTalel!~BhsTalel@147.161.164.164> has quit IRC (Quit: Client closed)11:24
*** enok71 <enok71!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has joined #yocto11:24
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 240 seconds)11:27
*** enok71 is now known as enok11:27
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV)11:31
*** enok71 <enok71!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has joined #yocto11:44
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has quit IRC (Quit: enok)11:44
*** enok72 <enok72!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has joined #yocto11:44
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 272 seconds)11:45
*** enok71 <enok71!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 268 seconds)11:49
*** enok72 <enok72!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 268 seconds)11:49
*** BhsTalel <BhsTalel!~BhsTalel@147.161.255.82> has joined #yocto12:00
*** altru <altru!~altru@static-css-ccs-204145.business.bouyguestelecom.com> has joined #yocto12:02
*** MrCryo <MrCryo!~MrCryo@user/MrCryo> has joined #yocto12:12
*** goliath <goliath!~goliath@user/goliath> has joined #yocto12:15
*** xmn <xmn!~xmn@2600:4040:9398:a200:81f6:eb78:8ac8:507a> has joined #yocto12:25
*** Jones42_ <Jones42_!~Jones42@user/Jones42> has joined #yocto12:27
*** Guest60 <Guest60!~Guest60@vpn.friedhelm-loh-group.com> has joined #yocto12:27
Guest60Hey, anyone  have any experience building Yocto Linux under Gentoo?12:27
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto12:30
*** Jones42__ <Jones42__!~Jones42@user/Jones42> has quit IRC (Ping timeout: 268 seconds)12:30
mihaiGuest60: go ahead, maybe it's not even gentoo specific what you're about to ask or state12:34
RPqschulz: it is supposed to work, that is probably your nfs setup12:34
RPqschulz: well, no supposed, it does on the autobuilder12:34
rburtonnotably though the AB has a NAS appliance for the NFS server that is not linux12:36
qschulzRP: so you have one worker using e.g. ext4, and another using NFS with the content from the ext4 fs and it works just fine?12:36
landgrafGuest60: I use gentoo to build YP based linux yes12:37
*** mihai <mihai!~mihai@user/mihai> has quit IRC (Ping timeout: 268 seconds)12:44
RPqschulz: I was thinking that the nas can change and work with files but as rburton  says, that is a BSD NAS appliance12:44
RPI've only done local ext4 shared over NFS12:45
*** mihai <mihai!~mihai@user/mihai> has joined #yocto12:46
qschulzRP:  it's been a very long time (2 years probably?) since the IT looked into it, so I cannot provide more info than we just stopped doing this entirely and migrated everything over NFS, even when the NFS was basically localhost12:48
RPqschulz: fair enough,I have some memory of this now. Would be nice to understand what went wrong as in theory it should work12:49
*** prabhakarlad <prabhakarlad!~prabhakar@147.161.225.85> has joined #yocto12:50
qschulzhttps://libera.irclog.whitequark.org/yocto/2022-11-2212:51
*** prabhakarlad <prabhakarlad!~prabhakar@147.161.225.85> has quit IRC (Client Quit)12:51
*** prabhakarlad <prabhakarlad!~prabhakar@147.161.225.85> has joined #yocto12:51
*** prabhakalad <prabhakalad!~prabhakar@147.161.225.104> has quit IRC (Ping timeout: 268 seconds)12:53
qschulzhttps://libera.irclog.whitequark.org/yocto/2022-11-22#33389454;12:53
qschulzfunny how the discussion started the exact same way, just a year and a half later :D12:54
*** prabhakarlad <prabhakarlad!~prabhakar@147.161.225.85> has quit IRC (Ping timeout: 260 seconds)12:57
*** hiagofranco <hiagofranco!~hiagofran@67.159.246.222> has joined #yocto12:58
*** BhsTalel <BhsTalel!~BhsTalel@147.161.255.82> has quit IRC (Quit: Client closed)13:00
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)13:02
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto13:02
*** Guest60 <Guest60!~Guest60@vpn.friedhelm-loh-group.com> has quit IRC (Quit: Client closed)13:03
*** sgw <sgw!~swold@user/sgw> has joined #yocto13:22
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto13:24
*** amitk <amitk!~amit@58.84.62.221> has quit IRC (Ping timeout: 264 seconds)13:38
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Remote host closed the connection)13:51
*** hiagofranco <hiagofranco!~hiagofran@67.159.246.222> has quit IRC (Quit: Client closed)13:52
qschulzI'm a bit perplex with what bitbake returns in DEPENDS for my PACKAGECONFIG varflag13:58
qschulzI have13:58
qschulzPACKAGECONFIG[gallium] = "-Dgallium-drivers=${@strip_comma('${GALLIUMDRIVERS}')}, -Dgallium-drivers='', libdrm ${@'libclc' if 'iris' in d.getVar('GALLIUMDRIVERS', '').split(',') else ''}"13:59
*** enok <enok!~Thunderbi@94.191.152.212> has joined #yocto13:59
qschulzbut it keeps it inline somehow, and then for the native variant of the recipe, I get 'libclc'-native if-native 'iris'-native etc.... in DEPENDS13:59
qschulzkeeps it inline -> keeps it unexpanded/unresolved14:00
*** vthor <vthor!~thor@user/vthor> has joined #yocto14:01
qschulzusing an intermediate variable made it work... what am I missing here?14:01
RPqschulz: is there some kind of conditional inherit involved? or how/where is PACKAGECONFIG set?14:18
RPit is probably related to how/when/where the PACKAGECONFIG code is processed14:19
qschulzRP: upstream master-next branch + https://lore.kernel.org/openembedded-core/20240531-panthor-v1-2-1a76fd752c1b@cherry.de/14:20
qschulzit's the mesa recipe14:21
qschulzmmm could be the anonymous python then I guess14:22
*** enok <enok!~Thunderbi@94.191.152.212> has quit IRC (Ping timeout: 240 seconds)14:24
qschulzbut d.getVar in the anonymous function should expand this by default as that's the default value for getVar method from the DataSmart14:25
RPqschulz: could be some sort of quoting problem, or a genuine bug14:26
qschulzRP: I was already surprised by ${@strip_comma('${GALLIUMDRIVERS}')} (already in the recipe)14:26
qschulzRP: moving ${@'libclc' if 'iris' in d.getVar('GALLIUMDRIVERS', '').split(',') else ''} to VAR= and then use ${VAR} in PACKAGECONFIG[gallium] worked just fine14:27
*** MrCryo <MrCryo!~MrCryo@user/MrCryo> has quit IRC (Remote host closed the connection)14:27
qschulzso doesn't seem to be a quoting issue?14:27
RPqschulz: I suspect the regex bitbake is using to find code to run or something so two ${@} usages or something14:28
qschulzRP: then a corner case somewhere because we have multiple regex in PROVIDES of the same recipe for example (though on a newline each....)14:30
qschulzsorry, multiple inline python14:31
qschulzthis mesa update is a bit of a nightmare for someone who knows nothing of mesa nor meson :)14:31
*** Jones42__ <Jones42__!~Jones42@user/Jones42> has joined #yocto14:32
*** Jones42_ <Jones42_!~Jones42@user/Jones42> has quit IRC (Ping timeout: 246 seconds)14:36
*** vvn <vvn!~vivien@bras-base-mtrlpq02huw-grc-03-174-88-247-147.dsl.bell.ca> has joined #yocto14:39
Xogiummesa, meson, that already sounds confusing ;p14:49
*** michael_e <michael_e!~michael_e@user/michael-e:30278> has joined #yocto15:02
*** rfuentess <rfuentess!~rfuentess@lfbn-lyo-1-1566-5.w90-52.abo.wanadoo.fr> has quit IRC (Remote host closed the connection)15:06
*** enok <enok!~Thunderbi@94.191.152.98.mobile.tre.se> has joined #yocto15:09
*** michael_e <michael_e!~michael_e@user/michael-e:30278> has quit IRC (Quit: Client closed)15:14
*** sgw <sgw!~swold@user/sgw> has quit IRC (Quit: Leaving.)15:24
*** enok <enok!~Thunderbi@94.191.152.98.mobile.tre.se> has quit IRC (Quit: enok)15:27
*** enok <enok!~Thunderbi@94.191.152.98.mobile.tre.se> has joined #yocto15:27
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: Client closed)15:38
qschulzkhem: I'm trying to work out the mesa-native 24.1.0 recipe and we now need libclc for x86 hosts (iris Gallium driver requires clc now...)15:40
qschulzkhem: however I get:15:40
qschulzThe file /usr/lib/libLLVMPasses.a is installed by both llvm-native and clang-native, aborting15:40
qschulzmaster branch on meta-clang15:40
qschulzhave you seen this already or is this one more new issue (which could be PEBKAC :) ) I found in the last couple of days :( ?15:43
*** enok <enok!~Thunderbi@94.191.152.98.mobile.tre.se> has quit IRC (Read error: Connection reset by peer)15:44
*** enok <enok!~Thunderbi@94.191.152.98> has joined #yocto15:45
*** mckoan is now known as mckoan|away15:47
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving)15:47
*** enok <enok!~Thunderbi@94.191.152.98> has quit IRC (Ping timeout: 240 seconds)15:49
qschulzRP: I FOUND THE ISSUE!15:53
qschulzSo, it seems that we do a split by comma in PACKAGECONFIG before running the inline python15:54
qschulzand since I used a comma in my inline python... it broke the parsing in weird ways that didn't fully break the parsing15:54
qschulzjust put the rest of the stuff in RDEPENDS (IIRC that's what after DEPENDS in the PACKAGECONFIG[v] entry?)15:55
qschulzSo that's why putting it in another variable made it work15:55
qschulzso not sure what to do with this, is this an actual bug or not?15:55
qschulzbecause I'm not sure we want to expand everything in PACKAGECONFIG[v] before we split by comma?15:56
RPqschulz: oh, interesting. I wonder if we should detect/warn about that15:59
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV)15:59
*** altru <altru!~altru@static-css-ccs-204145.business.bouyguestelecom.com> has quit IRC (Quit: Client closed)16:00
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Quit: Ex-Chat)16:03
*** wdouglass <wdouglass!~user@dhcp-pa-67-20-246-179.consolidated.net> has joined #yocto16:09
wdouglassHi all. Is there a variable i can use in a .bbappend file that refers to the location of the .bbappend file, and not the original recipe? I'm trying to do something like `FILESEXTRAPATHS:prepend := "${THISDIR}/files:"` but it resolves to the wrong location16:10
qschulzwdouglass: that's exactly what this does16:11
qschulzwdouglass: but I think you may be looking at the wrong thing, can you explain what you're trying to do and what's happening?16:11
*** tgamblin <tgamblin!~tgamblin@d24-150-219-207.home.cgocable.net> has quit IRC (Ping timeout: 246 seconds)16:15
qschulzkhem: never mind, it's because we both have gallium and gallium-llvm in mesa-native and that gallium now requires lblc-native which brings clang-native as well....16:15
wdouglassI'm trying to add functionality to a devkit which defines a bunch of packages in place with EXTERNALSRCDIR. It uses a config file that matches the SDK development board, and not the custom board i'm designing. I can override the board config in one of the tools that comes from upstream in a make argument, so i've created a BBAPPEND that looks like this: https://pastebin.com/uCxUzeX516:15
*** tgamblin <tgamblin!~tgamblin@d24-150-219-207.home.cgocable.net> has joined #yocto16:16
wdouglassI think because of EXTERNALSRCDIR, it's not actually copying `board_config` anywhere, and ${B} is referring to the source directory for the upstream package16:16
wdouglassbut if i change the last line to be16:16
wdouglassEXTRA_OEMAKE:append = " BOARD_CONFIG=${THISDIR}/board_config"16:16
wdouglassthen the upstream looks in the original recipe directory, and not the bbappend location16:17
qschulzyup, expected16:17
wdouglassso my question is -- what do? how do i get it to find `board_config` in the right place?16:17
qschulzyou can use BBAPPEND_LOCATION := "${THISDIR} and then EXTRA_OEMAKE:append = " BOARD_CONFIG=${BBAPPEND_LOCATION}/board_config"16:17
wdouglassOh interesting16:18
qschulzBUT, this isn't ideal ayway16:18
wdouglasswhat is ideal? it seems not-obvious to me when all of these things get parsed16:18
qschulzyour SRC_URI should put this file somewhere available to your recipe16:18
qschulzin everything but the current master branch of Yocto, it's WORKDIR16:18
wdouglassI understand. can i undo the `inherit externalsrc` that's in the original recipe? I'm trying very hard not to patch the upstream sdk16:19
qschulzso if you use BOARD_CONFIG=${WORKDIR}/board_config this could probably work16:19
wdouglassok i'll give that a shot16:19
qschulzwdouglass: no, you cannot uninherit stuff as far as I know16:19
*** tgamblin <tgamblin!~tgamblin@d24-150-219-207.home.cgocable.net> has quit IRC (Read error: Connection reset by peer)16:19
*** tgamblin <tgamblin!~tgamblin@d24-150-219-207.home.cgocable.net> has joined #yocto16:20
wdouglass${WORKDIR}/board_config worked! thanks a ton qshulz!16:20
*** sudip_ is now known as sudip16:20
qschulznote that using WORKDIR is a bit finicky, so I could suggest using destsuffix into e.g. ${S} for example and then use ${S} instead of WORKDIR16:21
qschulzthe issue being that if you remove the SRC_URI, the file will still exist (except if you remove your whole TMPDIR)16:21
qschulz(well, the one for the recipe, that is)16:21
qschulzhence why we're migrating to UNPACKDIR now16:21
qschulzsorry, not destsuffix but subdir16:22
qschulzhttps://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-fetching.html#the-unpack16:22
wdouglasswell because of the externalsrc inherit, ${S} is the upstream source directory16:22
wdouglassso it doesn't seem right to put stuff there16:22
*** zpfvo <zpfvo!~fvo@i59F5CDE4.versanet.de> has quit IRC (Remote host closed the connection)16:23
qschulztrue16:23
qschulznothing better to suggest right now16:23
rburtonfor not-master, WORKDIR/ is the right thing16:23
qschulzrburton: yes, but still not always working16:23
wdouglassok thank you guys very much (because of my vendor, i'm stuck on kirkstone for the time being, so i'm a bit behind the times anyway)'16:23
qschulzwdouglass: kirkstone is not THAT bad, you still have two years to prepare for the next update ;)16:24
wdouglass:)16:24
*** jmd <jmd!~user@2001:a61:2b57:a201:4b92:15ba:c66d:13b9> has joined #yocto16:25
*** tgamblin_ <tgamblin_!~tgamblin@d24-150-219-207.home.cgocable.net> has joined #yocto16:32
*** tgamblin <tgamblin!~tgamblin@d24-150-219-207.home.cgocable.net> has quit IRC (Ping timeout: 268 seconds)16:33
*** tgamblin_ is now known as tgamblin16:36
qschulzRP: ah, discovered that packageconfig-conflicts-for-f1 isn't expanded at all? Tried to use with inline python or a variable and it didn't parse16:39
*** jmd <jmd!~user@2001:a61:2b57:a201:4b92:15ba:c66d:13b9> has left #yocto (ERC 5.4 (IRC client for GNU Emacs 28.2))16:39
*** enok <enok!~Thunderbi@94.191.152.98> has joined #yocto16:45
*** enok <enok!~Thunderbi@94.191.152.98> has quit IRC (Ping timeout: 240 seconds)16:53
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has joined #yocto17:16
*** amitk <amitk!~amit@58.84.62.221> has joined #yocto17:26
*** dankm <dankm!~dan@user/dankm> has quit IRC (Remote host closed the connection)17:38
*** amitk <amitk!~amit@58.84.62.221> has quit IRC (Ping timeout: 240 seconds)17:40
*** dankm <dankm!~dan@user/dankm> has joined #yocto17:40
*** amitk <amitk!~amit@58.84.62.221> has joined #yocto17:42
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has joined #yocto17:57
*** alperak <alperak!uid641238@id-641238.ilkley.irccloud.com> has quit IRC (Quit: Connection closed for inactivity)18:12
*** xmn <xmn!~xmn@2600:4040:9398:a200:81f6:eb78:8ac8:507a> has quit IRC (Ping timeout: 240 seconds)18:15
*** alessioigor <alessioigor!~alessioig@185.178.95.238> has quit IRC (Quit: Client closed)18:21
*** xmn <xmn!~xmn@2600:4040:9398:a200:d33:d792:9f32:52c2> has joined #yocto18:24
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 240 seconds)18:37
*** vthor_ <vthor_!~thor@2806:10a6:6:1b6e:58f7:ccf0:86bd:aa00> has joined #yocto18:40
*** vthor <vthor!~thor@user/vthor> has quit IRC (Ping timeout: 255 seconds)18:41
*** florian <florian!~florian@dynamic-078-048-062-212.78.48.pool.telefonica.de> has joined #yocto18:53
*** mbulut <mbulut!~mbulut@ip1f128e51.dynamic.kabel-deutschland.de> has quit IRC (Ping timeout: 268 seconds)18:57
*** amitk <amitk!~amit@58.84.62.221> has quit IRC (Remote host closed the connection)19:01
*** kevans_ <kevans_!~kevans91@user/kevans> has joined #yocto19:06
*** vthor_ <vthor_!~thor@2806:10a6:6:1b6e:58f7:ccf0:86bd:aa00> has quit IRC (Quit: kill -9 $pid)19:06
*** kevans <kevans!~kevans91@user/kevans> has quit IRC (Ping timeout: 268 seconds)19:08
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)19:20
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto19:20
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has joined #yocto19:31
*** xmn <xmn!~xmn@2600:4040:9398:a200:d33:d792:9f32:52c2> has quit IRC (Ping timeout: 268 seconds)19:39
*** kevans_ is now known as kevans19:43
*** Haxxa <Haxxa!~Haxxa@116.255.4.123> has quit IRC (Quit: Haxxa flies away.)20:15
*** Haxxa <Haxxa!~Haxxa@116.255.4.123> has joined #yocto20:18
khemRP: seeing this https://snips.sh/f/WXadi0hKch with latest maater-next any ideas ?20:21
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 240 seconds)20:23
khemthis is binutils for musl on target and I wonder why its complaining about ld-linux-x86-64.so.2()(64bit) which comes from glibc20:23
*** mvlad <mvlad!~mvlad@2a02:2f05:821a:fb00:e88e:21ff:fe65:be18> has quit IRC (Remote host closed the connection)20:25
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has joined #yocto20:26
*** wdouglass <wdouglass!~user@dhcp-pa-67-20-246-179.consolidated.net> has left #yocto (ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1))20:28
RPkhem: no idea on that :/20:29
khemand its using plain poky20:29
RPit is as if it has lost the glibc provides20:29
RPhmm, rc1 is a bust20:33
* RP merges a fix and tried an rc220:38
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)20:57
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto20:57
*** roussinm <roussinm!~mroussin@142.115.196.7> has joined #yocto21:10
roussinmWe are using qsb (qt shader tool), and it lives in the native part of the sdk. Let's say you have a SDK from mickledore and someone using a host Ubuntu 24. When `qsb` runs on shader it will fail because of linkage on libGLdispatch.so.0 on the host machine. `/$SDKPATH/lib/libc.so.6: version `GLIBC_2.38` not found (required by /lib/x86_64-linux-gnu/libGLdispatch.so.0)` If you use an older version of21:18
roussinmUbuntu it now works. If we upgrade to newer yocto version it now works again. Wondering if this is more of how we use the tool, qt issue or yocto sdk issue? We don't really need to target multiple version of glsl, we don't build for hlsl and metal either, so maybe the tool is useless to us?21:18
*** enok <enok!~Thunderbi@c-4550e353.06-290-73746f71.bbcust.telenor.se> has quit IRC (Ping timeout: 240 seconds)21:29
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)21:32
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto21:32
RProussinm: you need the libc in the SDK to be >= than the host libc. The newer yocto build will have a newer libc21:44
*** florian <florian!~florian@dynamic-078-048-062-212.78.48.pool.telefonica.de> has quit IRC (Ping timeout: 260 seconds)21:52
roussinmIs that always a requirement?21:53
RProussinm: it depends how much you're mixing up the binaries/libs21:55
roussinmRP: I guess here the problem is the GL library, because cmake works correctly.21:55
RProussinm: right, that would do it21:55
RPthe problems start when mixing elements of both, then you need the SDK to be >=21:56
roussinmRP: I think that's pretty much only tool that we need that uses libGLdispatch. Wondering if libglvnd would help?21:57
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has quit IRC (Quit: Client closed)22:18
*** Saur_Home5 <Saur_Home5!~Saur_Home@94-137-113-31.customers.ownit.se> has joined #yocto22:19
RProussinm: I don't know enough about that specifically to comment. I've just spent far too long with linking errors like that22:21
*** Kubu_work <Kubu_work!~kubu@lfbn-nan-1-335-137.w82-120.abo.wanadoo.fr> has quit IRC (Quit: Leaving.)22:28
*** xmn <xmn!~xmn@2600:4040:9398:a200:54c4:5748:1682:3016> has joined #yocto22:33
*** mbulut <mbulut!~mbulut@ip1f128e48.dynamic.kabel-deutschland.de> has joined #yocto23:09
Xogiumso I have a system where the only storage medium is micro sd. I *hate* micro sd, but I don't have much choice in the matter... Somehow today, the overlayfs I have sitting on top of my a/b rootfs shows as totally fine when examine from another machine, but when booted up, the system has various strange things. For instance the machine id was actually visible in /etc/locale.conf, and my rauc system config had23:23
Xogiumbeen seemingly replaced by the keymap for a remote control. Those files were not altered in the real rootfs however (squashfs) and not present when examining the overlayfs somewhere else. I guess, what I'm asking here is, does it sounds like that micro sd is on its way out, or what ?23:23
Xogiumtrying to rm the affected files just said, stale file handle23:24
Xogiumno expert but to me it sounds like the whole setup is about to crumble heh23:25
*** mbulut <mbulut!~mbulut@ip1f128e48.dynamic.kabel-deutschland.de> has quit IRC (Ping timeout: 268 seconds)23:25
khemRP: the binutils issue does not happen when building on debian12 container but only on latest archlinux so I guess some future problem that I am seeing23:44
*** ablu <ablu!~m-bfyrfh@user/Ablu> has quit IRC (Ping timeout: 252 seconds)23:48
*** ablu <ablu!~m-bfyrfh@user/Ablu> has joined #yocto23:57

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!