package/bind: fix thread dependency
PATCH 1/1 package/bind: fix thread dependency
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.
--- package/bind/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
package/bind/Config.in +3 -3
@@ -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
Signature · 6 lines
2.55.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 18 lines · Thomas Petazzoni via buildroot
In commit
54f96add94901511862df18e527e456982005b8e("package/bind:
security bump version to 9.20.24") the depends onBR2_TOOLCHAIN_HAS_THREADS_NPTLwas incorrectly downgraded toBR2_TOOLCHAIN_HAS_THREADS:(quoted diff) +1
-1- depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv + depends on BR2_TOOLCHAIN_HAS_THREADS # liburcu, libuvThis 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]
Quoted 5 lines
Fix that by switching back to the
BR2_TOOLCHAIN_HAS_THREADS_NPTLdependency.Fixes 54f96add94901511862df18e527e456982005b8e ("package/bind: security bump version to 9.20.24")Signed-off-by Thomas Petazzoni <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedIn reply of:
Quoted 16 lines
In commit
54f96add94901511862df18e527e456982005b8e("package/bind:
security bump version to 9.20.24") the depends onBR2_TOOLCHAIN_HAS_THREADS_NPTLwas incorrectly downgraded toBR2_TOOLCHAIN_HAS_THREADS:(quoted diff) +1
-1- depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv + depends on BR2_TOOLCHAIN_HAS_THREADS # liburcu, libuvThis 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]
Quoted 5 lines
Fix that by switching back to the
BR2_TOOLCHAIN_HAS_THREADS_NPTLdependency.Fixes 54f96add94901511862df18e527e456982005b8e ("package/bind: security bump version to 9.20.24")Signed-off-by Thomas Petazzoni <[email protected]>
Applied to 2025.02.x & 2026.05.x. Thanks
Quoted 36 lines
--- package/bind/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)package/bind/Config.in +3
-3@@ -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_SUPPORTSSignature · 6 lines
2.55.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot