Mailinglist Archive: opensuse-bugs (14787 mails)

< Previous Next >
[Bug 224596] New: resmgr.rpm provides a 32bit symbol on x86_64
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 29 Nov 2006 10:34:48 -0700 (MST)
  • Message-id: <bug-224596-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: andreas.hanke@xxxxxxxxxxxxxx
QAContact: qa@xxxxxxx


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.

< Previous Next >