I fixed a lot: https://gist.github.com/sausix/2df9897832aa9ecb04b77ccfe8cc0056
- Without having
python3.13installed there was no way of compiling:
CMake Error at build/source/creator/cmake_install.cmake:350 (file):
file INSTALL cannot find "/usr/lib64/python3.13": No such file or
directory.
Call Stack (most recent call first):
build/cmake_install.cmake:67 (include)
Removing the sed patch solved the issue.
-
Most
CMAKE_FLAGSwere ignored because-C "${srcdir}/blender/build_files/cmake/config/blender_release.cmake"appeared after individual settings and that reverted to defaults. 8GB of existing Python modules moved into the package again. Moved the instruction to the top. -
Blender compile failed because external ceres-solver and internal routines collided somehow and resulted in
blender --helpoutputting:ERROR: flag 'logtostderr' was defined more than once (in files '/usr/src/debug/google-glog/google-glog/src/flags.cc' and 'extern/glog/src/logging.cc').Added-DWITH_SYSTEM_GLOG=ONand-WITH_SYSTEM_GFLAGS=ONto ignore internal routines. -
I've set some Python paths so at least blender-git always compiles against the system Python environment. Because of python-uv and other installed Python interpreters on my machine in $HOME blender-git tried to compile against them and also tried to open Blender on them and failed.
Note for Python developers having multiple Python insterpreters installed:blender-gitand also the officialblenderpackage will fail to open until you setPYTHONEXECUTABLE=/usr/bin/python3.14. Or blender will complain about not finding the math module.
Pinned Comments
bartus commented on 2025-10-31 09:46 (UTC) (edited on 2025-10-31 09:51 (UTC) by bartus)
blener-gitcheck out blender-develop-gitfbrennan commented on 2025-08-18 16:53 (UTC) (edited on 2025-08-18 16:54 (UTC) by fbrennan)
I had hoped that there would be some alternative to requiring Git LFS. However, given how many months have passed, it seems that this is going to be a permanent requirement for building going forwards from the Blender development team. So, I have accepted the patch of @
sausixand have only modified it in that I added a dependency tomakepkg-git-lfs-protowhich you need for makepkg to understand git-lfs protocol.As usual, if you have trouble building remember Blender is a fast moving project. If no comment helps, rewind the Git repository to the version we last advertised as building with the PKGBUILD.