| Summary: | dnf build-dep does not install all required deps to build Blender from source | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Kristoffer Grundström <lovaren> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | lewyssmith, lovaren, marja11, ngompa13 |
| Version: | 8 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | dnf-4.6.0-1.mga8.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: |
CMakeError output
dnf builddep output |
||
|
Description
Kristoffer Grundström
2021-12-04 15:19:57 CET
Usually when you raise a bug like this, it turns out that you are doing something not quite right. I cannot judge this case, so am leaving it with BugSquad for wider visibility. CC'ing Neal for DNF, although it is often tmb who explains things. Source RPM:
dnf =>
dnf-4.6.0-1.mga8.src.rpm Created attachment 13052 [details]
dnf builddep output
So aside from a missing build dependency in the spec on "make" (which I had to install separately after using "dnf builddep"), it looks like everything is there.
I see lib64python3-devel installed, which provides all the things the Blender CMakeLists should be able to detect and use for building Blender.
However, it doesn't work because the Blender CMake scripts are looking for Python 3.9 or higher (Mageia 8 only has Python 3.8), and when I try to force it, it fails saying it needs Python 3.9.
For example:
[root@aef0fecb929c blender-3.0.0]# cmake -B ../blender-build -S . -DPYTHON_VERSION=3.8 -DWITH_PYTHON_INSTALL=OFF -DWITH_PYTHON_INSTALL_REQUESTS=OFF
-- WITH_DRACO requires WITH_PYTHON_INSTALL to be ON, disabling WITH_DRACO for now
CMake Error at CMakeLists.txt:881 (message):
At least Python 3.9 is required to build, but found Python 3.8
-- Configuring incomplete, errors occurred!
See also "/blender-build/CMakeFiles/CMakeOutput.log".
See also "/blender-build/CMakeFiles/CMakeError.log".
Thanks for having looked into this, Neal. Closing as invalid CC:
(none) =>
marja11 |