[Bug 651806] New: Yast2 Gtk crash due to a lost libzypp.so.800()(64bit) library (zypp:Head) (fix provided!)
https://bugzilla.novell.com/show_bug.cgi?id=651806
https://bugzilla.novell.com/show_bug.cgi?id=651806#c0
Summary: Yast2 Gtk crash due to a lost libzypp.so.800()(64bit)
library (zypp:Head) (fix provided!)
Classification: openSUSE
Product: openSUSE 11.2
Version: Final
Platform: All
OS/Version: openSUSE 11.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: YaST2
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: carlo.strata@tiscali.it
QAContact: jsrain@novell.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; it; rv:1.9.2.12)
Gecko/20101026 SUSE/3.6.12-1.1 Firefox/3.6.12
Since a month ago my Gnome (gtk) yast2 -> Software -> Package Manager crashes
after updating and building local zypper cache.
Two alert windows appear one after another with "... YUINoDialogException..."
the first and with "UI Syntax Error; Couldn't load plug-in gtk_pkg..." the
second one (see attached images for details).
My libzypp is from
http://download.opensuse.org/repositories/zypp:/Head/
I also use
http://download.opensuse.org/repositories/YaST:/Head/
http://download.opensuse.org/repositories/GNOME:/STABLE:/2.30/
With a system verify I found (don't care about Italian messages)
carlobook:/home/carlo # zypper ve
[...]
Problema: niente fornisce libzypp.so.800()(64bit) necessario a
libqdialogsolver1-1.3.0-340.81.x86_64
Problema: niente fornisce libzypp.so.800()(64bit) necessario a
yast2-gtk-2.21.74-154.1.x86_64
Problema: niente fornisce libzypp.so.800()(64bit) necessario a
yast2-gtk-2.21.74-154.1.x86_64
so that I type
carlobook:/home/carlo # rpm -ql libzypp | grep -i libzypp
/usr/lib64/libzypp.so.807
/usr/lib64/libzypp.so.807.1.0
and finally
carlobook:/home/carlo # cd /usr/lib64
first of all I check the situation
carlobook:/usr/lib64 # ll *libzy* -d
lrwxrwxrwx 1 root root 18 4 nov 09:51 libzypp.so.807 ->
libzypp.so.807.1.0
-rwxr-xr-x 1 root root 5697816 3 nov 16:44 libzypp.so.807.1.0
then I just create a new symlink
carlobook:/usr/lib64 # ln -s libzypp.so.807.1.0 libzypp.so.800
I verified it
carlobook:/usr/lib64 # ll *libzy* -d
lrwxrwxrwx 1 root root 18 5 nov 16:51 libzypp.so.800 ->
libzypp.so.807.1.0
lrwxrwxrwx 1 root root 18 4 nov 09:51 libzypp.so.807 ->
libzypp.so.807.1.0
-rwxr-xr-x 1 root root 5697816 3 nov 16:44 libzypp.so.807.1.0
And then yast2 on Gnome (gtk) went back to run well. ;-)
This is my libzypp package
carlobook:/home/carlo # rpm -qa | grep -i libzypp
libzypp-8.8.0-1.1.x86_64
or, in details:
carlobook:/home/carlo # rpm -qi libzypp
Name : libzypp Relocations: (not relocatable)
Version : 8.8.0 Vendor:
obs://build.opensuse.org/zypp:Head
Release : 1.1 Build Date: mer 03 nov 2010
16:45:33 CET
Install Date: gio 04 nov 2010 09:51:45 CET Build Host: build30
Group : System/Packages Source RPM:
libzypp-8.8.0-1.1.src.rpm
Size : 7925211 License: GPLv2+
Signature : DSA/SHA1, mer 03 nov 2010 16:46:00 CET, Key ID 9e9ab9fdf3ef3328
Summary : Package, Patch, Pattern, and Product Management
Description :
Package, Patch, Pattern, and Product Management
Authors:
--------
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=651806
https://bugzilla.novell.com/show_bug.cgi?id=651806#c
Carlo Strata
https://bugzilla.novell.com/show_bug.cgi?id=651806
https://bugzilla.novell.com/show_bug.cgi?id=651806#c1
--- Comment #1 from Carlo Strata
https://bugzilla.novell.com/show_bug.cgi?id=651806
https://bugzilla.novell.com/show_bug.cgi?id=651806#c2
--- Comment #2 from Carlo Strata
https://bugzilla.novell.com/show_bug.cgi?id=651806
https://bugzilla.novell.com/show_bug.cgi?id=651806#c3
Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=651806
https://bugzilla.novell.com/show_bug.cgi?id=651806#c
Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=651806
https://bugzilla.novell.com/show_bug.cgi?id=651806#c4
Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=651806
https://bugzilla.novell.com/show_bug.cgi?id=651806#c5
--- Comment #5 from Carlo Strata
Hi Carlo,
So, the gtk plugin is linked to libzypp.so.800 when it should link to libzypp.so.807.
The reason for that is that the gtk plugin over YaST:Head is no longer built for opensuse 11.2. In fact, since more recently, no yast2 package is being built for 11.2 at all -- so the ncurses and qt plugins will fail in the future too, as you upgrade libzypp.
Your symlink worked because libzypp ABI happened to be backward compatible. I don't think they guarantee that's always the case -- otherwise I'd expect them telling libtool to link applications to the generic libzypp.so and not specific versions like libzypp.so.800. (If they do guarantee backward compatibility, then surely fixing libtool would be a better approach than keeping a trail of symlinks.)
That s what I suppose: I think 8.0.7 and 8.0.0 version numbers sound better as well as a bug fix difference rather than an API change in my head (only in mime?).
--
The QGtkStyle error message (a qt style that mimics gtk) can't be reproduced in 11.2, since I think QGtkStyle was only introduced in the qt version of 11.3. So, it's probably due to some system config file you're missing. It shouldn't happen I think if all package dependencies were well specified -- but given it's a minor issue, it's probably worth to swept it for under the carpet.
Help -> "About QT" yields This program uses Qt version 4.7.0. This is because I'm also using these other repos http://download.opensuse.org/repositories/KDE:/Qt/openSUSE_11.2/ http://download.opensuse.org/repositories/KDE:/Release:/45/openSUSE_11.2/ Don't think my notebook is an heap broken all over: no it isn't. Is a dual Gnome 2.30.2/KDE 4.5.3 "release 8" (I use KDE only to sometimes take a look to him and to be able to use Kolour Paint and sometimes Dolphin). I use and test new yast2 (11.3) users' experience on my "updated 11.2" very well. If you are interest to know my all repos and an ordered list of all my installed packages to evaluate somethings, just ask to me for them, I will post them here asap. :-)
You could try fixing it by firing "qtconfig" and then do "File > Save" (you will have to make some change in order for that menu entry be active).
That fix it, but I must really change something and not only make two opposite changes with the only purpose to light File -> Save menu item! ;-) Now only the "No index for key: "Name" value: "" " ramains, but certainly I swept it for under the carpet! I'm installing a clean hard disk with 11.3 in next weeks on my notebook (which 11.2 install come from an 11.1 upgrade that on his own come from 11.0!). It's time for a new 2.5" 7200 rpm sata harddisk, already on my desk, now with ext4 file system! Thank you. These are the "logs" (after the right File -> Save with pid 8314 qtconfig QGtkStyle error is fixed) carlobook:/home/carlo # qtconfig & [1] 8279 carlobook:/home/carlo # QGtkStyle was unable to detect the current GTK+ theme. [1]+ Done qtconfig carlobook:/home/carlo # carlobook:/home/carlo # yast2 --qt & [1] 8280 carlobook:/home/carlo # QGtkStyle was unable to detect the current GTK+ theme. No index for key: "Name" value: "" ^C carlobook:/home/carlo # carlobook:/home/carlo # qtconfig & [2] 8314 [1] Done yast2 --qt carlobook:/home/carlo # QGtkStyle was unable to detect the current GTK+ theme. QGtkStyle was unable to detect the current GTK+ theme. QGtkStyle was unable to detect the current GTK+ theme. [2]+ Done qtconfig carlobook:/home/carlo # qtconfig & [1] 8318 carlobook:/home/carlo # [1]+ Done qtconfig carlobook:/home/carlo # yast2 --qt & [1] 8319 carlobook:/home/carlo # No index for key: "Name" value: "" [1]+ Done yast2 --qt carlobook:/home/carlo # -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=651806
https://bugzilla.novell.com/show_bug.cgi?id=651806#c6
--- Comment #6 from Ricardo Cruz
https://bugzilla.novell.com/show_bug.cgi?id=651806
https://bugzilla.novell.com/show_bug.cgi?id=651806#c7
--- Comment #7 from Carlo Strata
https://bugzilla.novell.com/show_bug.cgi?id=651806
https://bugzilla.novell.com/show_bug.cgi?id=651806#c8
--- Comment #8 from Ricardo Cruz
I also suggest you to use the global progress bar (from 0% to 50%, e.g.) to inform people on the global download status... and from 50% + 1 to 100% to inform on global install status. This if you don't change the current two-phase install.
I completely agree on the progress bar. I am just an occasional contributor, but I'd think that problem is known and going to be addressed, given it's so egregious. But I cannot find any bug report on that, so please fill up one, so we can then assign it to whomever is most familiar with the code in question. :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=651806
https://bugzilla.novell.com/show_bug.cgi?id=651806#c9
Michael Andres
Hi Michael,
Can you tell us if libzypp ABI is supposed to be backward compatible?
If so, shouldn't applications be linking to libzypp.so, rather than specific versions like libzypp.so.807? (so that people can upgrade libzypp alone, and programs depending on it won't break.)
This is true if you follow the officially released versions; for 11.2 this is libzypp-6.x. But this one here is: Version : 8.8.0 obs://build.opensuse.org/zypp:Head And https://build.opensuse.org/project/show?project=zypp:Head says: ZYpp HEAD branch USE AT YOUR OWN RISK Note, this project is based on the latest code which is highly experimental. This is the development branch towards 11.4, and of course we do have ABI changes there, while 11.4 is not out. That's why we even have a new major number (compared to 11.2,11.3). The changed minor between 8.0.0 and 8.7.0 tells you the ABI changed. Looking into the changelog you usually see how far backward compatible the new ABI is. version 8.8.0 (7) ^ back to 8.7.x If the 'libzypp.so.800 -> libzypp.so.807.1.0' symlink works, then by chance. We changed some structures and enum values, so if yast says 'left' zypp may easily hear 'right'... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=651806
https://bugzilla.novell.com/show_bug.cgi?id=651806#c10
Ricardo Cruz
If the 'libzypp.so.800 -> libzypp.so.807.1.0' symlink works, then by chance. We changed some structures and enum values, so if yast says 'left' zypp may easily hear 'right'...
Thanks Michael for all the great info, that was more than I was bargaining for. ;-) Carlo, given yast2 head packages are no longer being built for 11.2, I'm afraid you'll have to upgrade your system if you want to keep using the latest and the greatest. :-) If you want to contest that decision, please bring up the topic over the yast2 mailing list: http://lists.opensuse.org/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=651806
https://bugzilla.novell.com/show_bug.cgi?id=651806#c11
--- Comment #11 from Carlo Strata
participants (1)
-
bugzilla_noreply@novell.com