find-requires doesn't seem to run during build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm running rpmbuild to try to make an rpm for my own glibc.  But for
some reason I'm not getting the expected results from the automatic
dependency finder.   I'm using RPM version 4.4.2.3.  I already looked
at and applied the patch described in this post:
http://lists.rpm.org/pipermail/rpm-maint/2008-April/002031.html

unix> rpmbuild -ba -v glibc-2.8-20080929.specs
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.11279
...
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.11279
...
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.11279
...
Processing files: glibc-2.8.20080929-1
Provides: config(glibc) = 2.8.20080929-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix)
<= 4.0-1
Requires: /bin/bash /bin/sh /usr/bin/perl
Checking for unpackaged file(s): /usr/lib/rpm/check-files %{buildroot}
Wrote: /usr/src/rpm/srpms/glibc-2.8.20080929-1.src.rpm
Wrote: /usr/src/rpm/rpms/i386/glibc-2.8.20080929-1.i386.rpm

This is clearly wrong, glibc obivously depends on more than bash and
perl.  I can invoke the find-requires script directly on the files
described in the generated rpm, and get more expected results:
unix> rpm -qpl /usr/src/rpm/rpms/i386/glibc-2.8.20080929-1.i386.rpm |
/usr/lib/rpm/find-requires
/bin/bash
/bin/sh
/usr/bin/perl
ld-linux.so.2
ld-linux.so.2(GLIBC_2.1)
ld-linux.so.2(GLIBC_2.3)
ld-linux.so.2(GLIBC_PRIVATE)
libCNS.so
libGB.so
libISOIR165.so
libJIS.so
libJISX0213.so
libKSC.so
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.2)
libc.so.6(GLIBC_2.1.3)
libc.so.6(GLIBC_2.2)
libc.so.6(GLIBC_2.2.2)
libc.so.6(GLIBC_2.2.3)
libc.so.6(GLIBC_2.2.4)
libc.so.6(GLIBC_2.3)
libc.so.6(GLIBC_2.3.2)
libc.so.6(GLIBC_2.3.3)
libc.so.6(GLIBC_2.3.4)
libc.so.6(GLIBC_2.4)
libc.so.6(GLIBC_2.7)
libc.so.6(GLIBC_2.8)
libc.so.6(GLIBC_PRIVATE)
libdl.so.2
libdl.so.2(GLIBC_2.0)
libdl.so.2(GLIBC_2.1)
libnsl.so.1
libnsl.so.1(GLIBC_2.0)
libnsl.so.1(GLIBC_2.1)
libnsl.so.1(GLIBC_PRIVATE)
libnss_files.so.2
libnss_files.so.2(GLIBC_PRIVATE)
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_PRIVATE)
libresolv.so.2
libresolv.so.2(GLIBC_2.0)
libresolv.so.2(GLIBC_2.2)
libresolv.so.2(GLIBC_PRIVATE)
librt.so.1
librt.so.1(GLIBC_2.2)

I do have a /etc/rpmrc file, but I can't imagine it's doing anything wonky:
unix> cat /etc/rpmrc
include: /usr/lib/rpm/rpmrc
macrofiles: /usr/lib/rpm/macros:~/.rpmmacros:/etc/rpmmacros
unix> cat /etc/rpmmacros
%_topdir /usr/src/rpm
%_builddir  %{_topdir}/build
%_rpmdir    %{_topdir}/rpms
%_sourcedir %{_topdir}/sources
%_specdir   %{_topdir}/specs
%_srcrpmdir %{_topdir}/srpms
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux