Package Details: blender-git 5.0.r154311.gacde9be6fd2-1

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)

Required by (65)

Sources (1)

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 to makepkg-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.

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: 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!

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.