Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 102182

Summary: Compiling glibc srpm fails
Product: Red Hat Enterprise Linux 3 Reporter: alex kramarov <alex-redbug>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: fweimer
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-08-15 21:51:14 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 alex kramarov 2003-08-12 11:14:20 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 
1.1.4322)

Description of problem:
while running "rpmbuild --rebuild glibc-2.3.2-63.src.rpm" in the rpm  install 
phase you get an error executing the following command
gzip -9nvf $RPM_BUILD_ROOT%{_infodir}/libc*

this direcroty doesn't exist in the end of the build, so the build bombs out. 
commenting out this line :

#gzip -9nvf $RPM_BUILD_ROOT%{_infodir}/libc*

in the spec file solves the problem

Version-Release number of selected component (if applicable):
glibc-2.3.2-63.src.rpm

How reproducible:
Always

Steps to Reproduce:
1.rpmbuild --rebuild glibc-2.3.2-63.src.rpm
2.
3.
    

Actual Results:  build failed while running gzip -9nvf $RPM_BUILD_ROOT%
{_infodir}/libc*

Expected Results:  build should succeed

Additional info:

compiled the system in taroon with the latest updates from up2date

Comment 1 Jakub Jelinek 2003-08-12 14:06:40 UTC
Do you have texinfo installed?

Comment 2 alex kramarov 2003-08-12 15:42:15 UTC
now when i installed texinfo it builds fine. maybe it should be in build 
preregs or dependencies of something (rpm-build, glibc, whatever)...

Comment 3 Jakub Jelinek 2003-08-12 15:51:21 UTC
I'd say rpm-build. texinfo is needed by lots of packages to build, so it seems
silly to repeat that in every package.

Comment 4 Matt Wilson 2003-08-15 21:39:02 UTC
no, it only makes sense to do this in the .src.rpm that needs it


Comment 5 Jakub Jelinek 2003-08-15 21:51:14 UTC
texinfo is so basic requirement it shouldn't be listed in each package which
needs it.