<kanavin>
RP: right, where is that set? Can you adjust it please?
goliath has joined #yocto
cperon has joined #yocto
sinic[m] has joined #yocto
<cperon>
Hi Guys, I have a meta-layer with a toto_1.43.0.bbappend to fix a specific bb files from an upstream layer. But sometimes the toto_1.43.0.bb is present sometimes not. Is it possible to make yocto not complains about the missing toto_1.43.0.bb ?
<cperon>
for example if users have cloned a recent layer with the 1.43.1 then the fix in the bbappend is not required
leon-anavi has joined #yocto
Vonter has quit [Ping timeout: 256 seconds]
florian__ has joined #yocto
tgamblin_ has quit [Remote host closed the connection]
tgamblin_ has joined #yocto
zenstoic has quit [Quit: Connection closed for inactivity]
florian__ has quit [Ping timeout: 264 seconds]
chep has quit [Ping timeout: 268 seconds]
chep has joined #yocto
<kroon>
RP, have you considered making all native/cross recipes DEPENDS on "binutils-native" with tools packaged and configured with "--enable-deterministic-archives" ? That would also make gcc-cross become reproducable, and would probably help a lot of other native/cross builds to become more deterministic
<dvorkindmitry>
how can I get rid of the error if my x_%.bbappend file exists (in my layer), but the file x_versiopn.bb from another layer does not exist?
<kroon>
dvorkindmitry, why doesnt the .bb file exist ?
<kroon>
is it because your layer is supposed to work with multiple yocto branches ?
<kroon>
or something else ?
chep has quit [Ping timeout: 256 seconds]
chep has joined #yocto
<RP>
kroon: considered, yes but that has horrible build time implications :(
<kroon>
RP, so perhaps somehow setting AR="ar -D" and RANLIB="ranlib-D" in meta data is a better strategy ?
<kroon>
i mean even putting a ar/ranlib wrapper script that just appended "-D" would help a lot I think
<kroon>
RP, maybe thats not a bad idea, ar/ranlib wrappers ?
<RP>
kroon: wrappers can be rather painful and we don't do that with other commands, I'd just try the options
<RP>
kroon: can we not just append that to BUILD_AR and BUILD_RANLIB?
<kroon>
RP, I can try, I just wasn't sure where to append it
fancer has quit [Remote host closed the connection]
xtopher_ has quit [Remote host closed the connection]
rhadye has quit [Remote host closed the connection]
jamestperk has quit [Remote host closed the connection]
georgem has quit [Remote host closed the connection]
nohit has quit [Remote host closed the connection]
ndec has quit [Remote host closed the connection]
tgamblin_ has quit [Quit: Leaving]
<RP>
kroon: those two variables should do the right thing
halstead has quit [Remote host closed the connection]
mithro has quit [Remote host closed the connection]
cengiz_io has quit [Remote host closed the connection]
madisox has quit [Remote host closed the connection]
flynn378 has quit [Remote host closed the connection]
Tartarus has quit [Remote host closed the connection]
aeroraptor has quit [Remote host closed the connection]
<kroon>
RP, so the problem then is that we get build errors when doing "ar D cru <xxx>": ar: `u' is not meaningful with the `D' option
CosmicPenguin has quit [Remote host closed the connection]
YogeshSiraswar_ has quit [Remote host closed the connection]
NishanthMenon has quit [Remote host closed the connection]
armpit has quit [Remote host closed the connection]
dagmcr has quit [Remote host closed the connection]
awafaa has quit [Remote host closed the connection]
rsalveti has quit [Remote host closed the connection]
<RP>
kroon: fun. Is that from the gcc build or elsewhere?
<kroon>
RP, libtool-native, but this was just the first stumbling point, im sure there are others that do that..
<kroon>
I know gcc also does it in a couple of places
florian__ has quit [Ping timeout: 260 seconds]
bradfa has quit [Ping timeout: 250 seconds]
JPEW has quit [Ping timeout: 250 seconds]
rburton has quit [Ping timeout: 250 seconds]
dl9pf has quit [Ping timeout: 246 seconds]
rmmr has quit [Ping timeout: 246 seconds]
moto-timo has quit [Ping timeout: 250 seconds]
drewfustini has quit [Ping timeout: 250 seconds]
elfenix|cloud has quit [Ping timeout: 260 seconds]
ernstp has quit [Ping timeout: 246 seconds]
darknighte has quit [Ping timeout: 260 seconds]
ldts has quit [Ping timeout: 250 seconds]
<RP>
kroon: I wonder if that code us using U to disable determinism, otherwise how else would it work when binutils is compiled with the deterministic option? :/
paulbarker has quit [Ping timeout: 250 seconds]
thierryE has quit [Ping timeout: 246 seconds]
smurray has quit [Ping timeout: 250 seconds]
Crofton has quit [Ping timeout: 260 seconds]
jonmason has quit [Ping timeout: 260 seconds]
<cperon>
<kroon> "is it because your layer is..." <- If the question was for me, Yes some people use a different upstream layer
chep has quit [Ping timeout: 256 seconds]
<cperon>
But I think the answer is no :/
chep has joined #yocto
zyga has joined #yocto
leon-anavi has quit [Quit: Leaving]
chep has quit [Ping timeout: 250 seconds]
chep has joined #yocto
florian__ has joined #yocto
chep has quit [Ping timeout: 246 seconds]
chep has joined #yocto
<kroon>
RP, there is a warning printed that "u" is ignored when binutils is built with default deterministic archives. but in that case it is still a fatal error if both D and u are passed
<kroon>
cperon, it was for dvorkindmitry, but i think my answer can apply to your case aswell. You can put .bbappends in special directories, and make sure those directories are only parsed depending on whatever your preference is, like yocto branch or collection
<cperon>
@kroon:libera.chat: ok but sad that there is no way to mark bbappend as "optional"
<kroon>
put it in a "foobar" folder, then only add "foobar" to the list of directoris to scan if you have some ENABLE_FOOBAR variable set
<kroon>
what else do you need ?
<cperon>
toto_1.40.0.bbappend => fix
<cperon>
toto_1.43.0.bbappend => fix
<cperon>
toto_1.41.0.bbappend => fix
<cperon>
The user have an upstream layer with a git sha1 and can have 1.40 or 1.41 or 1.43
<cperon>
can I use BBMASK if the BB is present ?
<cperon>
I can't use toto_1.%.bbappend
<cperon>
fix are different
<kroon>
1.40 or 1.41 or 1.43, depending on what ?
speachy has quit [Ping timeout: 240 seconds]
florian__ has quit [Ping timeout: 268 seconds]
leon-anavi has joined #yocto
alessioigor has joined #yocto
alessioigor has quit [Read error: Connection reset by peer]
florian__ has joined #yocto
troth has quit [Ping timeout: 264 seconds]
chep has quit [Ping timeout: 260 seconds]
<dvorkindmitry>
kroon, .bb file does not exists case there is no the BSP layer. I am building for another... but want to keep my .bbappend files in my own layer, case it is general for both devices
chep has joined #yocto
<dvorkindmitry>
kroon, "...are only parsed depending on whatever your preference is, like yocto branch or collection..." hmm! interesting idea! let me explain more. I have two devices (and two different externally-defined BSPs). They are not compatible. But I have my own general layer, that contains general software and several .bbappend files for first OR for second BSP.
davidinux has quit [Ping timeout: 256 seconds]
davidinux has joined #yocto
troth has joined #yocto
chep has quit [Ping timeout: 260 seconds]
<kroon>
dvorkindmitry, maybe also checkout BBFILES_DYNAMIC
chep has joined #yocto
kriive has quit [Remote host closed the connection]
<dvorkindmitry>
kroon, thank you!
kriive has joined #yocto
<kanavin>
RP: I guess the best we can do is to run auh on 1st and 15th of every month
kriive has quit [Remote host closed the connection]
<kanavin>
it's not ideal though, I prefer it executes on sundays
kriive has joined #yocto
<moto-timo>
+1 for sundays
chep has quit [Ping timeout: 260 seconds]
<moto-timo>
JPEW: got my hdmi video capture device working with the rpi4 as source. And using your zuul build.
* moto-timo
needs to learn more about OBS and streaming
chep has joined #yocto
florian__ has quit [Ping timeout: 250 seconds]
<JPEW>
moto-timo: cool!
leon-anavi has quit [Quit: Leaving]
kroon has quit [Quit: Leaving]
<dvorkindmitry>
kroon, could you give me an example of adding .bbappend file for OE branch?
sakoman has joined #yocto
chep has quit [Ping timeout: 268 seconds]
<dvorkindmitry>
is there are any example of including .bbappend if certain OE/POKY branch is used?