* [Buildroot] [PATCH] package/docker-credential-gcr: needs NPTL
@ 2026-07-20 5:42 yann.morin
2026-07-20 19:43 ` Julien Olivain via buildroot
2026-07-31 12:21 ` Thomas Perale via buildroot
0 siblings, 2 replies; 5+ messages in thread
From: yann.morin @ 2026-07-20 5:42 UTC (permalink / raw)
To: buildroot; +Cc: yann.morin
From: "Yann E. MORIN" <yann.morin@orange.com>
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/3ed18da254082b7823b49be4578274792bb7380e/
Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
---
package/docker-credential-gcr/Config.in | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/docker-credential-gcr/Config.in b/package/docker-credential-gcr/Config.in
index 1b24ff0e59..6845d5e198 100644
--- a/package/docker-credential-gcr/Config.in
+++ b/package/docker-credential-gcr/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_DOCKER_CREDENTIAL_GCR
bool "docker-credential-gcr"
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
+ depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_*_np()
help
docker-credential-gcr is Google Container Registry's
standalone, gcloud SDK-independent Docker credential
@@ -9,3 +10,7 @@ config BR2_PACKAGE_DOCKER_CREDENTIAL_GCR
eu.gcr.io, etc.).
https://github.com/GoogleCloudPlatform/docker-credential-gcr/
+
+comment "docker-credential-gcr needs a toolchain 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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH] package/docker-credential-gcr: needs NPTL
2026-07-20 5:42 [Buildroot] [PATCH] package/docker-credential-gcr: needs NPTL yann.morin
@ 2026-07-20 19:43 ` Julien Olivain via buildroot
2026-07-31 12:21 ` Thomas Perale via buildroot
1 sibling, 0 replies; 5+ messages in thread
From: Julien Olivain via buildroot @ 2026-07-20 19:43 UTC (permalink / raw)
To: yann.morin; +Cc: buildroot
On 20/07/2026 07:42, yann.morin@orange.com wrote:
> From: "Yann E. MORIN" <yann.morin@orange.com>
>
> 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/3ed18da254082b7823b49be4578274792bb7380e/
>
> Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH] package/docker-credential-gcr: needs NPTL
2026-07-20 5:42 [Buildroot] [PATCH] package/docker-credential-gcr: needs NPTL yann.morin
2026-07-20 19:43 ` Julien Olivain via buildroot
@ 2026-07-31 12:21 ` Thomas Perale via buildroot
2026-08-14 4:28 ` yann.morin
1 sibling, 1 reply; 5+ messages in thread
From: Thomas Perale via buildroot @ 2026-07-31 12:21 UTC (permalink / raw)
To: yann.morin; +Cc: Thomas Perale, buildroot
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/3ed18da254082b7823b49be4578274792bb7380e/
>
> Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Applied to 2026.05.x. Thanks
> ---
> package/docker-credential-gcr/Config.in | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/package/docker-credential-gcr/Config.in b/package/docker-credential-gcr/Config.in
> index 1b24ff0e59..6845d5e198 100644
> --- a/package/docker-credential-gcr/Config.in
> +++ b/package/docker-credential-gcr/Config.in
> @@ -1,6 +1,7 @@
> config BR2_PACKAGE_DOCKER_CREDENTIAL_GCR
> bool "docker-credential-gcr"
> depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
> + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_*_np()
> help
> docker-credential-gcr is Google Container Registry's
> standalone, gcloud SDK-independent Docker credential
> @@ -9,3 +10,7 @@ config BR2_PACKAGE_DOCKER_CREDENTIAL_GCR
> eu.gcr.io, etc.).
>
> https://github.com/GoogleCloudPlatform/docker-credential-gcr/
> +
> +comment "docker-credential-gcr needs a toolchain 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
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH] package/docker-credential-gcr: needs NPTL
2026-07-31 12:21 ` Thomas Perale via buildroot
@ 2026-08-14 4:28 ` yann.morin
2026-08-21 15:25 ` Peter Korsgaard
0 siblings, 1 reply; 5+ messages in thread
From: yann.morin @ 2026-08-14 4:28 UTC (permalink / raw)
To: Thomas Perale, Thomas Petazzoni; +Cc: buildroot
Thomas, Thomas, All,
On 2026-07-31 14:21 +0200, Thomas Perale spake thusly:
> > 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).
> Applied to 2026.05.x. Thanks
This should also be backported to 2026.02, to fix the following build
failure:
https://autobuild.buildroot.org/results/aa5754a547f6dea3165e598f8e22b6cbe3b38f5b/
Similarly, the following commits, related to the other docker credential
helpers, should also be backported :
882c35f7388a package/docker-credential-acr-env: needs NPTL
7a7b0522b34c package/amazon-ecr-credential-helper: needs NPTL
Either that, or the 2026.02 branch should no longer be built in the
autobuilder is it is no longer maintained...
Regards,
Yann E. MORIN.
--
____________
.-----------------.--------------------: _ :------------------.
| Yann E. MORIN | Real-Time Embedded | __/ ) | /"\ ASCII RIBBON |
| | Software Designer | _/ - /' | \ / CAMPAIGN |
| +33 638.411.245 '--------------------: (_ `--, | X AGAINST |
| yann.morin (at) orange.com |_=" ,--' | / \ HTML MAIL |
'--------------------------------------:______/_____:------------------'
____________________________________________________________________________________________________________
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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH] package/docker-credential-gcr: needs NPTL
2026-08-14 4:28 ` yann.morin
@ 2026-08-21 15:25 ` Peter Korsgaard
0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2026-08-21 15:25 UTC (permalink / raw)
To: yann.morin; +Cc: Thomas Perale, Thomas Petazzoni, buildroot
>>>>> "yann" == yann morin <yann.morin@orange.com> writes:
Hi Yann,
> This should also be backported to 2026.02, to fix the following build
> failure:
> https://autobuild.buildroot.org/results/aa5754a547f6dea3165e598f8e22b6cbe3b38f5b/
> Similarly, the following commits, related to the other docker credential
> helpers, should also be backported :
> 882c35f7388a package/docker-credential-acr-env: needs NPTL
> 7a7b0522b34c package/amazon-ecr-credential-helper: needs NPTL
> Either that, or the 2026.02 branch should no longer be built in the
> autobuilder is it is no longer maintained...
Indeed, 2026.02.x is now EOL. I fixed the autobuilder config earlier
this week:
commit e1d90c57b65a2b37db8f4aaa0ce3068f1db957b7 (HEAD -> master, origin/master, origin/HEAD)
Author: Peter Korsgaard <peter@korsgaard.com>
Date: Tue Aug 18 23:37:45 2026 +0200
web/branches: test next instead of 2026.02.x
Now that 2026.02.x is EOL.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-08-21 15:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-20 5:42 [Buildroot] [PATCH] package/docker-credential-gcr: needs NPTL yann.morin
2026-07-20 19:43 ` Julien Olivain via buildroot
2026-07-31 12:21 ` Thomas Perale via buildroot
2026-08-14 4:28 ` yann.morin
2026-08-21 15:25 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox