Package Details: blender-git 4.4.r144205.gfba10a82121-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: 76
Popularity: 0.000109
First Submitted: 2013-12-05 10:11 (UTC)
Last Updated: 2024-12-04 18:59 (UTC)

Dependencies (48)

Required by (62)

Sources (7)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 40 Next › Last »

stevesp commented on 2024-07-05 09:55 (UTC) (edited on 2024-07-05 09:56 (UTC) by stevesp)

@sausix I had the same error recently and I solved the problem by using the patch proposed in the following issue report and rebuild blender with it: https://gitlab.archlinux.org/archlinux/packaging/packages/blender/-/issues/18. It seems to be an arch related error that had to be fixed also for the extra/blender package.

sausix commented on 2024-07-02 18:47 (UTC)

@stevesp The sed patch works. I can compile again. Doesn't every Arch user have this issue currently?

Can someone confirm a crash? Not sure if it's an upstream issue:

Select default cube, goto Physics tab, click Fluid and choose Type=Domain.

I get:

Fatal Python error: PyImport_AppendInittab: PyImport_AppendInittab() may not be called after Py_Initialize()
Python runtime state: initialized

Current thread 0x00007fbc9a1a6000 (most recent call first):
  <no Python frame>

Extension modules: _freestyle, bpy.props, bpy.app.icons, bpy.app.timers, bpy.utils.units, bpy.types, mathutils.geometry, mathutils.interpolate, mathutils.noise, mathutils, idprop, bmesh.ops, bmesh.utils, bmesh.geometry, bmesh, _cycles, gpu.capabilities, gpu.matrix, gpu.platform, gpu.select, gpu.shader, gpu.state, gpu.texture, gpu.compute, blf (total: 25)
Abgebrochen (Speicherabzug geschrieben)

stevesp commented on 2024-06-25 09:44 (UTC) (edited on 2024-06-25 09:45 (UTC) by stevesp)

@sausix: As suggested by you, the issue is line 330 in src/build/source/creator/cmake_install.cmake. I fixed this in the PKGBUILD file directly, by adding the following line to the package() function after the other sed command:

sed -ie 's|/usr/lib/python/|/usr/lib64/python3.12/|g' source/creator/cmake_install.cmake

Hope that helps.

sausix commented on 2024-06-22 10:56 (UTC)

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)

src/build/source/creator/cmake_install.cmake line 330 is referencing "/usr/lib/python/" which could be the issue.

insanemal commented on 2024-05-07 12:50 (UTC)

Hey, I've got a bit of fun here. I'm running "bleeding edge" mesa/GPU drivers for my 7900XTX and they are compiled with LLVM 19. It seems this builds with default LLMV of 17.

I can't run blender currently. It crashes on launch. I think it's the mismatched LLVM versions.

How can I build this against llvm 19?

I've got LLVM-minimal-git and clang-minimal-git 19 packages,but I assume I need more to get it to build?

microcoder commented on 2024-04-19 12:57 (UTC)

Thanks @stevesp ! It helped me. For those who have the same error you can set variable LDFLAGS into begin build() function in your BKGBUILD file:

build() {
  # Fix for error build: "/usr/bin/ld.gold: pack-relative-relocs: unknown -z option"
  export LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now"

...

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