Bug 1698842 - Please split out gcr-ui into a separate package, for gvfs on servers
Summary: Please split out gcr-ui into a separate package, for gvfs on servers
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gcr
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-11 11:02 UTC by Martin Pitt
Modified: 2019-04-14 00:01 UTC (History)
5 users (show)

Fixed In Version: gcr-3.28.1-3.fc30
Clone Of:
Environment:
Last Closed: 2019-04-14 00:01:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Pitt 2019-04-11 11:02:21 UTC
Description of problem: We just learned that the "osinfo-detect" program (from libosinfo) uses gvfs to detect the OS/version from a remote OS install tree or iso. This is part of the libvirt stack for VM management, and thus very interesting on servers.

libosinfo currently has an undeclared dependency on gvfs, as it uses the "http" VFS of gio. So on a server, installing libosinfo fails:

# osinfo-detect https://ftp.fau.de/fedora/linux/releases/29/Server/x86_64/os/images/boot.iso
Error parsing media: Failed to open fileOperation not supported

It starts working once installing gvfs. However, this drags in a lot of stuff which doesn't really belong on a server, and isn't required for gvfs to work:

Installing:
 gvfs                                           x86_64                          1.38.1-2.fc29                               updates                          315 k
Installing dependencies:
 adwaita-cursor-theme                           noarch                          3.30.1-1.fc29                               updates                          644 k
 adwaita-icon-theme                             noarch                          3.30.1-1.fc29                               updates                           11 M
 colord-libs                                    x86_64                          1.4.4-1.fc29                                updates                          208 k
 gcr                                            x86_64                          3.28.1-1.fc29                               updates                          667 k
 gdk-pixbuf2-modules                            x86_64                          2.38.1-1.fc29                               updates                           86 k
 gtk-update-icon-cache                          x86_64                          3.24.1-3.fc29                               updates                           31 k
 gtk3                                           x86_64                          3.24.1-3.fc29                               updates                          4.5 M
 gvfs-client                                    x86_64                          1.38.1-2.fc29                               updates                          744 k
 jbigkit-libs                                   x86_64                          2.1-15.fc29                                 updates                           49 k
 libtiff                                        x86_64                          4.0.10-4.fc29                               updates                          166 k
 pango                                          x86_64                          1.42.4-2.fc29                               updates                          258 k
 at-spi2-atk                                    x86_64                          2.30.0-1.fc29                               fedora                            77 k
 at-spi2-core                                   x86_64                          2.30.0-2.fc29                               fedora                           155 k
 atk                                            x86_64                          2.30.0-1.fc29                               fedora                           257 k
 avahi-glib                                     x86_64                          0.7-16.fc29                                 fedora                            13 k
 desktop-file-utils                             x86_64                          0.23-9.fc29                                 fedora                            70 k
 fribidi                                        x86_64                          1.0.5-1.fc29                                fedora                            82 k
 graphite2                                      x86_64                          1.3.10-6.fc29                               fedora                           108 k
 harfbuzz                                       x86_64                          1.8.7-1.fc29                                fedora                           333 k
 hicolor-icon-theme                             noarch                          0.17-3.fc29                                 fedora                            44 k
 jasper-libs                                    x86_64                          2.0.14-7.fc29                               fedora                           160 k
 lcms2                                          x86_64                          2.9-4.fc29                                  fedora                           150 k
 libXcomposite                                  x86_64                          0.4.4-15.fc29                               fedora                            22 k
 libXcursor                                     x86_64                          1.1.15-4.fc29                               fedora                            29 k
 libXdamage                                     x86_64                          1.1.4-15.fc29                               fedora                            21 k
 libXfixes                                      x86_64                          5.0.3-8.fc29                                fedora                            18 k
 libXft                                         x86_64                          2.3.2-11.fc29                               fedora                            59 k
 libXi                                          x86_64                          1.7.9-8.fc29                                fedora                            38 k
 libXinerama                                    x86_64                          1.1.4-2.fc29                                fedora                            14 k
 libXrandr                                      x86_64                          1.5.1-8.fc29                                fedora                            26 k
 libXtst                                        x86_64                          1.2.3-8.fc29                                fedora                            20 k
 libbluray                                      x86_64                          1.0.2-4.fc29                                fedora                           156 k
 libcdio                                        x86_64                          2.0.0-3.fc29                                fedora                           248 k
 libcdio-paranoia                               x86_64                          10.2+0.94+2-4.fc29                          fedora                            89 k
 libdatrie                                      x86_64                          0.2.9-8.fc29                                fedora                            31 k
 libepoxy                                       x86_64                          1.5.3-1.fc29                                fedora                           197 k
 libgusb                                        x86_64                          0.3.0-2.fc29                                fedora                            45 k
 libthai                                        x86_64                          0.1.28-1.fc29                               fedora                           199 k
 libwayland-client                              x86_64                          1.16.0-1.fc29                               fedora                            31 k
 libwayland-cursor                              x86_64                          1.16.0-1.fc29                               fedora                            19 k
 libwayland-egl                                 x86_64                          1.16.0-1.fc29                               fedora                            13 k
 rest                                           x86_64                          0.8.1-4.fc29                                fedora                            65 k
Installing weak dependencies:
 dconf                                          x86_64                          0.30.1-1.fc29                               updates                           93 k

Transaction Summary
===================================================================================================================================================================
Install  44 Packages

Total download size: 22 M
Installed size: 60 M

As far as I can see, most of these get dragged in by gtk3, which is a dependency of gcr, which is a dependency of gvfs. But gvfs doesn't need libgcr-ui.so, just libgcr-base.so (check with
`ldd /usr/libexec/*gvfs* | grep gcr`).

So it would be nice to split off a gcr-base RPM. Then gvfs can just depend on that, while all existing dependencies keep working.

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

gcr 3.28.1-1.fc29

Comment 1 Martin Pitt 2019-04-11 11:05:38 UTC
For the record, bug 1698845 is about the missing dependency in libosinfo.

Comment 2 Fabiano Fidêncio 2019-04-11 14:59:45 UTC
There's a pull-request for this issue: https://src.fedoraproject.org/rpms/gcr/pull-request/1

Comment 3 Fedora Update System 2019-04-11 20:01:15 UTC
gcr-3.28.1-3.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-1f298f63e7

Comment 4 Fedora Update System 2019-04-13 01:59:51 UTC
gcr-3.28.1-3.fc30 has been pushed to the Fedora 30 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-2019-1f298f63e7

Comment 5 Fedora Update System 2019-04-14 00:01:55 UTC
gcr-3.28.1-3.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


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