Downstream build errors with head
envgap__ceres-solver__ceres-solver-1140
Original GitHub issue ↗Opened 2025-02-26
01 / FAILURE SIGNATURE
As reported upstream
at this point i get a cmake error:
Not a benchmark task.
- No curated issue-specific recipe or verified environment fix is available.
02 / ENVIRONMENT RECIPE
- Base commit
Not freshly verified- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
ceres-solver/ceres-solver #1140 · read the original issue
I'm trying to build colmap with the newest ceres version and it appears to me, that something is misconfigured.
for ceres, i dit the following:
```
git clone git@github.com:ceres-solver/ceres-solver.git --recursive ceres
cd ceres && mkdir build && cd build
cmake .. -GNinja -DCMAKE_INSTALL_PREFIX=$HOME/bin/ceres
ninja && ninja install
```
for colmapp i did the following
```
git clone https://github.com/colmap/colmap --recursive
cd colmap && mkdir build && cd build
cmake .. -GNinja -DCMAKE_PREFIX_PATH=$HOME/bin/ceres -DCMAKE_CUDA_ARCHITECTURES=native -DCMAKE_INSTALL_PREFIX=$HOME/bin/colma
```
at this point i get a cmake error:
```
CMake Error at /usr/share/cmake-3.25/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
Found package configuration file:
/home/madam/bin/ceres/lib/cmake/absl/abslConfig.cmake
but it set absl_FOUND to FALSE so package "absl" is considered to be NOT
FOUND. Reason given by package:
The following imported targets are referenced, but are missing:
GTest::gmock
Call Stack (most recent call first):
/home/madam/bin/ceres/lib/cmake/Ceres/CeresConfig.cmake:199 (find_dependency)
cmake/FindDependencies.cmake:41 (find_package)
CMakeLists.txt:116 (include)
```
I'm not completely certain this is a ceres issue, but given the recent cmake refactoring i ifigured it might :)
I'm on debian 12 bookworm.04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]
Issue-specific recipe and runtime smoke command require review against the complete issue and repository.
Legacy reproduction is generic install-only; match the actual issue failure before admission.