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.000111
First Submitted: 2013-12-05 10:11 (UTC)
Last Updated: 2024-12-04 18:59 (UTC)

Required by (62)

Sources (7)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 40 Next › Last »

microcoder commented on 2023-08-21 07:11 (UTC) (edited on 2023-08-21 07:17 (UTC) by microcoder)

For fix EMBREE patch replace your 0002-embree.patch file to next content (47 lines)

diff --git a/build_files/cmake/Modules/FindEmbree.cmake b/build_files/cmake/Modules/FindEmbree.cmake
index bb65a24c4b5..5d1ba7b459a 100644
--- a/build_files/cmake/Modules/FindEmbree.cmake
+++ b/build_files/cmake/Modules/FindEmbree.cmake
@@ -97,9 +97,9 @@
 set(_embree_LIBRARIES)
 foreach(COMPONENT ${_embree_FIND_COMPONENTS})
   string(TOUPPER ${COMPONENT} UPPERCOMPONENT)
-  find_library(EMBREE_${UPPERCOMPONENT}_LIBRARY
+  find_library(EMBREE_LIBRARY
     NAMES
-      ${COMPONENT}
+      embree4
     HINTS
       ${_embree_SEARCH_DIRS}
     PATH_SUFFIXES
@@ -112,10 +112,10 @@
 # all listed variables are TRUE
 include(FindPackageHandleStandardArgs)
 find_package_handle_standard_args(Embree DEFAULT_MSG
-    _embree_LIBRARIES EMBREE_INCLUDE_DIR)
+    EMBREE_LIBRARY EMBREE_INCLUDE_DIR)

 if(EMBREE_FOUND)
-  set(EMBREE_LIBRARIES ${_embree_LIBRARIES})
+  set(EMBREE_LIBRARIES ${EMBREE_LIBRARY})
   set(EMBREE_INCLUDE_DIRS ${EMBREE_INCLUDE_DIR})
 endif()

diff --git a/intern/cycles/blender/CMakeLists.txt b/intern/cycles/blender/CMakeLists.txt
index 2316800e21e..591841152e2 100644
--- a/intern/cycles/blender/CMakeLists.txt
+++ b/intern/cycles/blender/CMakeLists.txt
@@ -67,6 +67,12 @@ if(WITH_CYCLES_LOGGING)
   )
 endif()

+if(WITH_CYCLES_EMBREE)
+  list(APPEND LIB
+    ${EMBREE_LIBRARIES}
+  )
+endif()
+
 set(ADDON_FILES
   addon/__init__.py
   addon/camera.py

longboarder241 commented on 2023-08-21 01:04 (UTC)

The embree patch has been broken for two months straight. Is everything okay?

sausix commented on 2023-08-13 10:24 (UTC)

Embree or the patch is broken

==> Starting prepare()...
Checking patch build_files/utils/make_update.py...
Hunk #1 succeeded at 327 (offset 2 lines).
Applied patch build_files/utils/make_update.py cleanly.
Checking patch build_files/cmake/Modules/FindEmbree.cmake...
error: while searching for:
#  EMBREE_ROOT_DIR, The base directory to search for Embree.
#                        This can also be an environment variable.
#  EMBREEFOUND, If false, do not try to use Embree.

# If EMBREE_ROOT_DIR was defined in the environment, use it.
IF(NOT EMBREE_ROOT_DIR AND NOT $ENV{EMBREE_ROOT_DIR} STREQUAL "")

error: patch failed: build_files/cmake/Modules/FindEmbree.cmake:10
error: build_files/cmake/Modules/FindEmbree.cmake: patch does not apply
Checking patch intern/cycles/blender/CMakeLists.txt...
Hunk #1 succeeded at 83 (offset 16 lines).
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: blender-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
blender-git - exit status 4

bartus commented on 2023-07-17 15:36 (UTC)

Sadly won't work when draco's enabled, so have to mangle it a bit for blender-develop-git

fbrennan commented on 2023-07-17 08:43 (UTC)

:-) very clever !

bartus commented on 2023-07-16 14:23 (UTC) (edited on 2023-07-16 14:24 (UTC) by bartus)

Never fear, me is here. ( ̄^ ̄)ゞ

121355741e48

fbrennan commented on 2023-07-14 11:01 (UTC)

Another possibility is that I can accept the failed return code then try to do it in a .install or in a hook. None of these are really pretty and people building the package will see errors spew out but at least the package will build and I can either echo what commands to run or run them in the .install.

fbrennan commented on 2023-07-14 10:58 (UTC)

I've figured out the problem and it's very complicated to fix. My personal build has the same issue, to wit:

-- Installing: /home/fred/Workspace/blender-git/pkg/blender-git/usr/share/blender/4.0/datafiles/studiolights/studio/rim.sl
blf_load_font_default: 'fonts' data path not found for 'DejaVuSans.woff2', will not be able to display text
blf_load_font_default: 'fonts' data path not found for 'DejaVuSansMono.woff2', will not be able to display text
blf_load_font_default: 'fonts' data path not found for 'DejaVuSansMono.woff2', will not be able to display text
blf_load_font_default: 'fonts' data path not found for 'DejaVuSans.woff2', will not be able to display text
blf_load_font_default: 'fonts' data path not found for 'DejaVuSansMono.woff2', will not be able to display text
Font data directory "fonts/" could not be detected!
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy'
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string: construction from null is not valid
CMake Error at source/creator/cmake_install.cmake:2167 (file):
  file INSTALL cannot find
  "/home/fred/Workspace/blender-git/src/build/source/creator/blender.1": No
  such file or directory.
Call Stack (most recent call first):
  cmake_install.cmake:51 (include)

The problem is how makepkg works intrinsically. We say we are installing into /usr to cmake but really we are going into $pkgdir/usr.

Now, the problem is, those Python scripts expect those installations to be happening to where cmake said.

One idea of mine is to simply export Python envvars just for that run of the scripts inside the $pkgdir…

Any other ideas, anyone?