Created attachment 4313 [details] Log of do_configure task for example recipe (sumo, failed) Branch sumo currently includes cmake 3.10.3 and boost 1.66.0. Unfortunately, that version of cmake can only find boost versions of up to 1.65.1. Attached are the logs from the do_configure task for both sumo (where the error occurs) and rocko (where the error does not occur). Also attached is a minimal working example that has been used to test and reproduce the error. Preconditions/Environment ------------------------- poky.git: b369e613a1d3af6439905724031aa2b75423aeee Triggering Action/Cause ----------------------- Try to build a recipe with a cmake-based project that requires boost. Expectation ----------- Boost and its required components are found. Actual Result ------------- Required components are not found. Reproducibility --------------- Always. Possible Solution ----------------- The current version 3.11.2 of cmake knows how to find boost up to version 1.67.0, so a reasonable solution would be to upgrade cmake.
Created attachment 4314 [details] Log of do_configure task for example recipe (rocko, succeeded)
Created attachment 4315 [details] Minimal working example to reproduce error
I've exactly the same problem. Since cmake-3.11 is required to use boost-1.66, both has to be available in sumo. (As a workaround I've added cmake-3.11 to my own layer)
this should affect Master. it is at the same cmake version as sumo is currently.
found some patches we will need to backport
cmake commit: https://gitlab.kitware.com/cmake/cmake/commit/433a2d495a2481c63b82c11a30f7c642d6abe63f fixed it for sumo
Master will need to have cmake updated or more patches back ported to support boost 1.67
master: https://patchwork.openembedded.org/patch/151356/ https://patchwork.openembedded.org/patch/151355/ sumo: once committed to master https://patchwork.openembedded.org/patch/151357/
the fix is in master. http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5dbcf72c6466c96e51d803e499e4e2184250aaa8 http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=dd475f1d04b3a091e704a6193bbcf902197f12cc the fix: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5dbcf72c6466c96e51d803e499e4e2184250aaa8 backported to sumo and is under test.
sent a selftest for cmake to the list too
sumo build passed. may be in sumo proper in the next merge by RP
fixed in sumo http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=sumo&id=2b2ea2fa33941208c2903e575adc27638c367abf
.