Build process in Docker breaks due to missing dependencies
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cmake, docker, linux
- Lĩnh vực
- build-system, documentation
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- CMake
- Star
- 4.7k
- Fork
- 321
- Merge trung bình
- 13 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của OpenMoonRay/openmoonray
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
OpenMoonRay/openmoonray#332 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
OpenMoonRay/openmoonray#320 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
OpenMoonRay/openmoonray#233 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
OpenMoonRay/openmoonray#331 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
OpenMoonRay/openmoonray#330 ·
Tất cả issue của OpenMoonRay/openmoonray
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
bigbio/sdrf-pipelines#372 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
yara-x fails to build with rsa 0.10.0: unresolved import rsa::Pkcs1v15SignCó thể đã có người làm @CfirTsabari đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 87/100
VirusTotal/yara-x#865 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
Maintainer thường phản hồi trong vòng 1 ngày
-
backend prio:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
digitalfabrik/entitlementcard#3262 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
apache/cordova-ios#1751 ·
Maintainer thường phản hồi trong vòng 1 ngày