This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/13853] Building libc.pot has a lot of warnings.
- From: "carlos_odonell at mentor dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 14 Jun 2012 00:00:31 +0000
- Subject: [Bug build/13853] Building libc.pot has a lot of warnings.
- Auto-submitted: auto-generated
- References: <bug-13853-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13853
Carlos O'Donell <carlos_odonell at mentor dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|2.16 |2.17
--- Comment #1 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-06-14 00:00:31 UTC ---
Moving this to 2.17. The changes are too invasive to make for 2.16 and we're
already in the code freeze.
With the attached WIP patch I now get:
~~~
carloso@build4-lucid-cs:/scratch/carloso/build4-lucid-cs/build/glibc$ make -r
PARALLELMFLAGS="" -C /scratch/carloso/build4-lucid-cs/src/glibc/po objdir=`pwd`
libc.pot
make: Entering directory `/scratch/carloso/build4-lucid-cs/src/glibc/po'
../scripts/list-sources.sh .. | sed -n '/\/tst-/d;/\.[ch]\(\.in\)*$/p;
/\.cxx\(\.in\)*$/p; /\.sh\(\.in\)*$/p; /\.ksh\(\.in\)*$/p;
/\.bash\(\.in\)*$/p;' > libc.pot.files.new
mv -f libc.pot.files.new libc.pot.files
set `date -R`; disp="$6"; \
sed -e 's/VERSION/2.15.90/' \
-e "s/DATE/`date +'%Y-%m-%d %H:%M'$disp`/" \
-e "s/CHARSET/UTF-8/" \
header.pot > libc.pot.new
egrep -v '\.ksh$' libc.pot.files >
/scratch/carloso/build4-lucid-cs/build/glibc/tmp-libc.pot-files
cd ..; xgettext --keyword=_ --keyword=N_ \
--add-comments=TRANS --flag=error:3:c-format \
--flag=f_print:2:c-format \
--sort-by-file --omit-header -E -n -d - \
-f
/scratch/carloso/build4-lucid-cs/build/glibc/tmp-libc.pot-files >>
po/libc.pot.new
catgets/gencat.c:118: internationalized messages should not contain the `\v'
escape sequence
egrep '\.ksh$' libc.pot.files >
/scratch/carloso/build4-lucid-cs/build/glibc/tmp-libc.pot-files
cd ..; xgettext --add-comments=TRANS --language=Shell \
--sort-by-file --omit-header -E -n -o
po/libc.pot.new -j \
-f
/scratch/carloso/build4-lucid-cs/build/glibc/tmp-libc.pot-files po/libc.pot.new
po/libc.pot.new:126: internationalized messages should not contain the `\v'
escape sequence
rm /scratch/carloso/build4-lucid-cs/build/glibc/tmp-libc.pot-files
mv -f libc.pot.new libc.pot
make: Leaving directory `/scratch/carloso/build4-lucid-cs/src/glibc/po'
carloso@build4-lucid-cs:/scratch/carloso/build4-lucid-cs/build/glibc$
~~~
So I've fixed all of the script warnings with the exception of the `\v' usage
in catgets/gencat.c:118.
The `\v' in catgets/gencat.c sparked some discussion on the list in 2007 here:
http://sources.redhat.com/ml/libc-alpha/2007-08/msg00007.html
So it looks like fixing `\v' is going to involve some code restructuring to
take it out of the translated text stream.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.