Xagen has quit [Read error: Connection reset by peer]
Xagen has joined #yocto
mario-goulart has joined #yocto
goliath has joined #yocto
batcha[m]1 has quit [Quit: You have been kicked for being idle]
<kanavin>
moto-timo, cool, but why not just maintain poky patches ;)
<kanavin>
it will go in at some point, so might be as well prepared now
florian has joined #yocto
arlen_ has joined #yocto
arlen has quit [Ping timeout: 260 seconds]
* RP
wonders whether the do_build package change I just sent as an RFC is a good idea or not
jwillikers has joined #yocto
rsalveti has quit [Quit: Connection closed for inactivity]
florian has quit [Ping timeout: 268 seconds]
florian has joined #yocto
arlen has joined #yocto
arlen_ has quit [Ping timeout: 268 seconds]
arlen has quit [Ping timeout: 260 seconds]
arlen_ has joined #yocto
fitzsim has joined #yocto
arlen has joined #yocto
arlen_ has quit [Ping timeout: 252 seconds]
arlen has quit [Ping timeout: 240 seconds]
* RP
was curious how long the "meta" class had been around and which crazy person created it. Answer was of course me in 2007 along with an "sdk" and "task" classes
florian has quit [Ping timeout: 260 seconds]
<JPEW>
kanavin: it needs a lot from meta-gnome IIRC
jwillikers has quit [Remote host closed the connection]
goliath has quit [Quit: SIGSEGV]
jwillikers has joined #yocto
florian has joined #yocto
florian has quit [Ping timeout: 260 seconds]
jwillikers has quit [Remote host closed the connection]
<jaskij[m]>
So, I need to build some things depending on postgresql. Since pg_config is a binary, it means either relying on a native variant, which I'm not sure would give correct results, or writing a script mocking pg_config and dropping it into recipe-sysroot-native. I was thinking of using the second solution. Probably as a separate recipe which the plugins would depend on then?
<RP>
jaskij[m]: a lot probably depends on what pg_config returns but a script could work either as part of portgresgl or as a separate recipe
<jaskij[m]>
RP: it outputs a number of variables to stdout, mostly paths, but also version number
<jaskij[m]>
There's an old python-psycopg2 which simply disables the check, but that's not the way I want go about it. Yes, python3-psycopg2 is one of the recipes I intend to write
<RP>
jaskij[m]: sometimes you can also use BUILD_CC inside the recipe to generate a "cross" version of the binary which you install into the sysroot instead of the target one
<jaskij[m]>
That sounds... Hacky.
leon-anavi has joined #yocto
<RP>
jaskij[m]: realities of cross compiling. Easier to maintain than the script if the output change
<RP>
just mentioning the options
<jaskij[m]>
Fair. And the script I believe is fairly stable - I'm no pgsql expert, but *a lot* of 3rd party code depends on it.
<RP>
right, pros and cons each way
<jaskij[m]>
Or rather pg_config output should be stable
<jaskij[m]>
Oh, also, before I go digging through the manual: if a recipe sets a variable (without ?), the only ways to override it is either bbappend or forcevariable, right?
fbre has joined #yocto
<RP>
well, other overrides would probably work
fbre has quit [Client Quit]
<jaskij[m]>
Why I'm asking is Fortran, was thinking about submitting a patch to use DISTRO_FEATURES to enable it. Right now the base recipe does allow for Fortran enabled, but the base recipe sets FORTRAN to empty and it's either bbappends in my layer or using forcevariable, least for the solutions I'm aware of.
<RP>
jaskij[m]: distro override?
<jaskij[m]>
That's an option too, once I figure out how to do it
<jaskij[m]>
I'll have to properly read up on overrides it seems.
<RP>
jaskij[m]: presumably you set DISTRO to something?
<jaskij[m]>
Rolled my own distro, wanted to get read of the legacy stuff as far as possible
<RP>
so XXX_<distroname>
<RP>
just like forcevariable but nicer
<jaskij[m]>
Where? Because that still requires a bbappend for gcc
<jaskij[m]>
Or am I missing something?
<RP>
how do you use forcevariable without a bbappend?
<RP>
jaskij[m]: you can do something like VAR_pn-XXX_mydistro from your distro config
<jaskij[m]>
that works too I guess
dtometzki has joined #yocto
jwillikers has joined #yocto
jwillikers has quit [Remote host closed the connection]
* RP
thinks he may just have found vmeson's debug race in the selftest
<RP>
possibly, maybe
florian has joined #yocto
<moto-timo>
\o/
<RP>
well, a way to reproduce it perhaps
<moto-timo>
baby steps
<RP>
it is amazing how may weird issues these patches are forcing out the woodwork :/
<moto-timo>
ultimately I suppose that is a good thing.. despite some pain now
florian has quit [Ping timeout: 252 seconds]
* RP
starts to suspect the test doesn't work on arm
amitk has quit [Ping timeout: 268 seconds]
goliath has joined #yocto
<moto-timo>
JPEW: I misplaced your mod to build mutter-gsettings subpackage... also phosh now has an rdep of libcallaudio which we don't have a recipe for yet
dev1990 has quit [Quit: Konversation terminated!]
dev1990 has joined #yocto
arlen has joined #yocto
gioyik has joined #yocto
GillesM has joined #yocto
florian has joined #yocto
GillesM has quit [Remote host closed the connection]
<moto-timo>
JPEW: added callaudiod recipe and it builds and boots on rpi4
<JPEW>
moto-timo: awesome! Thanks! I need to get my CI up and running so I can keep that layer maintained
<moto-timo>
JPEW: need to figure out how to set the passcode for the lockscreen
<JPEW>
It's just the user password
<moto-timo>
it's a number pad...
<moto-timo>
but maybe I didn't set a password
<JPEW>
Ya it can only be digits, but it's just plugging into pam
<JPEW>
It doesn't allow an empty password (possible upstream improvement)
<JPEW>
I just set the user password on the serial console when I was testing before
leon-anavi has quit [Remote host closed the connection]
dev1990 has quit [Quit: Konversation terminated!]
<marex>
hey, I have a layer here and I build e.g. linux-yocto 5.13 for two different machines, they are almost identical aarch64 ones
arlen_ has joined #yocto
<marex>
I have a machine config for each, i.e. machine-1.conf and machine-2.conf , so they each have different MACHINE variable
arlen has quit [Ping timeout: 265 seconds]
<marex>
now if building linux-yocto, that MACHINE variable is pulled into do_unpack task hash, and it changes, so sstate cache invalidates the task and rebuilds linux-yocto
<marex>
is there a way to avoid it ?
<marex>
I mean, the KMACHINE is the same for both, the kernel config is the same, all the scc files pulled in are the same
<marex>
it should be identical kernel build
<marex>
so , how do I avoid this rebuild ?
<RP>
marex: how is it being included in do_unpack exactly?
<jaskij[m]>
marex: multiconfig
<jaskij[m]>
Also, is the device tree the same for both?
<jaskij[m]>
Because (as annoying as it is), those are also part of the kernel recipe
<RP>
jaskij[m]: I think the point is that it could reuse sstate for both
<marex>
RP: yep
<RP>
marex: Im sure it could be done. Whether it is worth it, not as sure as it will be complex :/
<marex>
it does show up in bitbake-diffsigs for do_unpack after running .../work/OE/poky/scripts/sstate-diff-machines.sh
<RP>
marex: right, but the question is where/how. I'm guessing it is because the package arch is machine specific
<RP>
marex: so to make it work you'd need to create a shared package arch for those machines, maybe based on KAMCHINE
<marex>
RP: shared machine arch ?
<marex>
I suppose MACHINEOVERRIDES = . "shared-arch:" is not enough ?
<RP>
marex: not even close
<marex>
somehow I expected that kind of answer
<RP>
marex: the real issue is the kernel is PACKAGE_ARCH = MACHINE_ARCH
<marex>
RP: well that is kind-of true, except only for a subset of tasks
<marex>
the do_unpack for linux-yocto shouldn't really be MACHINE_ARCH, should it ?
<RP>
marex: the WORKDIR is machine specific so yes, it would be
<marex>
ah ... of course it is
ram has joined #yocto
<ram>
Hi, I'm trying to build a yocto project with a custom layer. I'm having the following error "Processing dependencies for protobuf==3.3.0 Searching for six>=1.9 ". I have checked for the external libraries available and I can see python-six available. Can anyone help me to identify the issue?
ramprakash[m] has joined #yocto
<marex>
ram: try python3-six ?
jwillikers has joined #yocto
<ram>
@marex When I do "bitbake -s | grep ^python3", I can see that python3-six with version 1.11.0 is already available
florian has quit [Ping timeout: 252 seconds]
<marex>
ram: does your recipe DEPENDS on python3-six ?
goliath has quit [Quit: SIGSEGV]
fray has quit [Ping timeout: 260 seconds]
fray has joined #yocto
<ram>
@marex I tried to add python3-six in the bb file of the recipe and build it but still I get the same error
<marex>
ram: is the search path for those python modules OK ?
<ram>
@marex how do I verify that?
gioyik has quit [Ping timeout: 276 seconds]
sakoman has joined #yocto
otavio_ has joined #yocto
otavio has quit [Read error: Connection reset by peer]
<marex>
ram: try bitbake -e recipe, that will print all the build time variables and co.