project-navigation
Personal tools

Author Topic: make lang errors  (Read 3439 times)

2-bit Joe

  • Guest
make lang errors
« on: September 05, 2006, 12:48:48 am »
"make lang" has been failing for the last several svn versions.   I do a "make clean" before "make".

Here are the error messages from the english translation:

msgfmt: po/en.po: warning: Charset missing in header.
                           Message conversion to user's charset will not work.
po/en.po:5:2: parse error
po/en.po:5: keyword "mine" unknown
po/en.po:6: keyword "mine" unknown
po/en.po:7: keyword "mine" unknown
po/en.po:8: keyword "mine" unknown
po/en.po:21: keyword "r3083" unknown
po/en.po:22: keyword "r3030" unknown
po/en.po:28: keyword "r3330" unknown
po/en.po:29: keyword "r3009" unknown
po/en.po:121:2: parse error
po/en.po:121: keyword "mine" unknown
po/en.po:122: keyword "mine" unknown
po/en.po:123: keyword "mine" unknown
po/en.po:128: keyword "r3330" unknown
po/en.po:134: keyword "r3083" unknown
po/en.po:135: keyword "r3009" unknown
po/en.po:203:2: parse error
po/en.po:203: keyword "mine" unknown
po/en.po:204: keyword "mine" unknown
po/en.po:205: keyword "mine" unknown
msgfmt: too many errors, aborting

ubequitz

  • Guest
make lang errors
« Reply #1 on: September 05, 2006, 01:34:57 am »
Interesting. I'm running SVN trunk and get no make lang errors.

Can you go to your trunk directory and do an svn update ?
Then do an SVN diff and make sure any local changes you made are not conflicting with the english translation file en.po

If you have made no changes svn diff issued from the trunk directory should return nothing.

If you have a conflict you may wish to revert your changes... (do a svn help revert for info).

Then retry the make process and report back.

2-bit Joe

  • Guest
make lang errors
« Reply #2 on: September 05, 2006, 02:28:17 am »
I removed the en.po file and then did an svn up.  svn reported that it restored my en.po file.

I did another "make lang", and all the other languages bombed out except for English.

Looking at these language files, the other languages besides English appear to be patch files.  The English file looks more like a simple list of messages.

Maybe svn is not properly applying the patches it downloads?

"svn help" yields the following information:

usage: svn <subcommand> [options] [args]
Subversion command-line client, version 1.3.1.
Type 'svn help <subcommand>' for help on a specific subcommand.
...

ubequitz

  • Guest
make lang errors
« Reply #3 on: September 05, 2006, 03:14:36 am »
I'm not sure what is going on. To restore your SVN to a clean state issue this command from your trunk directory:

svn revert -R .

This will remove all local changes/corruption (note if you have made changes you want to keep you might want to back those files up).

Then try a another make clean && make && make lang from the src directory.

2-bit Joe

  • Guest
make lang errors
« Reply #4 on: September 06, 2006, 02:17:39 am »
"svn revert" did the trick, thanks.  It reverted all the other language files.