Issue781

Title can't build with -j > 1 ; translations fail
Priority release-blocker Status resolved
Assigned To fluzz Keywords
Linked issues Watchers fluzz

Submitted on 2014-12-15 16h50 by matthiaskrgr, last changed by fluzz.

Messages
Author: matthiaskrgr Date: 2014-12-15   16h50
when building with -j 2 or more and being a bit lucky, translations fail to
build due to some race condition

make[2]: Leaving directory '/home/matthias/vcs/copy_of_git/freedroid/gluem'
Making all in doc
make[2]: Entering directory '/home/matthias/vcs/copy_of_git/freedroid/doc'
Making all in manual
make[3]: Entering directory '/home/matthias/vcs/copy_of_git/freedroid/doc/manual'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/matthias/vcs/copy_of_git/freedroid/doc/manual'
make[3]: Entering directory '/home/matthias/vcs/copy_of_git/freedroid/doc'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/matthias/vcs/copy_of_git/freedroid/doc'
make[2]: Leaving directory '/home/matthias/vcs/copy_of_git/freedroid/doc'
Making all in po
make[2]: Entering directory '/home/matthias/vcs/copy_of_git/freedroid/po'
Making all in po-src
make[3]: Entering directory '/home/matthias/vcs/copy_of_git/freedroid/po/po-src'
test ! -f ./freedroidrpg.pot || \
  test -z "fr.gmo de.gmo pt_BR.gmo sv.gmo" || make fr.gmo de.gmo pt_BR.gmo sv.gmo
rm -f sv.gmo && /usr/bin/msgfmt -c --statistics --verbose -o sv.gmo sv.po
/usr/bin/msgmerge --update --width=80 --no-wrap --verbose --quiet --lang=de
de.po freedroidrpg.pot
make[4]: Entering directory '/home/matthias/vcs/copy_of_git/freedroid/po/po-src'
rm -f pt_BR.gmo && /usr/bin/msgfmt -c --statistics --verbose -o pt_BR.gmo pt_BR.po
rm -f fr.gmo && /usr/bin/msgfmt -c --statistics --verbose -o fr.gmo fr.po
sv.po: 554 translated messages.
rm -f fr.gmo && /usr/bin/msgfmt -c --statistics --verbose -o fr.gmo fr.po
rm -f sv.gmo && /usr/bin/msgfmt -c --statistics --verbose -o sv.gmo sv.po
rm -f pt_BR.gmo && /usr/bin/msgfmt -c --statistics --verbose -o pt_BR.gmo pt_BR.po
/usr/bin/msgmerge --update --width=80 --no-wrap --verbose --quiet --lang=de
de.po freedroidrpg.pot
fr.po: 547 translated messages, 7 untranslated messages.
pt_BR.po: 541 translated messages, 13 untranslated messages.
Read 1 old + 1 reference, merged 555, fuzzied 0, missing 0, obsolete 12.
rm -f de.gmo && /usr/bin/msgfmt -c --statistics --verbose -o de.gmo de.po
pt_BR.po: 541 translated messages, 13 untranslated messages.
Read 1 old + 1 reference, merged 555, fuzzied 0, missing 0, obsolete 12.
sv.po: 554 translated messages.
fr.po: 547 translated messages, 7 untranslated messages.
de.po: 552 translated messages, 2 untranslated messages.
rm -f de.gmo && /usr/bin/msgfmt -c --statistics --verbose -o de.gmo de.po
make[4]: Entering directory '/home/matthias/vcs/copy_of_git/freedroid/po/po-src'
de.po: 552 translated messages, 2 untranslated messages.
make[4]: Leaving directory '/home/matthias/vcs/copy_of_git/freedroid/po/po-src'
touch stamp-po
installing fr.gmo as ../../locale/fr/LC_MESSAGES/freedroidrpg.mo
installing de.gmo as ../../locale/de/LC_MESSAGES/freedroidrpg.mo
installing pt_BR.gmo as ../../locale/pt_BR/LC_MESSAGES/freedroidrpg.mo
installing sv.gmo as ../../locale/sv/LC_MESSAGES/freedroidrpg.mo
make[4]: Leaving directory '/home/matthias/vcs/copy_of_git/freedroid/po/po-src'
touch stamp-li
make[3]: Leaving directory '/home/matthias/vcs/copy_of_git/freedroid/po/po-src'
Making all in po-dialogs
make[3]: Entering directory '/home/matthias/vcs/copy_of_git/freedroid/po/po-dialogs'
test ! -f ./freedroidrpg-dialogs.pot || \
  test -z "fr.gmo de.gmo pt_BR.gmo sv.gmo" || make fr.gmo de.gmo pt_BR.gmo sv.gmo
make[4]: Entering directory '/home/matthias/vcs/copy_of_git/freedroid/po/po-dialogs'
rm -f sv.gmo && /usr/bin/msgfmt -c --statistics --verbose -o sv.gmo sv.po
/usr/bin/msgmerge --update --width=80 --no-wrap --verbose --quiet --lang=de
de.po freedroidrpg-dialogs.pot
rm -f pt_BR.gmo && /usr/bin/msgfmt -c --statistics --verbose -o pt_BR.gmo pt_BR.po
/usr/bin/msgmerge --update --width=80 --no-wrap --verbose --quiet --lang=fr
fr.po freedroidrpg-dialogs.pot
rm -f sv.gmo && /usr/bin/msgfmt -c --statistics --verbose -o sv.gmo sv.po
rm -f pt_BR.gmo && /usr/bin/msgfmt -c --statistics --verbose -o pt_BR.gmo pt_BR.po
/usr/bin/msgmerge --update --width=80 --no-wrap --verbose --quiet --lang=fr
fr.po freedroidrpg-dialogs.pot
/usr/bin/msgmerge --update --width=80 --no-wrap --verbose --quiet --lang=de
de.po freedroidrpg-dialogs.pot
sv.po: 4473 translated messages, 7 fuzzy translations, 194 untranslated messages.
pt_BR.po: 3693 translated messages, 7 fuzzy translations, 974 untranslated messages.
pt_BR.po: 3693 translated messages, 7 fuzzy translations, 974 untranslated messages.
mv: cannot stat ‘t-pt_BR.gmo’: No such file or directory
Makefile:209: recipe for target 'pt_BR.gmo' failed
make[3]: *** [pt_BR.gmo] Error 1
make[3]: *** Waiting for unfinished jobs....
sv.po: 4473 translated messages, 7 fuzzy translations, 194 untranslated messages.
mv: cannot stat ‘t-sv.gmo’: No such file or directory
Makefile:209: recipe for target 'sv.gmo' failed
make[4]: *** [sv.gmo] Error 1
make[4]: *** Waiting for unfinished jobs....
Read 1 old + 1 reference, merged 4675, fuzzied 0, missing 0, obsolete 8.
Read 1 old + 1 reference, merged 4675, fuzzied 0, missing 0, obsolete 8.
Read 1 old + 1 reference, merged 4675, fuzzied 0, missing 0, obsolete 14.
Read 1 old + 1 reference, merged 4675, fuzzied 0, missing 0, obsolete 14.
make[4]: Leaving directory '/home/matthias/vcs/copy_of_git/freedroid/po/po-dialogs'
Makefile:246: recipe for target 'stamp-po' failed
make[3]: *** [stamp-po] Error 2
make[3]: Leaving directory '/home/matthias/vcs/copy_of_git/freedroid/po/po-dialogs'
Makefile:386: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/matthias/vcs/copy_of_git/freedroid/po'
Makefile:542: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/matthias/vcs/copy_of_git/freedroid'
Makefile:438: recipe for target 'all' failed
make: *** [all] Error 2
Author: fluzz Date: 2015-01-04   14h47
This has been reported too many times to be silently ignored ;-)
I take it.
Author: fluzz Date: 2015-01-05   16h20
Some implicit dependencies orderings are not respected with a parallel build.
Those orderings should be made explicit.
In the meanwhile, commit 402a99c forces serial run of make.
History
Date User Action Args
2015-01-05 16:20:43fluzzsetstatus: open -> resolved
messages: + msg3026
2015-01-04 14:47:21fluzzsetassignedto: fluzz
messages: + msg3025
nosy: + fluzz
2014-12-15 17:10:46matthiaskrgrsettitle: can't build with -j < 1 ; translations fail -> can't build with -j > 1 ; translations fail
2014-12-15 16:50:59matthiaskrgrcreate