On Mon, Jul 22, 2013 at 05:17:01PM -0700, Adam Williamson wrote:
> Today in Absurd Dependency Bingo:
> 
> 
> > Dependencies Resolved
> > 
> > ================================================================================
> >  Package                         Arch   Version          Repository        
> > Size
> > ================================================================================
> > Removing:
> >  glusterfs                       x86_64 3.4.0-2.fc19     @updates-testing 
> > 4.7 M
> > Removing for dependencies:
> >  glusterfs-api                   x86_64 3.4.0-2.fc19     @updates-testing  
> > 88 k
> >  glusterfs-fuse                  x86_64 3.4.0-2.fc19     @updates-testing 
> > 233 k
> >  gnome-boxes                     x86_64 3.8.3-1.fc19     @fedora          
> > 4.1 M
> >  libcacard                       x86_64 2:1.4.2-4.fc19   @updates-testing  
> > 81 k
> >  libvirt                         x86_64 1.0.5.4-1.fc19   @updates-testing 
> > 0.0  
> >  libvirt-daemon                  x86_64 1.0.5.4-1.fc19   @updates-testing 
> > 4.5 M
> >  libvirt-daemon-config-network   x86_64 1.0.5.4-1.fc19   @updates-testing 
> > 0.0  
> >  libvirt-daemon-config-nwfilter  x86_64 1.0.5.4-1.fc19   @updates-testing 
> > 6.1 k
> >  libvirt-daemon-driver-interface x86_64 1.0.5.4-1.fc19   @updates-testing  
> > 93 k
> >  libvirt-daemon-driver-libxl     x86_64 1.0.5.4-1.fc19   @updates-testing 
> > 197 k
> >  libvirt-daemon-driver-lxc       x86_64 1.0.5.4-1.fc19   @updates-testing 
> > 219 k
> >  libvirt-daemon-driver-network   x86_64 1.0.5.4-1.fc19   @updates-testing 
> > 126 k
> >  libvirt-daemon-driver-nodedev   x86_64 1.0.5.4-1.fc19   @updates-testing  
> > 93 k
> >  libvirt-daemon-driver-nwfilter  x86_64 1.0.5.4-1.fc19   @updates-testing 
> > 159 k
> >  libvirt-daemon-driver-qemu      x86_64 1.0.5.4-1.fc19   @updates-testing 
> > 919 k
> >  libvirt-daemon-driver-secret    x86_64 1.0.5.4-1.fc19   @updates-testing  
> > 76 k
> >  libvirt-daemon-driver-storage   x86_64 1.0.5.4-1.fc19   @updates-testing 
> > 192 k
> >  libvirt-daemon-driver-uml       x86_64 1.0.5.4-1.fc19   @updates-testing 
> > 115 k
> >  libvirt-daemon-driver-xen       x86_64 1.0.5.4-1.fc19   @updates-testing 
> > 226 k
> >  libvirt-daemon-kvm              x86_64 1.0.5.4-1.fc19   @updates-testing 
> > 0.0  
> >  libvirt-daemon-qemu             x86_64 1.0.5.4-1.fc19   @updates-testing 
> > 0.0  
> >  qemu                            x86_64 2:1.4.2-4.fc19   @updates-testing 
> > 0.0  
> >  qemu-common                     x86_64 2:1.4.2-4.fc19   @updates-testing 
> > 624 k
> >  qemu-img                        x86_64 2:1.4.2-4.fc19   @updates-testing 
> > 1.9 M
> >  qemu-kvm                        x86_64 2:1.4.2-4.fc19   @updates-testing 
> > 0.0  
> >  qemu-system-alpha               x86_64 2:1.4.2-4.fc19   @updates-testing 
> > 4.1 M
> >  qemu-system-arm                 x86_64 2:1.4.2-4.fc19   @updates-testing 
> > 5.2 M
> >  qemu-system-cris                x86_64 2:1.4.2-4.fc19   @updates-testing 
> > 2.8 M
> >  qemu-system-lm32                x86_64 2:1.4.2-4.fc19   @updates-testing 
> > 2.8 M
> >  qemu-system-m68k                x86_64 2:1.4.2-4.fc19   @updates-testing 
> > 3.8 M
> >  qemu-system-microblaze          x86_64 2:1.4.2-4.fc19   @updates-testing 
> > 5.6 M
> >  qemu-system-mips                x86_64 2:1.4.2-4.fc19   @updates-testing  
> > 21 M
> >  qemu-system-or32                x86_64 2:1.4.2-4.fc19   @updates-testing 
> > 2.7 M
> >  qemu-system-ppc                 x86_64 2:1.4.2-4.fc19   @updates-testing  
> > 18 M
> >  qemu-system-s390x               x86_64 2:1.4.2-4.fc19   @updates-testing 
> > 3.1 M
> >  qemu-system-sh4                 x86_64 2:1.4.2-4.fc19   @updates-testing 
> > 7.5 M
> >  qemu-system-sparc               x86_64 2:1.4.2-4.fc19   @updates-testing 
> > 7.3 M
> >  qemu-system-unicore32           x86_64 2:1.4.2-4.fc19   @updates-testing 
> > 2.7 M
> >  qemu-system-x86                 x86_64 2:1.4.2-4.fc19   @updates-testing  
> > 11 M
> >  qemu-system-xtensa              x86_64 2:1.4.2-4.fc19   @updates-testing 
> > 5.6 M
> >  qemu-user                       x86_64 2:1.4.2-4.fc19   @updates-testing  
> > 52 M
> >  spice-glib                      x86_64 0.20-2.fc19      @updates-testing 
> > 1.2 M
> >  spice-gtk                       x86_64 0.20-2.fc19      @updates-testing 
> > 134 k
> >  spice-gtk-python                x86_64 0.20-2.fc19      @updates-testing  
> > 52 k
> >  spice-gtk3                      x86_64 0.20-2.fc19      @updates-testing 
> > 228 k
> >  vinagre                         x86_64 3.8.2-1.fc19     @side            
> > 3.0 M
> >  virt-manager                    noarch 0.10.0-1.fc19    @updates-testing 
> > 3.6 M
> >  virt-viewer                     x86_64 0.5.6-1.fc19     @updates-testing 
> > 990 k
> 
> WAT?

There are many things going on here

First, 'yum remove' is being overly dramtic. It is possible to remove
glusterfs without removing 'libvirt' - only the 'libvirt-daemon'
package depends on glusterfs-client. yum seems to want to remove far
more than is strictly required by the deps.

There is a genuine bogus dep from libcacard.so to the glusterfs
libraries, likely caused by bad Makefile linker flags in QEMU.
This means that when you try to remove gluster, it needs to pull
out libcacard which pulls out spice, which pulls out virt-manage,
virt-viewer, vinagre. Fixing libcacard deps would improve things
here

The glusterfs packaging is sub-optimal too - the client library
APIs should be isolated from the rest of the RPM, so QEMU linking
against glusterfs doesn't automatically pull in everything.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to