Bug 915437 - bootstrap has installed but unpackaged files
Summary: bootstrap has installed but unpackaged files
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ant
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-25 18:17 UTC by Greg Swift
Modified: 2013-07-02 10:04 UTC (History)
7 users (show)

Fixed In Version: 1.9.1-3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-02 10:04:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch that clens out unpackaged files. (1.61 KB, patch)
2013-02-25 18:17 UTC, Greg Swift
no flags Details | Diff

Description Greg Swift 2013-02-25 18:17:27 UTC
Created attachment 702472 [details]
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

Comment 1 Fedora End Of Life 2013-04-03 15:10:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 2 Mikolaj Izdebski 2013-07-02 08:22:08 UTC
Bootstrap mode isn't really needed.  It didn't work for a long time and it's not usable within Fedora.  I am going to remove it.

Comment 3 Mikolaj Izdebski 2013-07-02 08:30:34 UTC
Fixed in ant-1.9.1-3

Comment 4 Mikolaj Izdebski 2013-07-02 10:04:03 UTC
I believe that this bug is fixed in ant-1.9.1-3,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=430789

This bug was fixed in the next release of Fedora, and is not planned
to be fixed in the release it was filed against.  If you want this bug
to be fixed in updates for Fedora 19, please say so in a comment.
Otherwise you can update to the newer release of Fedora to get the fix.


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