Bug 1592474

Summary: neovim missing jemalloc dependency
Product: [Fedora] Fedora Reporter: wheinbockel
Component: neovimAssignee: Andreas Schneider <asn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 28CC: asn, gchamoul, igor.raits, jbowen, michel
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: neovim-0.3.0-2.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-28 14:07:43 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 wheinbockel 2018-06-18 15:25:06 UTC
Description of problem: neovim.x86_64 0.3.0-1.fc29 is missing a dependency on jemalloc
neovim 0.3 added a dependency on jemalloc. This dependency was not replicated to the dnf package


Version-Release number of selected component (if applicable):
0.3.0-1.fc29

How reproducible:
consistent

Steps to Reproduce:
1. dnf install neovim && nvim


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

Expected results:
nvim console

Additional info:

`dnf install jemalloc` will resolve the issue

Comment 1 Fedora Update System 2018-06-19 08:05:55 UTC
neovim-0.3.0-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7047c269b2

Comment 2 Fedora Update System 2018-06-19 16:57:40 UTC
neovim-0.3.0-2.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-7047c269b2

Comment 3 Fedora Update System 2018-06-28 14:07:43 UTC
neovim-0.3.0-2.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 4 Jason Bowen 2018-06-29 02:19:55 UTC
Just a confirmation that everything seems to work on Fedora Workstation:

----------------------------------------------------------------------------------------------------------------
{0}[jbowen@bender ~]$ grep metalink /etc/yum.repos.d/fedora.repo | grep -Ev 'debug|source'
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
{0}[jbowen@bender ~]$ rpm -qa | grep -E 'neovim|jemalloc'
{0}[jbowen@bender ~]$ sudo dnf clean all && sudo rm -rf /var/cache/dnf
18 files removed
{0}[jbowen@bender ~]$ sudo dnf install --refresh neovim
Fedora 28 - x86_64 - Updates                                                       7.0 MB/s |  18 MB     00:02
Fedora 28 - x86_64                                                                 6.7 MB/s |  60 MB     00:08
Last metadata expiration check: 0:00:04 ago on Thu 28 Jun 2018 09:02:38 PM CDT.
Dependencies resolved.
===============================================================================================================
 Package                         Arch              Version                    Repository                 Size
===============================================================================================================
Installing:
 neovim                          x86_64            0.3.0-2.fc28               updates                    5.0 M
Installing dependencies:
 jemalloc                        x86_64            5.0.1-5.fc28               fedora                     189 k
 libtermkey                      x86_64            0.20-4.fc28                updates                    25 k
 libvterm                        x86_64            0-0.5.bzr681.fc28          fedora                     37 k
 msgpack                         x86_64            3.0.1-1.fc28               updates                    30 k
 unibilium                       x86_64            2.0.0-1.fc28               updates                    32 k
Installing weak dependencies:
 xsel                            x86_64            1.2.0-22.fc28              fedora                     30 k

Transaction Summary
===============================================================================================================
Install  7 Packages
                                                                                                                                                                                                                  
Total download size: 5.3 M
Installed size: 20 M
Is this ok [y/N]: y

... snip ...

{0}[jbowen@bender ~]$ rpm -qa | grep -E 'neovim|jemalloc'
jemalloc-5.0.1-5.fc28.x86_64
neovim-0.3.0-2.fc28.x86_64
{0}[jbowen@bender ~]$ nvim --version
NVIM v0.3.0
Build type: RelWithDebInfo
Lua 5.3

... snip ...

{0}[jbowen@bender ~]$

Comment 5 Igor Raits 2018-07-26 22:36:14 UTC
The fix is wrong.

$ rpm -qR neovim
libjemalloc.so.2()(64bit)

Anyway, I'm removing usage of jemalloc now.

Andreas, please don't put such workarounds in future.