[lug] rpmbuild error for binary packaging

Michael J. Hammel mjhammel at graphics-muse.org
Mon Nov 17 07:18:40 MST 2003


I'm building an RPM from compiled binaries and keep getting an error. 
It seems this problem is intermittent with some packages on RH9 and with
some architectures, as best that I can tell from Googling.  I've tried
working around the error with "touch" n the %build and %install
sections, but that doesn't help.  Has anyone seen this before?  Here is
the error:

error: Installed (but unpackaged) file(s) found:
   /debugfiles.list
   /debugsources.list
 
 
RPM build errors:
    Installed (but unpackaged) file(s) found:
   /debugfiles.list
   /debugsources.list

Here is my spec file:

Summary: MythTV binary installation
Name: mythtv-genm
Version: 0.12
Release: 1
Copyright: GPL
Group: Applications
Source: mythtv-genm-0.12.tar.gz
# BuildRoot: %{_tmppath}/%{name}-%{version}
BuildRoot: /usr/src/redhat/BUILD/%{name}-%{version}
Vendor: Graphics Muse
Packager: Michael J. Hammel <mjhammel at graphics-muse.org>
                                                                                
%description
This RPM installs the binary packages for the MythTV PVR application and
its
plug-ins.
                                                                                
%prep
echo
%setup
echo
                                                                                
%build
touch /usr/src/redhat/BUILD/%{name}-%{version}/debugfiles.list
touch /usr/src/redhat/BUILD/%{name}-%{version}/debugsources.list
echo
                                                                                
%install
echo
                                                                                
%post
echo
                                                                                
%files
/usr/local/bin/mythtv
/usr/local/include/mythtv/*
/usr/local/share/mythtv/*
/usr/local/lib/mythtv/*

-- 
Michael J. Hammel                               The Graphics Muse 
mjhammel at graphics-muse.org                      http://www.graphics-muse.com
------------------------------------------------------------------------------
Share your knowledge. It's a way to achieve immortality.
  --  Credited to the Dalai Lama.





More information about the LUG mailing list