[Bug 224596] New: resmgr.rpm provides a 32bit symbol on x86_64
https://bugzilla.novell.com/show_bug.cgi?id=224596 Summary: resmgr.rpm provides a 32bit symbol on x86_64 Product: openSUSE 10.3 Version: unspecified Platform: 64bit OS/Version: Linux Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: andreas.hanke@gmx-topmail.de QAContact: qa@suse.de resmgr.spec contains this code: Provides: libresmgr.so.0.9.8 # if you know a better way for that provides feel free to fix it %ifarch x86_64 ia64 s390x ppc64 Provides: libresmgr.so.0.9.8()(64bit) %endif This causes resmgr.rpm to provide both the 32bit symbol - libresmgr.so.0.9.8 - and the 64bit symbol - libresmgr.so.0.9.8()(64bit). It should provide the 64bit symbol only because the package contains only 64bit binaries which cannot fulfill the requirements of a 32bit binary. This can be achieved in two different ways: (1) Change in resmgr.spec: %ifarch x86_64 ia64 s390x ppc64 Provides: libresmgr.so.0.9.8()(64bit) %else Provides: libresmgr.so.0.9.8 %endif Note that this might need changes to baselibs.conf to get the 32-bit symbol provided by resmgr-32bit.rpm (where it belongs). (2) Remove the "symlink + fake Provides" solution and build a real library. # to ensure that the library is built from an empty source rm -f dummy.c && touch dummy.c # build it gcc -shared -Wl,-soname,libresmgr.so.0.9.8 -o $RPM_BUILD_ROOT/%{_lib}/libresmgr.so.0.9.8 dummy.c -L$RPM_BUILD_ROOT/%{_lib} -lresmgr -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224596 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |lnussel@novell.com |screening@forge.provo.novell| |.com | -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224596 lnussel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=224596 lnussel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #1 from lnussel@novell.com 2006-12-08 07:03 MST ------- fixed with method 1), thanks -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com