Created attachment 189908 [details] v1 Hi there kde@ would like to ask for an exp-run to upgrade cmake to 3.10.2. The patch is attached, and can also be found here: http://people.freebsd.org/~tcberner/patches/cmake-3.10.2.v1.diff mfg Tobias
This release doesn't seem to have Boost 1.66 support. Can you cherry-pick it then?
Give me a moment...
Created attachment 189918 [details] v2 Add upstream commit: https://github.com/Kitware/CMake/commit/3f4924aa60889dd2a34a2a1ba6877528779867d0 New patch: http://people.freebsd.org/~tcberner/patches/cmake-3.10.2.v2.diff
LGTM. The upstream commits were merged to master, and not backported to the 3.10 release branch (which we've done here). It should make future updates a little less painful (a new Boost version can be exp-run by adding a CMAKE_ARGS globally).
(In reply to Tobias C. Berner from comment #3) Is the patch v2 okay for FreeBSD 11.1 RELEASE?
(In reply to lumiwa from comment #5) Hi there There should be nothing version specific, yes. Why do you mean? Mfg Tobias
Because I cannot build anymore some ports including openshadowlanguage and it is related to CMAKE. CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindBoost.cmake:906 (_Boost_COMPONENT_DEPENDENCIES) /usr/local/share/cmake/Modules/FindBoost.cmake:1541 (_Boost_MISSING_DEPENDENCIES) src/cmake/externalpackages.cmake:173 (find_package) CMakeLists.txt:358 (include) CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindBoost.cmake:906 (_Boost_COMPONENT_DEPENDENCIES) /usr/local/share/cmake/Modules/FindBoost.cmake:1541 (_Boost_MISSING_DEPENDENCIES) src/cmake/externalpackages.cmake:173 (find_package) CMakeLists.txt:358 (include) CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindBoost.cmake:906 (_Boost_COMPONENT_DEPENDENCIES) /usr/local/share/cmake/Modules/FindBoost.cmake:1541 (_Boost_MISSING_DEPENDENCIES) src/cmake/externalpackages.cmake:173 (find_package) CMakeLists.txt:358 (include) CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindBoost.cmake:906 (_Boost_COMPONENT_DEPENDENCIES) /usr/local/share/cmake/Modules/FindBoost.cmake:1541 (_Boost_MISSING_DEPENDENCIES) src/cmake/externalpackages.cmake:173 (find_package) CMakeLists.txt:358 (include) CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindBoost.cmake:906 (_Boost_COMPONENT_DEPENDENCIES) /usr/local/share/cmake/Modules/FindBoost.cmake:1541 (_Boost_MISSING_DEPENDENCIES) src/cmake/externalpackages.cmake:173 (find_package) CMakeLists.txt:358 (include) CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:801 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindBoost.cmake:906 (_Boost_COMPONENT_DEPENDENCIES) /usr/local/share/cmake/Modules/FindBoost.cmake:1541 (_Boost_MISSING_DEPENDENCIES) src/cmake/externalpackages.cmake:173 (find_package) CMakeLists.txt:358 (include) -- No Partio found -- CMAKE_INSTALL_RPATH = /usr/local/lib -- Create oslversion.h from oslversion.h.in -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_DEBUG CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_RELEASE CMAKE_MODULE_LINKER_FLAGS CMAKE_VERBOSE_MAKEFILE Thank you.
@lumiwa: all you're showing is CMake warnings, not errors. Which ports are actually affected, and what does the error log show? It is expected that CMake 3.10.1 (and 3.10.2 with these patches) prints a warning, but imported targets for Boost used by other projects should "still work".
@lumiwa, provide more details as graphics/openshadinglanguage builds fine on the package cluster even after devel/boost-libs updated to 1.66.0. http://beefy6.nyi.freebsd.org/data/103amd64-default/459491/logs/openshadinglanguage-1.8.10_6.log http://beefy5.nyi.freebsd.org/data/103i386-default/459491/logs/openshadinglanguage-1.8.10_6.log http://beefy9.nyi.freebsd.org/data/111amd64-default/459491/logs/openshadinglanguage-1.8.10_6.log http://beefy10.nyi.freebsd.org/data/111i386-default/459491/logs/openshadinglanguage-1.8.10_6.log http://beefy12.nyi.freebsd.org/data/head-amd64-default/p459491_s328183/logs/openshadinglanguage-1.8.10_6.log http://beefy11.nyi.freebsd.org/data/head-i386-default/p459491_s328183/logs/openshadinglanguage-1.8.10_6.log
Exp-run looks fine.
A commit references this bug: Author: tcberner Date: Wed Jan 24 18:29:09 UTC 2018 New revision: 459851 URL: https://svnweb.freebsd.org/changeset/ports/459851 Log: Update devel/cmake & Co. to 3.10.2 * Adds an upstream patch to work with boost 1.66 additionally. PR: 225318 Exp-run by: antoine Changes: head/devel/cmake/Makefile head/devel/cmake/distinfo head/devel/cmake/files/patch-Modules_FindBoost.cmake head/devel/cmake/files/patch-git_3f4924-boost_1.66 head/devel/cmake-doc/Makefile head/devel/cmake-gui/Makefile
Thank you for the exp-run. mfg Tobias
(In reply to Antoine Brodin from comment #10) I do not know why but after yesterdays cmake update I did install openshading language and everything works as before. BTW: I am back from Synth to portmaster because I have a bad HD and I didn't buy the new one yet. Maybe was portmaster related??