Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=915437
Bug ID: 915437
Summary: bootstrap has installed but unpackaged files
Product: Fedora
Version: rawhide
Component: ant
Severity: unspecified
Priority: unspecified
Reporter: gregswift(a)gmail.com
Created attachment 702472
-->
https://bugzilla.redhat.com/attachment.cgi?id=702472&action=edit
Patch that clens out unpackaged files.
Description of problem:
Went to use spec to build ANT for RHEL and when I ran through the build in
bootstrap mode it found a bunch of files that were installed but unpackaged.
These files belong to the subpackages that are conditionally excluded during
bootstrap. I updated the bootstrap cleanup section of %install to remove the
files.
Version-Release number of selected component (if applicable):
1.8.4-6
How reproducible:
I'll concede I only tried in rhel6, not fedora.
Steps to Reproduce:
1. git clone
http://pkgs.fedoraproject.org/cgit/ant.git/
2. move the spec and sources to appropriate directories in rpmbuild tree
3. rpmbuild --define 'with_bootstrap 1' ant.spec
Actual results:
error: Installed (but unpackaged) file(s) found:
/usr/share/ant/lib/ant-antlr.jar
/usr/share/ant/lib/ant-apache-bcel.jar
/usr/share/ant/lib/ant-apache-bsf.jar
/usr/share/ant/lib/ant-apache-log4j.jar
/usr/share/ant/lib/ant-apache-oro.jar
/usr/share/ant/lib/ant-apache-regexp.jar
/usr/share/ant/lib/ant-apache-resolver.jar
/usr/share/ant/lib/ant-apache-xalan2.jar
/usr/share/ant/lib/ant-commons-logging.jar
/usr/share/ant/lib/ant-commons-net.jar
/usr/share/ant/lib/ant-javamail.jar
/usr/share/ant/lib/ant-jdepend.jar
/usr/share/ant/lib/ant-jsch.jar
/usr/share/ant/lib/ant-junit4.jar
/usr/share/java/ant/ant-antlr.jar
/usr/share/java/ant/ant-apache-bcel.jar
/usr/share/java/ant/ant-apache-bsf.jar
/usr/share/java/ant/ant-apache-log4j.jar
/usr/share/java/ant/ant-apache-oro.jar
/usr/share/java/ant/ant-apache-regexp.jar
/usr/share/java/ant/ant-apache-resolver.jar
/usr/share/java/ant/ant-apache-xalan2.jar
/usr/share/java/ant/ant-commons-logging.jar
/usr/share/java/ant/ant-commons-net.jar
/usr/share/java/ant/ant-javamail.jar
/usr/share/java/ant/ant-jdepend.jar
/usr/share/java/ant/ant-jsch.jar
/usr/share/java/ant/ant-junit4.jar
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/share/ant/lib/ant-antlr.jar
/usr/share/ant/lib/ant-apache-bcel.jar
/usr/share/ant/lib/ant-apache-bsf.jar
/usr/share/ant/lib/ant-apache-log4j.jar
/usr/share/ant/lib/ant-apache-oro.jar
/usr/share/ant/lib/ant-apache-regexp.jar
/usr/share/ant/lib/ant-apache-resolver.jar
/usr/share/ant/lib/ant-apache-xalan2.jar
/usr/share/ant/lib/ant-commons-logging.jar
/usr/share/ant/lib/ant-commons-net.jar
/usr/share/ant/lib/ant-javamail.jar
/usr/share/ant/lib/ant-jdepend.jar
/usr/share/ant/lib/ant-jsch.jar
/usr/share/ant/lib/ant-junit4.jar
/usr/share/java/ant/ant-antlr.jar
/usr/share/java/ant/ant-apache-bcel.jar
/usr/share/java/ant/ant-apache-bsf.jar
/usr/share/java/ant/ant-apache-log4j.jar
/usr/share/java/ant/ant-apache-oro.jar
/usr/share/java/ant/ant-apache-regexp.jar
/usr/share/java/ant/ant-apache-resolver.jar
/usr/share/java/ant/ant-apache-xalan2.jar
/usr/share/java/ant/ant-commons-logging.jar
/usr/share/java/ant/ant-commons-net.jar
/usr/share/java/ant/ant-javamail.jar
/usr/share/java/ant/ant-jdepend.jar
/usr/share/java/ant/ant-jsch.jar
/usr/share/java/ant/ant-junit4.jar
Expected results:
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/home/greg5320/rpmbuild/BUILDROOT/ant-1.8.4-7.el6.x86_64
Wrote: /home/greg5320/rpmbuild/SRPMS/ant-1.8.4-7.el6.src.rpm
Wrote: /home/greg5320/rpmbuild/RPMS/noarch/ant-1.8.4-7.el6.noarch.rpm
Wrote: /home/greg5320/rpmbuild/RPMS/noarch/ant-jmf-1.8.4-7.el6.noarch.rpm
Wrote: /home/greg5320/rpmbuild/RPMS/noarch/ant-swing-1.8.4-7.el6.noarch.rpm
Wrote: /home/greg5320/rpmbuild/RPMS/noarch/ant-antlr-1.8.4-7.el6.noarch.rpm
Wrote:
/home/greg5320/rpmbuild/RPMS/noarch/ant-apache-bsf-1.8.4-7.el6.noarch.rpm
Wrote:
/home/greg5320/rpmbuild/RPMS/noarch/ant-apache-resolver-1.8.4-7.el6.noarch.rpm
Wrote:
/home/greg5320/rpmbuild/RPMS/noarch/ant-commons-logging-1.8.4-7.el6.noarch.rpm
Wrote:
/home/greg5320/rpmbuild/RPMS/noarch/ant-commons-net-1.8.4-7.el6.noarch.rpm
Wrote:
/home/greg5320/rpmbuild/RPMS/noarch/ant-apache-bcel-1.8.4-7.el6.noarch.rpm
Wrote:
/home/greg5320/rpmbuild/RPMS/noarch/ant-apache-log4j-1.8.4-7.el6.noarch.rpm
Wrote:
/home/greg5320/rpmbuild/RPMS/noarch/ant-apache-oro-1.8.4-7.el6.noarch.rpm
Wrote:
/home/greg5320/rpmbuild/RPMS/noarch/ant-apache-regexp-1.8.4-7.el6.noarch.rpm
Wrote:
/home/greg5320/rpmbuild/RPMS/noarch/ant-apache-xalan2-1.8.4-7.el6.noarch.rpm
Wrote: /home/greg5320/rpmbuild/RPMS/noarch/ant-javamail-1.8.4-7.el6.noarch.rpm
Wrote: /home/greg5320/rpmbuild/RPMS/noarch/ant-jdepend-1.8.4-7.el6.noarch.rpm
Wrote: /home/greg5320/rpmbuild/RPMS/noarch/ant-jsch-1.8.4-7.el6.noarch.rpm
Wrote: /home/greg5320/rpmbuild/RPMS/noarch/ant-junit-1.8.4-7.el6.noarch.rpm
Wrote: /home/greg5320/rpmbuild/RPMS/noarch/ant-testutil-1.8.4-7.el6.noarch.rpm
Wrote: /home/greg5320/rpmbuild/RPMS/noarch/ant-scripts-1.8.4-7.el6.noarch.rpm
Wrote: /home/greg5320/rpmbuild/RPMS/noarch/ant-manual-1.8.4-7.el6.noarch.rpm
Wrote: /home/greg5320/rpmbuild/RPMS/noarch/ant-javadoc-1.8.4-7.el6.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.s26iaq
+ umask 022
+ cd /home/greg5320/rpmbuild/BUILD
+ cd apache-ant-1.8.4
+ /bin/rm -rf /home/greg5320/rpmbuild/BUILDROOT/ant-1.8.4-7.el6.x86_64
+ exit 0
Additional info:
patch to fix attached
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=Chd94bBkxD&a=cc_unsubscribe