Bug 83295 - rpmbuild doesn't follow macros for unpackaged files
rpmbuild doesn't follow macros for unpackaged files
Status: CLOSED NOTABUG
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm-build (Show other bugs)
1.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-01 15:11 EST by sean
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-02-01 15:19:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description sean 2003-02-01 15:11:11 EST
Description of problem:
I'm getting an unpackaged files problem in trying to build wine from a source rpm:

Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/wine-root
error: Installed (but unpackaged) file(s) found:
   /usr/share/aclocal/wine.m4
 
 
RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/share/aclocal/wine.m4

and it dies.

/etc/rpm/macros has :

 cat /etc/rpm/macros
%optflags   -O2 -march=athlon-xp -m3dnow -msse
%define _unpackaged_files_terminate_build 0

I even went into /usr/lib/rpm/macros:

#
# Should unpackaged files in a build root terminate a build?
#
# Note: The default value should be 0 for legacy compatibility.
%_unpackaged_files_terminate_build	0

#
# Should missing %doc files in the build directory terminate a build?
#
# Note: The default value should be 0 for legacy compatibility.
%_missing_doc_files_terminate_build	0

#

What am I missing?

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

rpm -q rpm-build
rpm-build-4.2-0.64

How reproducible:


Steps to Reproduce:
1.
2.
3.
    
Actual results:


Expected results:


Additional info:
Comment 1 Jeff Johnson 2003-02-01 15:19:59 EST
Yo need to delete the "%define", copy what's in
/usr/lib/rpm/macros changing 1 to 0.
Comment 2 sean 2003-02-01 18:11:45 EST
Yep. It turned out deleting the %define was half the problem. You need a tab -
not a space - before the 0 ( or 1).

thanks for the quick response.

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