Bug 3883

Summary: RPM error reporting is too concise for wrong package dependencies
Product: Sisyphus Reporter: Alexander Bokovoy <ab>
Component: rpmAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: at, glebfm, imz, ldv, placeholder, vt
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
Include dependency token into reported error message
none
Proposed change none

Description Alexander Bokovoy 2004-03-25 18:39:49 MSK
RPM error reporting does not report which exactly token produced problem in case
of processing autogenerated dependencies. In this case RPM already parsed spec
file and thus current line points behind last spec file line which makes
impossible to find out what happens without using RPM_SCRIPTS_DEBUG=1 and
carefully analyzing lots of debug output.
Comment 1 Alexander Bokovoy 2004-03-25 18:40:37 MSK
Created attachment 366 [details]
Include dependency token into reported error message
Comment 2 Dmitry V. Levin 2004-04-26 17:31:54 MSD
Created attachment 398 [details]
Proposed change

I'm about to apply this patch.
It works for me, please check whether it fits your requirements.
Comment 3 Alexander Bokovoy 2004-04-26 18:15:59 MSD
I think it is OK.
Comment 4 Dmitry V. Levin 2004-05-17 19:00:54 MSD
Fixed in rpm-4.0.4-alt37