Pathname-based buildreqs not working?

Paul Howarth paul at city-fan.org
Mon Dec 10 11:52:04 UTC 2007


Jos Vos wrote:
> On Sat, Dec 08, 2007 at 11:08:02AM +0000, Paul Howarth wrote:
> 
>> Yesterday I noticed that mock/yum seem to be having trouble finding
>> pathname-based buildreqs.
> 
> I had this problem with RHEL5, mock 0.7.4 and yum 3.0.x, but not
> with yum 3.2.x.  Is this maybe a yum problem?  Did you directly
> query yum to search for these files as a test?

Looking at the code in mock, it appears to use this command:

yum --installroot=/var/lib/mock/fedora-devel-i386/root resolvedep 
<list-of-buildreqs>

But even that works when run manually:
# yum --installroot=/var/lib/mock/fedora-devel-i386/root resolvedep 
openssl-devel /usr/include/tcpd.h openldap-devel
Yum Version: 3.2.8
COMMAND: yum --installroot=/var/lib/mock/fedora-devel-i386/root 
resolvedep openssl-devel /usr/include/tcpd.h openldap-devel
Installroot: /var/lib/mock/fedora-devel-i386/root
Ext Commands:

    openssl-devel
    /usr/include/tcpd.h
    openldap-devel
Reading Local RPMDB
Setting up Package Sacks
kludge                    100% |=========================|  951 B 
00:00
primary.xml.gz            100% |=========================|  199 B 
00:00
city-fan.org              100% |=========================| 1.9 kB 
00:00
primary.sqlite.bz2        100% |=========================|  86 kB 
00:00
fedora                    100% |=========================| 2.1 kB 
00:00
primary.sqlite.bz2        100% |=========================| 5.5 MB 
00:00
Searching pkgSack for dep: openssl-devel
skipping reposetup, pkgsack exists
Potential match for openssl-devel from openssl-devel - 0.9.8g-2.fc9.i386
Matched openssl-devel - 0.9.8g-2.fc9.i386 to require for openssl-devel
0:openssl-devel-0.9.8g-2.fc9.i386
Searching pkgSack for dep: /usr/include/tcpd.h
skipping reposetup, pkgsack exists
Importing additional filelist information
filelists.xml.gz          100% |=========================|  192 B 
00:00
filelists.sqlite.bz2      100% |=========================|  93 kB 
00:00
filelists.sqlite.bz2      100% |=========================| 9.2 MB 
00:00
skipping reposetup, pkgsack exists
Potential match for /usr/include/tcpd.h from tcp_wrappers-devel - 
7.6-50.fc8.i386
0:tcp_wrappers-devel-7.6-50.fc8.i386
Searching pkgSack for dep: openldap-devel
skipping reposetup, pkgsack exists
Potential match for openldap-devel from openldap-devel - 2.4.6-1.fc9.i386
Matched openldap-devel - 2.4.6-1.fc9.i386 to require for openldap-devel
0:openldap-devel-2.4.6-1.fc9.i386

It's really strange that this doesn't work from within mock.

Paul.




More information about the Fedora-buildsys-list mailing list