-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug
Due to the version upgrade of brew in github macos runners, recent runs of the clp-core-build-macos have been failing with the following logs:
CMake Error at /opt/homebrew/lib/cmake/Boost-1.89.0/BoostConfig.cmake:141 (find_package):
-- Configuring incomplete, errors occurred!
Could not find a package configuration file provided by "boost_system"
(requested version 1.89.0) with any of the following names:
boost_systemConfig.cmake
boost_system-config.cmake
Add the installation prefix of "boost_system" to CMAKE_PREFIX_PATH or set
"boost_system_DIR" to a directory containing one of the above files. If
"boost_system" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
/opt/homebrew/lib/cmake/Boost-1.89.0/BoostConfig.cmake:262 (boost_find_component)
/opt/homebrew/share/cmake/Modules/FindBoost.cmake:610 (find_package)
CMakeLists.txt:159 (find_package)
Traceback (most recent call last):
File "/Users/runner/work/clp/clp/components/core/./tools/scripts/utils/build-and-run-unit-tests.py", line 101, in <module>
sys.exit(main(sys.argv))
~~~~^^^^^^^^^^
File "/Users/runner/work/clp/clp/components/core/./tools/scripts/utils/build-and-run-unit-tests.py", line 93, in main
_config_cmake_project(src_dir, build_dir, use_shared_libs)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/runner/work/clp/clp/components/core/./tools/scripts/utils/build-and-run-unit-tests.py", line 34, in _config_cmake_project
subprocess.run(cmd, check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.13.5/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['cmake', '-S', '.', '-B', 'build']' returned non-zero exit status 1.
Error: Process completed with exit code 1.
CLP version
Environment
MacOS
Reproduction steps
Run the clp-core-build-macos workflow, or try to compile CLP on a macos machine.
Reason
Boost::system is no longer a target and is now a HL library: boostorg/system@7a495bb
Proposed solution
Remove all Boost::system. Bump Boost to 1.89.0 across all OS platforms.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working