Bug 427315 - mock fails to resolve file-based BuildRequires
Summary: mock fails to resolve file-based BuildRequires
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: 7
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-01-02 23:57 UTC by Dominik 'Rathann' Mierzejewski
Modified: 2013-01-10 01:46 UTC (History)
1 user (show)

Fixed In Version: 0.8.19
Clone Of:
Environment:
Last Closed: 2008-01-03 19:52:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dominik 'Rathann' Mierzejewski 2008-01-02 23:57:26 UTC
Description of problem:
When BuildRequires: are specified as file instead of dependency name, mock fails
to install them, even though yum resolvedep has no problems.

Version-Release number of selected component (if applicable):
$ rpm -q mock
mock-0.8.18-1.fc7

How reproducible:
Always

Steps to Reproduce:
1. wget http://dl.atrpms.net/all/arpack-2.1-7.src.rpm
2. mock -r fedora-7-x86_64 rebuild arpack-2.1-7.src.rpm
  
Actual results:
INFO: mock.py version 0.8.18 starting...
State Changed: init plugins
State Changed: start
INFO: Start(/home/rathann/build/RPMS/arpack-2.1-7.fc7.src.rpm) 
Config(fedora-7-x86_64)
State Changed: lock buildroot
State Changed: clean
State Changed: init
State Changed: lock buildroot
INFO: enabled yum cache
State Changed: cleaning yum metadata
INFO: enabled root cache
State Changed: unpacking cache
State Changed: running yum
State Changed: setup
ERROR: Exception(/home/rathann/build/RPMS/arpack-2.1-7.fc7.src.rpm)
Config(fedora-7-x86_64) 0 minutes 28 seconds
INFO: Results and/or logs in: /var/lib/mock//fedora-7-x86_64/result
ERROR: Bad build req: No Package Found for /usr/lib64/liblapack.so. Exiting.


Expected results:
BRs should be resolved correctly.

Additional info:
$ yum resolvedep /usr/lib64/liblapack.so
Loading "fedorakmod" plugin
Loading "basearchonly" plugin
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * livna: rpm.livna.org
 * fedora: ftp.ps.pl
 * updates: ftp.wcss.pl
Importing additional filelist information
0:lapack-devel-3.1.1-1.fc7.x86_64

Comment 1 Michael E Brown 2008-01-03 19:52:00 UTC
works for me in 0.8.19, which was pushed to stable updates repo yesterday.

Comment 2 Dominik 'Rathann' Mierzejewski 2008-01-03 19:55:51 UTC
Confirmed with 0.8.19 mock pulled from koji as the update hasn't hit my local
mirror yet. Thanks.


Note You need to log in before you can comment on or make changes to this bug.