Bug 1594565 - Blender does not ship with dependency jemalloc
Summary: Blender does not ship with dependency jemalloc
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: blender
Version: 28
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Luya Tshimbalanga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-24 12:34 UTC by Eric Park
Modified: 2018-06-27 17:43 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-27 17:43:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Eric Park 2018-06-24 12:34:48 UTC
Description of problem: Blender does not ship with jemalloc


Version-Release number of selected component (if applicable):

Version      : 2.79b
Release      : 3.fc28

How reproducible: Very


Steps to Reproduce:
1. $ sudo dnf install blender
2. $ blender

Actual results: Blender fails to run with this error:

blender: error while loading shared libraries: libjemalloc.so.2: cannot open shared object file: No such file or directory

Expected results: Blender should launch.


Additional info:

Installing jemalloc solved this issue but shouldn't this be a dependency?

Comment 1 Robert-André Mauchin 🐧 2018-06-27 17:43:44 UTC
Blender correctly depends on libjemalloc but a bug in the packaging of 389-ds-base made it incorrectly provides the libjemalloc.so symbol. 
The version 389-ds-base-1.4.0.11-2 corrects this and is in updates-testing.

See:

sudo dnf install blender
Last metadata expiration check: 3:30:31 ago on mer. 27 juin 2018 16:02:19 CEST.
Dependencies resolved.
============================================================================
 Package                     Arch        Version         Repository   Size
============================================================================
Installing:
 blender                    x86_64    1:2.79b-3.fc28      updates     34 M
Installing dependencies:
 389-ds-base-libs           x86_64    1.4.0.10-2.fc28     updates     937 k
 […]

Blender incorrectly pulls 389-ds-base-libs because it contains jemalloc.

But with updates-testing activated:

sudo dnf install blender --enablerepo=updates-testing
Last metadata expiration check: 0:03:56 ago on mer. 27 juin 2018 19:30:45 CEST.
Dependencies resolved.
============================================================================
 Package                     Arch        Version         Repository   Size
============================================================================
Installing:
 blender                    x86_64    1:2.79b-3.fc28      updates     34 M
Installing dependencies:
 […]
 jemalloc                   x86_64    5.0.1-5.fc28    updates-testing 189 k
 […]

389-ds-base is not providing libjemalloc anymore so dnf correctly bring jemalloc instead.

Basically you can remove 389-ds-base-libs that has been incorrectly pulled when you installed Blender.

Thanks to Dan Horák for spotting the issue.


Note You need to log in before you can comment on or make changes to this bug.