Bug 74503

Summary: gcc is unable to rebuild itself
Product: [Retired] Red Hat Linux Reporter: Leonid Kanter <leon>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 3.2-10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-02 18:09:47 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:
Attachments:
Description Flags
nohup.out produced by rpmbuild -ba gcc32.spec
none
A patch
none
BUILD/gcc-3.2-20020903/obj-i386-asplinux-linux/i386-asplinux-linux/libstdc++-v3/config.log
none
config.log from clean psyche box none

Description Leonid Kanter 2002-09-25 14:28:32 UTC
Description of Problem:

gcc is unable to rebuild itself. rpmbuild --ba gcc32.spec finished with errors

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

gcc-3.2-7

How Reproducible:

always

Steps to Reproduce:
1. install Psyche with development
2. satisfy gcc build dependency (dejagnu)
3. start rpm --rebuild gcc-3.2-7.src.rpm

Actual Results:

Error building package

Expected Results:

It must rebuild itself cleanly

Additional Information:
	
Reproduced on two boxes

Comment 1 Leonid Kanter 2002-09-25 14:33:14 UTC
Created attachment 77204 [details]
nohup.out produced by rpmbuild -ba gcc32.spec

Comment 2 hjl 2002-09-25 14:55:50 UTC
It is a known problem.

Comment 3 hjl 2002-09-25 14:57:49 UTC
Created attachment 77205 [details]
A patch

Comment 4 Jakub Jelinek 2002-09-25 15:05:26 UTC
That's not true.
It is a known problem that the patch I put in doesn't work with --enable-clocale=generic
(and that is what I've fixed in CVS).
But on Psyche it uses clocale gnu, not generic, as glibc is recent enough
and has the necessary bugfixes.
So I'm really interested in seeing libstdc++-v3's config.log to see what's
going on and why it chose clocale generic, not gnu.

Comment 5 Leonid Kanter 2002-09-25 15:26:16 UTC
Created attachment 77206 [details]
BUILD/gcc-3.2-20020903/obj-i386-asplinux-linux/i386-asplinux-linux/libstdc++-v3/config.log

Comment 6 Leonid Kanter 2002-09-25 15:31:07 UTC
sorry, it was from wrong box, but it's no matter

Comment 7 Jakub Jelinek 2002-09-25 15:32:53 UTC
Looks like you don't have german locale installed. The test needs it.

Comment 8 Leonid Kanter 2002-09-25 15:35:08 UTC
Created attachment 77207 [details]
config.log from clean psyche box

Comment 9 Leonid Kanter 2002-09-25 15:39:03 UTC
Hmm installer doesn't install German locale because I selected only Russian and
Ukrainian locales during installation. Let me rpm -i --force glibc-common and
retry...

Comment 10 Leonid Kanter 2002-09-25 17:18:37 UTC
Yes, I installed full set of glibc locales and rebuilt gcc rpm successfully.