Build process in Docker breaks due to missing dependencies
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cmake, docker, linux
- Domain
- build-system, documentation
Research direction
Start with the Rocky 9 container build instructions linked in the issue and the dependency checks in arras/arras4_core/CMakeLists.txt and arras/arras_render/CMakeLists.txt. Compare the documented packages with the missing JsonCpp and OpenEXR development dependencies reported during CMake configuration. Done means the instructions identify the needed dependencies and a fresh container build proceeds past configuration.
Written by the indexing model from the issue text.
Description
Hello out there, Im using a Debian testing system with Docker version 29.3.1 (not from Debian but from Docker.com). I followed the instruction https://docs.openmoonray.org/getting-started/installation/building-moonray/rocky9_container_build/ and everything worked as described. But with the command
cmake /source -DPYTHON_EXECUTABLE=python3 -DBOOST_PYTHON_COMPONENT_NAME=python39 -DABI_VERSION=0 -DMOONRAY_USE_OPTIX=NO
the build process broke:
-- The C compiler identification is GNU 11.5.0
-- The CXX compiler identification is GNU 11.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for a CUDA compiler
-- Looking for a CUDA compiler - NOTFOUND
-- No CUDA support
-- Looking for TBB components tbb; (tbbmalloc;tbbmalloc_proxy;tbbbind;tbbpreview)
-- Found TBB version 2020.3 at /usr
-- Found Boost: /usr/lib64/cmake/Boost-1.75.0/BoostConfig.cmake (found version "1.75.0") found components: chrono date_time filesystem program_options system
-- Found Libuuid: /lib64/libuuid.so
-- Found Libcurl: /lib64/libcurl.so.4
-- Found Libatomic: /lib64/libatomic.so.1
-- Found Microhttpd: /lib64/libmicrohttpd.so
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find JsonCpp (missing: JsonCpp_LIBRARIES)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/cmake/FindJsonCpp.cmake:34 (find_package_handle_standard_args)
arras/arras4_core/CMakeLists.txt:55 (find_package)
I tried to solve this problem by installing jsoncpp-devel-1.9.5-1.el9.x86_64.rpm with the package manager but faced another obstacle:
-- No CUDA support
-- Looking for TBB components tbb; (tbbmalloc;tbbmalloc_proxy;tbbbind;tbbpreview)
-- Found TBB version 2020.3 at /usr
-- Found JsonCpp: /lib64/libjsoncpp.so
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.5.1")
-- Found CppUnit: /lib64/libcppunit.so
-- Found Boost: /usr/lib64/cmake/Boost-1.75.0/BoostConfig.cmake (found version "1.75.0") found components: chrono date_time filesystem program_options
-- Found Boost: /usr/lib64/cmake/Boost-1.75.0/BoostConfig.cmake (found version "1.75.0") found components: chrono program_options filesystem
-- Found JPEG: /usr/lib64/libjpeg.so (found version "62")
CMake Error at arras/arras_render/CMakeLists.txt:42 (find_package):
By not providing "FindOpenEXR.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "OpenEXR", but
CMake did not find one.
Could not find a package configuration file provided by "OpenEXR" with any
of the following names:
OpenEXRConfig.cmake
openexr-config.cmake
Add the installation prefix of "OpenEXR" to CMAKE_PREFIX_PATH or set
"OpenEXR_DIR" to a directory containing one of the above files. If
"OpenEXR" provides a separate development package or SDK, be sure it has
been installed.
So it seems there are several packages and/or build instructions missing?
Thanks a lot
BR /Chris
- Dominant language
- CMake
- Stars
- 4.7k
- Forks
- 321
- Avg merge
- 13m
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from OpenMoonRay/openmoonray
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
OpenMoonRay/openmoonray#332 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
OpenMoonRay/openmoonray#320 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
OpenMoonRay/openmoonray#233 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 57/100
OpenMoonRay/openmoonray#331 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
OpenMoonRay/openmoonray#330 ·
All issues in OpenMoonRay/openmoonray
Similar issues
-
cleanup documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
check-typing: ty 0.0.98+ fails on the renamed rule `unresolved-import` (now `import-not-found`)Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
crossbario/crossbar#2383 ·
Maintainers usually reply within 1 day
-
check-typing: ty 0.0.98+ fails on the renamed rule `unresolved-import` (now `import-not-found`)Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 94/100
crossbario/autobahn-python#2046 ·
Maintainers usually reply within 1 day
-
Fresh comstockpostproc install fails on import: PyAthena 4.x requires SQLAlchemy 2 (AttributeError: sqlalchemy.types has no attribute DOUBLE)Possibly taken @JanghyunJK claimed this today. Openpostprocessing
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
NatLabRockies/ComStock#473 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
transitmatters/stripmap#45 ·
Maintainers usually reply within 3 days