Re: [Buildroot] [PATCH] package/docker-credential-acr-env: needs NPTL

Thomas Perale via buildroot <[email protected]> Fri, 31 Jul 2026 14:21:53 +0200
Newsgroups net.busybox.buildroot
Message-ID <[email protected]>
In reply of:
> 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 <[email protected]>

Applied to 2026.05.x. Thanks

> ---
>  package/docker-credential-acr-env/Config.in | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/package/docker-credential-acr-env/Config.in b/package/docker-credential-acr-env/Config.in
> index ddb101d52f..a4f7766fdd 100644
> --- a/package/docker-credential-acr-env/Config.in
> +++ b/package/docker-credential-acr-env/Config.in
> @@ -1,6 +1,7 @@
>  config BR2_PACKAGE_DOCKER_CREDENTIAL_ACR_ENV
>  	bool "docker-credential-acr-env"
>  	depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
> +	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL  # pthread_*_np()
>  	help
>  	  The ACR docker credential helper is an alternative to the
>  	  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.
>  
>  	  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
> -- 
> 2.34.1
> 
> ____________________________________________________________________________________________________________
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
> 
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
> 
> _______________________________________________
> buildroot mailing list
> [email protected]
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot