[Bug 1017195] New: Unnecessary dependency of snapper on MESA
http://bugzilla.opensuse.org/show_bug.cgi?id=1017195 Bug ID: 1017195 Summary: Unnecessary dependency of snapper on MESA Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: wagner-thomas@gmx.at QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hi! I have a headless virtual machine (just apache running and I connect via ssh) with Leap 42.1. Thus no Mesa or X installed. This maschine I wanted to upgrade to Leap 42.2. So, I replaced the 42.1 repos with the repos for 42.2. However, a "zypper dup --no-recommends" pulled Mesa with quite some other graphic related libX* and libdrm* packages. I dug around a bit and IMHO python-gobject has now a dependency on all the graphic stuff. Here is the dependency chain I found by trying to uninstall Mesa: ~ # rpm -e --test Mesa error: Failed dependencies: Mesa = 11.2.2 is needed by (installed) Mesa-libGL1-11.2.2-158.1.x86_64 ~ # rpm -e --test Mesa-lib Mesa-libEGL1 Mesa-libGL1 Mesa-libglapi0 ~ # rpm -e --test Mesa-libGL1 error: Failed dependencies: libGL.so.1()(64bit) is needed by (installed) libcairo2-1.15.2-4.2.x86_64 ~ # rpm -e --test libcairo2 error: Failed dependencies: libcairo.so.2()(64bit) is needed by (installed) libpango-1_0-0-1.40.1-1.5.x86_64 ~ # rpm -e --test libpango-1_0-0 error: Failed dependencies: libpango-1.0.so.0()(64bit) is needed by (installed) typelib-1_0-Pango-1_0-1.40.1-1.5.x86_64 libpangocairo-1.0.so.0()(64bit) is needed by (installed) typelib-1_0-Pango-1_0-1.40.1-1.5.x86_64 libpangoft2-1.0.so.0()(64bit) is needed by (installed) typelib-1_0-Pango-1_0-1.40.1-1.5.x86_64 libpangoxft-1.0.so.0()(64bit) is needed by (installed) typelib-1_0-Pango-1_0-1.40.1-1.5.x86_64 ~ # rpm -e --test typelib-1_0-Pango-1_0 error: Failed dependencies: typelib(Pango) is needed by (installed) python-gobject-3.20.1-3.2.x86_64 ~ # rpm -e --test python-gobject error: Failed dependencies: python-gobject is needed by (installed) dbus-1-python-1.2.0-7.34.x86_64 ~ # rpm -e --test dbus-1-python error: Failed dependencies: dbus-1-python is needed by (installed) snapper-zypp-plugin-0.3.3-2.2.noarch I dug around further and in the spec file of python-gobject [1] I found %global __requires_exclude typelib\\(%%namespaces\\) IMHO with this line the dependency on typelib should be stripped [2]. However, the dependency is still enforced an pulls all graphical stuff like Mesa even on headless machines. So, is there a good reason why Mesa is needed by snapper even on a headless machine, or is the purging of the typelib requirement not working properly? Best regards Thomas [1] https://build.opensuse.org/package/view_file/openSUSE:Leap:42.2/python-gobje... [2] https://forums.opensuse.org/showthread.php/499028-RPM-What-does-quot-global-... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1017195
http://bugzilla.opensuse.org/show_bug.cgi?id=1017195#c2
--- Comment #2 from Thomas Wagner
http://bugzilla.opensuse.org/show_bug.cgi?id=1017195
http://bugzilla.opensuse.org/show_bug.cgi?id=1017195#c3
Bjørn Lie
http://bugzilla.opensuse.org/show_bug.cgi?id=1017195
http://bugzilla.opensuse.org/show_bug.cgi?id=1017195#c4
Frederic Crozat
@SLED team - one of your packages?
No, it is maintainer by Fridrich. the issue is at dbus-1-python level, which added python-gobject requirement ( https://build.opensuse.org/request/show/207106 ) I would suggest to drop it in Tumbleweed, since there is no reason to have it at that level. However, I'm against removing this dependency on SLE12, since it could break applications which are missing the explicit python-gobject requirement (and had it through dbus-1-python). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1017195
http://bugzilla.opensuse.org/show_bug.cgi?id=1017195#c5
Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=1017195
http://bugzilla.opensuse.org/show_bug.cgi?id=1017195#c6
--- Comment #6 from Thomas Wagner
http://bugzilla.opensuse.org/show_bug.cgi?id=1017195
http://bugzilla.opensuse.org/show_bug.cgi?id=1017195#c7
--- Comment #7 from Dominique Leuenberger
IMHO python-gobject (the non-GDK variant) does still depend on libcairo2. By trail and error I found out building libcairo2 with --disable-xcb \ --enable-xlib=no \ --enable-xlib-render=no does break the dependency chain.
rpm -qR python-gobject /usr/bin/env
you DO realize I said the change is coming together with GNOME 3.24 by end od March, right? libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libffi.so.4()(64bit) libgirepository-1.0.so.1()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libpthread.so.0()(64bit) python = 2.7 python(abi) = 2.7 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsLzma) <= 4.4.6-1 typelib(GLib) typelib(Gio) This is the package as is currently prepared - and there is no X-dependency pulled in. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com