Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935403 - media-gfx/blender Incompatible OpenVDB Version Requirements for Blender 3.6 and 4.0
Summary: media-gfx/blender Incompatible OpenVDB Version Requirements for Blender 3.6 a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-07-03 12:56 UTC by lastrodamo
Modified: 2024-09-05 02:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lastrodamo 2024-07-03 12:56:27 UTC
Blender 3.6 and Blender 4.0 have conflicting version requirements for the OpenVDB library, making it impossible to install both Blender versions concurrently with their respective OpenVDB dependencies.

When attempting to install Blender 3.6 and Blender 4.0 on the same system, I encountered an issue with the OpenVDB library dependencies:

    - Blender 3.6 requires openvdb version < 11.
    - Blender 4.0 requires openvdb version = 11.

Due to these conflicting requirements, it is not possible to have both Blender versions installed simultaneously since each version of Blender depends on a different, mutually exclusive version of OpenVDB. This incompatibility prevents users who rely on both versions for different projects from maintaining a dual setup.

Reproducible: Always

Steps to Reproduce:
1. Attempt to install Blender 3.6 with openvdb.
2. Attempt to install Blender 4.0 with openvdb.
3. Notice the conflict in openvdb versions, resulting in an installation failure for one or both Blender versions.
Actual Results:  
The installation process fails due to conflicting OpenVDB version requirements between Blender 3.6 and Blender 4.0, making it impossible to install and use both versions simultaneously.

Expected Results:  
Users should be able to install both Blender 3.6 and Blender 4.0 on the same system with their respective OpenVDB dependencies without conflicts. Ideally, there should be a way to handle the dependency differences, such as:

    - Supporting multiple versions of OpenVDB concurrently.
    - Allowing Blender to dynamically link to different versions of OpenVDB as needed.

This issue significantly impacts users who require multiple Blender versions for compatibility with different projects or plugins. Resolving this will greatly improve user experience and flexibility in managing Blender installations.
Comment 1 Larry the Git Cow gentoo-dev 2024-09-05 02:12:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b0d73823934852a8e57dfc3642b4e1951cac631

commit 0b0d73823934852a8e57dfc3642b4e1951cac631
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2024-09-04 10:43:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-05 02:11:30 +0000

    media-gfx/blender: fix 935403, 936104, 936603
    
    Closes: https://bugs.gentoo.org/935403
    Closes: https://bugs.gentoo.org/936104
    Closes: https://bugs.gentoo.org/936603
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/38426
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/blender/blender-4.1.1-r2.ebuild          | 23 ++++++++++---
 media-gfx/blender/blender-4.2.1.ebuild             | 23 ++++++++++---
 media-gfx/blender/blender-9999.ebuild              | 23 ++++++++++---
 .../blender/files/blender-4.1.1-FindLLVM.patch     | 38 ++++++++++++++++++++++
 media-gfx/blender/files/blender-4.1.1-numpy.patch  | 26 +++++++++++++++
 5 files changed, 121 insertions(+), 12 deletions(-)