Bug 58401 - rpm --recompile or --rebuild fail in 4.0.3
Summary: rpm --recompile or --rebuild fail in 4.0.3
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm-build
Version: 6.2
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2002-01-15 22:54 UTC by Joseph Shraibman
Modified: 2008-05-01 15:38 UTC (History)
0 users

Clone Of:
Last Closed: 2002-01-29 22:45:26 UTC

Attachments (Terms of Use)

Description Joseph Shraibman 2002-01-15 22:54:07 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011221

Description of problem:
rpm --rebuild <src.rpm> gives a : No such file or directory 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Try rpm --rebuild on a src rpm

Actual Results:  [root@p1 /local/download/srpms] ls -l pine-4.44-1.72.0.src.rpm
-rw-r--r--   1 root     root      2652514 Jan 15 17:23 pine-4.44-1.72.0.src.rpm
[root@p1 /local/download/srpms] rpm --rebuild pine-4.44-1.72.0.src.rpm
pine-4.44-1.72.0.src.rpm: No such file or directory
[root@p1 /local/download/srpms] rpm -recompile pine-4.44-1.72.0.src.rpm
pine-4.44-1.72.0.src.rpm: No such file or directory
[root@p1 /local/download/srpms]  rpm -v
RPM version 4.0.3
Copyright (C) 1998-2000 - Red Hat, Inc.
This program may be freely redistributed under the terms of the GNU GPL
Usage: rpm {--help}
       rpm {--version}

Additional info: I'm using a 6.x system.  I downloaded the rpm for rpm from rpm.org.

Comment 1 Jeff Johnson 2002-01-26 18:42:33 UTC
Have you installed the rpm-build package?

Comment 2 Joseph Shraibman 2002-01-29 22:40:44 UTC
No, I hadn't realized it existed.  What was the rational for putting the
building stuff in a seperate subpackage?

As for this bug rpm should at least give me an error message saying 'install

Comment 3 Jeff Johnson 2002-01-29 22:45:20 UTC
The rationale is that rpm has far too many options and that
most users are not interested in building packages.

Again, you're asking for one program to give an error message
for another program, /bin/rpm != /usr/bin/rpmbuild. The "fix"
when the time comes will be to remove the popt alias magic glue
to report a "No such option error". The build modes are
in /usr/bin/rpmbuild and they will stay there forever more.

Comment 4 Jeff Johnson 2002-02-05 17:49:06 UTC
This problem appears resolved. At least for rpm-4.0.4,
the same goofiness with rpmb vs rpmbuild will continue
to exist.

Note You need to log in before you can comment on or make changes to this bug.