Bug 1530339

Summary: binutils-2.27-23.base.el7 fails to build when --without docs is used
Product: Red Hat Enterprise Linux 7 Reporter: Kamil Dudka <kdudka>
Component: binutilsAssignee: Nick Clifton <nickc>
Status: CLOSED ERRATA QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.5CC: bgollahe, kdudka, law, mcermak, mprchlik, ohudlick
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: binutils-2.27-25.base.el7 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 10:01:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kamil Dudka 2018-01-02 16:18:02 UTC
Version-Release number of selected component (if applicable):
binutils-2.27-23.base.el7


Steps to Reproduce:
1. brew download-build --arch=src binutils-2.27-23.base.el7
2. rpmbuild --rebuild binutils-2.27-23.base.el7.src.rpm --without docs


Actual results:
[...]
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/binutils-2.27-23.base.el7.x86_64
error: Installed (but unpackaged) file(s) found:
   /usr/share/info/as.info.gz
   /usr/share/info/bfd.info.gz
   /usr/share/info/binutils.info.gz
   /usr/share/info/gprof.info.gz
   /usr/share/info/ld.info.gz
   /usr/share/man/man1/addr2line.1.gz
   /usr/share/man/man1/ar.1.gz
   /usr/share/man/man1/as.1.gz
   /usr/share/man/man1/c++filt.1.gz
   /usr/share/man/man1/elfedit.1.gz
   /usr/share/man/man1/gprof.1.gz
   /usr/share/man/man1/ld.1.gz
   /usr/share/man/man1/nm.1.gz
   /usr/share/man/man1/objcopy.1.gz
   /usr/share/man/man1/objdump.1.gz
   /usr/share/man/man1/ranlib.1.gz
   /usr/share/man/man1/readelf.1.gz
   /usr/share/man/man1/size.1.gz
   /usr/share/man/man1/strings.1.gz
   /usr/share/man/man1/strip.1.gz
    Installed (but unpackaged) file(s) found:
   /usr/share/info/as.info.gz
   /usr/share/info/bfd.info.gz
   /usr/share/info/binutils.info.gz
   /usr/share/info/gprof.info.gz
   /usr/share/info/ld.info.gz
   /usr/share/man/man1/addr2line.1.gz
   /usr/share/man/man1/ar.1.gz
   /usr/share/man/man1/as.1.gz
   /usr/share/man/man1/c++filt.1.gz
   /usr/share/man/man1/elfedit.1.gz
   /usr/share/man/man1/gprof.1.gz
   /usr/share/man/man1/ld.1.gz
   /usr/share/man/man1/nm.1.gz
   /usr/share/man/man1/objcopy.1.gz
   /usr/share/man/man1/objdump.1.gz
   /usr/share/man/man1/ranlib.1.gz
   /usr/share/man/man1/readelf.1.gz
   /usr/share/man/man1/size.1.gz
   /usr/share/man/man1/strings.1.gz
   /usr/share/man/man1/strip.1.gz


Additional info:
This is a regression compared to binutils-2.25.1-32.base.el7_4.1.

This bug prevents the package from being automatically scanned by Covscan.

Comment 2 Nick Clifton 2018-01-03 17:22:06 UTC
Fixed in binutils-2.27-25.base.el7

Comment 4 Kamil Dudka 2018-01-03 22:19:01 UTC
Thanks for the quick turnaround!

Comment 5 Miloš Prchlík 2018-01-31 12:51:03 UTC
Verified with binutils-2.27-27.base.el7.

Comment 8 errata-xmlrpc 2018-04-10 10:01:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0686