http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57956

            Bug ID: 57956
           Summary: missing 'msgstr' section errors when building
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: townsend at astro dot wisc.edu

When compiling trunk on x86_64 Fedora Core 6, I encounter the following after
configuring and running make:

make[3]: Entering directory
`/home/townsend/mesasdk-src/gcc/host-x86_64-pc-linux-gnu/gcc'
/bin/sh ../.././gcc/../mkinstalldirs po
/bin/sh ../.././gcc/../mkinstalldirs po
/bin/sh ../.././gcc/../mkinstalldirs po
mkdir -p -- po
mkdir -p -- po
/usr/bin/msgfmt --statistics -o po/be.gmo ../.././gcc/po/be.po
/usr/bin/msgfmt --statistics -o po/da.gmo ../.././gcc/po/da.po
mkdir -p -- po
/usr/bin/msgfmt --statistics -o po/de.gmo ../.././gcc/po/de.po
/bin/sh ../.././gcc/../mkinstalldirs po
/usr/bin/msgfmt --statistics -o po/el.gmo ../.././gcc/po/el.po
/bin/sh ../.././gcc/../mkinstalldirs po
/usr/bin/msgfmt --statistics -o po/es.gmo ../.././gcc/po/es.po
/bin/sh ../.././gcc/../mkinstalldirs po
/usr/bin/msgfmt --statistics -o po/fi.gmo ../.././gcc/po/fi.po
106 translated messages, 1754 fuzzy translations, 7787 untranslated messages.
/bin/sh ../.././gcc/../mkinstalldirs po
/usr/bin/msgfmt --statistics -o po/fr.gmo ../.././gcc/po/fr.po
74 translated messages, 3070 fuzzy translations, 6503 untranslated messages.
/bin/sh ../.././gcc/../mkinstalldirs po
/usr/bin/msgfmt --statistics -o po/hr.gmo ../.././gcc/po/hr.po
2333 translated messages, 1813 fuzzy translations, 5511 untranslated messages.
/bin/sh ../.././gcc/../mkinstalldirs po
/usr/bin/msgfmt --statistics -o po/id.gmo ../.././gcc/po/id.po
1299 translated messages, 4496 fuzzy translations, 3852 untranslated messages.
/bin/sh ../.././gcc/../mkinstalldirs po
/usr/bin/msgfmt --statistics -o po/ja.gmo ../.././gcc/po/ja.po
9657 translated messages.
/bin/sh ../.././gcc/../mkinstalldirs po
/usr/bin/msgfmt --statistics -o po/nl.gmo ../.././gcc/po/nl.po
8976 translated messages, 498 fuzzy translations, 173 untranslated messages.
/bin/sh ../.././gcc/../mkinstalldirs po
/usr/bin/msgfmt --statistics -o po/ru.gmo ../.././gcc/po/ru.po
162 translated messages, 13 fuzzy translations, 9472 untranslated messages.
/bin/sh ../.././gcc/../mkinstalldirs po
/usr/bin/msgfmt --statistics -o po/sr.gmo ../.././gcc/po/sr.po
1697 translated messages, 4485 fuzzy translations, 3465 untranslated messages.
/bin/sh ../.././gcc/../mkinstalldirs po
4050 translated messages, 1526 fuzzy translations, 4071 untranslated messages.
/usr/bin/msgfmt --statistics -o po/sv.gmo ../.././gcc/po/sv.po
/bin/sh ../.././gcc/../mkinstalldirs po
/usr/bin/msgfmt --statistics -o po/tr.gmo ../.././gcc/po/tr.po
5584 translated messages, 2893 fuzzy translations, 1170 untranslated messages.
/bin/sh ../.././gcc/../mkinstalldirs po
/usr/bin/msgfmt --statistics -o po/vi.gmo ../.././gcc/po/vi.po
707 translated messages, 3992 fuzzy translations, 4948 untranslated messages.
/bin/sh ../.././gcc/../mkinstalldirs po
/usr/bin/msgfmt --statistics -o po/zh_CN.gmo ../.././gcc/po/zh_CN.po
3407 translated messages, 3726 fuzzy translations, 2524 untranslated messages.
/bin/sh ../.././gcc/../mkinstalldirs po
/usr/bin/msgfmt --statistics -o po/zh_TW.gmo ../.././gcc/po/zh_TW.po
4495 translated messages, 3387 fuzzy translations, 1765 untranslated messages.
TARGET_CPU_DEFAULT="" \
    HEADERS="auto-host.h ansidecl.h" DEFINES="" \
    /bin/sh ../.././gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="" \
    HEADERS="options.h insn-constants.h config/vxworks-dummy.h
config/i386/biarch64.h config/i386/i386.h config/linux-android.h
config/i386/unix.h config/i386/att.h config/dbxelf.h config/elfos.h
config/gnu-user.h config/glibc-stdint.h config/i386/x86-64.h
config/i386/gnu-user-common.h config/i386/gnu-user64.h config/linux.h
config/i386/linux-common.h config/i386/linux64.h config/initfini-array.h
defaults.h" DEFINES="LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3
DEFAULT_LIBC=LIBC_GLIBC ANDROID_DEFAULT=0" \
    /bin/sh ../.././gcc/mkconfig.sh tm.h
gawk -f ../.././gcc/opt-gather.awk ../.././gcc/ada/gcc-interface/lang.opt
../.././gcc/fortran/lang.opt ../.././gcc/go/lang.opt ../.././gcc/java/lang.opt
../.././gcc/lto/lang.opt ../.././gcc/c-family/c.opt ../.././gcc/common.opt
../.././gcc/config/fused-madd.opt ../.././gcc/config/i386/i386.opt
../.././gcc/config/gnu-user.opt ../.././gcc/config/linux.opt
../.././gcc/config/linux-android.opt > tmp-optionlist
3894 translated messages, 870 fuzzy translations, 4893 untranslated messages.
9657 translated messages.
TARGET_CPU_DEFAULT="" \
    HEADERS="auto-host.h ansidecl.h" DEFINES="" \
    /bin/sh ../.././gcc/mkconfig.sh bconfig.h
4074 translated messages, 3568 fuzzy translations, 2005 untranslated messages.
flex  -ogengtype-lex.c ../.././gcc/gengtype-lex.l && { \
      echo '#include "bconfig.h"' > gengtype-lex.c.tmp; \
      cat gengtype-lex.c >> gengtype-lex.c.tmp; \
      mv gengtype-lex.c.tmp gengtype-lex.c; \
    }
g++ -c   -g -DIN_GCC   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables
-W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -fno-common 
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../.././gcc -I../.././gcc/build
-I../.././gcc/../include -I../.././gcc/../libcpp/include
-I/home/townsend/mesasdk/include -I/home/townsend/mesasdk/include
-I/home/townsend/mesasdk/include  -I../.././gcc/../libdecnumber
-I../.././gcc/../libdecnumber/bid -I../libdecnumber
-I../.././gcc/../libbacktrace    \
    -DBASEVER="\"4.9.0\"" -DDATESTAMP="\" 20130722\"" \
    -DREVISION="\"\"" \
    -DDEVPHASE="\" (experimental)\"" -DPKGVERSION="\"(GCC) \"" \
    -DBUGURL="\"<http://gcc.gnu.org/bugs.html>\"" -o build/version.o
../.././gcc/version.c
7227 translated messages, 1763 fuzzy translations, 657 untranslated messages.
/bin/sh ../.././gcc/../move-if-change tmp-gi.list gtyp-input.list
echo timestamp > s-gtyp-input
echo "#define BUILDING_GCC_MAJOR `echo 4.9.0 | sed -e 's/^\([0-9]*\).*$/\1/'`"
> bversion.h
TARGET_CPU_DEFAULT="" \
    HEADERS="config/i386/i386-protos.h config/linux-protos.h tm-preds.h"
DEFINES="" \
    /bin/sh ../.././gcc/mkconfig.sh tm_p.h
echo "#define BUILDING_GCC_MINOR `echo 4.9.0 | sed -e
's/^[0-9]*\.\([0-9]*\).*$/\1/'`" >> bversion.h
rm -f tmp-all-tree.def
echo "#define BUILDING_GCC_PATCHLEVEL `echo 4.9.0 | sed -e
's/^[0-9]*\.[0-9]*\.\([0-9]*\)$/\1/'`" >> bversion.h
echo '#include "tree.def"' > tmp-all-tree.def
../.././gcc/po/zh_TW.po:48196:4: parse error
echo "#define BUILDING_GCC_VERSION (BUILDING_GCC_MAJOR * 1000 +
BUILDING_GCC_MINOR)" >> bversion.h
../.././gcc/po/zh_TW.po:48196: missing `msgstr' section
../.././gcc/po/zh_TW.po:48212:4: parse error
../.././gcc/po/zh_TW.po:48212: missing `msgstr' section
../.././gcc/po/zh_TW.po:48217:4: parse error
../.././gcc/po/zh_TW.po:48217: missing `msgstr' section
../.././gcc/po/zh_TW.po:48225:4: parse error
../.././gcc/po/zh_TW.po:48225: missing `msgstr' section
../.././gcc/po/zh_TW.po:48234:4: parse error
../.././gcc/po/zh_TW.po:48234: missing `msgstr' section
../.././gcc/po/zh_TW.po:48239:4: parse error
../.././gcc/po/zh_TW.po:48239: missing `msgstr' section
../.././gcc/po/zh_TW.po:48276:4: parse error
../.././gcc/po/zh_TW.po:48276: missing `msgstr' section
../.././gcc/po/zh_TW.po:48301:4: parse error
../.././gcc/po/zh_TW.po:48301: missing `msgstr' section
../.././gcc/po/zh_TW.po:48310:4: parse error
../.././gcc/po/zh_TW.po:48310: missing `msgstr' section
../.././gcc/po/zh_TW.po:48325:4: parse error
../.././gcc/po/zh_TW.po:48325: missing `msgstr' section
/usr/bin/msgfmt: too many errors, aborting
echo 'END_OF_BASE_TREE_CODES' >> tmp-all-tree.def
make[3]: *** [po/zh_TW.gmo] Error 1
make[3]: *** Waiting for unfinished jobs....
echo timestamp > s-bversion
echo '#include "c-family/c-common.def"' >> tmp-all-tree.def
ltf="../.././gcc/ada/gcc-interface/ada-tree.def ../.././gcc/cp/cp-tree.def
../.././gcc/java/java-tree.def ../.././gcc/objc/objc-tree.def"; for f in $ltf;
do \
      echo "#include \"$f\""; \
    done | sed 's|../.././gcc/||' >> tmp-all-tree.def
/bin/sh ../.././gcc/../move-if-change tmp-all-tree.def all-tree.def
echo timestamp > s-alltree
/bin/sh ../.././gcc/../move-if-change tmp-optionlist optionlist
echo timestamp > s-options
make[3]: Leaving directory
`/home/townsend/mesasdk-src/gcc/host-x86_64-pc-linux-gnu/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/townsend/mesasdk-src/gcc'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/townsend/mesasdk-src/gcc'
make: *** [all] Error 2

Configuration was:

./configure CC=gcc --build=x86_64-pc-linux-gnu --prefix=/home/townsend/mesasdk
--with-gmp=/home/townsend/mesasdk --with-mpfr=/home/townsend/mesasdk
--with-mpc=/home/townsend/mesasdk --enable-languages=c,c++,fortran
--disable-multilib

I was able to build without this issue back in April 2013; I imagine one of the
updates in the interim may have an upgraded toolset prerequisite that FC6
doesn't meet. But what, exactly, is it?

Reply via email to