<ptsneves>
hmm still believe it can be improved. I used to look at it in bitbake's docs. The options are mentioned but it's use is not exemplified. A newbie does not know what is the patchdir option. When i get some time i will try to improve it
kroon has quit [Quit: Leaving]
kroon has joined #yocto
vladest has quit [Ping timeout: 264 seconds]
starblue has quit [Ping timeout: 268 seconds]
starblue has joined #yocto
<RP>
ptsneves: patches are definitely welcome!
vladest has joined #yocto
hcg has joined #yocto
ptsneves has quit [Quit: Client closed]
ptsneves has joined #yocto
jclsn has quit [Ping timeout: 255 seconds]
ptsneves has quit [Quit: Client closed]
jclsn has joined #yocto
YogeshSiraswar_ has quit [Quit: Connection closed for inactivity]
hcg has quit [Quit: Client closed]
vladest has quit [Read error: Connection reset by peer]
wkawka has joined #yocto
<wkawka>
Hi, hat I have to do after creating a recipe using recipetool? When I am trying to run ```bitbake recipe``` it tells me that nothing provides that recipe
<wkawka>
what*
rfuentess has quit [Ping timeout: 268 seconds]
vladest has joined #yocto
seninha has joined #yocto
ruslan has joined #yocto
<ruslan>
Hi! Is there are any way to change number of bitbake threads on the fly?
hcg has joined #yocto
<ruslan>
I know about BB_NUMBER_THREADS and PARALLEL_MAKE, but they set the number of threads before bitbake started
vladest has quit [Ping timeout: 246 seconds]
goliath has joined #yocto
ptsneves has joined #yocto
seninha has quit [Ping timeout: 240 seconds]
rfuentess has joined #yocto
ruslan has quit [Quit: Client closed]
seninha has joined #yocto
<rburton>
wkawka: maybe where it put the recipe isn't somewhere that is actually searched for by bitbake. check the path of the recipe
<wkawka>
Yes, I have already changed it and it is visible now. However, there is a long way ahead to make it work
hcg has quit [Ping timeout: 252 seconds]
MitchGaines has joined #yocto
sotaoverride has joined #yocto
seninha has quit [Ping timeout: 255 seconds]
Guest8237 has joined #yocto
seninha has joined #yocto
<Guest8237>
Hi all, suppose I would enter "export X_INSTALL_DIR=/usr/local" in a device terminal. This would write to the list of environment variables.
<Guest8237>
I would like to have this variable present by default. Can I do this from within a recipe?
<Guest8237>
I have tried to put it in a recipe's do_configure function but X_INSTALL_DIR was not set after boot. Should I put it in the image recipe?
<rburton>
Guest8237: you'll want to write a recipe to write a small file into /etc/profile.d/foo which does that export
<ptsneves>
rburton should ntirpc replace libtirpc?
<rburton>
no idea :)
<rburton>
ntirpc's git repo hasn't had a commit since 2018 which doesn't bode well
<Guest8237>
rburton Thanks I'll try that!
<ptsneves>
rburton but it is used as part of the active project ganesha-nfs3
<wyre>
might I use setuptools_scm instead setuptools3 for a python3 recipe? 🤔
<ruslan>
Solver encountered 3 problems during rootfs stage and suggests me not to install systemd/package-corebood/etc, but I actually need these packages. What is wrong with my configuration?
<wyre>
rburton, the package uses setuptools_scm for sure
<rburton>
ruslan: looks like you've been changing DISTRO_FEATURES and something broke, as it wants to pull in libx11
Wouter01001 has quit [Ping timeout: 246 seconds]
<wyre>
but not sure if `inherit setuptools3_scm` or something like this will work
<rburton>
oh sorry, scm. just add python3-setuptools-scm-native to DEPENDS
jpuhlman_ has joined #yocto
jpuhlman is now known as Guest3912
Guest3912 has quit [Killed (strontium.libera.chat (Nickname regained by services))]
jpuhlman_ is now known as jpuhlman
rfuentess has joined #yocto
seninha has joined #yocto
nemik has quit [Ping timeout: 246 seconds]
nemik has joined #yocto
thomasd13 has quit [Ping timeout: 240 seconds]
nemik has quit [Ping timeout: 272 seconds]
nemik has joined #yocto
Soopaman has joined #yocto
<wyre>
rburton, can't see the _version.py written by setuptools_scm in the final image 🤔
<rburton>
should you be inheriting python3_setuptools_meta instead of setuptools3?
<wyre>
in fact version is not either properly set, still can see 0.0.0
<rburton>
note that setuptools is fragile, had the same problem with python3-cbor2 and we had to upgrade setuptools first
<rburton>
you may have a package which needs setuptools newer than what you have
<wyre>
rburton, bitbake says "Could not inherit file classes/python3_setuptools_meta.bbclass" 😥
<rburton>
hard to help with i can't see what your trying to build
<wyre>
rburton, well, it's a custom app, but I'd say python setup files are properly formatted
<wyre>
when I build the package locally with `python3 setup.py bdist_wheel` all works as expected
<rburton>
what build system are they using? what setuptools is needed?
<wyre>
and the _version.py file is shipped inside the whl
<rburton>
so you want setuptools3.bbclass
<wyre>
sure, I was inheriting from that
<wyre>
just tried your suggestion about inheriting python3_setuptools_meta
<rburton>
you might have a newer setuptools locally and you actually need the new one in your build
<wyre>
rburton, in the crops container where I'm building the image with bitbake you mean?
<rburton>
no, the recipe
<wyre>
rburton, so should I fetch the meta-oe layer?
<rburton>
all i know is that cbor2 silently broke when is built with setuptools 58 but works with setuptools 62 or something
<wyre>
rburton, sure but for dunfell the setuptools recipe ships a specific version ... so I guess I cannot update this without bumping the poky version, am I right?
<rburton>
if that's the reason, yes. easily tested with a venv which matches the versions on your host.
<Soopaman>
is there a way to debug a poky environment that doesn't build anything when you bitbake?
<Soopaman>
I'm attempting to create some raspberry pi wpe images, but can't seem to get it to build
<rburton>
you can start by sharing any errors here
<ptsneves>
where can i find the reason why :append += is something to be fixed? :append as a parse thing plus the space prefix is something i actually want often
<rburton>
because it's confusing, you can't += to append statements
kroon has quit [Quit: Leaving]
<rburton>
the side-effect of leading whitespace is a non-obvious side effect
<Soopaman>
rburton: unfortunately it doesn't give me any
<rburton>
Soopaman: what does happen then?
<Soopaman>
bitbake simply returns with no output
<ptsneves>
damn for me it is not confusing, and now i need to add a magic whitespace in my appends.
<rburton>
Soopaman: try a plain poky clone with no customisation or extra layers, literally git clone, . oe-init-build-env; bitbake virtual/kernel
<ptsneves>
so adding a whitespace prefix is the recommended way forward?
<rburton>
yes
nemik has quit [Ping timeout: 268 seconds]
<ptsneves>
ok thanks
<moto-timo>
it's not magic when you consider it is a string with space delimited tokens
<moto-timo>
Just ask yourself "will appending this merge with an existing token?"
nemik has joined #yocto
<moto-timo>
where :append is basically a string concatenation action
<ptsneves>
moto-timo this actually leads to having invisible characters as delimiters being a bad thing but i think this is an historical artifact. The question you mention is one more arcana that will make newbies think bitbake syntax is voodoo, as the errors of merged stuff will be very confusing :)
<ptsneves>
:append is basically a string concatenation action in terms of string semantics. In terms of parsing it is much more;
<moto-timo>
I suppose for anyone that has done a ton of bash and shell array handling this is not unexpected ;)
<moto-timo>
The issue is which visible character is safe to use as a delimiter? Tricky
<ptsneves>
regardless :append += is valid and now it is a misterious "please fix it". I consider myself and expert and was baffled on why it needed fixing
<ptsneves>
moto-timo yes indeed
<moto-timo>
:append is more of a raw low level operation where is += is a higher level "hide the details from the user"
<rburton>
basically, yes, the syntax is confusing. would be nice if we rewrote the language but obviously that's a totally breaking change.
nemik has quit [Ping timeout: 240 seconds]
<ptsneves>
"ERROR: ntirpc-4.0-r0 do_prepare_recipe_sysroot: Manifest /home/pneves/Projects/yocto-superproject/poky/build/tmp/sstate-control/manifest-x86_64_x86_64-nativesdk-liburcu.populate_sysroot not found in arietta armv5te armv5e armv5t armv5 armv4t armv4 arm allarch x86_64_x86_64-nativesdk (variant '')?"
<ptsneves>
I cannot get rid of this. Any ideas
<rburton>
"x86_64_x86_64-nativesdk" looks wrong
<rburton>
maybe it's not
nemik has joined #yocto
<ptsneves>
very wrong as i am not even building anything nativesdk
<moto-timo>
I posted a similar query yesterday
<moto-timo>
(in my case it was packagedata for a packaged image)
<ptsneves>
moto-timo did you have ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/pneves/Projects/yocto-superproject/poky/build/tmp/work/armv5e-poky-linux-gnueabi/ntirpc/4.0-r0/recipe-sysroot/sysroot.lock' mode='a+' encoding='UTF-8'>
<ptsneves>
?
Guest8237 has quit [Quit: Client closed]
<moto-timo>
ptsneves: doesn't sound familiar, but I didn't dig very deep yet (just been ignoring it)
<ruslan>
After bitbake successfully finished all the tasks I have no image in tmp/deploy/images/... ? What could be wrong?
Wouter01001 has joined #yocto
<ptsneves>
ruslan you may have asked bitbake to build a non recipe image, or if you manually deleted the images you may need to clean the recipe and re-build
nemik has quit [Ping timeout: 260 seconds]
nemik has joined #yocto
Wouter01001 has quit [Read error: Connection reset by peer]
Wouter01001 has joined #yocto
<ptsneves>
is there any chance this fix "10c6953:bitbake: fetch/git: Fix usehead for non-default names" gets ported to dunfell?
<ptsneves>
or would a backport patch be acceptable?
<ruslan>
ptsneves: I've tried to cleanall and rebuild, image was still not generated.
amanarora9848 has quit [Ping timeout: 252 seconds]
hcg has joined #yocto
tgamblin has quit [Remote host closed the connection]
PatrickE has joined #yocto
MitchGaines has joined #yocto
MitchGaines has quit [Remote host closed the connection]
vladest has quit [Quit: vladest]
vladest has joined #yocto
<PatrickE>
Hi, maybe thats a strange question. I have built a SPL with Yocto and its not booting. Honestly I have no starting point how to proceed now. I have a JTAG debugger running but now iam stuck how to proceed...
Tokamak has joined #yocto
Tokamak_ has quit [Ping timeout: 268 seconds]
Tokamak has quit [Ping timeout: 256 seconds]
Tokamak has joined #yocto
florian has joined #yocto
Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
PatrickE has quit [Ping timeout: 252 seconds]
Tokamak has joined #yocto
nemik has quit [Ping timeout: 260 seconds]
nemik has joined #yocto
hcg has quit [Quit: Client closed]
nemik has quit [Ping timeout: 264 seconds]
nemik has joined #yocto
olani has joined #yocto
mvlad has quit [Remote host closed the connection]
Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tokamak has joined #yocto
davidinux has quit [Ping timeout: 246 seconds]
Tokamak has quit [Client Quit]
florian has quit [Ping timeout: 248 seconds]
peoliye has joined #yocto
Tokamak has joined #yocto
jpuhlman_ has joined #yocto
jpuhlman is now known as Guest3023
jpuhlman_ is now known as jpuhlman
Guest3023 has quit [Ping timeout: 246 seconds]
nemik has quit [Ping timeout: 268 seconds]
amitk has quit [Ping timeout: 240 seconds]
nemik has joined #yocto
olani has quit [Ping timeout: 268 seconds]
acki_ has quit [Ping timeout: 240 seconds]
davidinux has joined #yocto
amanarora9848 has joined #yocto
amanarora9848 has quit [Ping timeout: 252 seconds]
<Soopaman>
are there any web-server-builders for yocto like there was for OE?