Bug 421131 - Bug in es_ES po translation
Bug in es_ES po translation
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gcc (Show other bugs)
i386 Linux
low Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2007-12-12 04:43 EST by Juan Ramon Martin
Modified: 2008-07-24 16:02 EDT (History)
0 users

See Also:
Fixed In Version: RHBA-2008-0753
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-24 16:02:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
gcc34-rh421131.patch (24.79 KB, patch)
2007-12-12 05:39 EST, Jakub Jelinek
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
GNU Compiler Collection 9390 None None None Never

  None (edit)
Description Juan Ramon Martin 2007-12-12 04:43:01 EST
Description of problem:
Due to a bug in es_* po translation for gcc3.4, compilation fails with an
unexpected error if locale is set to es_ES@euro (or any "es_" locale).
Compilation goes OK if locale is changed to en_US.

Version-Release number of selected component (if applicable):
gcc 3.4.6 20060404 (Red Hat 3.4.6-8)

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Jakub Jelinek 2007-12-12 04:55:35 EST
That's very vague.  Compilation of what exact source fails, what options were
used, what unexpected error do you get?
Comment 2 Juan Ramon Martin 2007-12-12 05:06:16 EST
Sorry, a minimal test case:
--- test.c ---
#include <stdio.h>  
int main () {  
  printf ("%+x", 0);  

$gcc -c test.c -O -Wall
test.c: In function `main':
test.c:4: aviso: se usó 
Error interno del compilador: Error al reportar rutinas reentradas.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/cc4h0sl7.out file, please attach this to
your bugreport.

If I set locale to en_US:
$ export LC_ALL=en_US
$ gcc -c test.c -O -Wall
test.c: In function `main':
test.c:4: warning: `+' flag used with `%x' printf format
test.c:5: warning: control reaches end of non-void function
Comment 3 Jakub Jelinek 2007-12-12 05:39:54 EST
Created attachment 285661 [details]

Thanks, gcc 3.4 didn't support %N$ style arguments for internal diagnostic
(I've only added support for that in 4.1+), but the translators clearly didn't
know about that.
Comment 4 RHEL Product and Program Management 2007-12-12 05:44:50 EST
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
Comment 10 errata-xmlrpc 2008-07-24 16:02:07 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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