Package Details: blender-git 5.0.r153101.g76c5bdf0be4-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: fbrennan
Votes: 77
Popularity: 0.030814
First Submitted: 2013-12-05 10:11 (UTC)
Last Updated: 2025-08-18 21:56 (UTC)

Required by (65)

Sources (6)

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

1 2 3 4 5 6 .. 41 Next › Last »

sausix commented on 2025-08-24 12:34 (UTC) (edited on 2025-08-24 12:36 (UTC) by sausix)

New update: https://gist.github.com/sausix/2df9897832aa9ecb04b77ccfe8cc0056

I tried to build on a non NVidia computer for the first time.

  • gcc14 seems always to be required not only for CUDA.
  • The build is using the ld.gold linker for some reason. Just found the older workarounds in the comments here. But lld should be the preferred option. It was not installed and cmake still chose ld.gold. Added some CMAKE flags. The "LD" env could also be used but I did not test it.
  • Added lld dependency.
  • Added some more "else" branches on CUDA and Optix. It tried to compile CUDA and Optix-Cycles before because their options default to "ON". Saves time and disk space.

FYI: makepkg-git-lfs-proto should be installed before creating the package. It spits out warnings. MAKEDEPENDS is too late so you probably have to invoke makepkg twice?

fbrennan commented on 2025-08-18 21:56 (UTC)

Opencollada removed from optdepends, patch removed.

sausix commented on 2025-08-18 17:27 (UTC)

@fbrennan Thank you to continue my efforts.
Forgot to mention that opencollada support has been dropped in 5.0. It's not being referenced during configure. And here's a note about the removal: https://devtalk.blender.org/t/moving-collada-i-o-to-legacy-status/34621/79

Is the github patch still required? I don't get where it's being used.

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.

sausix commented on 2025-06-07 18:42 (UTC)

I think I fixed it.
https://gist.github.com/sausix/2df9897832aa9ecb04b77ccfe8cc0056

Changes:
- Optix 9.0.0 is not compatible yet. What a luck @bartus made the optix8 package! Thanks!
- Blender's minimal optix version recently changed from 7.4.0 to 8.0.0.
- github mirror is broken. LFS related problems. Big discussion. So sources are using official Blender git including LFS.
- gcc11 and gcc12 are slow to compile from AUR. gcc12 is recommended by Blender. But gcc14 is fine for Cuda. Let's give it a try.
- Some compile flags are on by default so explicit "=OFF" was added for OneAPI and HIP.
- Python 3.12 -> 3.13

microcoder commented on 2025-05-12 04:48 (UTC)

When launch the Blender:

[dv@manjaro blender-git]$ blender-git 
blender-git: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

sausix commented on 2025-05-11 08:31 (UTC)

Blender changed to use git-lfs. I tried changing to blender::git-lfs+https://github.com/blender/blender${_fragment} and it downloads some objects but still misses a bunch of files. Tried clean build and waited some days for upstream related errors.

Just noticed a simple "git clone" and "git lfs clone" in the shell fails already. Must be some github mirroring problem?

Changing the first source to blender::git-lfs+https://projects.blender.org/blender/blender${_fragment} solves the problem currently.

Here's recent discussion about the github mirror but no sign of a fail on a pure clone action: https://projects.blender.org/blender/blender/issues/137215
I've commented there.

The build now still fails on optix.

cb88 commented on 2025-04-03 21:45 (UTC)

Also the PKGBUILD needs to be updated for python 3.13

cb88 commented on 2025-04-03 21:11 (UTC)

Ran into the same problem as expresso. I installed mold, and passed -DCMAKE_LINKER_TYPE=mold in the cmake flags. I also disabled opencollada with -DWITH_OPENCOLLADA=false

cb88 commented on 2025-04-03 18:01 (UTC)

It would be nice if the Vega architecture could be reenabled in this build.

https://projects.blender.org/blender/blender/commit/c2f93e0f68aec9fa48ba311401ef2545c53b24ba