Bug #10676 rpmbuild reports Installed (but unpackaged) file(s)
Submitted: 16 May 2005 20:01 Modified: 7 Jun 2005 8:37
Reporter: Frank Büttner Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:4.1.11-0 OS:Linux (Fedora Core 3)
Assigned to: Lenz Grimmer CPU Architecture:Any

[16 May 2005 20:01] Frank Büttner
Description:
I have try to recompile mysql to support SSL. It does compile complete. But when the files are packed in the rpm files. I get this error:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/MySQL-4.1.11-build
Warnung: Installed (but unpackaged) file(s) found:
   /usr/bin/make_win_binary_distribution
   /usr/bin/make_win_src_distribution
   /usr/bin/mysql_client_test
   /usr/lib/mysql/libndbclient.a
   /usr/lib/mysql/libndbclient.la
   /usr/lib/mysql/libndbclient.so.0.0.0
   /usr/sbin/ndb_cpcd

How to repeat:
run rpmbuild -bb --target i686 mysql-4.1.11.spec
[4 Jun 2005 13:54] Matthew Lord
Hi Frank,

Thank you for your bug report!

The warning looks like it is mentioning those built files which are not included in the newI 
packaged RPM.  Those files listed are not and should not be part of our standard RPMs
so I changed the severity of the report.

I will have our build team look at this to see how we can change the spec file to avoid
the warnings.

Best Regards
[6 Jun 2005 17:30] Lenz Grimmer
Taking over this bug report from Matt.
[6 Jun 2005 17:33] Lenz Grimmer
Frank, the message you are getting is a warning, not an error. The RPM build should not terminate at this point, as our RPM spec file contains the following line:

[SNIP]
# We don't package all files installed into the build root by intention -
# See BUG#998 for details.
%define _unpackaged_files_terminate_build 0
[SNIP]

This should instruct RPM to proceed instead of aborting the build. Nevertheless, I will try to get rid of the offending files - some of them don't really have to be installed in the first place.
[7 Jun 2005 8:26] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/internals/25673
[7 Jun 2005 8:36] Lenz Grimmer
OK, I've now commited a patch to resolve at least some of the reported warnings:

   /usr/bin/make_win_binary_distribution
   /usr/bin/make_win_src_distribution

Those two should not have been installed by "make install" anyway - fixed.

   /usr/bin/mysql_client_test

Added to the MySQL-bench RPM (it is required by the MySQL test suite)

   /usr/lib/mysql/libndbclient.a
   /usr/lib/mysql/libndbclient.la
   /usr/lib/mysql/libndbclient.so.0.0.0

These won't be added to the 4.1 RPM, but will appear as part of the 5.0 RPMs (as discussed with
the NDB team)

   /usr/sbin/ndb_cpcd

Not needed in the RPMs, but will remain as installed by "make install"