Summary: | Update graphics/blender to v3.0.0 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Shane <FreeBSD> | ||||
Component: | Individual Port(s) | Assignee: | Dima Panov <fluffy> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | feidiekfenghuang, fluffy | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | https://wiki.blender.org/wiki/Reference/Release_Notes/3.0 | ||||||
Attachments: |
|
1/1] Deinstalling blender-3.0.0... [1/1] Deleting files for blender-3.0.0: 100% Generating GTK icon cache for /usr/local/share/icons/hicolor Building cache database of MIME types ===> Installing for blender-3.0.0 ===> Checking if blender is already installed ===> Registering installation for blender-3.0.0 pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/config.ocio:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/filmic/filmic_desat65cube.spi3d:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/filmic/filmic_false_color.spi3d:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/filmic/filmic_to_0-35_1-30.spi1d:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/filmic/filmic_to_0-48_1-09.spi1d:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/filmic/filmic_to_0-60_1-04.spi1d:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/filmic/filmic_to_0-70_1-03.spi1d:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/filmic/filmic_to_0-85_1-011.spi1d:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/filmic/filmic_to_0.99_1-0075.spi1d:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/filmic/filmic_to_1.20_1-00.spi1d:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/luts/dci_xyz.spi1d:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/luts/lg10.spi1d:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/luts/rec709.spi1d:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/luts/srgb.spi1d:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/luts/srgb_inv.spi1d:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/luts/srgb_to_xyz.spimtx:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/luts/vd16.spi1d:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/luts/xyz_D65_to_E.spimtx:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/luts/xyz_to_aces.spimtx:No such file or directory *** Error code 1 Stop. make[2]: stopped in /usr/ports/graphics/blender *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/blender *** Error code 1 Stop. make: stopped in /usr/ports/graphics/blender (In reply to feidiekfenghuang from comment #1) You have the OPENCOLORIO option enabled, but the required libs were not found, I expect that will be from you still having opencolorio v1 installed. You can either disable OPENCOLORIO or update graphics/opencolorio to v2.1 as in bug #253491 and then try. If you also use krita, and want colour management see bug #260310 and bug #260313 to have krita and blender installed together. Or wait until the group of updates are committed together. (In reply to Shane from comment #2) Download blender-3.0.0.tar.xz # mkdir /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement # cp -R ... .../Downloads/blender-3.0.0/release/datafiles/colormanagement/*.* /usr/ports/graphics/blender/work/stage/usr/local/share/blender/3.0/datafiles/colormanagement/ ----------- I am running blender3.0 on FreeBSD14 current! Thanks! *************** # git apply blender.patch graphics/blender.patch:325: trailing whitespace. graphics/blender.patch:446: trailing whitespace. graphics/blender.patch:325: new blank line at EOF. + warning: 3 lines add whitespace errors. **************** # git apply --whitespace=nowarn blender.patch ??? The correct fix is to update opencolorio to v2.1.0 as in bug #253491 then installing the updated ocio libs before building blender. Manually copying the files from another build will stop the install error, you can find the same files in .../work/blender-3.0.0/release/datafiles/colormanagement Blender will still run without ocio. Disabling the OPENCOLORIO option will give the same compiled binary without the plist issues. The install issue is because the ports depend mechanism is finding a correct lib name "libOpenColorIO.so" but it is from the old ocio port version 1.1.1, so blenders configure stops the build of ocio features and doesn't install the relevant files, but ports still enables the plist sub to say they should be installed. As for the patch - not sure how to get past that, it is updating patch files that must have a single space on a line. (In reply to Shane from comment #4) bug #253491 graphics/opencolorio: Update 1.1.1 -> 2.0.0 Well, the correct way to install blender3.0, thank you very much for your advice, thank you! A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2be8b8cac94734d338532625547c5d4bf230d630 commit 2be8b8cac94734d338532625547c5d4bf230d630 Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2022-02-01 16:57:51 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2022-02-01 17:04:15 +0000 graphics/blender: update to 3.0.0 release (+) While blender does support building with python 3.10, numpy doesn't support 3.10 yet so keep python version at 3.9 for now. Thumbnailer is now a compiled app instead of py script. Add options for new features and some that didn't get added earlier . PR: 260308 Sponsored by: Netzkommune GmbH. graphics/blender/Makefile | 70 +- graphics/blender/Makefile.options | 20 +- graphics/blender/Makefile.versions | 4 +- graphics/blender/distinfo | 6 +- graphics/blender/files/blender.in (new) | 5 + graphics/blender/files/patch-CMakeLists.txt | 8 +- ...s_cmake_Modules_FindPythonLibsUnix.cmake (gone) | 11 - ...tch-intern_cycles_device_device__cpu.cpp (gone) | 38 - .../patch-intern_cycles_util_util__task.cpp (gone) | 11 - .../patch-intern_cycles_util_util__task.h (gone) | 11 - .../patch-intern_cycles_util_util__tbb.h (gone) | 17 - ...tf2__io__draco__compression__extension.py (new) | 11 + ...f2__io__draco__compression__extension.py (gone) | 19 - ...rce_blender_blenlib_BLI__index__range.hh (gone) | 26 - ...patch-source_blender_blenlib_BLI__task.h (gone) | 15 - ...rce_blender_blenlib_intern_task__pool.cc (gone) | 41 - graphics/blender/pkg-plist | 985 +++++++++------------ 17 files changed, 485 insertions(+), 813 deletions(-) Committed, thanks! |
Created attachment 230012 [details] maintainer update for graphics/blender Update blender to v3.0.0 While blender does support building with python 3.10, numpy doesn't support 3.10 yet so keep python version at 3.9 for now. Thumbnailer is now a compiled app instead of py script add options for new features and some that didn't get added earlier