Bug 3883 - RPM error reporting is too concise for wrong package dependencies
Summary: RPM error reporting is too concise for wrong package dependencies
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-25 18:39 MSK by Alexander Bokovoy
Modified: 2005-07-13 15:45 MSD (History)
6 users (show)

See Also:


Attachments
Include dependency token into reported error message (1.14 KB, patch)
2004-03-25 18:40 MSK, Alexander Bokovoy
no flags Details | Diff
Proposed change (2.18 KB, patch)
2004-04-26 17:31 MSD, Dmitry V. Levin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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