Bug 434403

Summary: fedora-ds-base failed massrebuild attempt for GCC 4.3
Product: [Fedora] Fedora Reporter: Jesse Keating <jkeating>
Component: 389-ds-baseAssignee: Rich Megginson <rmeggins>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dcantrell, dennis, nhosoi, nkinder
Target Milestone: ---Keywords: screened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-27 13:02:24 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 432425    
Attachments:
Description Flags
Proposed Fix none

Description Jesse Keating 2008-02-22 11:09:29 EST
This is an automatically filed bug for a failed rebuild attempt for GCC 4.3.

http://fedoraproject.org/wiki/JesseKeating/gcc43MassRebuildProposal

Please verify why this build failed and fix it.
http://koji.fedoraproject.org/koji/taskinfo?taskID=444269
Exit code was 1, check the build.log for the failed buildArch task.
Comment 1 Nathan Kinder 2008-02-23 13:21:13 EST
I believe that we need to define the "_GNU_SOURCE" feature test macro when we
build now.

This problem is due to a change made to /usr/include/bits/socket.h in rawhide
where "struct ucreds" is defined only if "__USE_GNU" is defined.  The
"__USE_GNU" macro is designeded to be set internally by glibc when the
"_GNU_SOURCE" feature test macro is set directly by the program.
Comment 2 Nathan Kinder 2008-02-23 13:25:24 EST
Created attachment 295712 [details]
Proposed Fix

With these changes, I'm able to build fedora-ds-base on Rawhide x86_64.  I
omitted the auto-generated autotools changes from the diffs for readability.
Comment 3 Rich Megginson 2008-02-25 14:17:47 EST
Looks good.  Can you confirm that it builds on el4 and f8 with this fix?
Comment 4 Rich Megginson 2008-02-27 13:02:24 EST
Tagged fixes as FedoraDirSvr110_gcc43 - new source tarball has version 1.1.0.1
pulled from this tag.

Checking in fedora-ds-base.spec;
/cvs/extras/rpms/fedora-ds-base/devel/fedora-ds-base.spec,v  <-- 
fedora-ds-base.spec
new revision: 1.13; previous revision: 1.12
done
Checking in sources;
/cvs/extras/rpms/fedora-ds-base/devel/sources,v  <--  sources
new revision: 1.12; previous revision: 1.11
done

Built in koji