Re: [oe-core][PATCH 2/4] python3: add libxcrypt-native dependency

2023-06-04 Thread Markus Volk
Thanks for the link Am Sa, 3. Jun 2023 um 20:20:48 +0200 schrieb Alexander Kanavin : On Sat, 3 Jun 2023 at 19:52, Markus Volk > wrote: I had some time to look at this problem. virtual/crypt-native is not installed into recipe-sysroot-native because of this entry in b

Re: [oe-core][PATCH 2/4] python3: add libxcrypt-native dependency

2023-06-03 Thread Alexander Kanavin
On Sat, 3 Jun 2023 at 19:52, Markus Volk wrote: > I had some time to look at this problem. virtual/crypt-native is not > installed into recipe-sysroot-native because of this entry in bitbake.conf: > ASSUME_PROVIDED = "virtual/crypt-native" > > Removing the entry solved the issue for me. I could s

Re: [oe-core][PATCH 2/4] python3: add libxcrypt-native dependency

2023-06-03 Thread Markus Volk
Am Mo, 29. Mai 2023 um 13:34:40 +0100 schrieb Richard Purdie : I'm going to revert those changes and then we can work out the correct fix without any time pressures (and then I won't need to keep this on my 'need to do something about' mental checklist!). I had some time to look at this problem

Re: [oe-core][PATCH 2/4] python3: add libxcrypt-native dependency

2023-05-29 Thread Richard Purdie
On Mon, 2023-05-29 at 14:02 +0200, Markus Volk wrote: > Am Mo, 29. Mai 2023 um 08:08:09 +0100 schrieb Richard Purdie > : > > Alex is right and I should have spotted this, the -native > > dependency > > definitely isn't right. We'll either need to fix things or revert > > them > > and wait for the r

Re: [oe-core][PATCH 2/4] python3: add libxcrypt-native dependency

2023-05-29 Thread Richard Purdie
On Sun, 2023-05-28 at 17:16 +0200, Alexander Kanavin wrote: > Adding libxcrypt-native to DEPENDS definitely isn't correct, so you > could check why virtual/crypt dependency isn't working properly for > adding the needed headers into native variant's sysroot. If all fails, > adjust DEPENDS:append:cl

Re: [oe-core][PATCH 2/4] python3: add libxcrypt-native dependency

2023-05-28 Thread Alexander Kanavin
Adding libxcrypt-native to DEPENDS definitely isn't correct, so you could check why virtual/crypt dependency isn't working properly for adding the needed headers into native variant's sysroot. If all fails, adjust DEPENDS:append:class-native. Alex On Sun, 28 May 2023 at 17:08, Markus Volk wrote:

Re: [oe-core][PATCH 2/4] python3: add libxcrypt-native dependency

2023-05-28 Thread Markus Volk
Am So, 28. Mai 2023 um 17:01:44 +0200 schrieb Alexander Kanavin : Thanks, then all three recipes should add libxcrypt to DEPENDS But wouldn't that lead to multiple virtual/crypt providers on musl ? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (

Re: [oe-core][PATCH 2/4] python3: add libxcrypt-native dependency

2023-05-28 Thread Alexander Kanavin
Thanks, then all three recipes should add libxcrypt to DEPENDS (not libxcrypt-native). For native variants it will be adjusted automatically. Alex On Sun, 28 May 2023 at 16:53, Markus Volk wrote: > > Am So, 28. Mai 2023 um 16:23:36 +0200 schrieb Alexander Kanavin > : > > But can you show the ac

Re: [oe-core][PATCH 2/4] python3: add libxcrypt-native dependency

2023-05-28 Thread Markus Volk
Am So, 28. Mai 2023 um 16:23:36 +0200 schrieb Alexander Kanavin : But can you show the actual error please? python3-native for example fails like this: ERROR: python3-native-3.11.2-r0 do_install: ExecutionError('/home/flk/poky/build/tmp/work/x86_64-linux/python3-native/3.11.2-r0/temp/run.do_in

Re: [oe-core][PATCH 2/4] python3: add libxcrypt-native dependency

2023-05-28 Thread Alexander Kanavin
But can you show the actual error please? If it’s a native only issue then a different fix is needed, so that native dependency isn’t added to a target build. Alex On Sun 28. May 2023 at 16.03, Markus Volk wrote: > Am So, 28. Mai 2023 um 15:41:10 +0200 schrieb Alexander Kanavin < > alex.kana...

Re: [oe-core][PATCH 2/4] python3: add libxcrypt-native dependency

2023-05-28 Thread Markus Volk
Am So, 28. Mai 2023 um 15:41:10 +0200 schrieb Alexander Kanavin : Also, how is the native header used in the target build? Isn't that incorrect in itself? I guess its only needed to build the native variants of that packages -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this

Re: [oe-core][PATCH 2/4] python3: add libxcrypt-native dependency

2023-05-28 Thread Markus Volk
I noticed this because I was trying to see if my image could reproduce itself. To do this I installed some build tools, perl and python modules and tried if a core-image-minimal can be built in this environment. This failed for some packages because crypt() was missing. I did not have any dev

Re: [oe-core][PATCH 2/4] python3: add libxcrypt-native dependency

2023-05-28 Thread Alexander Kanavin
Also, how is the native header used in the target build? Isn't that incorrect in itself? Alex On Sun, 28 May 2023 at 15:40, Alexander Kanavin via lists.openembedded.org wrote: > > Can you please show how it looks like? We do have a test for host > contamination via headers, so I'd like to see wh

Re: [oe-core][PATCH 2/4] python3: add libxcrypt-native dependency

2023-05-28 Thread Alexander Kanavin
Can you please show how it looks like? We do have a test for host contamination via headers, so I'd like to see what happens exactly and where the test isn't catching it. Same for patches 3/4, 4/4. Alex On Sat, 27 May 2023 at 15:33, Markus Volk wrote: > > crypt.h is otherwise taken from the hos

[oe-core][PATCH 2/4] python3: add libxcrypt-native dependency

2023-05-27 Thread Markus Volk
crypt.h is otherwise taken from the host machine Signed-off-by: Markus Volk --- meta/recipes-devtools/python/python3_3.11.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3_3.11.2.bb b/meta/recipes-devtools/python/python3_3.11.2.bb inde