Bug 70173

Summary: missing popt dependency
Product: [Retired] Red Hat Public Beta Reporter: Curtis Doty <curtis>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: limboCC: aleksey
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-07-30 21:54:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Curtis Doty 2002-07-30 21:26:23 UTC
rpm-4.1-0.57 grumbles thusly:

/usr/lib/rpm/rpmq: relocation error: /usr/lib/librpmdb-4.1.so: undefined 
symbol: poptSaveInt

until i manually installed matching popt libs.

howsabout this jbj? solution?
--- rpm.spec.orig       Thu Jul 25 16:37:00 2002
+++ rpm.spec    Tue Jul 30 14:24:47 2002
@@ -25,7 +25,7 @@
 %ifos linux
 Prereq: gawk fileutils textutils mktemp shadow-utils
 %endif
-Requires: popt = 1.7
+Requires: popt = 1.7-%{release}
 
 %if !%{with_internal_db}
 BuildRequires: db3-devel
@@ -61,7 +61,7 @@
 %package devel
 Summary:  Development files for manipulating RPM packages.
 Group: Development/Libraries
-Requires: rpm = %{rpm_version}, popt = 1.7
+Requires: rpm = %{rpm_version}, popt = 1.7-%{release}
 
 %description devel
 This package contains the RPM C library and header files. These
@@ -90,7 +90,7 @@
 Group: Development/Libraries
 Requires: rpm = %{rpm_version}
 Requires: python >= %{with_python_version}
-Requires: popt = 1.7
+Requires: popt = 1.7-%{release}
 
 %description python
 The rpm-python package contains a module that permits applications
@@ -110,7 +110,7 @@
 Provides: perl(RPM::Header) = %{rpm_version}
 Requires: rpm = %{rpm_version}
 Requires: perl >= 0:5.00503
-Requires: popt = 1.7
+Requires: popt = 1.7-%{release}
 Obsoletes: perl-Perl-RPM
 
 %description perl

Comment 1 Aleksey Nogin 2002-07-30 21:54:30 UTC
Yes, I see this too - rpm-4.1-0.57 works with popt-1.7-0.57, but not with
popt-1.7-0.50!

Not sure if this is rpm's fault for not being specific enough wrt popt's version
or popt's fault for not incrementing the version number when adding poptSaveInt...

Comment 2 Jeff Johnson 2002-07-30 22:01:28 UTC
This is beta software. No way am I going to track
popt at the release level.