Re: [yocto] Remove Python dependency from target package only

2024-01-23 Thread Richard Purdie
On Tue, 2024-01-23 at 21:58 +, Sebert, Holger.ext wrote: > Hi Quentin, > > > Von: Quentin Schulz > > > What does > > bitbake-getvar -r libxml2-native PACKAGECONFIG > > and > > bitbake-getvar -r libxml2 PACKAGECONFIG > > > > return? > > Here is the

Re: [yocto] Remove Python dependency from target package only

2024-01-23 Thread Sebert, Holger.ext
Hi Quentin, Von: Quentin Schulz > What does > bitbake-getvar -r libxml2-native PACKAGECONFIG > and > bitbake-getvar -r libxml2 PACKAGECONFIG > > return? Here is the output of the respective commands: $ bitbake-getvar -r libxml2-native PACKAGECONFIG #

Re: [yocto] Remove Python dependency from target package only

2024-01-22 Thread Alexander Kanavin
I would suggest not trying to figure out PACKAGECONFIGs just yet, but rather go to the source of the error: inspect ${T}/log.do_configure and ${T}/run.do_configure. Are options to enable/disable python passed in? If yes, then something in PACKAGECONFIG settings doesn't quite work. If no, then

Re: [yocto] Remove Python dependency from target package only

2024-01-22 Thread Quentin Schulz via lists.yoctoproject.org
Hi Holger, On 1/22/24 14:33, Sebert, Holger.ext via lists.yoctoproject.org wrote: [You don't often get email from holger.sebert.ext=karlstorz@lists.yoctoproject.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Hi Richard, Von: Richard Purdie Try:

Re: [yocto] Remove Python dependency from target package only

2024-01-22 Thread Sebert, Holger.ext
Hi Richard, Von: Richard Purdie > Try: > > PACKAGECONFIG:remove:class-target:pn-libxml2 = "python" > Tried it, but same error appears (“Python not found” in libxml2-native). -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62219):

Re: [yocto] Remove Python dependency from target package only

2024-01-21 Thread Richard Purdie
On Sun, 2024-01-21 at 18:57 +, Sebert, Holger.ext wrote: > Hi, > > I am trying to remove the Python dependency in libxml2 for the target. > For the libxml2-native package it shall still be available, however. > > I have put this into my local.conf: > > PACKAGECONFIG:remove:pn-libxml2 =

[yocto] Remove Python dependency from target package only

2024-01-21 Thread Sebert, Holger.ext
Hi, I am trying to remove the Python dependency in libxml2 for the target. For the libxml2-native package it shall still be available, however. I have put this into my local.conf: PACKAGECONFIG:remove:pn-libxml2 = "python" When I build core-image-full-cmdline I get the following error from