package/docker-credential-acr-env: needs NPTL

docker-credential-gcr calls pthread_getattr_np() which is only available
with NPTL; i.e. always available with glibc (where it originates from,
since 2.2.3), always available with musl (which has had it since 0.9.10
in 2013), and only available when uClibc has NPTL (since 1.0.0 in 2015).

Fixes: https://autobuild.buildroot.org/results/525273d178d89ae8eef306d6ec662af368f20f73/

Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Yann E. MORIN
2026-07-24 06:26:29 +02:00
committed by Julien Olivain
parent 44a4d39ac4
commit 882c35f738

View File

@@ -1,6 +1,7 @@
config BR2_PACKAGE_DOCKER_CREDENTIAL_ACR_ENV config BR2_PACKAGE_DOCKER_CREDENTIAL_ACR_ENV
bool "docker-credential-acr-env" bool "docker-credential-acr-env"
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_*_np()
help help
The ACR docker credential helper is an alternative to the The ACR docker credential helper is an alternative to the
existing file store based ACR helper [...] which relies existing file store based ACR helper [...] which relies
@@ -10,3 +11,7 @@ config BR2_PACKAGE_DOCKER_CREDENTIAL_ACR_ENV
to push to Azure Container Registry. to push to Azure Container Registry.
https://github.com/chrismellard/docker-credential-acr-env/ https://github.com/chrismellard/docker-credential-acr-env/
comment "docker-credential-acr-env needs a toolcahin w/ NPTL"
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL