RPM Community Forums

Mailing List Message of <rpm-users>

Re: "rpmdeps" not not working

From: Jeff Johnson <n3npq@mac.com>
Date: Wed 11 Jul 2007 - 23:47:58 CEST
Message-Id: <9DF5F021-3F5A-4B46-8EB7-BFD880FC8702@mac.com>

On Jul 11, 2007, at 5:11 PM, Eric MSP Veith wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> I just rebuilt rpm-4.4.8. I took great care that nothing disturbed  
> the build:
> - - Clean environment variables,
> - - no ccache, distcc, parallel make,
> - - removed the old rpmdeps manually before installing the newly  
> build packages
>
> However, rpmdeps still doesn't print out the dependencies expeded.  
> I noticed
> that the genereation of perl dependencies works:
>
> $ echo /usr/lib/perl5/5.8.8/Net/FTP.pm | /usr/lib/rpm/rpmdeps -R
> perl >= 0:5.001
> perl(Carp)
> perl(Fcntl)
> perl(IO::Socket)
> (...)
> rpmlib(VersionedDependencies) <= 3.0.3-1
>
> Likewise for Python or shell scripts:
>
> $ echo /usr/lib/python2.4/Queue.py | /usr/lib/rpm/rpmdeps -R
> python(abi) = 2.4
>
> $ echo /etc/init.d/rc.font.new | /usr/lib/rpm/rpmdeps -R
> /bin/sh
>
> Perhaps the file magic examination fails?
>
>> Send me a ptr to the *.src.rpm of what you are calling rpm-4.4.8 if
>> you get stuck,
>
> I used the src.rpm from rpm5.org, located here:
> http://rpm5.org/files/rpm/rpm-4.4/rpm-4.4.8-1.src.rpm
>

That came from wraptastic.org. Here's what I see

[jbj@wellfleet rpm-4.4.8]$ rpm --version
RPM version 4.4.8
[jbj@wellfleet rpm-4.4.8]$ rpm -ql rpm-libs | /usr/lib/rpm/rpmdeps -R
libbeecrypt.so.6
libbz2.so.1
libc.so.6
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.1)
libc.so.6(GLIBC_2.1.3)
libc.so.6(GLIBC_2.2)
libc.so.6(GLIBC_2.2.3)
libc.so.6(GLIBC_2.3)
libc.so.6(GLIBC_2.3.4)
libdl.so.2
libdl.so.2(GLIBC_2.0)
libdl.so.2(GLIBC_2.1)
libelf.so.1
libelf.so.1(ELFUTILS_1.0)
libm.so.6
libm.so.6(GLIBC_2.0)
libneon.so.25
libpopt.so.0
libpopt.so.0(LIBPOPT_0)
libpthread.so.0
libpthread.so.0(GLIBC_2.0)
libpthread.so.0(GLIBC_2.1)
libpthread.so.0(GLIBC_2.2)
libpthread.so.0(GLIBC_2.3.2)
libpthread.so.0(GLIBC_2.3.3)
libpthread.so.0(GLIBC_2.4)
libresolv.so.2
librpm-4.4.so
librpm-4.4.so(LIBRPM_0)
librpmdb-4.4.so
librpmdb-4.4.so(LIBRPMDB_0)
librpmio-4.4.so
librpmio-4.4.so(LIBRPMIO_0)
librt.so.1
libselinux.so.1
libsqlite3.so.0
rtld(GNU_HASH)

I've copied exactly the rpm binary packages I built on F7 this  
morning that
produced the above to
     http://wraptastic.org/pub/jbj

See if the /usr/lib/rpm/rpmdeps in those packages "works" for you.

You might also try rpm-4.4.9 from rp[m5.org. There was a last minute  
patch
to rpm-4.4.8 that might have broke rpmdeps. That problem is  
definitely fixed
in rpm-4.4.9

73 de Jeff
Received on Wed Jul 11 23:48:02 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.