Bug 103029

Summary: -bi, not -bc, needed to build thread libraries
Product: [Retired] Red Hat Raw Hide Reporter: Andrew Cagney <cagney>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: fweimer
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-09-03 10:25:56 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 Andrew Cagney 2003-08-25 17:40:33 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820

Description of problem:
The thread libraries are only built as part of the RPM install process, and not
the build process.  That is:

rpmbuild -bi --target i686 glibc.spec

(-bi == install) instead of:

rpmbuild -bc --target i686 glibc.spec

(-bc == compile/build) is needed to get a built copy of the thread libraries.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. rpmbuild -bc --target i686 glibc.spec


Actual Results:  only build-i686-linux is created

Expected Results:  all the glibc libraries should have been built

Additional info:

Comment 1 Jakub Jelinek 2003-09-03 10:25:56 UTC
Many rpms do part of their building during %install phase. The distinction
between %build and %install is totally arbitrary.
Moving all the building to %build phase goes against other requests I get:
minimizing disk space requirements of glibc rpm build.