Bug 3343 - stupid bug, if /usr/src/redhat/RPMS/i386/ is missing the build fails completely
stupid bug, if /usr/src/redhat/RPMS/i386/ is missing the build fails completely
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Jay Turner
Depends On:
  Show dependency treegraph
Reported: 1999-06-08 16:06 EDT by seifried
Modified: 2015-01-07 18:37 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-06-08 16:53:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description seifried 1999-06-08 16:06:26 EDT
It fails to copy the rpm there (obviously as the dir
doesn't exist), and does give an error but it is annoying
because I left a rather large rpm building overnight and it
failed. rpm should check for the destination directory it
will dump the newly created rpm into and warn if it doesn't
exist BEFORE doing all the compiling. Minor but annoying.
Comment 1 Jeff Johnson 1999-06-08 16:53:59 EDT
There's nothing stopping you from writing your specfile as
	[ ! -d %{_rpmdir}/%{_arch} ] && exit 1
if you wish this functionality. There's a limit on what
rpm can do without intelligent intervention.

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