[Bug 354164] New: provide 32-bit modules
https://bugzilla.novell.com/show_bug.cgi?id=354164 Summary: provide 32-bit modules Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME - Admin AssignedTo: bnc-team-gnome-administration@forge.provo.novell.com ReportedBy: sbrabec@novell.com QAContact: qa@suse.de Found By: --- We should provide a way, how to provide 32-bit versions of all modules, which may be required by the gtk or other program setup, and force them installed on bi-arch machines. How to reproduce: 1. Run firefox with nspluginwrapped (i. e. default installation) Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: cannot open shared object file: no such file or directory It means, that: - We should require both architectures for all programs it could require it (e. g. firefox) or - We should require (or better recommend) -32bit version for all programs that provide such module: find /usr/lib64/gtk-2.0 -name '*.so*' | xargs rpm -qf | sort -u or: - We can change 32bit creator script to add essentialfor or supplement tag to all packages providing files in /usr/lib64/gtk-2.0. -- 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=354164 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c1 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mls@novell.com Summary|provide 32-bit modules |provide/require 32-bit gtk+/GNOME modules --- Comment #1 from Stanislav Brabec <sbrabec@novell.com> 2008-01-16 09:14:41 MST --- Applications which may introduce bi-arch clash: gnome-sesion (=> gnomebreakpad from bug-buddy) proprietary 32-bit only apps (realplay, acroread, flash-player => themes, maybe input methods) any other application or user setting GTK_MODULES (=> gtk modules) Complete list of packages providing gtk+ modules in Factory: at-spi bug-buddy gail gdm gtk-xfce-engine gtk2 gtk2-engines imhangul libgail-gnome libgnomeui librsvg libwmf-gnome qtcurve-gtk2 scim scim-bridge-gtk tamil-gtk2im uim-gtk2 Complete list of gnome-vfs modules providers: control-center2 gnome-vfs-obexftp gnome-vfs2 nautilus-cd-burner python-gnome -- 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=354164 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|GNOME - Admin |GNOME - Admin Product|openSUSE 10.3 |openSUSE 11.0 Version|Final |Alpha 0 -- 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=354164 User mrueckert@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c2 Marcus Rückert <mrueckert@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro@novell.com, mrueckert@novell.com --- Comment #2 from Marcus Rückert <mrueckert@novell.com> 2008-03-11 10:53:14 MST --- documenting a discussion on irc/offline. the better solution is to set the non-native packages to supplement their native counterpart. that makes sure the packages get installed by yast when the native counterpart is installed but the user can uninstall it. as this has to be done in the baselibs.conf we postpone the fix until the central baselib.conf got splitted up to the packages. -- 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=354164 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c3 --- Comment #3 from Stanislav Brabec <sbrabec@novell.com> 2008-03-11 11:07:08 MST --- But is still should be nice to create generic rule based symbol adding: Here is the generic rule for gtk2 modules: Package foo-32bit contains /usr/lib/gtk-2.0/* => add to foo-32bit Supplements: packageand(gtk2-32bit:foo) -- 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=354164 User gekker@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c4 Gary Ekker <gekker@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|GNOME - Admin |GNOME --- Comment #4 from Gary Ekker <gekker@novell.com> 2008-03-26 12:09:59 MST --- Changing to component GNOME. Sorry for the spam. -- 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=354164 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c5 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mrueckert@novell.com --- Comment #5 from Stanislav Brabec <sbrabec@novell.com> 2008-05-21 02:13:28 MST --- Per package baselibs.conf already exist. What needs to be done to add this supplement? -- 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=354164 User mrueckert@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c6 Marcus Rückert <mrueckert@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|mrueckert@novell.com | --- Comment #6 from Marcus Rückert <mrueckert@novell.com> 2008-09-12 08:46:25 MDT --- you can specifiy supplements in the baselibs.conf -- 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=354164 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c7 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sbrabec@novell.com AssignedTo|bnc-team-gnome- |dmueller@novell.com |administration@forge.provo.novell.com | --- Comment #7 from Stanislav Brabec <sbrabec@novell.com> 2008-11-25 09:58:06 MST --- Done per package basis: For gtk2 modules/immodules/engines/...: at-spi bug-buddy gtk-xfce-engine gtk2-engine-murrine gtk2-engines imhangul libcanberra libgail-gnome librsvg libwmf qtcurve-gtk2 scim scim-bridge tamil-gtk2im uim-gtk2 For gnome-vfs2 modules: python-gnome For qt3 inputmethods: scim-bridge scim-qtimm uim-qt Reassigning to Qt3/Qt4 maintainer to evaluate the same for the rest of Qt packages. Example baselibs.conf: scim-qtimm supplements "packageand(scim-qtimm:qt3-<targettype>)" How to find all such packages: rpm --qf %{NAME}\\n -r $PWD -qf $(find usr/lib/qt*/plugins/ -type f -name '*.so' | sed s:^:/: ) | sort -u | tr '\n' ' ' katalog libqca2 libqca2-plugin-cyrus-sasl libqca2-plugin-pkcs11 libqt4-devel libqt4-qt3support libqt4-sql-mysql libqt4-sql-postgresql libqt4-sql-sqlite libqt4-sql-unixODBC libqt4-x11 muse2 qca qca-sasl qtcurve-kde qt3 qt3-devel-tools qt3-mysql qt3-postgresql qt3-sqlite qt3-unixODBC scim-bridge-qt scim-qtimm thinkeramik-style uim-qt -- 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=354164 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|provide/require 32-bit gtk+/GNOME modules |provide/require 32-bit gtk+/GNOME/Qt... modules -- 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=354164 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c8 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mrueckert@novell.com Summary|provide/require 32-bit gtk+/GNOME/Qt... modules |provide/require -32bit modules --- Comment #8 from Stanislav Brabec <sbrabec@novell.com> 2008-11-26 06:33:54 MST --- The same problem affects more package types. candidate package list NSS modules (now worked-around in YaST): glibc novell-lum nss-compat-openssl nss_ldap nss-ldapd nss-mdns samba-client samba-winbind PAM modules (now worked-around in YaST): CASA CASA_auth_token_pam_support ConsoleKit cryptconfig ecryptfs-utils gnome-keyring-pam ncpfs novell-lum opie pam pam_apparmor pam_ccreds pam_csync pam_fp pam_chroot pam_krb5 pam_kwallet pam_ldap pam_mktemp pam-modules pam_mount pam_passwdqc pam_pkcs11 pam_p11 pam_radius pam_smb pam_ssh pam_userpass pwdutils samba samba-winbind Marcus, do you still think, that it is a good idea to do this on per-package basis? Wouldn't it be much better to do it automatically? -- 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=354164 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c9 --- Comment #9 from Michael Schröder <mls@novell.com> 2008-11-26 06:47:48 MST --- What work around in YaST is that? -- 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=354164 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c10 --- Comment #10 from Stanislav Brabec <sbrabec@novell.com> 2008-11-26 06:53:33 MST --- Many YaST modules handle installation of -32bit -64bit PAM or NSS modules in an extra code. Once it will be fixed on package basis, this code could be removed from YaST. Such code is present in following files in YaST source tree: extra-packages fingerprint-reader/src/FingerprintReader.ycp kerberos-client/src/Kerberos.ycp ldap-client/src/Ldap.ycp samba-client/src/Samba.ycp users/src/inst_user_first.ycp users/src/Users.pm -- 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=354164 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c11 --- Comment #11 from Michael Schröder <mls@novell.com> 2008-11-26 06:59:04 MST --- I'm asking because you mustn't install 32bit packages if no other 32bit package is installed, i.e. there always has to be some packageand() with a 32bit package. I fear that most of the YaST workarounds get this wrong. -- 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=354164 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c12 --- Comment #12 from Stanislav Brabec <sbrabec@novell.com> 2008-11-26 07:11:09 MST --- Something similar to following lines in /usr/lib/build/baselibs_global.conf would prevent modification of ~100 packages (some of them are already waiting for submit): package /.(?<!-devel)$/ +/lib(64)?/security/.*\.so.*$ supplements "packageand(<match1>:glibc--<targettype>)" package /.(?<!-devel)$/ +/lib(64)?/libnss_.*\.so.*$ supplements "packageand(<match1>:glibc--<targettype>)" package /.(?<!-devel)$/ +/usr/lib(64)?/gtk-2.0/.*/.*\.so.*$ supplements "packageand(<match1>:gtk2-<targettype>)" package /.(?<!-devel)$/ +/usr/lib(64)?/gtk-2.0/.*/.*/.*\.so.*$ supplements "packageand(<match1>:gtk2-<targettype>)" package /.(?<!-devel)$/ +usr/lib(64)?/qt3/plugins/.*/.*\.so.*$ supplements "packageand(<match1>:qt3-<targettype>)" package /.(?<!-devel)$/ +usr/lib(64)?/qt4/plugins/.*/.*\.so.*$ supplements "packageand(<match1>:libqt4-<targettype>)" Plus QA brp script making baselibs in these paths mandatory. -- 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=354164 User dmueller@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c13 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|mrueckert@novell.com | --- Comment #13 from Dirk Mueller <dmueller@novell.com> 2009-02-05 09:23:31 MST --- I don't think we want global magic here, we already have too much confusing magic. -- 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=354164 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- 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=354164 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c14 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nadvornik@novell.com --- Comment #14 from Stanislav Brabec <sbrabec@novell.com> 2009-02-05 09:57:37 MST --- It's sad. Instead of 24 lines in one file, we have to write and maintain yet another supplements in ~100 packages. It will take many hours of work, yeat another annoying "you have to manually check" packaging rule, opening door for "forgot to check" bugs of the same type in future. -- 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=354164 User dmueller@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c15 --- Comment #15 from Dirk Mueller <dmueller@novell.com> 2009-02-11 07:22:40 MST --- there is no particular reason to artificially bloat the x86_64 system by tons of 32bit packages that are typically not needed anyway. thats why adding those supplements should be the exception. -- 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=354164 User sbrabec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c16 --- Comment #16 from Stanislav Brabec <sbrabec@novell.com> 2009-02-11 08:52:43 MST --- I proposed packageand supplement. It should introduce these modules only when they may be really needed: Example: IF ((glibc-32bit is installed) AND (nss-ldap is installed) THEN (install nss-ldap-32bit) It should be a step forward. Nowadays, YaST forces -32bit modules when you configure SMB, LDAP, Kerberos or fingerprint login. -- 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=354164 User kkaempf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c17 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkaempf@novell.com --- Comment #17 from Klaus Kämpf <kkaempf@novell.com> 2009-02-21 03:22:25 MST --- Can we move this discussion to opensuse-packaging ? This seems relevant to the community and we might get input how this is solved in other distributions. -- 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=354164 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c18 --- Comment #18 from Michael Schröder <mls@novell.com> 2009-02-23 03:52:42 MST --- Other distributions? There are no other distributions with -32bit packages and also no other rpm distributions with weak dependencies. -- 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=354164 User kkaempf@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c19 --- Comment #19 from Klaus Kämpf <kkaempf@novell.com> 2009-02-23 04:06:39 MST --- (In reply to comment #18)
Other distributions? There are no other distributions with -32bit packages and also no other rpm distributions with weak dependencies.
How does Redhat/Fedora solve this problem ? -- 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=354164 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=354164#c20 --- Comment #20 from Michael Schröder <mls@novell.com> 2009-02-23 04:27:51 MST --- Colored files/packages and having installed multiple packages with the same name and version, but different architecture. Trust me, we do not want to adopt their solution... -- 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=354164 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |485543 -- 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.
participants (1)
-
bugzilla_noreply@novell.com