Hola Antonio,

After downloading and building the latest gnuchess (6.2.11),
I noticed that the translation files were not up to date:

$ for file in *.po; do echo -n "$file: "; msgfmt -cv $file; done
da.po: 123 translated messages, 19 fuzzy translations, 5 untranslated messages.
de.po: 142 translated messages, 4 fuzzy translations, 1 untranslated message.
eo.po: 144 translated messages, 3 fuzzy translations.
es.po: 147 translated messages.
fr.po: 142 translated messages, 4 fuzzy translations, 1 untranslated message.
gl.po: 28 translated messages, 6 fuzzy translations, 113 untranslated messages.
it.po: 45 translated messages, 30 fuzzy translations, 72 untranslated messages.
nb.po: 147 translated messages.
nl.po: 144 translated messages, 3 fuzzy translations.
pt_BR.po: 144 translated messages, 3 fuzzy translations.
sr.po: 144 translated messages, 3 fuzzy translations.
sv.po: 147 translated messages.
uk.po: 144 translated messages, 3 fuzzy translations.
vi.po: 125 translated messages, 19 fuzzy translations, 3 untranslated messages.
zh_CN.po: 147 translated messages.

Only four languages are fully translated.  But at the TP
(https://translationproject.org/domain/gnuchess.html)
gnuchess is fully translated for _thirteen_ languages.
It seems you forgot to pull in the latest PO files?


Furthermore, running ./configure in gnuchess-6.2.11, there were
these lines near the start:

/home/ben/Programoj/gnuchess-6.2.11/missing: Unknown `--is-lightweight' option
Try `/home/ben/Programoj/gnuchess-6.2.11/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing

And indeed: the tarball does not contain the `missing` script.
It should be automatically included when using automake.


Then, when trying to compile gnuchess, it said:

Making all in frontend
make[3]: Map '/home/ben/Programoj/gnuchess-6.2.11/src/frontend' wordt 
binnengegaan
  CXX      atak.o
../../depcomp: regel 669: exec: g++: niet gevonden

It would be good if ./configure would check for the needed compiler.


After installing g++, it compiled fine, apart from one warning:

main.cc: In function ‘int main(int, char**)’:
main.cc:428:38: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
  428 |     sprintf( data, "book add %s\nquit", opt_addbook );
      |                                      ^
main.cc:428:12: note: ‘sprintf’ output between 15 and 143 bytes into a destination of size 142
  428 |     sprintf( data, "book add %s\nquit", opt_addbook );


Benno

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to