@microcoder: I had the same linker error as you. For me the problem was the linker flags in the makepkg.config
file. Removing the last few flags (-Wl,-z,pack-relative-relocs
) in the LDFLAGS
variable helped. Hope that helps!
Search Criteria
Package Details: blender-git 5.0.r154311.gacde9be6fd2-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, blender-4.1-bin |
Provides: | blender |
Submitter: | stativ |
Maintainer: | fbrennan (bartus) |
Last Packager: | bartus |
Votes: | 77 |
Popularity: | 0.014542 |
First Submitted: | 2013-12-05 10:11 (UTC) |
Last Updated: | 2025-09-30 09:33 (UTC) |
Dependencies (48)
- alembic (alembic-gitAUR)
- ccache (ccache-gitAUR)
- embree (embree-gitAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-cudaAUR, ffmpeg-amd-fullAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR)
- fftw (fftw-amdAUR)
- freetype2 (freetype2-qdoled-aw3225qfAUR, freetype2-gitAUR, freetype2-macosAUR, freetype2-qdoledAUR)
- libdecor (libdecor-gitAUR)
- libepoxy (libepoxy-gitAUR)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, 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-numpy1AUR, python-numpy-mkl-binAUR, python-numpy-mklAUR, python-numpy-mkl-tbbAUR)
- 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) (make)
- llvm (llvm-gitAUR, llvm-minimal-gitAUR) (make)
- makepkg-git-lfs-protoAUR (make)
- mesa (mesa-wsl2-gitAUR, mesa-amd-bc250AUR, vulkan-terakan-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-minimal-gitAUR, mesa-gitAUR, mesa-rk35xx-gitAUR, mesa-amber) (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, cuda11.4-versionedAUR, cuda12.0-versionedAUR, cuda-12.5AUR, cuda-12.9AUR) (optional) – CUDA support in Cycles
- intel-compute-runtime (intel-compute-runtime-gitAUR, intel-compute-runtime-legacyAUR, intel-compute-runtime-legacy-binAUR, intel-compute-runtime-binAUR) (optional) – Intel OpenCL FPGA kernels (all four needed)
- intel-graphics-compiler (intel-graphics-compiler-gitAUR, intel-graphics-compiler-legacyAUR, intel-graphics-compiler-legacy-binAUR, intel-graphics-compiler-binAUR) (optional) – Intel OpenCL FPGA kernels (all four needed)
- intel-oneapi-basekit (intel-oneapi-base-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 (65)
- 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-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)
- Show 45 more...
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 41 Next › Last »
stevesp commented on 2024-04-19 09:20 (UTC) (edited on 2024-04-19 09:21 (UTC) by stevesp)
microcoder commented on 2024-04-05 03:20 (UTC)
[ 0%] Linking CXX executable ../../../bin/datatoc
/usr/bin/ld.gold: pack-relative-relocs: unknown -z option
/usr/bin/ld.gold: use the --help option for usage information
collect2: error: ld returned 1 exit status
make[3]: *** [source/blender/datatoc/CMakeFiles/datatoc.dir/build.make:97: bin/datatoc] Error 1
make[2]: *** [CMakeFiles/Makefile2:4740: source/blender/datatoc/CMakeFiles/datatoc.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 1%] Built target bf_intern_libmv
make[1]: *** [CMakeFiles/Makefile2:8437: source/creator/CMakeFiles/blender.dir/rule] Error 2
make: *** [Makefile:2383: blender] Error 2
==> ERROR: A failure occurred in build().
Aborting...
microcoder commented on 2024-04-01 08:07 (UTC)
[ 1%] Linking CXX static library ../../lib/libbf_intern_libmv.a
[ 1%] Built target bf_intern_libmv
make[1]: *** [CMakeFiles/Makefile2:8390: source/creator/CMakeFiles/blender.dir/rule] Error 2
make: *** [Makefile:2370: blender] Error 2
==> ERROR: A failure occurred in build().
Aborting...
ruestique commented on 2024-03-13 09:45 (UTC)
-- Installing: /home/chibo/.cache/paru/clone/blender-git/pkg/blender-git/usr/./share/blender/4.2/python/lib/python3.11/site-packages/cython.py
CMake Error at source/creator/cmake_install.cmake:330 (file):
file INSTALL cannot find "/usr/lib/python": No such file or directory.
Call Stack (most recent call first):
cmake_install.cmake:51 (include)
Python obviously here -_-
kayosiii commented on 2024-03-06 16:00 (UTC) (edited on 2024-03-06 16:05 (UTC) by kayosiii)
@bartus commenting on @Kagura's problem - I have virtually an identical issue here.
Both building this package and building directly from blender.org git servers.
my version of the offending line in source/creator/cmake_install.cmake looks like this
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/./4.2/python/lib/python3.11/site-packages"
TYPE DIRECTORY MESSAGE_LAZY FILES "/usr/lib/python/" REGEX "/\\.svn$" EXCLUDE REGEX "/\\_\\_pycache\\_\\_$" EXCLUDE REGEX "/[^/]*\\.pyc$" EXCLUDE REGEX "/[^/]*\\.pyo$" EXCLUDE)
I have managed to successfully install this this blender by changing /usr/lib/python in this file to /usr/lib64/python3.11/site-packages/MaterialX a package that is supposed to be installed in the official release. In order to figure out where the build system is failing it would be very useful to look at the list of folders that your build installing into into [blender]/[version]/python/lib/python3.11/site-packages
Kagukara commented on 2024-02-12 19:10 (UTC)
@bartus I've submitted an issue to the GitHub as to not fill the comments here with issues not to do with this package at the moment.
bartus commented on 2024-02-12 16:42 (UTC) (edited on 2024-02-12 16:43 (UTC) by bartus)
@Kagukara yes, this is intended behaviour, check pinned comment in blender-develop-git https://aur.archlinux.org/packages/blender-develop-git#comment-689539
Kagukara commented on 2024-02-12 15:43 (UTC) (edited on 2024-02-12 15:43 (UTC) by Kagukara)
@bartus When installing blender-develop-git
I get:
==> Missing dependencies:
-> cuda
-> optix>=7.4
==> ERROR: Could not resolve all dependencies.
error: failed to build 'blender-develop-git-4.2.r132730.g98231ea880b-1':
error: packages failed to build: blender-develop-git-4.2.r132730.g98231ea880b-1
Shouldn't the package install the dependencies that it needs?
extra/cuda
is for "NVIDIA's GPU programming toolkit" and I don't use an NVIDIA GPU, should I install this myself?
aur/optix
is marked [Out-of-date: 2023-04-10]
should I also just install this myself?
bartus commented on 2024-02-12 14:29 (UTC) (edited on 2024-02-12 15:07 (UTC) by bartus)
@Kagukare: As I only rudimentary co-maintain this package and don't feel it well as it tends to rely on automagical deps, could you please test if, blender-develop-git
also throws this error?
I've built the same commit as you 835b9a506d4, in clean chroot, and got no errors.
The offending line in source/creator/cmake_install.cmake:326
shows:
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/./share/blender/4.2/python/lib/python3.11/site-packages" TYPE DIRECTORY MESSAGE_LAZY FILES "/usr/lib64/python3.11/site-packages/zstandard" REGEX "/\\.svn$" EXCLUDE REGEX "/\\_\\_pycache\\_\\_$" EXCLUDE REGEX "/[^/]*\\.pyc$" EXCLUDE REGEX "/[^/]*\\.pyo$" EXCLUDE)
endif()
There's nowhere /usr/lib/python
is referred to in the whole ~/.cache/paru/clone/blender-git
directory: grep -R '/usr/lib/python/' ~/.cache/paru/clone/blender-git
returns nothing.
Pinned Comments
fbrennan 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 @
sausix
and have only modified it in that I added a dependency tomakepkg-git-lfs-proto
which 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.