reschroot fails with Boost 1.89.0
Open
Nobody has claimed this yet.
bug
- Dominant language
- Makefile
- Stars
- 4.6k
- Forks
- 4k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 134
Description
Package Name
reschroot
Maintainer
@jmarcet
OpenWrt Version
snapshot
OpenWrt Target/Subtarget
all
Steps to Reproduce
Try to compile reschroot for OpenWrt snapshot and it will fail.
Actual Behaviour
Build bot log:
-- Found Threads: TRUE
CMake Warning (dev) at CMakeLists.txt:60 (include):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Boost: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake (found version "1.89.0")
CMake Warning (dev) at CMakeLists.txt:61 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:141 (find_package):
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):
/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:262 (boost_find_component)
/builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.31/Modules/FindBoost.cmake:610 (find_package)
CMakeLists.txt:61 (find_package)
-- Configuring incomplete, errors occurred!
make[3]: *** [Makefile:92: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/reschroot-1.6.13/reschroot/.configured_54920849d3811e5b0b0646622e5da1f5] Error 1
-- Found Threads: TRUE
CMake Warning (dev) at CMakeLists.txt:60 (include):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Boost: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake (found version "1.89.0")
CMake Warning (dev) at CMakeLists.txt:61 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:141 (find_package):
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):
/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:262 (boost_find_component)
/builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.31/Modules/FindBoost.cmake:610 (find_package)
CMakeLists.txt:61 (find_package)
-- Configuring incomplete, errors occurred!
make[3]: *** [Makefile:92: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/reschroot-1.6.13/reschroot/.configured_54920849d3811e5b0b0646622e5da1f5] Error 1-- Found Threads: TRUE
CMake Warning (dev) at CMakeLists.txt:60 (include):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Boost: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake (found version "1.89.0")
CMake Warning (dev) at CMakeLists.txt:61 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:141 (find_package):
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):
/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:262 (boost_find_component)
/builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.31/Modules/FindBoost.cmake:610 (find_package)
CMakeLists.txt:61 (find_package)
-- Configuring incomplete, errors occurred!
make[3]: *** [Makefile:92: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/reschroot-1.6.13/reschroot/.configured_54920849d3811e5b0b0646622e5da1f5] Error 1-- Found Threads: TRUE
CMake Warning (dev) at CMakeLists.txt:60 (include):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found Boost: /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake (found version "1.89.0")
CMake Warning (dev) at CMakeLists.txt:61 (find_package):
Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
--help-policy CMP0167" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:141 (find_package):
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):
/builder/shared-workdir/build/sdk/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:262 (boost_find_component)
/builder/shared-workdir/build/sdk/staging_dir/host/share/cmake-3.31/Modules/FindBoost.cmake:610 (find_package)
CMakeLists.txt:61 (find_package)
-- Configuring incomplete, errors occurred!
make[3]: *** [Makefile:92: /builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/reschroot-1.6.13/reschroot/.configured_54920849d3811e5b0b0646622e5da1f5] Error
From: https://downloads.openwrt.org/snapshots/faillogs/aarch64_cortex-a53/packages/schroot/compile.txt
Upstream issue, where is also patch: https://codeberg.org/shelter/reschroot/issues/33 to fix it, which we need to backport it
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CMakeLists.txt find_package call at line 61 and compare it with the fix proposed in upstream reschroot issue 33. Reproduce the failure by compiling reschroot for an OpenWrt snapshot, then verify that the package builds successfully with Boost 1.89.0.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100