All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Perale via buildroot <buildroot@buildroot.org>
To: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas Perale <thomas.perale@mind.be>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/bind: fix thread dependency
Date: Fri,  4 Sep 2026 14:18:39 +0200	[thread overview]
Message-ID: <20260904121839.405797-1-thomas.perale@mind.be> (raw)
In-Reply-To: <20260825214649.3710109-1-thomas.petazzoni@bootlin.com>

In reply of:
> In commit 54f96add94901511862df18e527e456982005b8e ("package/bind:
> security bump version to 9.20.24") the depends on
> BR2_TOOLCHAIN_HAS_THREADS_NPTL was incorrectly downgraded to
> BR2_TOOLCHAIN_HAS_THREADS:
> 
> -       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
> +       depends on BR2_TOOLCHAIN_HAS_THREADS # liburcu, libuv
> 
> This is wrong because libuv depends on
> BR2_TOOLCHAIN_HAS_THREADS_NPTL. This causes unmet dependencies:
> 
> WARNING: unmet direct dependencies detected for BR2_PACKAGE_LIBUV
>   Depends on [n]: BR2_TOOLCHAIN_HAS_THREADS_NPTL [=n] && BR2_USE_MMU [=y] && !BR2_STATIC_LIBS [=n] && BR2_TOOLCHAIN_HAS_SYNC_4 [=y] && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 [=y]
>   Selected by [y]:
>   - BR2_PACKAGE_BIND [=y] && BR2_USE_MMU [=y] && BR2_TOOLCHAIN_HAS_SYNC_4 [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] && BR2_INSTALL_LIBSTDCPP [=y] && !BR2_STATIC_LIBS [=n] && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 [=y] && BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS [=y]
> 
> Fix that by switching back to the BR2_TOOLCHAIN_HAS_THREADS_NPTL
> dependency.
> 
> Fixes: 54f96add94901511862df18e527e456982005b8e ("package/bind: security bump version to 9.20.24")
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Applied to 2025.02.x & 2026.05.x. Thanks

> ---
>  package/bind/Config.in | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/package/bind/Config.in b/package/bind/Config.in
> index 6f5f14a6bb..ab8ddcd0a2 100644
> --- a/package/bind/Config.in
> +++ b/package/bind/Config.in
> @@ -2,7 +2,7 @@ config BR2_PACKAGE_BIND
>  	bool "bind"
>  	depends on BR2_USE_MMU # fork(), libcap, libuv
>  	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv
> -	depends on BR2_TOOLCHAIN_HAS_THREADS # liburcu, libuv
> +	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
>  	depends on BR2_INSTALL_LIBSTDCPP # liburcu
>  	depends on !BR2_STATIC_LIBS # libuv
>  	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libuv
> @@ -48,9 +48,9 @@ config BR2_PACKAGE_BIND_TOOLS
>  
>  endif
>  
> -comment "bind needs a toolchain w/ threads, dynamic library, C++, gcc >= 4.9"
> +comment "bind needs a toolchain w/ NPTL, dynamic library, C++, gcc >= 4.9"
>  	depends on BR2_USE_MMU
>  	depends on BR2_TOOLCHAIN_HAS_SYNC_4
> -	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
> +	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \
>  		|| BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
>  		|| BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
> -- 
> 2.55.0
> 
> _______________________________________________
> 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

      parent reply	other threads:[~2026-09-04 12:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-25 21:46 [Buildroot] [PATCH] package/bind: fix thread dependency Thomas Petazzoni via buildroot
2026-08-26 21:00 ` Julien Olivain via buildroot
2026-09-04 12:18 ` Thomas Perale via buildroot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260904121839.405797-1-thomas.perale@mind.be \
    --to=buildroot@buildroot.org \
    --cc=thomas.perale@mind.be \
    --cc=thomas.petazzoni@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.