Bug 10293

Summary: hasher passes build requirements to underlying apt incorrectly in some cases
Product: Sisyphus Reporter: Alexey Morozov <morozov>
Component: hasherAssignee: Dmitry V. Levin <ldv>
Status: CLOSED NOTABUG QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: at, glebfm, ldv, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description Alexey Morozov 2006-11-20 08:45:41 MSK
If we have specifically formed virtual requirements in the BuildRequires list, 
e.g. perl(Module/Build.pm), it's impossible to build the package via hasher.
Output log shows that hasher incorrectly passes build requirements to the 
underlying apt system:
------------------------------
rebuild: perl-Mail-Sender-0.8.10-alt1.src.rpm: fetched build dependencies.
rebuild: perl-Mail-Sender-0.8.10-alt1.src.rpm: calculated build dependencies: 
perl-devel perl(Module/Build.pm)
install: changed working directory to `/mnt/old/home/alex/RPM/hsh'
Reading Package Lists...
Building Dependency Tree...
E: Couldn't find package perl(Module
install: failed to calculate package file list.
install: Failed to generate package file list.
--------------------------------

hasher version: 1.0.34-alt1
I should mention that [some] previous versions of hasher didn't had this bug 
(otherwise I couldn't upload the package mentioned to Sisyphus :-))
Steps to Reproduce:
One can try to rebuild the mentioned package via hasher.
Comment 1 Alexey Morozov 2006-11-20 08:56:25 MSK
Please take my excuses.

The problem I described is caused by a local repository misconfiguration.