Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 85069 - rpmbuild breaks with unpackaged files.
rpmbuild breaks with unpackaged files.
Product: Red Hat Public Beta
Classification: Retired
Component: rpm (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2003-02-25 05:40 EST by Andreas Thienemann
Modified: 2007-04-18 12:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-02-25 17:38:48 EST
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 Andreas Thienemann 2003-02-25 05:40:55 EST
Description of problem:
Trying to rebuild source-rpms with installed but not packaged files fails on phoebe.

rpmbuild --rebuild librpm404-4.0.4-8x.27.src.rpm (from Psyche) fails.
The complete buildlog is at http://filepile.dicp.de/rpmbuild.log and
shows that everything runs fine until the end of the %install stage.

The %install stage executes and finished successfully but after checking
for installed but not packaged files the build stops.
It seems that the not-packaged files are being recognized as errors and
not as warnings, something which is not the case with the 8.0

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

How reproducible: always

Steps to Reproduce:
1. Take a src-rpm which builds cleanly. pident for example as it is small an
builds fast.
2. Comment out one or two files in the %files section. (example testcase at
http://filepile.dicp.de/pidentd-3.0.16-1nousername.src.rpm )
3. rpmbuild -ba $SPECFILE
Actual results: Rebuilding stops because of errors

Expected results: Rebuilding continues with warnings

Additional info: Suggested workaround:
Adding "%_unpackaged_files_terminate_build    0" to ~/.rpmmacros or /etc/rpm/macros
Comment 1 Andreas Thienemann 2003-02-25 07:21:33 EST
After Mike A. Harris explanation about this "feature" I'd just wish for better
documentation of this change.

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