@mith: makepkg -e works perfectly fine here.
@sausix: Just compile in a clean chroot env, and you'll be fine - fixing all the potential aberrations from the local env is needless work 👍 Moreover, embedding a Python interpreter is redundant if you're not releasing the package to be used on a system with a different default Python interpreter.
Search Criteria
Package Details: blender-git 5.2.r160573.g65b811645fc6-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/blender-git.git (read-only, click to copy) |
|---|---|
| Package Base: | blender-git |
| Description: | A fully integrated 3D graphics creation suite (development) |
| Upstream URL: | https://blender.org/ |
| Licenses: | GPL |
| Conflicts: | blender |
| Provides: | blender |
| Submitter: | stativ |
| Maintainer: | fbrennan (bartus) |
| Last Packager: | bartus |
| Votes: | 76 |
| Popularity: | 0.80 |
| First Submitted: | 2013-12-05 10:11 (UTC) |
| Last Updated: | 2026-04-28 12:16 (UTC) |
Dependencies (52)
- alembic (alembic-gitAUR)
- ccache (ccache-gitAUR)
- ceres-solver (ceres-solver-legacyAUR, ceres-solver-cuda-gitAUR, ceres-solver-gitAUR, ceres-solver-cudaAUR, ceres-solver-lgplAUR)
- eigen (eigen-gitAUR, eigen3)
- embree (embree-gitAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, librempeg-gitAUR, ffmpeg-whisper-gitAUR, ffmpeg-gitAUR, ffmpeg-fullAUR, ffmpeg-full-llvmAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-headlessAUR, ffmpeg-whisperAUR, ffmpeg-cuda-fullAUR, ffmpeg-full-gitAUR, ffmpeg-amd-full-gitAUR)
- fftw (fftw-amdAUR)
- freetype2 (freetype2-qdoled-aw3225qfAUR, freetype2-qdoled-gen3AUR, freetype2-gitAUR, freetype2-macosAUR, freetype2-qdoledAUR, freetype2-woledAUR)
- libdecor (libdecor-gitAUR, libdecor-rsAUR)
- libepoxy (libepoxy-gitAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utils-macbookAUR, libglvnd)
- libharu
- libpng (libpng-gitAUR, libpng-apngAUR)
- libtiff (libtiff-gitAUR, libtiff-lercAUR)
- libxi (libxi-gitAUR)
- manifold
- openal (openal-gitAUR)
- opencolorio (opencolorio-gitAUR)
- openimageio (openimageio-gitAUR)
- openjpeg2 (openjpeg-gitAUR)
- openshadinglanguage
- opensubdiv
- openvdb
- openxr (openxr-loader-gitAUR)
- potrace
- python
- python-numpy (python-numpy-gitAUR, python-numpy-mkl-binAUR, python-numpy1AUR, python-numpy-mkl-tbbAUR, python-numpy-mklAUR)
- python-zstandard
- boost (boost-gitAUR) (make)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- cython (cython-gitAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- llvm (llvm-gitAUR, llvm-minimal-gitAUR) (make)
- makepkg-git-lfs-protoAUR (make)
- mesa (mesa-wsl2-gitAUR, mesa-amd-bc250AUR, amdonly-gaming-mesa-gitAUR, mesa-dlss-reflex-gitAUR, mesa-rk35xx-gitAUR, mesa-nollvm-gitAUR, mesa-rdna2vrAUR, mesa-minimal-gitAUR, mesa-gitAUR, mesa-amber) (make)
- mold (mold-gitAUR) (make)
- ninja (ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR, ninja-kitwareAUR, ninja-fuchsia-gitAUR, n2-ninja-symlinkAUR) (make)
- subversion (make)
- vulkan-headers (vulkan-headers-gitAUR) (make)
- wayland-protocols (wayland-protocols-gitAUR) (make)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda-12.5AUR, cuda-12.9AUR, cuda-12.8AUR, cuda-pascalAUR) (optional) – CUDA support in Cycles
- intel-compute-runtime (intel-compute-runtime-legacy-binAUR, intel-compute-runtime-gitAUR, intel-compute-runtime-legacyAUR, intel-compute-runtime-binAUR) (optional) – Intel OpenCL FPGA kernels (all four needed)
- intel-oneapi-compiler-shared-runtime (intel-oneapi-hpckitAUR, intel-oneapi-basekit-2025AUR, intel-oneapi-toolkit) (optional) – Intel OpenCL FPGA kernels (all four needed)
- intel-oneapi-dpcpp-cpp (intel-oneapi-hpckitAUR, intel-oneapi-basekit-2025AUR, intel-oneapi-toolkit) (optional) – Intel OpenCL FPGA kernels (all four needed)
- level-zero-headers (level-zero-headers-gitAUR, level-zero-headers-legacyAUR) (optional) – Intel OpenCL FPGA kernels (all four needed)
- makepkg-cgAUR (optional) – Control resources during compilation
- materialx (materialx-gitAUR) (optional) – MaterialX materials
- openimagedenoise (openimagedenoise-gitAUR) (optional) – Intel Open Image Denoise support in compositing
- openpgl (optional) – Intel Path Guiding library in Cycles
- optix8AUR (optional) – OptiX support in Cycles >=8.0.0 <9.0.0
- usd (optional) – USD export Scene
Required by (68)
- amino-git (requires blender) (optional)
- anja-git (requires blender) (make)
- arx-libertatis (requires blender) (optional)
- arx-libertatis-git (requires blender) (optional)
- blender-ac3d (requires blender)
- blender-breezedark-theme-git (requires blender)
- blender-dream-textures (requires blender)
- blender-dream-textures-git (requires blender)
- blender-mcp-git (requires blender) (optional)
- blender-plugin-animation-nodes-git (requires blender)
- blender-plugin-apply-modifier-for-object-with-shape-keys-git (requires blender)
- blender-plugin-blenderseed-git (requires blender)
- blender-plugin-blendrig-git (requires blender)
- blender-plugin-bligify (requires blender)
- blender-plugin-bullet-constraints-builder (requires blender)
- blender-plugin-cad-sketcher-git (requires blender)
- blender-plugin-cork (requires blender)
- blender-plugin-cubesurfer (requires blender)
- blender-plugin-edgeflow (requires blender)
- blender-plugin-edgeflow-git (requires blender)
- blender-plugin-fspy (requires blender)
- blender-plugin-gaffer-git (requires blender)
- blender-plugin-gcode-reader (requires blender)
- blender-plugin-geometry-script (requires blender)
- blender-plugin-hdri-lighting-shortcut (requires blender)
- blender-plugin-io-three (requires blender)
- blender-plugin-leomoon-lightstudio-git (requires blender)
- blender-plugin-luxcorerender (requires blender)
- blender-plugin-luxcorerender-git (requires blender)
- blender-plugin-luxcorerender-latest-bin (requires blender)
- blender-plugin-manuelbastionilab (requires blender)
- blender-plugin-mesh-off (requires blender)
- blender-plugin-miratools (requires blender)
- blender-plugin-mmd-tools-git (requires blender)
- blender-plugin-molecular (requires blender)
- blender-plugin-pbr-materials (requires blender)
- blender-plugin-poliigon (requires blender)
- blender-plugin-polytrim (requires blender)
- blender-plugin-retopoflow (requires blender)
- blender-plugin-retopoflow-git (requires blender)
- blender-plugin-rtcw-et-model-tools-git (requires blender)
- blender-plugin-sketchfab (requires blender)
- blender-plugin-supertuxkart-git (requires blender)
- blender-plugin-surface-follow (requires blender)
- blender-plugin-ucupaint (requires blender)
- blender-plugin-uvsquares-git (requires blender)
- blender-plugin-vectex (requires blender)
- blender-plugin-vrm-addon-git (requires blender)
- blender-plugin-yavne (requires blender)
- blendercam-git (requires blender)
- blendnet (requires blender)
- fast64 (requires blender)
- flamenco-manager (requires blender) (optional)
- flamenco-worker (requires blender) (optional)
- gnome-thumbnailers-git (requires blender) (optional)
- godot-blender-exporter-git (requires blender)
- ifcopenshell (requires blender) (make)
- ifcopenshell-stable (requires blender) (make)
- kibot (requires blender)
- loki-render (requires blender)
- maxx-desktop (requires blender) (optional)
- mini-benchmarker (requires blender)
- morse-simulator-git (requires blender)
- python-databpy (requires blender)
- sheepit-client-git (requires blender) (optional)
- sprytile (requires blender)
- yafaray-blender-exporter (requires blender)
- yafaray-blender-exporter-git (requires blender)
Sources (2)
bartus commented on 2026-06-08 13:25 (UTC)
sausix commented on 2026-05-03 15:08 (UTC)
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.
mirh commented on 2026-04-18 15:41 (UTC)
Shouldn't everything up to the first cmake command (included) be in the prepare section?
I cannot use makepkg -e to try again to build the package if it fails.
carlosnewmusic commented on 2026-02-07 14:41 (UTC)
build error https://pastes.io/blender-gi
bartus commented on 2025-10-31 09:46 (UTC) (edited on 2025-10-31 09:51 (UTC) by bartus)
- You can post a PR on the GitHub repo 👉 @bartoszek/AUR-blender-git
- For a non-conflicting version of
blener-gitcheck out blender-develop-git
bartus commented on 2025-10-31 09:44 (UTC) (edited on 2025-11-21 08:52 (UTC) by bartus)
@sausix
I've only adopted this package to fix the glaring issues, not to overhaul the build process, which always implies automagical deps resolving (finding what's installed on the build system and enabling the feature in Blender).
I've pushed the blender-develop-git package that allows full deps control and is non-conflicting with extra/blender.
sausix commented on 2025-10-26 13:57 (UTC)
It's building with almost all render backend again. Can you please adopt my "else" branches so these backends are not compiled by default? It should be cuda only for me since no oneapi or HIP is installed.
Also I can't see comments here which I got by mail.
- WITH_CYCLES_OSL ON
- WITH_CYCLES_EMBREE ON
- WITH_CYCLES_PATH_GUIDING ON
- WITH_CYCLES_DEVICE_OPTIX ON
- WITH_CYCLES_DEVICE_CUDA ON
- WITH_CYCLES_CUDA_BINARIES ON
- WITH_CYCLES_DEVICE_ONEAPI ON
- WITH_CYCLES_ONEAPI_BINARIES ON
- WITH_CYCLES_DEVICE_HIP OFF
- WITH_CYCLES_HIP_BINARIES ON
- WITH_CYCLES_DEVICE_HIPRT ON
sausix commented on 2025-09-30 18:14 (UTC)
Before a nice person will commit a new PKGBUILD... Here's a quite "huge" improvement: https://gist.github.com/sausix/2df9897832aa9ecb04b77ccfe8cc0056
At least on my machine the package grew up to 7.5GB of compressed size! Boiled down to having a complete embedded Python environment which contained packages like PyTorch and other heavy stuff. Maybe totally related to a local Python environment being directly copied. Also contained a double path .../site-packages/site-packages/... which looked very wrong. However Python is still available for Blender in my tests and the package shrunk to sleaky ~100MB. Official Arch Linux Blender has -DWITH_PYTHON_INSTALL=OFF too.
Also added manifold as optdepends which enabled that in the summary.
bartus commented on 2025-09-30 09:40 (UTC) (edited on 2025-09-30 09:41 (UTC) by bartus)
alternative to makepkg-git-lfs-proto is to call make update_code in the prepare(): blender devs wrote some neat helper scripts for pulling lfs sumges with fallback servers and code/libs separation.
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.