ALT Linux Bugzilla – #1928
descriptive error message for missing rpm-build
Last modified: 2004-05-21 17:00:06
You need to
before you can comment on or make changes to this bug.
When rpm-build package is not installed, \"rpm -ba\" gives
\"file not found\" error message which confuses most people. Why, it
gives no idea on which file was not found. Thus one has to run strace.
Another confusing message (when rpmb is not available) is:
$ rpm --version -ba existing.spec
It\'s _quite_ confusing: e.g. Vladimir Bormotov got caught by an example too.
Well, I was stupid enough a couple of times too.
*** Bug 3505 has been marked as a duplicate of this bug. ***
I look at source code of rpm (4.0.4-alt37) and find this incorrect(?) string in
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...(?)
No, this message is unrelated to the problem.
To more appropriate package.
Fixed in libpopt-1.7-alt12.