Red Hat Bugzilla – Bug 103029
-bi, not -bc, needed to build thread libraries
Last modified: 2016-11-24 10:08:16 EST
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):
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
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.