Bug 1594565

Summary: Blender does not ship with dependency jemalloc
Product: [Fedora] Fedora Reporter: Eric Park <ideamaneric>
Component: blenderAssignee: Luya Tshimbalanga <luya_tfz>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 28CC: design-devel, hobbes1069, kwizart, luya_tfz, negativo17, promac, zebob.m
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-27 17:43:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.