Skip to contentSkip to conversation

package/openvmtools: needs libxcrypt with glibc

PATCH Applied Peter Korsgaard 2 participants 2 messages May 17, 2025 – Jun 4, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/openvmtools: needs libxcrypt with glibc

Fixes:
http://autobuild.buildroot.net/results/b3b66d7dff38ca6fb0be9a98d98db721ee98ef1b

Fix the following build failure raised since bump of glibc to version 2.39 in commit b5680f53d60acf8ff6010082f873438a39bd5d97:

checking for crypt in -lcrypt... no
configure: error: libcrypt not found. Please install the libc/libcrypt devel package(s).

---
 package/openvmtools/Config.in      | 1 +
 package/openvmtools/openvmtools.mk | 4 ++++
 2 files changed, 5 insertions(+)
package/openvmtools/Config.in +1 -0
index b62e5d0361..e6a2cd4a54 100644
@@ -16,6 +16,7 @@ config BR2_PACKAGE_OPENVMTOOLS
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBDNET
 	select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
+	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
 	help
 	  Open Virtual Machine Tools for VMware guest OS
 
package/openvmtools/openvmtools.mk +4 -0
index 3106b9ecd6..a4ff1fd71a 100644
@@ -35,6 +35,10 @@ ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
 OPENVMTOOLS_DEPENDENCIES += libtirpc
 endif
 
+ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
+OPENVMTOOLS_DEPENDENCIES += libxcrypt
+endif
+
 # When libfuse is available, openvmtools can build vmblock-fuse, so
 # make sure that libfuse gets built first
 ifeq ($(BR2_PACKAGE_LIBFUSE),y)
Signature · 6 lines
2.39.5

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 10 lines · Peter Korsgaard

Fixes:
http://autobuild.buildroot.net/results/b3b66d7dff38ca6fb0be9a98d98db721ee98ef1b

Fix the following build failure raised since bump of glibc to version 2.39 in commit b5680f53d60acf8ff6010082f873438a39bd5d97:

checking for crypt in -lcrypt... no
configure: error: libcrypt not found. Please install the libc/libcrypt devel package(s).

Applied to 2025.02.x, thanks.

Regards,
Arnout

Quoted 22 lines
---
  package/openvmtools/Config.in      | 1 +
  package/openvmtools/openvmtools.mk | 4 ++++
  2 files changed, 5 insertions(+)
package/openvmtools/Config.in +1 -0
index b62e5d0361..e6a2cd4a54 100644
@@ -16,6 +16,7 @@ config BR2_PACKAGE_OPENVMTOOLS
  	select BR2_PACKAGE_LIBGLIB2
  	select BR2_PACKAGE_LIBDNET
  	select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
+	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
  	help
  	  Open Virtual Machine Tools for VMware guest OS
 
package/openvmtools/openvmtools.mk +0 -0
index 3106b9ecd6..a4ff1fd71a 100644

package/openvmtools/openvmtools.mk ifeq ($(BR2_PACKAGE_LIBTIRPC),y) · line 44

Quoted 10 lines
package/openvmtools/openvmtools.mk +4 -0
@@ -35,6 +35,10 @@ ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
  OPENVMTOOLS_DEPENDENCIES += libtirpc
  endif
 
+ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
+OPENVMTOOLS_DEPENDENCIES += libxcrypt
+endif
+
  # When libfuse is available, openvmtools can build vmblock-fuse, so
  # make sure that libfuse gets built first
  ifeq ($(BR2_PACKAGE_LIBFUSE),y)

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot