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
goliath has quit [Quit: SIGSEGV]
davidinux has quit [Ping timeout: 256 seconds]
davidinux has joined #yocto
Vonter has quit [Ping timeout: 268 seconds]
Vonter has joined #yocto
mbulut has joined #yocto
starblue has quit [Ping timeout: 256 seconds]
starblue has joined #yocto
ablu has quit [Read error: Connection reset by peer]
ablu has joined #yocto
GNUmoon has quit [Ping timeout: 240 seconds]
Vonter has quit [Ping timeout: 260 seconds]
Vonter has joined #yocto
amitk has joined #yocto
GNUmoon has joined #yocto
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #yocto
jclsn has quit [Ping timeout: 256 seconds]
jclsn has joined #yocto
Minvera has quit [Ping timeout: 268 seconds]
chep` has joined #yocto
chep has quit [Read error: Connection reset by peer]
chep` is now known as chep
lthadeus has joined #yocto
lthadeus has quit [Remote host closed the connection]
lthadeus has joined #yocto
jmd has joined #yocto
Chaser has joined #yocto
linfax has joined #yocto
Chaser has quit [Quit: Chaser]
TundraMan has quit [Ping timeout: 268 seconds]
marka has joined #yocto
rob_w has joined #yocto
rfuentess has joined #yocto
alperak has joined #yocto
Chaser has joined #yocto
lthadeus has quit [Ping timeout: 268 seconds]
mckoan|away is now known as mckoan
<mckoan> good morning
<yocton> Hello :)
lthadeus has joined #yocto
zpfvo has joined #yocto
Chaser has quit [Ping timeout: 264 seconds]
Chaser has joined #yocto
dmoseley has quit [Ping timeout: 246 seconds]
rfuentess has quit [Remote host closed the connection]
dmoseley has joined #yocto
Guest7 has joined #yocto
lthadeus has quit [Ping timeout: 260 seconds]
vladest has quit [Ping timeout: 268 seconds]
radanter has joined #yocto
zpfvo has quit [Ping timeout: 276 seconds]
jmd has quit [Remote host closed the connection]
zpfvo has joined #yocto
vladest has joined #yocto
vladest has quit [Remote host closed the connection]
Vonter has quit [Ping timeout: 276 seconds]
zpfvo has quit [Ping timeout: 264 seconds]
zpfvo has joined #yocto
Vonter has joined #yocto
zpfvo has quit [Ping timeout: 276 seconds]
zpfvo has joined #yocto
vladest has joined #yocto
vladest has quit [Client Quit]
vladest has joined #yocto
<abelloni> khem: I tried the musl upgrade
pabigot has quit [Ping timeout: 268 seconds]
hcg has joined #yocto
leon-anavi has joined #yocto
pabigot has joined #yocto
prabhakarlad has joined #yocto
Guest7 has quit [Quit: Client closed]
alessioigor has joined #yocto
mvlad has joined #yocto
<hcg> I am having an issue trying to append to do_patch in a bbappend of a particular kernel recipe, in this instance trying to bbappend linux-ti-staging_6.1 from meta-ti. I receive a syntax error and it appears as though bitbake is attempting to treat the code within my do_patch:append(){} block as python code as opposed to shell script code. I have
<hcg> previously used the same mechanism in linux-yocto bbappends and in those recipes the shell script code is interpreted correctly as shell script code. Has anyone encountered this behavior?
pjoh has joined #yocto
pjoh has quit [Client Quit]
<yocton> hcg: do_patch may be a python task in linux-ti-staging_6.1 ? "bitbake -e linux-ti-staging_6.1" should tell you
pabigot has quit [Ping timeout: 264 seconds]
<yocton> hcg: If I'm not mistaken, you can extend a task in another langage (python vs shell) by using the pre/postfuncs mecanism
Vonter has quit [Remote host closed the connection]
pabigot has joined #yocto
Vonter has joined #yocto
neofutur_ has quit [Ping timeout: 255 seconds]
neofutur has joined #yocto
hcg has quit [Ping timeout: 250 seconds]
goliath has joined #yocto
lthadeus has joined #yocto
zpfvo has quit [Ping timeout: 256 seconds]
hcg has joined #yocto
zpfvo has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
<hcg> yocton: thanks for the tip - in the mean-time I had extended it by using:
<hcg> do_patch:append() {
<hcg>     bb.build.exec_func('custom_do_patch', d)
<hcg> }
<hcg> and my custom_do_patch shell script, so at least I can do what I intended, but I will dig further to try to figure out why do_patch in that recipe is a python task
amitk_ has joined #yocto
starblue has quit [Ping timeout: 245 seconds]
starblue has joined #yocto
hcg has quit [Quit: Client closed]
hcg has joined #yocto
lthadeus has quit [Ping timeout: 245 seconds]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
<mckoan> hcg: how do you argue iyt is called as python ?
<mckoan> s/iyt/it
<hcg> mckoan: I see the following error message:
<hcg>   File "/home/guh/work1/master4/evalboard-build/meta/poky/bitbake/lib/bb/codeparser.py", line 319, in PythonParser.parse_python(node="\n bb.build.exec_func('patch_do_patch', d)\n # install device tree into source tree\n cp ${WORKDIR}/*.dts* ${S}/arch/${ARCH}/boot/dts/\n", lineno=1, filename='autogenerated'):
<hcg>              node = "\n" * int(lineno) + node
<hcg>     > code = compile(check_indent(str(node)), filename, "exec",
<hcg>                             ast.PyCF_ONLY_AST)
<hcg>   File "autogenerated", line 4
<hcg>     cp ${WORKDIR}/*.dts* ${S}/arch/${ARCH}/boot/dts/
<hcg>        ^
<hcg> SyntaxError: invalid syntax
<rburton> yeah do_patch is python, you can't just :append. as yocton said, use a postfunc.
<rburton> append is literal string append, so only for the brave and when you know what you're appending.
<mckoan> hcg: IMHO do_patch is not the right place to such 'cp'
<hcg> rburton: I am very confused because I use :append in bbappends on the linux-yocto recipes from poky and that works perfectly - I am migrating one of our legacy platforms which was using the kirkstone version of linux-yocto to use the 6.1 kernel in meta-ti and hit this issue in the migration, so do_patch appears to be shell script in the linux-yocto
<hcg> recipes
<rburton> remember what I said about knowing what you're doing?
<rburton> but recipes that inherit linux-yocto get a different patch task which is shell: https://git.yoctoproject.org/poky/tree/meta/classes-recipe/kernel-yocto.bbclass#n343
<rburton> solution: use a postfunc
<hcg> Ah, that explains it fully then - thank you very much!
<hcg> I see, yes
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
lthadeus has joined #yocto
Kubu_work has joined #yocto
amitk_ has quit [Ping timeout: 256 seconds]
hcg91 has joined #yocto
hcg91 has quit [Client Quit]
hcg49 has joined #yocto
hcg49 has quit [Client Quit]
hcg has quit [Ping timeout: 250 seconds]
lthadeus has quit [Ping timeout: 268 seconds]
RobertBerger has joined #yocto
rber|res has quit [Ping timeout: 264 seconds]
neofutur has quit [Ping timeout: 252 seconds]
neofutur_ has joined #yocto
RobertBerger has quit [Quit: Leaving]
qorin has joined #yocto
<qorin> hi all, has anyone had any experience with creating custom do_fetch with curl? I am trying to download a maven azure artifact feed package and wget won't work.
Vonter has quit [Ping timeout: 240 seconds]
Vonter has joined #yocto
alperak has quit [Quit: Client closed]
<rburton> qorin: why doesn't wget work (and why do would using curl work)
<qorin> this api from azure https://learn.microsoft.com/en-us/rest/api/azure/devops/artifactspackagetypes/maven/download-package?view=azure-devops-rest-7.1 redirect the link and during redirect authorization failed was encountered. with curl -L this does not seem to be the issue.
<rburton> wget should be reusing auth on redirect. can you replicate the bad behaviour in wget outside of bitbake?
<qorin> yes
<qorin> i got the same response outside bitbake
<qorin> 1st response xxxxxxxxxx |:443... connected.
<qorin> 2nd HTTP request sent, awaiting response... 401 Unauthorized
<rburton> and you're quoting the url correctly with stuff like & escaped or quoted?
<qorin> url2="https://${pat}@pkgs.dev.azure.com/${organization}/${project}/_apis/packaging/feeds/${repository_id}/maven/${group_id}/${artifact_id}/${version}/${file_name}/content"
<qorin> wget "${url2}"
<qorin> like so and beside dot and dash there are no other special characters. i use the same url2 variable in curl and there is no issue.
<rburton> fun
<qorin> :D
<rburton> if you're feeling adventurous you could change the fetchcmd in that recipe so it uses curl
<rburton> FETCHCMD_wget is the variable used to run wget. i'm curious how much it gets extended with wget options...
<qorin> how can i add curl before do_fetch ? i used DEPENDS="curl-native" but i look at the task order do_fetch is always run first idk what will happen if the order of these are changed..
<rburton> DEPENDS is shorthand for do_configure[depends]
<rburton> so you want do_fetch[depends] += "curl-native:do_populate_sysroot"
<qorin> ah
<qorin> nice
<rburton> and filing a wget bug seems like a good idea
<rburton> if there's an option i can't see it from a skim of the manpage
<qorin> i only saw there is an option to change max redirect. also skim trhough a bunch of stackoverflow pages, most people recommend to just use curl..
pidge has quit [Quit: ZNC - https://znc.in]
Saur_Home32 has quit [Quit: Client closed]
Saur_Home32 has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
joekale has joined #yocto
<qorin> rburton  you!
<qorin> *thank you
<rburton> i wondered why you were shouting YOU at me :)
<rburton> no prob
Vonter has quit [Ping timeout: 276 seconds]
Vonter has joined #yocto
neofutur_ has quit [Ping timeout: 246 seconds]
<Chocky> you!
<Chocky> It's the done thing.
neofutur_ has joined #yocto
nerdboy has quit [Ping timeout: 276 seconds]
pidge has joined #yocto
Saur_Home32 has quit [Quit: Client closed]
Saur_Home32 has joined #yocto
nerdboy has joined #yocto
nerdboy has quit [Changing host]
nerdboy has joined #yocto
sotaoverride is now known as Guest4041
Guest9632 is now known as sotaoverride
vladest has quit [Ping timeout: 245 seconds]
prabhakarlad has quit [Quit: Client closed]
rob_w has quit [Read error: Connection reset by peer]
nots has joined #yocto
Notgnoshi has quit [Ping timeout: 276 seconds]
florian has quit [Ping timeout: 264 seconds]
joekale_ has joined #yocto
joekale has quit [Ping timeout: 276 seconds]
vladest has joined #yocto
joekale_ has quit [Ping timeout: 245 seconds]
manuel_ has quit [Ping timeout: 268 seconds]
neofutur_ has quit [Ping timeout: 256 seconds]
zpfvo has quit [Ping timeout: 256 seconds]
zpfvo has joined #yocto
qorin has quit [Quit: Client closed]
prabhakarlad has joined #yocto
neofutur has joined #yocto
joekale has joined #yocto
mbulut has quit [Remote host closed the connection]
linfax has quit [Ping timeout: 240 seconds]
Rich_1234 has quit [Quit: Connection closed]
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
dmoseley has quit [Quit: ZNC 1.8.2 - https://znc.in]
dmoseley has joined #yocto
neofutur has quit [Ping timeout: 264 seconds]
neofutur has joined #yocto
Kubu_work has quit [Quit: Leaving.]
wicki has joined #yocto
<khem> abelloni: I have few more patches for few recipes and ofono is one of them see - https://git.yoctoproject.org/poky-contrib/commit/?h=yoe/mut&id=04b3d2bcf5b893b75a0f3a2e7dbba0d87338eb19
mckoan has quit [Read error: Connection reset by peer]
mckoan has joined #yocto
joekale has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
zpfvo has quit [Quit: Leaving.]
amitk_ has joined #yocto
amitk_ has quit [Remote host closed the connection]
fullstop has quit [Quit: ZNC - http://znc.in]
fullstop has joined #yocto
prabhakarlad90 has joined #yocto
prabhakarlad41 has joined #yocto
prabhakar73 has joined #yocto
nerdboy has quit [Ping timeout: 260 seconds]
prabhakarlad41 has quit [Client Quit]
prabhakar73 has quit [Client Quit]
prabhakarlad53 has joined #yocto
prabhakar83 has joined #yocto
prabhakarlad53 has quit [Client Quit]
amitk has quit [Remote host closed the connection]
prabhakar83 has quit [Client Quit]
mckoan is now known as mckoan|away
prabhakar has quit [Ping timeout: 256 seconds]
prabhakarlad has quit [Ping timeout: 250 seconds]
prabhakarlad90 has quit [Ping timeout: 250 seconds]
prabhakarlad has joined #yocto
fullstop has quit [Remote host closed the connection]
fullstop has joined #yocto
prabhakar has joined #yocto
leon-anavi has quit [Remote host closed the connection]
vladest has quit [Quit: vladest]
nerdboy has joined #yocto
jmd has joined #yocto
neofutur has quit [Ping timeout: 256 seconds]
neofutur has joined #yocto
vladest has joined #yocto
radanter has quit [Remote host closed the connection]
Minvera has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
neofutur has quit [Ping timeout: 240 seconds]
tgamblin has quit [Remote host closed the connection]
tgamblin has joined #yocto
neofutur has joined #yocto
tgamblin_ has joined #yocto
tgamblin has quit [Read error: Connection reset by peer]
tgamblin_ is now known as tgamblin
jtoomey has joined #yocto
Chaser has quit [Quit: Chaser]
<yudjinn> hello, I have a weird device tree issue that I cant seem to figure out:
<yudjinn> pre.dts:2189.1-7 syntax error
<yudjinn> | FATAL ERROR: Unable to parse input tree
<yudjinn> but here's the line:
<yudjinn> `&uart0 {`
tgamblin_ has joined #yocto
tgamblin has quit [Ping timeout: 276 seconds]
tgamblin_ is now known as tgamblin
vladest has quit [Quit: vladest]
neofutur has quit [Ping timeout: 240 seconds]
neofutur has joined #yocto
<yocton> yudjinn: what is the previous non-empty line ? Does it misses a ';' at the end?
mvlad has quit [Remote host closed the connection]
xmn has joined #yocto
vladest has joined #yocto
neofutur has quit [Ping timeout: 268 seconds]
neofutur_ has joined #yocto
<yocton> Shouldn't this be `&uart0_pins{` ? The definition look like this "[label:] node-name[@unit-address] { ..." and you can only do a "&ref" to a label
cordelia has joined #yocto
cordelia has quit [Quit: Client closed]
<yocton> yudjinn: ^
qorin has joined #yocto
<qorin> rburton while typing your name the auto name-link replace the thank :D
alessioigor has quit [Quit: alessioigor]
jmd has quit [Remote host closed the connection]
Notgnoshi has joined #yocto
nots has quit [Ping timeout: 245 seconds]
qorin has quit [Quit: Client closed]
prabhakarlad has quit [Quit: Client closed]
Saur_Home32 has quit [Quit: Client closed]
Saur_Home32 has joined #yocto
alimon has quit [Ping timeout: 268 seconds]
Estrella has quit [Ping timeout: 268 seconds]
prabhakarlad has joined #yocto
Saur_Home32 has quit [Quit: Client closed]
Saur_Home32 has joined #yocto
Estrella has joined #yocto
nerdboy has quit [Remote host closed the connection]
sakman has joined #yocto
alimon has joined #yocto
nerdboy has joined #yocto
nerdboy has quit [Changing host]
nerdboy has joined #yocto