package/mender-update-modules: fix kernel header dependency
PATCH 1/11 package/mender-update-modules: fix kernel header dependency
Commit f933a165e2ee2ee775c7fa0824d2bfcfa9545f88 ("package/podman:
raise kernel header requirement to v4.14") raised the kernel headers dependency of podman from 3.17 to 4.14, but forgot to propagate this change to the mender-update-modules podman option, causing the following kconfig warning:
WARNING: unmet direct dependencies detected for BR2_PACKAGE_PODMAN
Depends on [n]: BR2_USE_MMU [=y] && BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS [=y] && BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS [=y] && BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS [=y] && BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS [=y] && BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 [=n] && BR2_TOOLCHAIN_HAS_THREADS [=y] && BR2_USE_WCHAR [=y]
Selected by [y]:
- BR2_PACKAGE_MENDER_UPDATE_MODULES_PODMAN [=y] && BR2_PACKAGE_MENDER_UPDATE_MODULES [=y] && BR2_USE_MMU [=y] && BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS [=y] && BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS [=y] && BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS [=y] && BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS [=y] && BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] && BR2_USE_WCHAR [=y]
Fix this by properly propagating the dependency.
--- package/mender-update-modules/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
package/mender-update-modules/Config.in +3 -3
@@ -132,7 +132,7 @@ config BR2_PACKAGE_MENDER_UPDATE_MODULES_PODMAN depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # podman depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # podman depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS # podman - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # podman + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 # podman depends on BR2_TOOLCHAIN_HAS_THREADS # podman depends on BR2_USE_WCHAR # podman select BR2_PACKAGE_JQ # runtime
@@ -150,13 +150,13 @@ config BR2_PACKAGE_MENDER_UPDATE_MODULES_PODMAN https://github.com/mendersoftware/mender-update-modules/tree/master/podman -comment "podman support needs a toolchain w/ headers >= 3.17, threads, wchar" +comment "podman support needs a toolchain w/ headers >= 4.14, threads, wchar" depends on BR2_USE_MMU depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 \ + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 \ || !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_USE_WCHAR
Signature · 6 lines
2.52.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/11 package/opencv4-contrib: fix Config.in comments
The comments saying that dnn_objdetect and dnn_superres need a glibc or musl toolchain should be shown when a uClibc toolchain is selected, not when a toolchain NOT using uClibc is selected (as this is exactly what's needed).
--- package/opencv4-contrib/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/opencv4-contrib/Config.in +2 -2
@@ -84,7 +84,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_OBJDETECT comment "dnn_objdetect needs a glibc or musl toolchain" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_TOOLCHAIN_USES_UCLIBC config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_SUPERRES bool "dnn_superres"
@@ -97,7 +97,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_SUPERRES comment "dnn_superres needs a glibc or musl toolchain" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_TOOLCHAIN_USES_UCLIBC config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNNS_EASILY_FOOLED bool "dnns_easily_fooled"
Signature · 6 lines
2.52.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 02/11] package/opencv4-contrib: fix Config.in comments
In reply of:
Quoted 7 lines
The comments saying that
dnn_objdetectanddnn_superresneed a glibc or musl toolchain should be shown when a uClibc toolchain is selected, not when a toolchain NOT using uClibc is selected (as this is exactly what's needed).Fixes a2e01b23fc441a4be4416e68d91e331e00db3bbd ("package/opencv-contrib: propagate opencv4 dependencies")Signed-off-by Thomas Petazzoni <[email protected]>
Applied to 2025.02.x and 2025.11.x. Thanks
Quoted 33 lines
--- package/opencv4-contrib/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)package/opencv4-contrib/Config.in +2
-2@@ -84,7 +84,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_OBJDETECT comment "dnn_objdetect needs a glibc or musl toolchain" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_TOOLCHAIN_USES_UCLIBC config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_SUPERRES bool "dnn_superres"@@ -97,7 +97,7 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_SUPERRES comment "dnn_superres needs a glibc or musl toolchain" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_TOOLCHAIN_USES_UCLIBC config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNNS_EASILY_FOOLED bool "dnns_easily_fooled"Signature · 6 lines
2.52.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
PATCH 3/11 package/opencv4-contrib: add missing gcc >= 8 dependencies
In reply to Thomas Petazzoni via buildrootCommit75ab6cf93a3ba505897ae99b5ff4bffda55d3c7b ("package/{python-}protobuf:
bump to version 28.1") added a whole bunch of gcc >= 8 dependencies to OpenCV 4 options, but forgot to propagate those to opencv4-contrib.
Fixes:
WARNING: unmet direct dependencies detected for BR2_PACKAGE_OPENCV4_LIB_OBJDETECT
Depends on [n]: BR2_PACKAGE_OPENCV4 [=y] && !BR2_TOOLCHAIN_USES_UCLIBC [=n] && BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS [=y] && BR2_TOOLCHAIN_GCC_AT_LEAST_8 [=n] Selected by [y]:
- BR2_PACKAGE_OPENCV4_CONTRIB_LIB_FACE [=y] && BR2_PACKAGE_OPENCV4_CONTRIB [=y] && BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS [=y] && !BR2_TOOLCHAIN_USES_UCLIBC [=n]
--- package/opencv4-contrib/Config.in | 36 ++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 13 deletions(-)
package/opencv4-contrib/Config.in +23 -13
@@ -76,28 +76,32 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_OBJDETECT bool "dnn_objdetect" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 dnn depends on !BR2_TOOLCHAIN_USES_UCLIBC # opencv4 dnn + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # opencv4 dnn select BR2_PACKAGE_OPENCV4_LIB_DNN help Object Detection using CNNs -- Implements compact CNN Model for object detection. Trained using Caffe but uses opencv_dnn module. -comment "dnn_objdetect needs a glibc or musl toolchain" +comment "dnn_objdetect needs a glibc or musl toolchain w/ gcc >= 8" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_SUPERRES bool "dnn_superres" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 dnn depends on !BR2_TOOLCHAIN_USES_UCLIBC # opencv4 dnn + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # opencv4 dnn select BR2_PACKAGE_OPENCV4_LIB_DNN help Superresolution using CNNs -- Contains four trained convolutional neural networks to upscale images. -comment "dnn_superres needs a glibc or musl toolchain" +comment "dnn_superres needs a glibc or musl toolchain w/ gcc >= 8" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNNS_EASILY_FOOLED bool "dnns_easily_fooled"
@@ -109,27 +113,31 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DPM bool "dpm" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 objdetect depends on !BR2_TOOLCHAIN_USES_UCLIBC # opencv4 objdetect + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # opencv4 objdetect select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT help Deformable Part Model -- Felzenszwalb's Cascade with deformable parts object recognition code. -comment "dpm needs a glibc or musl toolchain" - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 objdetect - depends on BR2_TOOLCHAIN_USES_UCLIBC # opencv4 objdetect +comment "dpm needs a glibc or musl toolchain w/ gcc >= 8" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_FACE bool "face" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 objdetect depends on !BR2_TOOLCHAIN_USES_UCLIBC # opencv4 objdetect + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # opencv4 objdetect select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT help Face Recognition -- Face recognition techniques: Eigen, Fisher and Local Binary Pattern Histograms LBPH methods. -comment "face needs a glibc or musl toolchain" - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 objdetect - depends on BR2_TOOLCHAIN_USES_UCLIBC # opencv4 objdetect +comment "face needs a glibc or musl toolchain w/ gcc >= 8" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_FREETYPE bool "freetype"
@@ -347,15 +355,17 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XOBJDETECT bool "xobjdetect" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 objdetect depends on !BR2_TOOLCHAIN_USES_UCLIBC # opencv4 objdetect + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # opencv4 objdetect select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT help Boosted 2D Object Detection -- Uses a Waldboost cascade and local binary patterns computed as integral features for 2D object detection. -comment "xobjdetect needs a glibc or musl toolchain" - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 objdetect - depends on BR2_TOOLCHAIN_USES_UCLIBC # opencv4 objdetect +comment "xobjdetect needs a glibc or musl toolchain w/ gcc >= 8" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XPHOTO bool "xphoto"
Signature · 6 lines
2.52.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 03/11] package/opencv4-contrib: add missing gcc >= 8 dependencies
In reply of:
Quoted 5 lines
Commit
75ab6cf93a3ba505897ae99b5ff4bffda55d3c7b("package/{python-}protobuf:
bump to version 28.1") added a whole bunch of gcc >= 8 dependencies to OpenCV 4 options, but forgot to propagate those to opencv4-contrib.
Quoted 8 lines
Fixes:
WARNING: unmet direct dependencies detected for
BR2_PACKAGE_OPENCV4_LIB_OBJDETECT
Depends on [n]:BR2_PACKAGE_OPENCV4[=y] && !BR2_TOOLCHAIN_USES_UCLIBC [=n] &&BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS[=y] &&BR2_TOOLCHAIN_GCC_AT_LEAST_8[=n] Selected by [y]:
-BR2_PACKAGE_OPENCV4_CONTRIB_LIB_FACE[=y] &&BR2_PACKAGE_OPENCV4_CONTRIB[=y] &&BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS[=y] && !BR2_TOOLCHAIN_USES_UCLIBC [=n]Signed-off-by Thomas Petazzoni <[email protected]>
Applied to 2025.02.x and 2025.11.x. Thanks
Quoted 111 lines
--- package/opencv4-contrib/Config.in | 36 ++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 13 deletions(-)package/opencv4-contrib/Config.in +23
-13@@ -76,28 +76,32 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_OBJDETECT bool "dnn_objdetect" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 dnn depends on !BR2_TOOLCHAIN_USES_UCLIBC # opencv4 dnn + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # opencv4 dnn select BR2_PACKAGE_OPENCV4_LIB_DNN help Object Detection using CNNs -- Implements compact CNN Model for object detection. Trained using Caffe but uses opencv_dnn module. -comment "dnn_objdetect needs a glibc or musl toolchain" +comment "dnn_objdetect needs a glibc or musl toolchain w/ gcc >= 8" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNN_SUPERRES bool "dnn_superres" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 dnn depends on !BR2_TOOLCHAIN_USES_UCLIBC # opencv4 dnn + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # opencv4 dnn select BR2_PACKAGE_OPENCV4_LIB_DNN help Superresolution using CNNs -- Contains four trained convolutional neural networks to upscale images. -comment "dnn_superres needs a glibc or musl toolchain" +comment "dnn_superres needs a glibc or musl toolchain w/ gcc >= 8" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DNNS_EASILY_FOOLED bool "dnns_easily_fooled"@@ -109,27 +113,31 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_DPM bool "dpm" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 objdetect depends on !BR2_TOOLCHAIN_USES_UCLIBC # opencv4 objdetect + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # opencv4 objdetect select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT help Deformable Part Model -- Felzenszwalb's Cascade with deformable parts object recognition code. -comment "dpm needs a glibc or musl toolchain" - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 objdetect - depends on BR2_TOOLCHAIN_USES_UCLIBC # opencv4 objdetect +comment "dpm needs a glibc or musl toolchain w/ gcc >= 8" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_FACE bool "face" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 objdetect depends on !BR2_TOOLCHAIN_USES_UCLIBC # opencv4 objdetect + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # opencv4 objdetect select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT help Face Recognition -- Face recognition techniques: Eigen, Fisher and Local Binary Pattern Histograms LBPH methods. -comment "face needs a glibc or musl toolchain" - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 objdetect - depends on BR2_TOOLCHAIN_USES_UCLIBC # opencv4 objdetect +comment "face needs a glibc or musl toolchain w/ gcc >= 8" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_FREETYPE bool "freetype"@@ -347,15 +355,17 @@ config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XOBJDETECT bool "xobjdetect" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 objdetect depends on !BR2_TOOLCHAIN_USES_UCLIBC # opencv4 objdetect + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # opencv4 objdetect select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT help Boosted 2D Object Detection -- Uses a Waldboost cascade and local binary patterns computed as integral features for 2D object detection. -comment "xobjdetect needs a glibc or musl toolchain" - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # opencv4 objdetect - depends on BR2_TOOLCHAIN_USES_UCLIBC # opencv4 objdetect +comment "xobjdetect needs a glibc or musl toolchain w/ gcc >= 8" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 config BR2_PACKAGE_OPENCV4_CONTRIB_LIB_XPHOTO bool "xphoto"Signature · 6 lines
2.52.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
PATCH 4/11 package/opencv4: add missing Config.in comments on gcc >= 8
In reply to Thomas Petazzoni via buildrootCommit75ab6cf93a3ba505897ae99b5ff4bffda55d3c7b ("package/{python-}protobuf:
bump to version 28.1") added a whole bunch of gcc >= 8 dependencies to opencv4 options, but forgot to create or update appropriate Config.in comments for several options:
BR2_PACKAGE_OPENCV4_LIB_OBJDETECTBR2_PACKAGE_OPENCV4_LIB_STITCHINGBR2_PACKAGE_OPENCV4_WITH_PROTOBUF
--- package/opencv4/Config.in | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)
package/opencv4/Config.in +10 -4
@@ -157,9 +157,10 @@ config BR2_PACKAGE_OPENCV4_LIB_OBJDETECT Include opencv_objdetect (object detection) module into the OpenCV build. -comment "objdetect needs a glibc or musl toolchain" +comment "objdetect needs a glibc or musl toolchain w/ gcc 8" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 config BR2_PACKAGE_OPENCV4_LIB_PHOTO bool "photo"
@@ -207,9 +208,10 @@ config BR2_PACKAGE_OPENCV4_LIB_STITCHING Include opencv_stitching (images stitching) module into the OpenCV build. -comment "stitching needs a glibc or musl toolchain" +comment "stitching needs a glibc or musl toolchain w/ gcc >= 8" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 config BR2_PACKAGE_OPENCV4_LIB_SUPERRES bool "superres"
@@ -332,6 +334,10 @@ config BR2_PACKAGE_OPENCV4_WITH_PROTOBUF help Use shared protobuf from the target system. +comment "protobuf support needs a toolchain w/ gcc >= 8" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 + config BR2_PACKAGE_OPENCV4_WITH_TBB bool "tbb support" depends on !BR2_TOOLCHAIN_USES_UCLIBC # tbb
Signature · 6 lines
2.52.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 04/11] package/opencv4: add missing Config.in comments on gcc >= 8
In reply of:
Quoted 11 lines
Commit
75ab6cf93a3ba505897ae99b5ff4bffda55d3c7b("package/{python-}protobuf:
bump to version 28.1") added a whole bunch of gcc >= 8 dependencies to opencv4 options, but forgot to create or update appropriate Config.in comments for several options:
BR2_PACKAGE_OPENCV4_LIB_OBJDETECTBR2_PACKAGE_OPENCV4_LIB_STITCHINGBR2_PACKAGE_OPENCV4_WITH_PROTOBUFSigned-off-by Thomas Petazzoni <[email protected]>
Applied to 2025.02.x and 2025.11.x. Thanks
Quoted 52 lines
--- package/opencv4/Config.in | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)package/opencv4/Config.in +10
-4@@ -157,9 +157,10 @@ config BR2_PACKAGE_OPENCV4_LIB_OBJDETECT Include opencv_objdetect (object detection) module into the OpenCV build. -comment "objdetect needs a glibc or musl toolchain" +comment "objdetect needs a glibc or musl toolchain w/ gcc 8" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 config BR2_PACKAGE_OPENCV4_LIB_PHOTO bool "photo"@@ -207,9 +208,10 @@ config BR2_PACKAGE_OPENCV4_LIB_STITCHING Include opencv_stitching (images stitching) module into the OpenCV build. -comment "stitching needs a glibc or musl toolchain" +comment "stitching needs a glibc or musl toolchain w/ gcc >= 8" depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 config BR2_PACKAGE_OPENCV4_LIB_SUPERRES bool "superres"@@ -332,6 +334,10 @@ config BR2_PACKAGE_OPENCV4_WITH_PROTOBUF help Use shared protobuf from the target system. +comment "protobuf support needs a toolchain w/ gcc >= 8" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 + config BR2_PACKAGE_OPENCV4_WITH_TBB bool "tbb support" depends on !BR2_TOOLCHAIN_USES_UCLIBC # tbbSignature · 6 lines
2.52.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
PATCH 5/11 package/freeswitch: fixup dependency on OpenCV4
In reply to Thomas Petazzoni via buildrootThe recent changes in freeswitch following the removal of OpenCV 3.x in commita6db6af9ffa7134b1f132dfd07dd53e7138e86b6 ("package/freeswitch: remove optional dependency to opencv3") caused some invalid dependencies.
Indeed, the new logic selects BR2_PACKAGE_OPENCV4_LIB_OBJDETECT as soon as BR2_PACKAGE_OPENCV4 is enabled, without worrying about the dependencies of BR2_PACKAGE_OPENCV4_LIB_OBJDETECT.
This causes the following Kconfig warning:
WARNING: unmet direct dependencies detected for BR2_PACKAGE_OPENCV4_LIB_OBJDETECT
Depends on [n]: BR2_PACKAGE_OPENCV4 [=y] && !BR2_TOOLCHAIN_USES_UCLIBC [=n] && BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS [=y] && BR2_TOOLCHAIN_GCC_AT_LEAST_8 [=n] Selected by [y]:
- BR2_PACKAGE_FREESWITCH [=y] && BR2_INSTALL_LIBSTDCPP [=y] && !BR2_STATIC_LIBS [=n] && BR2_TOOLCHAIN_HAS_THREADS [=y] && BR2_USE_MMU [=y] && BR2_USE_WCHAR [=y] && BR2_PACKAGE_OPENCV4 [=y]
Since freeswitch as no visible sub-options to select extra features and we wanted to keep it this way, we introduce a hidden sub-option that informs freeswitch.mk whether OpenCV 4 support is usable. It makes it easier to express the dependencies that are needed for this OpenCV 4 to be usable.
--- package/freeswitch/Config.in | 18 +++++++++++++----- package/freeswitch/freeswitch.mk | 2 +- 2 files changed, 14 insertions(+), 6 deletions(-)
package/freeswitch/Config.in +13 -5
@@ -9,11 +9,6 @@ config BR2_PACKAGE_FREESWITCH select BR2_PACKAGE_LIBCURL select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_JPEG - # src/mod/applications/mod_cv/mod_cv.cpp includes - # highgui.h, imgproc.hpp & objdetect.hpp - select BR2_PACKAGE_OPENCV4_LIB_HIGHGUI if BR2_PACKAGE_OPENCV4 - select BR2_PACKAGE_OPENCV4_LIB_IMGPROC if BR2_PACKAGE_OPENCV4 - select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT if BR2_PACKAGE_OPENCV4 select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_PCRE select BR2_PACKAGE_SOFIA_SIP
@@ -33,6 +28,19 @@ config BR2_PACKAGE_FREESWITCH https://www.freeswitch.org +config BR2_PACKAGE_FREESWITCH_OPENCV4 + bool + default y + depends on BR2_PACKAGE_OPENCV4 + depends on !BR2_TOOLCHAIN_USES_UCLIBC # objdetect + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # objdetect + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # objdetect + # src/mod/applications/mod_cv/mod_cv.cpp includes + # highgui.h, imgproc.hpp & objdetect.hpp + select BR2_PACKAGE_OPENCV4_LIB_HIGHGUI + select BR2_PACKAGE_OPENCV4_LIB_IMGPROC + select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT + comment "freeswitch needs a toolchain w/ C++, dynamic library, threads, wchar" depends on BR2_USE_MMU depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS \
package/freeswitch/freeswitch.mk +1 -1
@@ -278,7 +278,7 @@ FREESWITCH_DEPENDENCIES += libsoundtouch FREESWITCH_ENABLED_MODULES += applications/mod_soundtouch endif -ifeq ($(BR2_PACKAGE_OPENCV4),y) +ifeq ($(BR2_PACKAGE_FREESWITCH_OPENCV4),y) FREESWITCH_DEPENDENCIES += opencv4 FREESWITCH_ENABLED_MODULES += applications/mod_cv endif
Signature · 6 lines
2.52.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 6/11 package/python-pillow: propagate python-pybind C++ dependency
In reply to Thomas Petazzoni via buildrootCommit5f446a8d6dd8715385d6e2df2714f064bf26243d ("package/python-pillow: bump to version 12.0.0") added a select BR2_PACKAGE_PYTHON_PYBIND to python-pillow without propagating the C++ dependency, causing:
WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_PYBIND
Depends on [n]: BR2_PACKAGE_PYTHON3 [=y] && BR2_INSTALL_LIBSTDCPP [=n] Selected by [y]:
- BR2_PACKAGE_PYTHON_PILLOW [=y] && BR2_PACKAGE_PYTHON3 [=y]
Fix this by propagating the dependency to python-pillow, and in turn to python-pillow reverse dependencies.
--- package/python-pillow/Config.in | 4 ++++ package/python-qrcode/Config.in | 4 ++++ package/python-weasyprint/Config.in | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-)
package/python-pillow/Config.in +4 -0
@@ -1,5 +1,6 @@ config BR2_PACKAGE_PYTHON_PILLOW bool "python-pillow" + depends on BR2_INSTALL_LIBSTDCPP # python-pybind select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime select BR2_PACKAGE_PYTHON3_ZLIB select BR2_PACKAGE_PYTHON_PYBIND
@@ -14,3 +15,6 @@ config BR2_PACKAGE_PYTHON_PILLOW tiff, freetype, webp, and openjpeg (JPEG-2000). https://pypi.python.org/pypi/Pillow/ + +comment "python-pillow needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP
package/python-qrcode/Config.in +4 -0
@@ -13,6 +13,10 @@ config BR2_PACKAGE_PYTHON_QRCODE_SVG config BR2_PACKAGE_PYTHON_QRCODE_PIL bool "PIL support" + depends on BR2_INSTALL_LIBSTDCPP # python-pillow select BR2_PACKAGE_PYTHON_PILLOW +comment "PIL support needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP + endif
package/python-weasyprint/Config.in +1 -1
@@ -1,6 +1,6 @@ config BR2_PACKAGE_PYTHON_WEASYPRINT bool "python-weasyprint" - depends on BR2_INSTALL_LIBSTDCPP # python-zopfli + depends on BR2_INSTALL_LIBSTDCPP # python-zopfli, python-pillow select BR2_PACKAGE_PYTHON_BROTLI # runtime select BR2_PACKAGE_PYTHON_CFFI # runtime select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime
Signature · 6 lines
2.52.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 7/11 package/mender-update-modules: fix dependencies of BR2_PACKAGE_MENDER_UPDATE_MODULES_ROOTFS_VERSION_CHECK
In reply to Thomas Petazzoni via buildrootSince this option was introduced in commit a474642fdcd8c69e12126bbe8304479aa855d916 ("package/mender-update-modules:
new package"), its dependencies have been incorrect. It selects BR2_PACKAGE_PYTHON3 without replicating all its dependencies, so we fix that.
Also, it did have the !BR2_STATIC_LIBS dependency propagated, but not mentioned in the Config.in comment, so we fix that as well.
--- package/mender-update-modules/Config.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
package/mender-update-modules/Config.in +6 -2
@@ -173,6 +173,8 @@ config BR2_PACKAGE_MENDER_UPDATE_MODULES_REBOOT config BR2_PACKAGE_MENDER_UPDATE_MODULES_ROOTFS_VERSION_CHECK bool "rootfs version check" + depends on BR2_USE_WCHAR # python3 + depends on BR2_USE_MMU # python3 depends on BR2_TOOLCHAIN_HAS_THREADS # python3 depends on !BR2_STATIC_LIBS # python3 select BR2_PACKAGE_PYTHON3 # runtime
@@ -195,8 +197,10 @@ config BR2_PACKAGE_MENDER_UPDATE_MODULES_ROOTFS_VERSION_CHECK https://github.com/mendersoftware/mender-update-modules/tree/master/rootfs-version-check -comment "rootfs version check needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS +comment "rootfs version check needs a toolchain w/ threads, dynamic library, wchar" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_USE_WCHAR config BR2_PACKAGE_MENDER_UPDATE_MODULES_RPM bool "rpm"
Signature · 6 lines
2.52.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 07/11] package/mender-update-modules: fix dependencies of BR2_PACKAGE_MENDER_UPDATE_MODULES_ROOTFS_VERSION_CHECK
In reply of:
Quoted 10 lines
Since this option was introduced in commit
a474642fdcd8c69e12126bbe8304479aa855d916("package/mender-update-modules:
new package"), its dependencies have been incorrect. It selectsBR2_PACKAGE_PYTHON3without replicating all its dependencies, so we fix that.Also, it did have the !BR2_STATIC_LIBS dependency propagated, but not mentioned in the Config.in comment, so we fix that as well.
Signed-off-by Thomas Petazzoni <[email protected]>
Applied to 2025.11.x. Thanks
Quoted 37 lines
--- package/mender-update-modules/Config.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)package/mender-update-modules/Config.in +6
-2@@ -173,6 +173,8 @@ config BR2_PACKAGE_MENDER_UPDATE_MODULES_REBOOT config BR2_PACKAGE_MENDER_UPDATE_MODULES_ROOTFS_VERSION_CHECK bool "rootfs version check" + depends on BR2_USE_WCHAR # python3 + depends on BR2_USE_MMU # python3 depends on BR2_TOOLCHAIN_HAS_THREADS # python3 depends on !BR2_STATIC_LIBS # python3 select BR2_PACKAGE_PYTHON3 # runtime@@ -195,8 +197,10 @@ config BR2_PACKAGE_MENDER_UPDATE_MODULES_ROOTFS_VERSION_CHECK https://github.com/mendersoftware/mender-update-modules/tree/master/rootfs-version-check -comment "rootfs version check needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS +comment "rootfs version check needs a toolchain w/ threads, dynamic library, wchar" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_USE_WCHAR config BR2_PACKAGE_MENDER_UPDATE_MODULES_RPM bool "rpm"Signature · 6 lines
2.52.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
PATCH 8/11 package/libgtk4: add missing dependency for BR2_PACKAGE_LIBGTK4_GSTREAMER
In reply to Thomas Petazzoni via buildrootBack when the libgtk4 package was introduced in commit faf2a1d2abfbff79fc0603def835066587144420, its BR2_PACKAGE_LIBGTK4_GSTREAMER option did not properly propagate the dependencies of BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL, causing the following Config.in warning:
WARNING: unmet direct dependencies detected for BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL
Depends on [n]: BR2_PACKAGE_GSTREAMER1 [=y] && BR2_PACKAGE_GST1_PLUGINS_BASE [=y] && (BR2_PACKAGE_HAS_LIBGL [=n] || BR2_PACKAGE_HAS_LIBGLES [=n]) Selected by [y]:
- BR2_PACKAGE_LIBGTK4_GSTREAMER [=y] && BR2_PACKAGE_LIBGTK4 [=y]
Fix that by properly propagating the dependency.
--- package/libgtk4/Config.in | 4 ++++ 1 file changed, 4 insertions(+)
package/libgtk4/Config.in +4 -0
@@ -87,6 +87,7 @@ config BR2_PACKAGE_LIBGTK4_X11 config BR2_PACKAGE_LIBGTK4_GSTREAMER bool "gstreamer support" + depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES select BR2_PACKAGE_GSTREAMER1 select BR2_PACKAGE_GST1_PLUGINS_BASE select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL
@@ -94,6 +95,9 @@ config BR2_PACKAGE_LIBGTK4_GSTREAMER help Enable gstreamer support. +comment "gstreamer support needs an OpenGL or OpenGL ES backend" + depends on !BR2_PACKAGE_HAS_LIBGL && !BR2_PACKAGE_HAS_LIBGLES + config BR2_PACKAGE_LIBGTK4_DEMO bool "Install libgtk4 demo/example programs" select BR2_PACKAGE_SHARED_MIME_INFO
Signature · 6 lines
2.52.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 08/11] package/libgtk4: add missing dependency for BR2_PACKAGE_LIBGTK4_GSTREAMER
In reply of:
Quoted 11 lines
Back when the libgtk4 package was introduced in commit
faf2a1d2abfbff79fc0603def835066587144420, itsBR2_PACKAGE_LIBGTK4_GSTREAMERoption did not properly propagate the dependencies ofBR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL, causing the following Config.in warning:WARNING: unmet direct dependencies detected for
BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL
Depends on [n]:BR2_PACKAGE_GSTREAMER1[=y] &&BR2_PACKAGE_GST1_PLUGINS_BASE[=y] && (BR2_PACKAGE_HAS_LIBGL[=n] ||BR2_PACKAGE_HAS_LIBGLES[=n]) Selected by [y]:
-BR2_PACKAGE_LIBGTK4_GSTREAMER[=y] &&BR2_PACKAGE_LIBGTK4[=y]
Quoted 4 lines
Fix that by properly propagating the dependency.
Fixes faf2a1d2abfbff79fc0603def835066587144420 ("package/libgtk4: new package")Signed-off-by Thomas Petazzoni <[email protected]>
Applied to 2025.02.x and 2025.11.x. Thanks
Quoted 33 lines
--- package/libgtk4/Config.in | 4 ++++ 1 file changed, 4 insertions(+)package/libgtk4/Config.in +4
-0@@ -87,6 +87,7 @@ config BR2_PACKAGE_LIBGTK4_X11 config BR2_PACKAGE_LIBGTK4_GSTREAMER bool "gstreamer support" + depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES select BR2_PACKAGE_GSTREAMER1 select BR2_PACKAGE_GST1_PLUGINS_BASE select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL@@ -94,6 +95,9 @@ config BR2_PACKAGE_LIBGTK4_GSTREAMER help Enable gstreamer support. +comment "gstreamer support needs an OpenGL or OpenGL ES backend" + depends on !BR2_PACKAGE_HAS_LIBGL && !BR2_PACKAGE_HAS_LIBGLES + config BR2_PACKAGE_LIBGTK4_DEMO bool "Install libgtk4 demo/example programs" select BR2_PACKAGE_SHARED_MIME_INFOSignature · 6 lines
2.52.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
PATCH 9/11 package/perl-dbd-mysql: update dependency comments
In reply to Thomas Petazzoni via buildrootSince commit 8708f3a23a7e28fdb04fc57406e13e6b7ff4a337 ("package/mysql:
drop virtual package"), we no longer have mysql as a virtual package, and therefore perl-dbd-mysql directly selects mariadb. As part of that, the comments related to the dependencies have not been updated accordingly. Fix that up.
--- package/perl-dbd-mysql/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
package/perl-dbd-mysql/Config.in +3 -3
@@ -1,9 +1,9 @@ config BR2_PACKAGE_PERL_DBD_MYSQL bool "perl-dbd-mysql" depends on !BR2_STATIC_LIBS - depends on BR2_INSTALL_LIBSTDCPP # mysql - depends on BR2_USE_MMU # mysql - depends on BR2_TOOLCHAIN_HAS_THREADS # mysql + depends on BR2_INSTALL_LIBSTDCPP # mariadb + depends on BR2_USE_MMU # mariadb + depends on BR2_TOOLCHAIN_HAS_THREADS # mariadb select BR2_PACKAGE_MARIADB select BR2_PACKAGE_PERL_DBI # runtime help
Signature · 6 lines
2.52.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 09/11] package/perl-dbd-mysql: update dependency comments
In reply of:
Quoted 7 lines
Since commit
8708f3a23a7e28fdb04fc57406e13e6b7ff4a337("package/mysql:
drop virtual package"), we no longer have mysql as a virtual package, and therefore perl-dbd-mysql directly selects mariadb. As part of that, the comments related to the dependencies have not been updated accordingly. Fix that up.Signed-off-by Thomas Petazzoni <[email protected]>
Applied to 2025.02.x and 2025.11.x. Thanks
Quoted 28 lines
--- package/perl-dbd-mysql/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)package/perl-dbd-mysql/Config.in +3
-3@@ -1,9 +1,9 @@ config BR2_PACKAGE_PERL_DBD_MYSQL bool "perl-dbd-mysql" depends on !BR2_STATIC_LIBS - depends on BR2_INSTALL_LIBSTDCPP # mysql - depends on BR2_USE_MMU # mysql - depends on BR2_TOOLCHAIN_HAS_THREADS # mysql + depends on BR2_INSTALL_LIBSTDCPP # mariadb + depends on BR2_USE_MMU # mariadb + depends on BR2_TOOLCHAIN_HAS_THREADS # mariadb select BR2_PACKAGE_MARIADB select BR2_PACKAGE_PERL_DBI # runtime helpSignature · 6 lines
2.52.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
PATCH 10/11 package/perl-dbd-mysql: add missing dependencies
In reply to Thomas Petazzoni via buildrootSince commit 8708f3a23a7e28fdb04fc57406e13e6b7ff4a337 ("package/mysql:
drop virtual package"), we no longer have mysql as a virtual package, and therefore perl-dbd-mysql directly selects mariadb. However, mariadb as stricter dependencies than what the mysql virtual package had, and this commit forgot to properly propagate those dependencies, causing a Config.in warning:
WARNING: unmet direct dependencies detected for BR2_PACKAGE_MARIADB
Depends on [n]: BR2_INSTALL_LIBSTDCPP [=y] && !BR2_STATIC_LIBS [=n] && BR2_USE_MMU [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] && (BR2_TOOLCHAIN_HAS_ATOMIC [=y] || BR2_TOOLCHAIN_HAS_SYNC_8 [=n]) && BR2_USE_WCHAR [=n] Selected by [y]:
- BR2_PACKAGE_PERL_DBD_MYSQL [=y] && BR2_PACKAGE_PERL [=y] && !BR2_STATIC_LIBS [=n] && BR2_INSTALL_LIBSTDCPP [=y] && BR2_USE_MMU [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y]
--- package/perl-dbd-mysql/Config.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
package/perl-dbd-mysql/Config.in +5 -2
@@ -4,6 +4,8 @@ config BR2_PACKAGE_PERL_DBD_MYSQL depends on BR2_INSTALL_LIBSTDCPP # mariadb depends on BR2_USE_MMU # mariadb depends on BR2_TOOLCHAIN_HAS_THREADS # mariadb + depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8 # mariadb + depends on BR2_USE_WCHAR # mariadb select BR2_PACKAGE_MARIADB select BR2_PACKAGE_PERL_DBI # runtime help
@@ -11,7 +13,8 @@ config BR2_PACKAGE_PERL_DBD_MYSQL http://dbi.perl.org/ -comment "perl-dbd-mysql needs a toolchain w/ dynamic library, C++, threads" +comment "perl-dbd-mysql needs a toolchain w/ dynamic library, wchar, C++, threads" depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8 depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_HAS_THREADS + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
Signature · 6 lines
2.52.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 10/11] package/perl-dbd-mysql: add missing dependencies
In reply of:
Quoted 7 lines
Since commit
8708f3a23a7e28fdb04fc57406e13e6b7ff4a337("package/mysql:
drop virtual package"), we no longer have mysql as a virtual package, and therefore perl-dbd-mysql directly selects mariadb. However, mariadb as stricter dependencies than what the mysql virtual package had, and this commit forgot to properly propagate those dependencies, causing a Config.in warning:
Quoted 7 lines
WARNING: unmet direct dependencies detected for
BR2_PACKAGE_MARIADB
Depends on [n]:BR2_INSTALL_LIBSTDCPP[=y] && !BR2_STATIC_LIBS [=n] &&BR2_USE_MMU[=y] &&BR2_TOOLCHAIN_HAS_THREADS[=y] && (BR2_TOOLCHAIN_HAS_ATOMIC[=y] ||BR2_TOOLCHAIN_HAS_SYNC_8[=n]) &&BR2_USE_WCHAR[=n] Selected by [y]:
-BR2_PACKAGE_PERL_DBD_MYSQL[=y] &&BR2_PACKAGE_PERL[=y] && !BR2_STATIC_LIBS [=n] &&BR2_INSTALL_LIBSTDCPP[=y] &&BR2_USE_MMU[=y] &&BR2_TOOLCHAIN_HAS_THREADS[=y]Fixes 8708f3a23a7e28fdb04fc57406e13e6b7ff4a337 ("package/mysql: drop virtual package")Signed-off-by Thomas Petazzoni <[email protected]>
Applied to 2025.02.x and 2025.11.x. Thanks
Quoted 35 lines
--- package/perl-dbd-mysql/Config.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)package/perl-dbd-mysql/Config.in +5
-2@@ -4,6 +4,8 @@ config BR2_PACKAGE_PERL_DBD_MYSQL depends on BR2_INSTALL_LIBSTDCPP # mariadb depends on BR2_USE_MMU # mariadb depends on BR2_TOOLCHAIN_HAS_THREADS # mariadb + depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8 # mariadb + depends on BR2_USE_WCHAR # mariadb select BR2_PACKAGE_MARIADB select BR2_PACKAGE_PERL_DBI # runtime help@@ -11,7 +13,8 @@ config BR2_PACKAGE_PERL_DBD_MYSQL http://dbi.perl.org/ -comment "perl-dbd-mysql needs a toolchain w/ dynamic library, C++, threads" +comment "perl-dbd-mysql needs a toolchain w/ dynamic library, wchar, C++, threads" depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8 depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_HAS_THREADS + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHARSignature · 6 lines
2.52.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
PATCH 11/11 package/shairport-sync: propagate dependencies
In reply to Thomas Petazzoni via buildrootIn commit1abaf013dede73cb148a95d4ed708429776033f3 ("package/shairport-sync: add support for AirPlay2"), a new option was added, selecting various packages, without properly propagating their dependencies, causing Config.in warnings such as:
WARNING: unmet direct dependencies detected for BR2_PACKAGE_LIBGCRYPT
Depends on [n]: BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS [=n] Selected by [y]:
- BR2_PACKAGE_SHAIRPORT_SYNC_AIRPLAY2 [=y] && BR2_PACKAGE_SHAIRPORT_SYNC [=y]
This commit fixes this mistake.
--- package/shairport-sync/Config.in | 3 +++ 1 file changed, 3 insertions(+)
package/shairport-sync/Config.in +3 -0
@@ -28,6 +28,9 @@ config BR2_PACKAGE_SHAIRPORT_SYNC_CONVOLUTION config BR2_PACKAGE_SHAIRPORT_SYNC_AIRPLAY2 bool "AirPlay2 support" + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt + depends on BR2_USE_MMU # nqptp + depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS # ffmpeg select BR2_PACKAGE_NQPTP # runtime select BR2_PACKAGE_LIBPLIST select BR2_PACKAGE_LIBSODIUM
Signature · 6 lines
2.52.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 13 lines · Thomas Petazzoni via buildroot
Commit
f933a165e2ee2ee775c7fa0824d2bfcfa9545f88("package/podman:
raise kernel header requirement to v4.14") raised the kernel headers dependency of podman from 3.17 to 4.14, but forgot to propagate this change to the mender-update-modules podman option, causing the following kconfig warning:WARNING: unmet direct dependencies detected for
BR2_PACKAGE_PODMAN
Depends on [n]:BR2_USE_MMU[=y] &&BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS[=y] &&BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS[=y] &&BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS[=y] &&BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS[=y] &&BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14[=n] &&BR2_TOOLCHAIN_HAS_THREADS[=y] &&BR2_USE_WCHAR[=y]
Selected by [y]:
-BR2_PACKAGE_MENDER_UPDATE_MODULES_PODMAN[=y] &&BR2_PACKAGE_MENDER_UPDATE_MODULES[=y] &&BR2_USE_MMU[=y] &&BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS[=y] &&BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS[=y] &&BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS[=y] &&BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS[=y] &&BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17[=y] &&BR2_TOOLCHAIN_HAS_THREADS[=y] &&BR2_USE_WCHAR[=y]
Quoted 4 lines
Fix this by properly propagating the dependency.
Fixes f933a165e2ee2ee775c7fa0824d2bfcfa9545f88 ("package/podman: raise kernel header requirement to v4.14")Signed-off-by Thomas Petazzoni <[email protected]>
Series applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
In reply of:
Quoted 11 lines
Commit
f933a165e2ee2ee775c7fa0824d2bfcfa9545f88("package/podman:
raise kernel header requirement to v4.14") raised the kernel headers dependency of podman from 3.17 to 4.14, but forgot to propagate this change to the mender-update-modules podman option, causing the following kconfig warning:WARNING: unmet direct dependencies detected for
BR2_PACKAGE_PODMAN
Depends on [n]:BR2_USE_MMU[=y] &&BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS[=y] &&BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS[=y] &&BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS[=y] &&BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS[=y] &&BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14[=n] &&BR2_TOOLCHAIN_HAS_THREADS[=y] &&BR2_USE_WCHAR[=y]
Selected by [y]:
-BR2_PACKAGE_MENDER_UPDATE_MODULES_PODMAN[=y] &&BR2_PACKAGE_MENDER_UPDATE_MODULES[=y] &&BR2_USE_MMU[=y] &&BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS[=y] &&BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS[=y] &&BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS[=y] &&BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS[=y] &&BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17[=y] &&BR2_TOOLCHAIN_HAS_THREADS[=y] &&BR2_USE_WCHAR[=y]
Quoted 4 lines
Fix this by properly propagating the dependency.
Fixes f933a165e2ee2ee775c7fa0824d2bfcfa9545f88 ("package/podman: raise kernel header requirement to v4.14")Signed-off-by Thomas Petazzoni <[email protected]>
Applied to 2025.11.x. Thanks
Quoted 40 lines
--- package/mender-update-modules/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)package/mender-update-modules/Config.in +3
-3@@ -132,7 +132,7 @@ config BR2_PACKAGE_MENDER_UPDATE_MODULES_PODMAN depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # podman depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # podman depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS # podman - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # podman + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 # podman depends on BR2_TOOLCHAIN_HAS_THREADS # podman depends on BR2_USE_WCHAR # podman select BR2_PACKAGE_JQ # runtime@@ -150,13 +150,13 @@ config BR2_PACKAGE_MENDER_UPDATE_MODULES_PODMAN https://github.com/mendersoftware/mender-update-modules/tree/master/podman -comment "podman support needs a toolchain w/ headers >= 3.17, threads, wchar" +comment "podman support needs a toolchain w/ headers >= 4.14, threads, wchar" depends on BR2_USE_MMU depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 \ + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 \ || !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_USE_WCHARSignature · 6 lines
2.52.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