Bug 102182 - Compiling glibc srpm fails
Summary: Compiling glibc srpm fails
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: glibc
Version: 3.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-08-12 11:14 UTC by alex kramarov
Modified: 2016-11-24 14:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-08-15 21:51:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.