[Buildroot] [PATCH v4 2/3] package/util-linux: libuuid needs MMU
Dario Binacchi <[email protected]>
| Newsgroups | net.busybox.buildroot |
|---|---|
| Message-ID | <[email protected]> |
When building util-linux with libuuid enabled on noMMU targets
(e.g., bootlin-armv7m-uclibc or bootlin-m68k-5208-uclibc), the build
fails with the following error:
libuuid/src/gen_uuid.c: In function ‘uuid_generate_time_generic’:
libuuid/src/gen_uuid.c:629:17: error: implicit declaration of function ‘pthread_atfork’; did you mean ‘pthread_join’? [-Wimplicit-function-declaration]
629 | pthread_atfork(NULL, NULL, reset_uuidd_cache);
| ^~~~~~~~~~~~~~
| pthread_join
This happens because pthread_atfork() is not available on noMMU
configurations as reported by commit 59fe7547a495 ("package/libcap-ng:
disable pthread support on nommu").
Fix this by adding a dependency on BR2_USE_MMU to libuuid. As a
consequence, also propagate the BR2_USE_MMU dependency to all packages
selecting BR2_PACKAGE_UTIL_LINUX_LIBUUID to prevent "unmet direct
dependencies" Kconfig errors.
Signed-off-by: Dario Binacchi <[email protected]>
---
added in v4
package/asterisk/Config.in | 2 +-
package/azure-iot-sdk-c/Config.in | 2 ++
package/bcache-tools/Config.in | 2 +-
package/cryptsetup/Config.in | 2 +-
package/e2fsprogs/Config.in | 2 +-
package/erofs-utils/Config.in | 1 +
package/f2fs-tools/Config.in | 2 ++
package/freeswitch/Config.in | 2 +-
package/gerbera/Config.in | 2 +-
package/gptfdisk/Config.in | 2 ++
package/gupnp/Config.in | 2 +-
package/libblockdev/Config.in | 2 +-
package/libcrossguid/Config.in | 2 ++
package/libks/Config.in | 2 ++
package/lttng-babeltrace/Config.in | 2 +-
package/lttng-libust/Config.in | 2 ++
package/lttng-tools/Config.in | 2 ++
package/mtd/Config.in | 1 +
package/ndctl/Config.in | 2 +-
package/netdata/Config.in | 2 +-
package/network-manager/Config.in | 2 +-
package/nfs-utils/Config.in | 2 +-
package/nilfs-utils/Config.in | 2 +-
package/optee-client/Config.in | 2 +-
package/parted/Config.in | 2 ++
package/qpid-proton/Config.in | 2 ++
package/shairport-sync/Config.in | 2 +-
package/tpm2-tss/Config.in | 2 ++
package/util-linux/Config.in | 1 +
package/xen/Config.in | 2 ++
package/xfsprogs/Config.in | 2 +-
package/zfs/Config.in | 2 +-
32 files changed, 43 insertions(+), 18 deletions(-)
diff --git a/package/asterisk/Config.in b/package/asterisk/Config.in
index 3db6e5375a6a..0cd11bcf5c7e 100644
--- a/package/asterisk/Config.in
+++ b/package/asterisk/Config.in
@@ -3,7 +3,7 @@ config BR2_PACKAGE_ASTERISK
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS # dlfcn.h
depends on !BR2_TOOLCHAIN_USES_MUSL
- depends on BR2_USE_MMU # libedit
+ depends on BR2_USE_MMU # libedit, util-linux
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_WCHAR # libedit
select BR2_PACKAGE_JANSSON
diff --git a/package/azure-iot-sdk-c/Config.in b/package/azure-iot-sdk-c/Config.in
index 860746524c2d..5a22e3f308da 100644
--- a/package/azure-iot-sdk-c/Config.in
+++ b/package/azure-iot-sdk-c/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_AZURE_IOT_SDK_C
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_USE_WCHAR
+ depends on BR2_USE_MMU # util-linux
select BR2_PACKAGE_LIBCURL
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_OPENSSL
@@ -15,5 +16,6 @@ config BR2_PACKAGE_AZURE_IOT_SDK_C
https://github.com/Azure/azure-iot-sdk-c
comment "azure-iot-sdk-c needs a toolchain w/ C++, NPTL and wchar"
+ depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR
diff --git a/package/bcache-tools/Config.in b/package/bcache-tools/Config.in
index c8e3f6d1bfbd..ef6dc7c52369 100644
--- a/package/bcache-tools/Config.in
+++ b/package/bcache-tools/Config.in
@@ -1,7 +1,7 @@
config BR2_PACKAGE_BCACHE_TOOLS
bool "bcache tools"
depends on BR2_PACKAGE_HAS_UDEV
- depends on BR2_USE_MMU # util-linux (libblkid)
+ depends on BR2_USE_MMU # util-linux (libblkid, libuuid)
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
diff --git a/package/cryptsetup/Config.in b/package/cryptsetup/Config.in
index 00424af8b8ad..ebaebe38537e 100644
--- a/package/cryptsetup/Config.in
+++ b/package/cryptsetup/Config.in
@@ -1,7 +1,7 @@
config BR2_PACKAGE_CRYPTSETUP
bool "cryptsetup"
depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2
- depends on BR2_USE_MMU # lvm2, libargon2
+ depends on BR2_USE_MMU # lvm2, libargon2, util-linux
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
select BR2_PACKAGE_ARGP_STANDALONE if BR2_PACKAGE_LIBSSH && \
(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL)
diff --git a/package/e2fsprogs/Config.in b/package/e2fsprogs/Config.in
index aeb9548f1552..bcd4b13a1728 100644
--- a/package/e2fsprogs/Config.in
+++ b/package/e2fsprogs/Config.in
@@ -1,6 +1,6 @@
menuconfig BR2_PACKAGE_E2FSPROGS
bool "e2fsprogs"
- depends on BR2_USE_MMU # util-linux/libblkid
+ depends on BR2_USE_MMU # util-linux (libblkid, libuuid)
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
diff --git a/package/erofs-utils/Config.in b/package/erofs-utils/Config.in
index 284b2cd0598d..306655f56b71 100644
--- a/package/erofs-utils/Config.in
+++ b/package/erofs-utils/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_EROFS_UTILS
bool "erofs-utils"
+ depends on BR2_USE_MMU # util-linux
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
help
diff --git a/package/f2fs-tools/Config.in b/package/f2fs-tools/Config.in
index e373096380be..17bc703d2144 100644
--- a/package/f2fs-tools/Config.in
+++ b/package/f2fs-tools/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_F2FS_TOOLS
bool "f2fs-tools"
+ depends on BR2_USE_MMU # util-linux
depends on BR2_USE_WCHAR # uses wchar_t
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
@@ -9,4 +10,5 @@ config BR2_PACKAGE_F2FS_TOOLS
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git
comment "f2fs-tools needs a toolchain w/ wchar"
+ depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR
diff --git a/package/freeswitch/Config.in b/package/freeswitch/Config.in
index ad54efc0cb2a..3f5fb8629b8a 100644
--- a/package/freeswitch/Config.in
+++ b/package/freeswitch/Config.in
@@ -3,7 +3,7 @@ config BR2_PACKAGE_FREESWITCH
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS # apr, included in freeswitch source
depends on BR2_TOOLCHAIN_HAS_THREADS
- depends on BR2_USE_MMU # apr, included in freeswitch source
+ depends on BR2_USE_MMU # apr, included in freeswitch source, util-linux
depends on BR2_USE_WCHAR # uses wchar_t
select BR2_PACKAGE_FFMPEG_SWSCALE if BR2_PACKAGE_FFMPEG
select BR2_PACKAGE_LIBCURL
diff --git a/package/gerbera/Config.in b/package/gerbera/Config.in
index 3078d2017f28..18504d9a43d0 100644
--- a/package/gerbera/Config.in
+++ b/package/gerbera/Config.in
@@ -1,6 +1,6 @@
config BR2_PACKAGE_GERBERA
bool "gerbera"
- depends on BR2_USE_MMU # fork()
+ depends on BR2_USE_MMU # fork(), util-linux
depends on BR2_TOOLCHAIN_HAS_ATOMIC
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_HOST_GCC_AT_LEAST_7 # icu
diff --git a/package/gptfdisk/Config.in b/package/gptfdisk/Config.in
index 8d94d2bcf899..1d2d57194eda 100644
--- a/package/gptfdisk/Config.in
+++ b/package/gptfdisk/Config.in
@@ -1,8 +1,10 @@
comment "gptfdisk needs a toolchain w/ C++"
+ depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP
config BR2_PACKAGE_GPTFDISK
bool "gptfdisk"
+ depends on BR2_USE_MMU # util-linux
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
diff --git a/package/gupnp/Config.in b/package/gupnp/Config.in
index 3074a4279777..88ad2d4ac040 100644
--- a/package/gupnp/Config.in
+++ b/package/gupnp/Config.in
@@ -2,7 +2,7 @@ config BR2_PACKAGE_GUPNP
bool "gupnp"
depends on BR2_USE_WCHAR # glib2, gssdp
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2, gssdp
- depends on BR2_USE_MMU # glib2, gssdp
+ depends on BR2_USE_MMU # glib2, gssdp, util-linux
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_GSSDP
select BR2_PACKAGE_LIBXML2
diff --git a/package/libblockdev/Config.in b/package/libblockdev/Config.in
index e9e9faaa0516..3ab6a01b1d0f 100644
--- a/package/libblockdev/Config.in
+++ b/package/libblockdev/Config.in
@@ -3,7 +3,7 @@ config BR2_PACKAGE_LIBBLOCKDEV
depends on !BR2_STATIC_LIBS # kmod
depends on BR2_USE_WCHAR # libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
- depends on BR2_USE_MMU # libglib2
+ depends on BR2_USE_MMU # libglib2, util-linux
depends on BR2_PACKAGE_HAS_UDEV
depends on BR2_ENABLE_LOCALE
select BR2_PACKAGE_KMOD
diff --git a/package/libcrossguid/Config.in b/package/libcrossguid/Config.in
index 49060bc83765..855fadd80d82 100644
--- a/package/libcrossguid/Config.in
+++ b/package/libcrossguid/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBCROSSGUID
bool "libcrossguid"
+ depends on BR2_USE_MMU # util-linux
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11
select BR2_PACKAGE_UTIL_LINUX
@@ -10,4 +11,5 @@ config BR2_PACKAGE_LIBCROSSGUID
https://github.com/graeme-hill/crossguid
comment "libcrossguid needs a toolchain w/ C++, gcc >= 4.7"
+ depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
diff --git a/package/libks/Config.in b/package/libks/Config.in
index 17a008d7a051..1ca1b9020803 100644
--- a/package/libks/Config.in
+++ b/package/libks/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBKS
bool "libks"
+ depends on BR2_USE_MMU # util-linux
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS # dlfcn.h
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np()
@@ -13,5 +14,6 @@ config BR2_PACKAGE_LIBKS
https://github.com/signalwire/libks
comment "libks needs a toolchain w/ C++, NPTL, dynamic library"
+ depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \
|| !BR2_TOOLCHAIN_HAS_THREADS_NPTL
diff --git a/package/lttng-babeltrace/Config.in b/package/lttng-babeltrace/Config.in
index ba6b5543d956..0aceeb3f1708 100644
--- a/package/lttng-babeltrace/Config.in
+++ b/package/lttng-babeltrace/Config.in
@@ -2,7 +2,7 @@ config BR2_PACKAGE_LTTNG_BABELTRACE
bool "lttng-babeltrace"
depends on BR2_USE_WCHAR # libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
- depends on BR2_USE_MMU # libglib2
+ depends on BR2_USE_MMU # libglib2, util-linux
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
select BR2_PACKAGE_LIBGLIB2
diff --git a/package/lttng-libust/Config.in b/package/lttng-libust/Config.in
index 88e1164f97dc..26541fb34b14 100644
--- a/package/lttng-libust/Config.in
+++ b/package/lttng-libust/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_LTTNG_LIBUST
bool "lttng-libust"
+ depends on BR2_USE_MMU # util-linux
depends on BR2_USE_WCHAR # uses wchar_t
# liburcu only works on some architectures and requires threads support"
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
@@ -18,6 +19,7 @@ config BR2_PACKAGE_LTTNG_LIBUST
http://lttng.org
comment "lttng-libust needs a toolchain w/ dynamic library, wchar, threads, C++"
+ depends on BR2_USE_MMU
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
diff --git a/package/lttng-tools/Config.in b/package/lttng-tools/Config.in
index 5750c5c4e0d9..c8ead2f59fa1 100644
--- a/package/lttng-tools/Config.in
+++ b/package/lttng-tools/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_LTTNG_TOOLS
bool "lttng-tools"
+ depends on BR2_USE_MMU # util-linux
# liburcu only works on some architectures and requires thread support
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
@@ -29,6 +30,7 @@ config BR2_PACKAGE_LTTNG_TOOLS
http://lttng.org
comment "lttng-tools needs a toolchain w/ threads, dynamic library, C++"
+ depends on BR2_USE_MMU
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
!BR2_INSTALL_LIBSTDCPP
diff --git a/package/mtd/Config.in b/package/mtd/Config.in
index 1054106f81e5..35fc7cd7474e 100644
--- a/package/mtd/Config.in
+++ b/package/mtd/Config.in
@@ -15,6 +15,7 @@ config BR2_PACKAGE_MTD_JFFS_UTILS
config BR2_PACKAGE_MTD_UBIFS_UTILS
bool
+ depends on BR2_USE_MMU # util-linux
select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
diff --git a/package/ndctl/Config.in b/package/ndctl/Config.in
index 9d3972bd2f75..486e67a72611 100644
--- a/package/ndctl/Config.in
+++ b/package/ndctl/Config.in
@@ -4,7 +4,7 @@ config BR2_PACKAGE_NDCTL
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 # __struct_group()
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
depends on BR2_TOOLCHAIN_HAS_THREADS
- depends on BR2_USE_MMU
+ depends on BR2_USE_MMU # util-linux
select BR2_PACKAGE_INIPARSER
select BR2_PACKAGE_JSON_C
select BR2_PACKAGE_KEYUTILS
diff --git a/package/netdata/Config.in b/package/netdata/Config.in
index 527d4d39af99..e3793a09428b 100644
--- a/package/netdata/Config.in
+++ b/package/netdata/Config.in
@@ -2,7 +2,7 @@ config BR2_PACKAGE_NETDATA
bool "netdata"
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_INSTALL_LIBSTDCPP
- depends on BR2_USE_MMU # fork()
+ depends on BR2_USE_MMU # fork(), util-linux
depends on !BR2_STATIC_LIBS # libuv
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
diff --git a/package/network-manager/Config.in b/package/network-manager/Config.in
index c3d9f7b6558f..307b0480d151 100644
--- a/package/network-manager/Config.in
+++ b/package/network-manager/Config.in
@@ -1,7 +1,7 @@
config BR2_PACKAGE_NETWORK_MANAGER
bool "network-manager"
depends on !BR2_STATIC_LIBS # gnutls
- depends on BR2_USE_MMU # dbus
+ depends on BR2_USE_MMU # dbus, util-linux
depends on BR2_PACKAGE_HAS_UDEV
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
# We need NETLINK_GET_STRICT_CHK
diff --git a/package/nfs-utils/Config.in b/package/nfs-utils/Config.in
index 0f836bd5a948..b483d18de8ff 100644
--- a/package/nfs-utils/Config.in
+++ b/package/nfs-utils/Config.in
@@ -5,7 +5,7 @@ comment "nfs-utils needs a toolchain w/ threads, headers >= 3.17"
config BR2_PACKAGE_NFS_UTILS
bool "nfs-utils"
depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc, rpcbind
- depends on BR2_USE_MMU # fork()
+ depends on BR2_USE_MMU # fork(), util-linux
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # getrandom()
select BR2_PACKAGE_LIBEVENT
select BR2_PACKAGE_LIBNL
diff --git a/package/nilfs-utils/Config.in b/package/nilfs-utils/Config.in
index 30d7dba75d6a..43bf10506fbf 100644
--- a/package/nilfs-utils/Config.in
+++ b/package/nilfs-utils/Config.in
@@ -1,6 +1,6 @@
config BR2_PACKAGE_NILFS_UTILS
bool "nilfs-utils"
- depends on BR2_USE_MMU # util-linux libmount, libblkid
+ depends on BR2_USE_MMU # util-linux libmount, libblkid, libuuid
depends on BR2_TOOLCHAIN_HAS_THREADS # sem_open()
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
select BR2_PACKAGE_UTIL_LINUX_LIBBLKID
diff --git a/package/optee-client/Config.in b/package/optee-client/Config.in
index 04849ffce4b4..efd23fb38582 100644
--- a/package/optee-client/Config.in
+++ b/package/optee-client/Config.in
@@ -2,7 +2,7 @@ config BR2_PACKAGE_OPTEE_CLIENT
bool "optee-client"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 # MMC_IOC_MULTI_CMD
- depends on BR2_USE_MMU # fork()
+ depends on BR2_USE_MMU # fork(), util-linux
help
Enable the OP-TEE client package that brings non-secure
client application resources for OP-TEE support. OP-TEE
diff --git a/package/parted/Config.in b/package/parted/Config.in
index ea6c3db2bf7b..ecfbcb58c118 100644
--- a/package/parted/Config.in
+++ b/package/parted/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_PARTED
depends on BR2_ENABLE_LOCALE
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
+ depends on BR2_USE_MMU # util-linux
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
help
@@ -11,5 +12,6 @@ config BR2_PACKAGE_PARTED
http://www.gnu.org/software/parted/
comment "parted needs a toolchain w/ locale, wchar, gcc >=5"
+ depends on BR2_USE_MMU
depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_5
diff --git a/package/qpid-proton/Config.in b/package/qpid-proton/Config.in
index adddc6eca082..1cea83878cbf 100644
--- a/package/qpid-proton/Config.in
+++ b/package/qpid-proton/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_QPID_PROTON
bool "qpid-proton"
+ depends on BR2_USE_MMU # util-linux
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS # build a shared library
depends on BR2_TOOLCHAIN_HAS_THREADS
@@ -16,5 +17,6 @@ config BR2_PACKAGE_QPID_PROTON
https://qpid.apache.org/proton/
comment "qpid-proton needs a toolchain w/ C++, dynamic library, threads"
+ depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/shairport-sync/Config.in b/package/shairport-sync/Config.in
index dad88e998245..69b6406265ad 100644
--- a/package/shairport-sync/Config.in
+++ b/package/shairport-sync/Config.in
@@ -29,7 +29,7 @@ config BR2_PACKAGE_SHAIRPORT_SYNC_CONVOLUTION
config BR2_PACKAGE_SHAIRPORT_SYNC_AIRPLAY2
bool "AirPlay2 support"
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
- depends on BR2_USE_MMU # nqptp
+ depends on BR2_USE_MMU # nqptp, util-linux
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS # ffmpeg
select BR2_PACKAGE_NQPTP # runtime
select BR2_PACKAGE_LIBPLIST
diff --git a/package/tpm2-tss/Config.in b/package/tpm2-tss/Config.in
index 91337ce48d0e..09e8507341eb 100644
--- a/package/tpm2-tss/Config.in
+++ b/package/tpm2-tss/Config.in
@@ -36,6 +36,7 @@ if BR2_PACKAGE_TPM2_TSS
config BR2_PACKAGE_TPM2_TSS_FAPI
bool "FAPI support"
+ depends on BR2_USE_MMU # util-linux
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
depends on !BR2_PACKAGE_MBEDTLS # configure: FAPI has to be compiled with OpenSSL
select BR2_PACKAGE_JSON_C
@@ -56,6 +57,7 @@ config BR2_PACKAGE_TPM2_TSS_FAPI
https://trustedcomputinggroup.org/wp-content/uploads/TSS_JSON_Policy_v0.7_r04_pubrev.pdf
comment "FAPI not supported with Mbed TLS backend"
+ depends on BR2_USE_MMU
depends on BR2_PACKAGE_MBEDTLS
endif
diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
index e6ee4c3ceda0..a7b24a86601f 100644
--- a/package/util-linux/Config.in
+++ b/package/util-linux/Config.in
@@ -41,6 +41,7 @@ config BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS
config BR2_PACKAGE_UTIL_LINUX_LIBUUID
bool "libuuid"
+ depends on BR2_USE_MMU # pthread_atfork()
help
Install libuuid.
diff --git a/package/xen/Config.in b/package/xen/Config.in
index dc4d43481009..842c25e394cd 100644
--- a/package/xen/Config.in
+++ b/package/xen/Config.in
@@ -19,6 +19,7 @@ config BR2_PACKAGE_XEN_HYPERVISOR
config BR2_PACKAGE_XEN_TOOLS
bool "Xen tools"
+ depends on BR2_USE_MMU # util-linux
depends on !BR2_STATIC_LIBS # dtc (libfdt)
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_WCHAR # libglib2
@@ -41,6 +42,7 @@ config BR2_PACKAGE_XEN_TOOLS
The Xen tools can be accessed by the xl command.
comment "xen tools need a toolchain w/ wchar, threads, dynamic library"
+ depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
BR2_STATIC_LIBS
diff --git a/package/xfsprogs/Config.in b/package/xfsprogs/Config.in
index 1ecffa3e0e33..41b481e1a9ae 100644
--- a/package/xfsprogs/Config.in
+++ b/package/xfsprogs/Config.in
@@ -8,7 +8,7 @@ comment "xfsprogs needs a toolchain w/ threads, headers >= 5.9, C++"
config BR2_PACKAGE_XFSPROGS
bool "xfsprogs"
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
- depends on BR2_USE_MMU # fork()
+ depends on BR2_USE_MMU # fork(), util-linux
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_INSTALL_LIBSTDCPP # liburcu
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9 # blkzoned.h (capacity)
diff --git a/package/zfs/Config.in b/package/zfs/Config.in
index 049e0716f3ad..95ac4744198c 100644
--- a/package/zfs/Config.in
+++ b/package/zfs/Config.in
@@ -9,7 +9,7 @@ config BR2_PACKAGE_ZFS
bool "zfs"
depends on BR2_LINUX_KERNEL
depends on BR2_PACKAGE_HAS_UDEV
- depends on BR2_USE_MMU # util-linux (libblkid)
+ depends on BR2_USE_MMU # util-linux (libblkid, libuuid)
depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc
select BR2_LINUX_NEEDS_MODULES
select BR2_PACKAGE_UTIL_LINUX
--
2.43.0
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot