Bug 658186

Summary: rpmbuild of glibc fails on unpackaged files when %_enable_debug_packages not set
Product: [Fedora] Fedora Reporter: John Reiser <jreiser>
Component: glibcAssignee: Andreas Schwab <schwab>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: fweimer, jakub, leonard-rh-bugzilla, pmuller, schwab, spoyarek
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glibc-2.12.90-21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 653905 Environment:
Last Closed: 2010-12-17 08:30:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Reiser 2010-11-29 15:54:01 UTC
+++ This bug was initially created as a clone of Bug #653905 +++
Please fix the same problem in glibc-2.12.90-19.i686.rpm for Fedora 15 rawhide.

Description of problem:
When %_enable_debug_packages is not set (in .rpmmacros) the rpmbuild of glibc will fail on unpackaged files:

error: Installed (but unpackaged) file(s) found:
   /usr/lib/debug/usr/lib64/libBrokenLocale.a
   /usr/lib/debug/usr/lib64/libanl.a
   /usr/lib/debug/usr/lib64/libbsd-compat.a
   /usr/lib/debug/usr/lib64/libbsd.a
   /usr/lib/debug/usr/lib64/libc.a
   /usr/lib/debug/usr/lib64/libc_nonshared.a
   /usr/lib/debug/usr/lib64/libc_stubs.a
   /usr/lib/debug/usr/lib64/libcrypt.a
   /usr/lib/debug/usr/lib64/libdl.a
   /usr/lib/debug/usr/lib64/libg.a
   /usr/lib/debug/usr/lib64/libieee.a
   /usr/lib/debug/usr/lib64/libm.a
   /usr/lib/debug/usr/lib64/libmcheck.a
   /usr/lib/debug/usr/lib64/libnsl.a
   /usr/lib/debug/usr/lib64/libpthread.a
   /usr/lib/debug/usr/lib64/libpthread_nonshared.a
   /usr/lib/debug/usr/lib64/libresolv.a
   /usr/lib/debug/usr/lib64/librpcsvc.a
   /usr/lib/debug/usr/lib64/librt.a
   /usr/lib/debug/usr/lib64/libutil.a

Version-Release number of selected component (if applicable):
glibc-2.12-1.7.el6
Building on 6beta.

How reproducible:
$ rpmbuild -ba glibc.spec
with %_enable_debug_packages unset (or 0 I suppose)

Comment 1 Siddhesh Poyarekar 2010-12-12 11:12:34 UTC
Triaged, but should not have changed status. Reverted.

Comment 2 Fedora Update System 2010-12-13 17:54:53 UTC
glibc-2.12.90-20 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/glibc-2.12.90-20

Comment 3 Fedora Update System 2010-12-15 08:56:43 UTC
glibc-2.12.90-21 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update glibc'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/glibc-2.12.90-21

Comment 4 Fedora Update System 2010-12-17 08:30:05 UTC
glibc-2.12.90-21 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.