Bug 154580 - Automatic Provides/Requires Mismatch
Automatic Provides/Requires Mismatch
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-12 15:58 EDT by Michael Jennings (KainX)
Modified: 2007-11-30 17:11 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-25 18:04:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Spec file (3.32 KB, text/plain)
2005-04-12 15:58 EDT, Michael Jennings (KainX)
no flags Details

  None (edit)
Description Michael Jennings (KainX) 2005-04-12 15:58:36 EDT
Description of problem:

rpm 4.4.1 refuses to install/upgrade a package because the shared library
dependencies it auto-generated do not match.

Version-Release number of selected component (if applicable):

rpm-4.4.1-1

How reproducible:

Always.

Steps to Reproduce:
1.  Build acroread SRPM.  (Spec file attached, source tarball at
http://ardownload.adobe.com/pub/adobe/reader/unix/7x/7.0/enu/AdbeRdr70_linux_enu.tar.gz)
2.  Try to install it.
3.  File bug.  ;-)
  
Actual results:

# rpm -Uvh acroread-7.0-1.caos.i386.rpm
error: Failed dependencies:
        libACE.so is needed by acroread-7.0-1.caos.i386
        libACE.so(VERSION) is needed by acroread-7.0-1.caos.i386
        libAGM.so is needed by acroread-7.0-1.caos.i386
        libAGM.so(VERSION) is needed by acroread-7.0-1.caos.i386
        libBIB.so is needed by acroread-7.0-1.caos.i386
        libBIB.so(VERSION) is needed by acroread-7.0-1.caos.i386
        libCoolType.so is needed by acroread-7.0-1.caos.i386
        libCoolType.so(VERSION) is needed by acroread-7.0-1.caos.i386
        libResAccess.so is needed by acroread-7.0-1.caos.i386
# rpm -q --provides -p acroread-7.0-1.caos.i386.rpm
...skip...
libACE.so.2.07  
libACE.so.2.07(VERSION)  
libAGM.so.4.14  
libAGM.so.4.14(VERSION)  
libAXE16SharedExpat.so  
libAXE16SharedExpat.so(VERSION)  
libAXE8SharedExpat.so  
libAXE8SharedExpat.so(VERSION)  
libAXSLE.so  
libAXSLE.so(VERSION)  
libBIB.so.1.1  
libBIB.so.1.1(VERSION)  
libCoolType.so.5.01  
libCoolType.so.5.01(VERSION)  
...

Note the full SO version in the provides but not the requires.

Expected results:

Package should install properly.
Comment 1 Michael Jennings (KainX) 2005-04-12 15:58:36 EDT
Created attachment 113051 [details]
Spec file
Comment 2 Jeff Johnson 2005-10-25 18:04:12 EDT
This is because the DSO does not contain a DT_SONAME, and relies on 5 year old
fallback behavior that cannot be correctly inferred by the automagic elf dependency extractor
in rpm.

The right thing to do is to add a DT_SONAME to the DSO, but since this is acroread, well, disable
the internal dependency generator, or otherwise generate the dependencies
manually.

Note You need to log in before you can comment on or make changes to this bug.