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

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.

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.