All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Volk <f_l_k@t-online.de>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [oe-core][PATCH 2/4] python3: add libxcrypt-native dependency
Date: Sun, 28 May 2023 15:56:03 +0200	[thread overview]
Message-ID: <F1GDVR.2NNB0NO3B75X1@t-online.de> (raw)
In-Reply-To: <CANNYZj8Mx-o8=L7N_hrC71c-4urBgXJx1gM1nERUjQL-87Kmyw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2823 bytes --]

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 packages installed, so my guess was that it was because my 
image was missing crypt.h.

To reproduce this on my host machine (Ubuntu 22.04), I ran
sudo mv /usr/include/crypt.h /usr/include/crypt.h.old
sudo rm -r tmp sstate-cache

Now I also had errors on my host system

Am So, 28. Mai 2023 um 15:39:47 +0200 schrieb Alexander Kanavin 
<alex.kanavin@gmail.com>:
> 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 <f_l_k@t-online.de 
> <mailto:f_l_k@t-online.de>> wrote:
>> 
>>  crypt.h is otherwise taken from the host machine
>> 
>>  Signed-off-by: Markus Volk <f_l_k@t-online.de 
>> <mailto:f_l_k@t-online.de>>
>>  ---
>>   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
>>  index 421a305e22..1ca4ad35be 100644
>>  --- a/meta/recipes-devtools/python/python3_3.11.2.bb
>>  +++ b/meta/recipes-devtools/python/python3_3.11.2.bb
>>  @@ -72,7 +72,7 @@ ALTERNATIVE_LINK_NAME[python3-config] = 
>> "${bindir}/python${PYTHON_MAJMIN}-config
>>   ALTERNATIVE_TARGET[python3-config] = 
>> "${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX}"
>> 
>> 
>>  -DEPENDS = "bzip2-replacement-native expat libffi bzip2 openssl 
>> sqlite3 zlib virtual/libintl xz virtual/crypt util-linux-libuuid 
>> libtirpc libnsl2 autoconf-archive-native ncurses"
>>  +DEPENDS = "bzip2-replacement-native expat libffi bzip2 openssl 
>> sqlite3 zlib virtual/libintl xz virtual/crypt util-linux-libuuid 
>> libtirpc libnsl2 autoconf-archive-native ncurses libxcrypt-native"
>>   DEPENDS:append:class-target = " python3-native"
>>   DEPENDS:append:class-nativesdk = " python3-native"
>> 
>>  --
>>  2.34.1
>> 
>> 
>> 
>> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#181824): 
> <https://lists.openembedded.org/g/openembedded-core/message/181824>
> Mute This Topic: <https://lists.openembedded.org/mt/99167320/3618223>
> Group Owner: openembedded-core+owner@lists.openembedded.org 
> <mailto:openembedded-core+owner@lists.openembedded.org>
> Unsubscribe: 
> <https://lists.openembedded.org/g/openembedded-core/unsub> 
> [f_l_k@t-online.de <mailto:f_l_k@t-online.de>]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


[-- Attachment #2: Type: text/html, Size: 3304 bytes --]

  reply	other threads:[~2023-05-28 13:56 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-27 13:32 [oe-core][PATCH 1/4] ell: upgrade 0.56 -> 0.57 Markus Volk
2023-05-27 13:32 ` [oe-core][PATCH 2/4] python3: add libxcrypt-native dependency Markus Volk
2023-05-28 13:39   ` Alexander Kanavin
2023-05-28 13:56     ` Markus Volk [this message]
     [not found]   ` <17635252DFD4EDDE.6918@lists.openembedded.org>
2023-05-28 13:41     ` Alexander Kanavin
2023-05-28 14:03       ` Markus Volk
2023-05-28 14:23         ` Alexander Kanavin
2023-05-28 14:53           ` Markus Volk
2023-05-28 15:01             ` Alexander Kanavin
2023-05-28 15:08               ` Markus Volk
2023-05-28 15:16                 ` Alexander Kanavin
2023-05-29  7:08                   ` Richard Purdie
     [not found]                     ` <ZG5FVR.L4YKBKAES08S3@googlemail.com>
2023-05-29 12:34                       ` Richard Purdie
2023-06-03 17:51                         ` Markus Volk
2023-06-03 18:20                           ` Alexander Kanavin
2023-06-04 19:53                             ` Markus Volk
2023-05-27 13:32 ` [oe-core][PATCH 3/4] ruby: " Markus Volk
2023-05-27 13:32 ` [oe-core][PATCH 4/4] shadow: " Markus Volk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F1GDVR.2NNB0NO3B75X1@t-online.de \
    --to=f_l_k@t-online.de \
    --cc=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.