project-navigation
Personal tools

Author Topic: [muton's build script] Compile errors, revision 30098  (Read 3186 times)

Offline Edi

  • Squad Leader
  • ****
  • Posts: 296
    • View Profile
[muton's build script] Compile errors, revision 30098
« on: May 23, 2010, 10:13:11 am »
I tried to compile the newest source and the compilation process crashed with the following error:

Quote
=====================================================
po compiler for UFO:AI (http://sf.net/projects/ufoai)
'msgfmt' utility must be in your path
compile all .po files and in src\po and place them
into base\i18n\
=====================================================
Compiling UFORadiant language files.
compiling .\uforadiant-de.po to "..\..\radiant\i18n\de\LC_MESSAGES\uforadiant.mo"
compiling .\uforadiant-en.po to "..\..\radiant\i18n\en\LC_MESSAGES\uforadiant.mo"
compiling .\uforadiant-ru.po to "..\..\radiant\i18n\ru\LC_MESSAGES\uforadiant.mo"
compiling .\uforadiant-zh_CN.po to "..\..\radiant\i18n\zh_CN\LC_MESSAGES\uforadiant.mo"
Process terminated with status 0 (5 minutes, 49 seconds)
0 errors, 31 warnings
Run:   "D:\UFOAIwin32BUILDenv\MinGW\bin\msgfmt.exe" --verbose -o "D:\UFOAIwin32BUILDenv\MinGW\ufoai\base\i18n\bg_BG\LC_MESSAGES\ufoai.mo" .\ufoai-bg_BG.po
   at:   D:\UFOAIwin32BUILDenv\MinGW\ufoai\src\po
2264 translated messages, 457 fuzzy translations, 149 untranslated messages.
Run:   "D:\UFOAIwin32BUILDenv\MinGW\bin\msgfmt.exe" --verbose -o "D:\UFOAIwin32BUILDenv\MinGW\ufoai\base\i18n\cs\LC_MESSAGES\ufoai.mo" .\ufoai-cs.po
   at:   D:\UFOAIwin32BUILDenv\MinGW\ufoai\src\po
2584 translated messages, 123 fuzzy translations, 163 untranslated messages.
Run:   "D:\UFOAIwin32BUILDenv\MinGW\bin\msgfmt.exe" --verbose -o "D:\UFOAIwin32BUILDenv\MinGW\ufoai\base\i18n\da\LC_MESSAGES\ufoai.mo" .\ufoai-da.po
   at:   D:\UFOAIwin32BUILDenv\MinGW\ufoai\src\po
2112 translated messages, 361 fuzzy translations, 397 untranslated messages.
Run:   "D:\UFOAIwin32BUILDenv\MinGW\bin\msgfmt.exe" --verbose -o "D:\UFOAIwin32BUILDenv\MinGW\ufoai\base\i18n\de\LC_MESSAGES\ufoai.mo" .\ufoai-de.po
   at:   D:\UFOAIwin32BUILDenv\MinGW\ufoai\src\po
.\ufoai-de.po:9256: `msgid' and `msgstr' entries do not both end with '\n'
D:\UFOAIwin32BUILDenv\MinGW\bin\msgfmt.exe: found 1 fatal error
2383 translated messages, 144 fuzzy translations, 343 untranslated messages.
Endtime:   2010.05.23 10:57:41 1
Error 13
msgfmt.exe failed during ufoai-de.po

When I tried to compile a small installer, I got

Quote
=====================================================
po compiler for UFO:AI (http://sf.net/projects/ufoai)
'msgfmt' utility must be in your path
compile all .po files and in src\po and place them
into base\i18n\
=====================================================
Compiling UFO:AI language files.
compiling .\ufoai-bg_BG.po to "..\..\base\i18n\bg_BG\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-cs.po to "..\..\base\i18n\cs\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-da.po to "..\..\base\i18n\da\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-de.po to "..\..\base\i18n\de\LC_MESSAGES\ufoai.mo"
.\ufoai-de.po:9256: `msgid' and `msgstr' entries do not both end with '\n'
msgfmt.exe: found 1 fatal error
compiling .\ufoai-el.po to "..\..\base\i18n\el\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-en.po to "..\..\base\i18n\en\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-es.po to "..\..\base\i18n\es\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-es_ES.po to "..\..\base\i18n\es_ES\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-et.po to "..\..\base\i18n\et\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-fi.po to "..\..\base\i18n\fi\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-fr.po to "..\..\base\i18n\fr\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-hu.po to "..\..\base\i18n\hu\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-it.po to "..\..\base\i18n\it\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-ja.po to "..\..\base\i18n\ja\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-ko.po to "..\..\base\i18n\ko\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-nl_NL.po to "..\..\base\i18n\nl_NL\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-no.po to "..\..\base\i18n\no\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-pl.po to "..\..\base\i18n\pl\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-pt.po to "..\..\base\i18n\pt\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-pt_BR.po to "..\..\base\i18n\pt_BR\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-ru.po to "..\..\base\i18n\ru\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-sl.po to "..\..\base\i18n\sl\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-sv.po to "..\..\base\i18n\sv\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-th.po to "..\..\base\i18n\th\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-uk.po to "..\..\base\i18n\uk\LC_MESSAGES\ufoai.mo"
compiling .\ufoai-zh_CN.po to "..\..\base\i18n\zh_CN\LC_MESSAGES\ufoai.mo"
Process terminated with status 0 (2 minutes, 19 seconds)
1 errors, 0 warnings
Run:   "D:\UFOAIwin32BUILDenv\MinGW\bin\msgfmt.exe" --verbose -o "D:\UFOAIwin32BUILDenv\MinGW\ufoai\base\i18n\bg_BG\LC_MESSAGES\ufoai.mo" .\ufoai-bg_BG.po
   at:   D:\UFOAIwin32BUILDenv\MinGW\ufoai\src\po
2264 translated messages, 457 fuzzy translations, 149 untranslated messages.
Run:   "D:\UFOAIwin32BUILDenv\MinGW\bin\msgfmt.exe" --verbose -o "D:\UFOAIwin32BUILDenv\MinGW\ufoai\base\i18n\cs\LC_MESSAGES\ufoai.mo" .\ufoai-cs.po
   at:   D:\UFOAIwin32BUILDenv\MinGW\ufoai\src\po
2584 translated messages, 123 fuzzy translations, 163 untranslated messages.
Run:   "D:\UFOAIwin32BUILDenv\MinGW\bin\msgfmt.exe" --verbose -o "D:\UFOAIwin32BUILDenv\MinGW\ufoai\base\i18n\da\LC_MESSAGES\ufoai.mo" .\ufoai-da.po
   at:   D:\UFOAIwin32BUILDenv\MinGW\ufoai\src\po
2112 translated messages, 361 fuzzy translations, 397 untranslated messages.
Run:   "D:\UFOAIwin32BUILDenv\MinGW\bin\msgfmt.exe" --verbose -o "D:\UFOAIwin32BUILDenv\MinGW\ufoai\base\i18n\de\LC_MESSAGES\ufoai.mo" .\ufoai-de.po
   at:   D:\UFOAIwin32BUILDenv\MinGW\ufoai\src\po
.\ufoai-de.po:9256: `msgid' and `msgstr' entries do not both end with '\n'
D:\UFOAIwin32BUILDenv\MinGW\bin\msgfmt.exe: found 1 fatal error
2383 translated messages, 144 fuzzy translations, 343 untranslated messages.
Endtime:   2010.05.23 11:20:10 1
Error 13
msgfmt.exe failed during ufoai-de.po

Looks like there is some problem with the ufoai-de.po file.

Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: [muton's build script] Compile errors, revision 30098
« Reply #1 on: May 23, 2010, 10:54:13 am »
Fixed in r30103

Offline Edi

  • Squad Leader
  • ****
  • Posts: 296
    • View Profile
Re: [muton's build script] Compile errors, revision 30098
« Reply #2 on: May 23, 2010, 11:43:27 am »
Thank you.

Mattn, sorry about the unnecessary tracker item. I forgot to check the forums before posting it there and since it has been important to have most reports on the tracker, I just added it automatically.