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> wrote:
crypt.h is otherwise taken from the host machine Signed-off-by: Markus Volk <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 Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [f_l_k@t-online.de] -=-=-=-=-=-=-=-=-=-=-=-