Bug#965952: FTBFS when parallel-building (-j32)

Steve McIntyre steve at einval.com
Tue Jul 21 12:30:05 BST 2020


Source: grub2
Version: 2.04-8
Severity: normal
Tags: upstream

Found this when doing build testing locally on a big machine. It looks
like maybe the part of the build system for .po files isn't
parallel-safe. If I rebuild with -j1, all works fine...

Full build log online at

  https://www.einval.com/debian/grub2_2.04-8_amd64.build

for more info. The relevant snippet looks to be around line 27680:

...

TARGET_OBJ2ELF= sh genmod.sh moddep.lst cbmemc.module build-grub-module-verifier cbmemc.mod
...................................... done.
...TARGET_OBJ2ELF= sh genmod.sh moddep.lst regexp.module build-grub-module-verifier regexp.mod
..............................................................................................................................make[4]: En
tering directory '/home/steve/debian/grub2/grub2-2.04/obj/grub-coreboot/po'
.TARGET_OBJ2ELF= sh genmod.sh moddep.lst cbtime.module build-grub-module-verifier cbtime.mod
cd ../../../po && /usr/bin/msgmerge --update  --lang=en at cyrillic en at cyrillic.po grub.pot
......................................................................................................................TARGET_OBJ2ELF= sh 
genmod.sh moddep.lst blocklist.module build-grub-module-verifier blocklist.mod
cd ../../../po && /usr/bin/msgmerge --update  --lang=en at hebrew en at hebrew.po grub.pot
................. done.
de_CH.po:6373: keyword "ms" unknown
de_CH.po:6373:3: syntax error
/usr/bin/msgmerge: found 2 fatal errors
.................. done.
..............................................................................................................................cd ../../..
/po && /usr/bin/msgmerge --update  --lang=hu hu.po grub.pot
.....test ! -f ../../../po/grub.pot || \
  test -z "../../../po/ast.gmo ../../../po/ca.gmo ../../../po/da.gmo ../../../po/de.gmo ../../../po/de at hebrew.gmo ../../../po/de_CH.gmo .
./../../po/en at arabic.gmo ../../../po/en at cyrillic.gmo ../../../po/en at greek.gmo ../../../po/en at hebrew.gmo ../../../po/en at piglatin.gmo ../..
/../po/en at quot.gmo ../../../po/eo.gmo ../../../po/es.gmo ../../../po/fi.gmo ../../../po/fr.gmo ../../../po/gl.gmo ../../../po/hr.gmo ../.
./../po/hu.gmo ../../../po/id.gmo ../../../po/it.gmo ../../../po/ja.gmo ../../../po/ko.gmo ../../../po/lt.gmo ../../../po/nb.gmo ../../..
/po/nl.gmo ../../../po/pa.gmo ../../../po/pl.gmo ../../../po/pt.gmo ../../../po/pt_BR.gmo ../../../po/ro.gmo ../../../po/ru.gmo ../../../
po/sl.gmo ../../../po/sr.gmo ../../../po/sv.gmo ../../../po/tr.gmo ../../../po/uk.gmo ../../../po/vi.gmo ../../../po/zh_CN.gmo ../../../p
o/zh_TW.gmo" || make ../../../po/ast.gmo ../../../po/ca.gmo ../../../po/da.gmo ../../../po/de.gmo ../../../po/de at hebrew.gmo ../../../po/d
e_CH.gmo ../../../po/en at arabic.gmo ../../../po/en at cyrillic.gmo ../../../po/en at greek.gmo ../../../po/en at hebrew.gmo ../../../po/en at piglatin
.gmo ../../../po/en at quot.gmo ../../../po/eo.gmo ../../../po/es.gmo ../../../po/fi.gmo ../../../po/fr.gmo ../../../po/gl.gmo ../../../po/h
r.gmo ../../../po/hu.gmo ../../../po/id.gmo ../../../po/it.gmo ../../../po/ja.gmo ../../../po/ko.gmo ../../../po/lt.gmo ../../../po/nb.gm
o ../../../po/nl.gmo ../../../po/pa.gmo ../../../po/pl.gmo ../../../po/pt.gmo ../../../po/pt_BR.gmo ../../../po/ro.gmo ../../../po/ru.gmo
 ../../../po/sl.gmo ../../../po/sr.gmo ../../../po/sv.gmo ../../../po/tr.gmo ../../../po/uk.gmo ../../../po/vi.gmo ../../../po/zh_CN.gmo 
../../../po/zh_TW.gmo
cd ../../../po && /usr/bin/msgmerge --update  --lang=it it.po grub.pot
............................................. done.
.............................................................................................................................................................................make[5]: *** [Makefile:2195: ../../../po/de_CH.po] Error 1
make[5]: *** Waiting for unfinished jobs....
........................cd ../../../po && /usr/bin/msgmerge --update  --lang=id id.po grub.pot

...

I'll look into this myself, but filing the bug for info.

-- System Information:
Debian Release: 10.4
  APT prefers stable-debug
  APT policy: (500, 'stable-debug'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.118+ (SMP w/4 CPU cores)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Pkg-grub-devel mailing list