Pathname-based buildreqs not working?

Paul Howarth paul at city-fan.org
Sat Dec 8 15:03:22 UTC 2007


On Sat, 8 Dec 2007 12:29:07 +0100
Jos Vos <jos at xos.nl> 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?

Worked fine:

# yum install /usr/include/pcap.h
Setting up Install Process
Parsing package install arguments
Importing additional filelist information
filelists.sqlite.bz2      100% |=========================|  70 kB
00:00 filelists.sqlite.bz2      100% |=========================|  94
kB    00:00 filelists.sqlite.bz2      100% |=========================|
1.8 MB    00:13 filelists.sqlite.bz2      100%
|=========================| 762 kB    00:00 Resolving Dependencies
--> Running transaction check
---> Package libpcap-devel.x86_64 14:0.9.7-3.fc8 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository
Size
=============================================================================
Installing: libpcap-devel           x86_64     14:0.9.7-3.fc8
fedora             28 k

Transaction Summary
=============================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 28 k
Is this ok [y/N]: n
Exiting on user Command
Complete!
# rpm -q yum
yum-3.2.7-2.fc8

I noticed though that in the failed mock run, the yum_cache for the
target didn't include the filelists metadata...

Paul.




More information about the Fedora-buildsys-list mailing list