Bug 1870559

Summary: vim-enhanced-2:8.2.1484-1 adds a dependency on libX11 via libcanberra
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: vimAssignee: Karsten <karsten>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 32CC: gchamoul, karsten, zdohnal
Target Milestone: ---Keywords: Patch, TestCaseNotNeeded
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: vim-8.2.1484-2.fc32 vim-8.2.1484-2.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-22 01:43:13 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 Petr Pisar 2020-08-20 11:09:15 UTC
vim-enhanced-2:8.2.1484-1.fc32 added a new dependency on libcanberra.so.0()(64bit). That pulls in libX11 and PulseAudio. I don't think it is a good idea.

# dnf --allowerasing  upgrade 
Last metadata expiration check: 0:20:28 ago on Thu 20 Aug 2020 12:47:26 PM CEST.
Dependencies resolved.
===========================================================================================================================================
 Package                                 Architecture           Version                              Repository                       Size
===========================================================================================================================================
Upgrading:
 vim-common                              x86_64                 2:8.2.1484-1.fc32                    updates-testing                 6.6 M
 vim-enhanced                            x86_64                 2:8.2.1484-1.fc32                    updates-testing                 1.6 M
Installing dependencies:
 alsa-lib                                x86_64                 1.2.3.2-1.fc32                       updates                         474 k
 gstreamer1                              x86_64                 1.16.2-2.fc32                        fedora                          1.3 M
 libX11                                  x86_64                 1.6.9-3.fc32                         fedora                          660 k
 libX11-xcb                              x86_64                 1.6.9-3.fc32                         fedora                           11 k
 libXext                                 x86_64                 1.3.4-3.fc32                         fedora                           39 k
 libXi                                   x86_64                 1.7.10-3.fc32                        fedora                           38 k
 libXtst                                 x86_64                 1.2.3-11.fc32                        fedora                           20 k
 libasyncns                              x86_64                 0.8-18.fc32                          fedora                           30 k
 libcanberra                             x86_64                 0.30-22.fc32                         fedora                           87 k
 libtdb                                  x86_64                 1.4.3-2.fc32                         fedora                           53 k
 pulseaudio-libs                         x86_64                 13.99.1-4.fc32                       updates                         707 k
 sound-theme-freedesktop                 noarch                 0.8-13.fc32                          fedora                          378 k

Transaction Summary
===========================================================================================================================================
Install  12 Packages
Upgrade   2 Packages

Comment 1 Zdenek Dohnal 2020-08-20 11:32:34 UTC
Hi Petr,

thanks for reporting the issue!

libcanberra was added to enable sound support, but it was meant only for gvim - see https://bugzilla.redhat.com/show_bug.cgi?id=1733818 .

It wasn't supposed to be enabled for vim-enhanced (only for vim-X11). It looks like a configure error. I'll check that.

Comment 2 Zdenek Dohnal 2020-08-20 12:09:37 UTC
That's really strange:

$ rpm -qp --requires vim-enhanced-8.2.1484-1.fc32.x86_64.rpm
...
libcanberra.so.0()(64bit)
...

Do'h... it is enabled by default if configure finds libcanberra in buildroot...

Comment 3 Zdenek Dohnal 2020-08-20 12:11:53 UTC
Yep, that's it - it is enabled by default if found in buildroot:

$ rpm -qp --requires vim-enhanced-8.2.1484-2.fc32.x86_64.rpm | grep canberra
<nothing>

I'll unpush the updates and build the new package as soon as koji will work.

Comment 4 Fedora Update System 2020-08-20 13:43:16 UTC
FEDORA-2020-f82325860d has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f82325860d

Comment 5 Fedora Update System 2020-08-20 13:43:31 UTC
FEDORA-2020-4e62ea070f has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-4e62ea070f

Comment 6 Fedora Update System 2020-08-21 01:03:58 UTC
FEDORA-2020-f82325860d has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-f82325860d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f82325860d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-08-21 01:17:54 UTC
FEDORA-2020-4e62ea070f has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-4e62ea070f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-4e62ea070f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2020-08-22 01:43:13 UTC
FEDORA-2020-4e62ea070f has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2020-09-04 16:12:53 UTC
FEDORA-2020-f82325860d has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.