From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020326 Description of problem: This bug may be similar to Bug 20286 which in turn is similar to 2895. However, this one is much more specific and therefore may have a chance of being fixed. ;-) If you do not have the rpm-build package installed and try to build a package you get a confusing error message. For example: [root@test1 SPECS]# rpm -bp kernel-2.4.spec kernel-2.4.spec: No such file or directory when the file kernel-2.4.spec is right there. Strace allows you to realize that the error message is coming from the fact that rpmb is not being exec'd properly. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.rpm -e rpm-build 2.rpm -Uvh anything.src.rpm 3.rpm -ba /usr/src/redhat/SPECS/anything.spec Actual Results: anything.spec: No such file or directory Expected Results: rpmb: No such file or directory Please install the rpm-build rpm. Additional info:
The build modes are now in /usr/bin/rpmbuild, not in /bin/rpm, so the error should be -ba: unknown option or (if rpm-build is not installed) bash: rpmbuild: command not found Legacy code dies a long slow lingering death ...
*** Bug 62634 has been marked as a duplicate of this bug. ***