Bug 1928

Summary: descriptive error message for missing rpm-build
Product: Sisyphus Reporter: at <at>
Component: libpoptAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P4 CC: glebfm, ldv, placeholder, rider, wrar
Version: unstable   
Hardware: all   
OS: Linux   

Description at@altlinux.org 2003-01-13 21:43:47 MSK
When rpm-build package is not installed, \&quot;rpm -ba\&quot; gives \&quot;file not found\&quot; error message which confuses most people. Why, it gives no idea on which file was not found. Thus one has to run strace.
---

---

Comment 1 Dmitry V. Levin 2003-01-16 15:46:34 MSK
Another confusing message (when rpmb is not available) is:
$ rpm --version -ba existing.spec
Comment 2 Dmitry V. Levin 2003-01-16 15:46:34 MSK
Another confusing message (when rpmb is not available) is:
$ rpm --version -ba existing.spec
Comment 3 Michael Shigorin 2003-03-27 00:40:10 MSK
It\'s _quite_ confusing: e.g. Vladimir Bormotov got caught by an example too.  Well, I was stupid enough a couple of times too.
Comment 4 Michael Shigorin 2003-03-27 00:40:10 MSK
It\'s _quite_ confusing: e.g. Vladimir Bormotov got caught by an example too.  Well, I was stupid enough a couple of times too.
Comment 5 Dmitry V. Levin 2004-01-17 22:05:52 MSK
*** Bug 3505 has been marked as a duplicate of this bug. ***
Comment 6 Vladimir Lettiev 2004-05-16 01:07:17 MSD
I look at source code of rpm (4.0.4-alt37) and find this incorrect(?) string in
rpmqv.c:630

argerror("--buildroot may only be used during package builds");

may be must be: 

argerror(_("--buildroot may only be used during package builds"));

or I'm not right? May be this solve problem with this confused message...(?)
Comment 7 Dmitry V. Levin 2004-05-16 02:43:14 MSD
No, this message is unrelated to the problem.
Comment 8 Dmitry V. Levin 2004-05-21 16:59:04 MSD
To more appropriate package.
Comment 9 Dmitry V. Levin 2004-05-21 17:00:05 MSD
Fixed in libpopt-1.7-alt12.