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 8 .. 40 Next › Last »

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.

Kagukara commented on 2024-02-11 20:36 (UTC) (edited on 2024-02-11 22:14 (UTC) by Kagukara)

@bartus I've started the install for blender-git with /usr/lib/python removed, like how it was. Just got to wait and see what happens. Thank you for the command.

As for python version detected: #.## with the command you provided the file blender-git-4.2.r132767.g835b9a506d4-1-x86_64-build.log says python version detected: 3.11.

EDIT: Still get the same output as before (added the line above to show its using python3.11 before this happens):

-- Installing: /home/richard/.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:326 (file):
  file INSTALL cannot find "/usr/lib/python": No such file or directory.
Call Stack (most recent call first):
  cmake_install.cmake:51 (include)


make: *** [Makefile:130: install] Error 1
==> ERROR: A failure occurred in package().
    Aborting...
error: failed to build 'blender-git-4.2.r132760.gc3b7f76e5f6-1': 
error: packages failed to build: blender-git-4.2.r132760.gc3b7f76e5f6-1

This is also shown in the blender-git-4.2.r132767.g835b9a506d4-1-x86_64-package.log file.

bartus commented on 2024-02-11 20:30 (UTC) (edited on 2024-02-11 20:32 (UTC) by bartus)

@Kagukara: I've look how paru is working: to enable log add --mflags=--log to paru call paru --mflags="--log" -S blender-git

Now paru will save logs to ~/.cache/paru/clone/blender-git instead of dumping them overboard.

$ ls ~/.cache/paru/clone/blender-git/
0001-Use-github.com-for-make-update-git.patch  blender-git-4.2.r132760.gc3b7f76e5f6-1-x86_64-pkgver.log   pkg
0004-fix-opencollada-pcre.patch                blender-git-4.2.r132760.gc3b7f76e5f6-1-x86_64-prepare.log  PKGBUILD
blender                                        blender-git-4.2.r132767.g835b9a506d4-1-x86_64-build.log    src
blender-addons                                 blender-git-4.2.r132767.g835b9a506d4-1-x86_64-pkgver.log
blender-addons-contrib                         

Kagukara commented on 2024-02-10 21:07 (UTC) (edited on 2024-02-11 01:09 (UTC) by Kagukara)

Running python -c "from sys import version_info; print(\"%d.%d\" % (version_info[0],version_info[1]))" found in the PKGBUILD gives me 3.11, which is the version of python I have installed.

Kagukara commented on 2024-02-10 20:42 (UTC) (edited on 2024-02-11 01:10 (UTC) by Kagukara)

Ah, too late. blender-git has built successfully by copying the contents of /usr/lib/python3.11 to /usr/lib/python but has a bunch of objcopy: ~ : debuglink section already exists near the end. But gives me this when launching:

$ blender
Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)

With the blender.crash.txt saying:

# Blender 4.2.0, Commit date: 2024-02-10 15:58, Hash c3b7f76e5f60

# backtrace
blender(+0x10dcad8) [0x5e7653c9dad8]
blender(+0x922181) [0x5e76534e3181]
/usr/lib/libc.so.6(+0x3c770) [0x72082fe5a770]
/usr/lib/libLLVM-15.so(+0x17a7a0f) [0x7208269a7a0f]
/usr/lib/libLLVM-15.so(+0x17a7b98) [0x7208269a7b98]
/usr/lib/libLLVM-19git.so(_ZN4llvm14FoldingSetBase19FindNodeOrInsertPosERKNS_16FoldingSetNodeIDERPvRKNS0_14FoldingSetInfoE+0xb6) [0x7207ccd86626]
/usr/lib/libLLVM-19git.so(_ZN4llvm12SelectionDAG11getRegisterEjNS_3EVTE+0xbe) [0x7207cd9dd00e]
/usr/lib/libLLVM-19git.so(+0x3e1a0a0) [0x7207cfe1a0a0]
/usr/lib/libLLVM-19git.so(_ZN4llvm16SelectionDAGISel14LowerArgumentsERKNS_8FunctionE+0xf11) [0x7207cd9702d1]
/usr/lib/libLLVM-19git.so(_ZN4llvm16SelectionDAGISel20SelectAllBasicBlocksERKNS_8FunctionE+0x2409) [0x7207cda21369]
/usr/lib/libLLVM-19git.so(+0x1a22806) [0x7207cda22806]
/usr/lib/libLLVM-19git.so(+0x13aafc8) [0x7207cd3aafc8]
/usr/lib/libLLVM-19git.so(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x459) [0x7207cd026a69]
/usr/lib/libLLVM-19git.so(+0x2a7e9aa) [0x7207cea7e9aa]
/usr/lib/libLLVM-19git.so(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x44c) [0x7207cd0276ec]
/usr/lib/dri/radeonsi_dri.so(+0x98bd5b) [0x7207d578bd5b]
/usr/lib/dri/radeonsi_dri.so(+0x900904) [0x7207d5700904]
/usr/lib/dri/radeonsi_dri.so(+0x902aa9) [0x7207d5702aa9]
/usr/lib/dri/radeonsi_dri.so(+0x88a871) [0x7207d568a871]
/usr/lib/dri/radeonsi_dri.so(+0x8924bb) [0x7207d56924bb]
/usr/lib/dri/radeonsi_dri.so(+0x8c4699) [0x7207d56c4699]
/usr/lib/dri/radeonsi_dri.so(+0x8c9069) [0x7207d56c9069]
/usr/lib/dri/radeonsi_dri.so(+0xdd710e) [0x7207d5bd710e]
/usr/lib/dri/radeonsi_dri.so(+0xdea721) [0x7207d5bea721]
/usr/lib/dri/radeonsi_dri.so(+0xdd1fb9) [0x7207d5bd1fb9]
/usr/lib/dri/radeonsi_dri.so(+0xc3cd94) [0x7207d5a3cd94]
/usr/lib/dri/radeonsi_dri.so(+0xc3cf5a) [0x7207d5a3cf5a]
/usr/lib/dri/radeonsi_dri.so(+0x90fea3) [0x7207d570fea3]
/usr/lib/dri/radeonsi_dri.so(+0x679843) [0x7207d5479843]
/usr/lib/dri/radeonsi_dri.so(+0x67a486) [0x7207d547a486]
/usr/lib/dri/radeonsi_dri.so(+0x67ae38) [0x7207d547ae38]
/usr/lib/dri/radeonsi_dri.so(+0x6830d8) [0x7207d54830d8]
/usr/lib/dri/radeonsi_dri.so(+0x17d242) [0x7207d4f7d242]
/usr/lib/dri/radeonsi_dri.so(+0xafca6) [0x7207d4eafca6]
/usr/lib/libEGL_mesa.so.0(+0x28456) [0x720811a38456]
/usr/lib/libEGL_mesa.so.0(+0x1cdc8) [0x720811a2cdc8]
/usr/lib/libEGL_mesa.so.0(+0x10b2d) [0x720811a20b2d]
blender(+0x2cf0287) [0x5e76558b1287]
blender(+0x2ceec47) [0x5e76558afc47]
blender(+0x2ccbd5d) [0x5e765588cd5d]
blender(+0x2cee27a) [0x5e76558af27a]
blender(+0x2ce9952) [0x5e76558aa952]
blender(+0x2cc7db8) [0x5e7655888db8]
blender(+0x11713cf) [0x5e7653d323cf]
blender(+0x1171635) [0x5e7653d32635]
blender(+0x112dabb) [0x5e7653ceeabb]
blender(+0x1146598) [0x5e7653d07598]
blender(+0x114c1bf) [0x5e7653d0d1bf]
blender(+0x8f1c39) [0x5e76534b2c39]
/usr/lib/libc.so.6(+0x25cd0) [0x72082fe43cd0]
/usr/lib/libc.so.6(__libc_start_main+0x8a) [0x72082fe43d8a]
blender(+0x91d8f5) [0x5e76534de8f5]

# Python backtrace

As for log message: python version detected: #.## I have looked in /var/log/pacmam.log, ~/.cache/paru/ and ~/.cache/paru/clone/blender-git/ and cannot find any files giving me what you're asking for.