Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.9.7
-
None
-
Ubuntu 18.04
Description
Intel NUC build fails in Jenkin Ubuntu 18.04 with following error:
ERROR: oe_runmake failed | gcc -DHAVE_CONFIG_H -I. -I../grub-2.00 -Wall -W -I./include -DGRUB_UTIL=1 -DGRUB_LIBDIR=\"/work/build/build/tmp/sysroots/x86_64-linux/usr/lib/grub\" -DLOCALEDIR=\"/work/build/build/tmp/sysroots/x86_64-linux/usr/share/locale\" -DGRUB_FILE=\"grub-core/commands/blocklist.c\" -I. -I../grub-2.00 -I. -I../grub-2.00 -I../grub-2.00/include -I./include -I../grub-2.00/grub-core/lib/minilzo -I../grub-2.00/grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H -fno-builtin-gettext -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wno-unused-result -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -Werror -fno-builtin -Wno-undef -Wno-error=missing-noreturn -Wno-error=trampolines -c -o grub-core/commands/libgrubmods_a-blocklist.o `test -f 'grub-core/commands/blocklist.c' || echo '../grub-2.00/'`grub-core/commands/blocklist.c | In file included from ../grub-2.00/grub-core/partmap/gpt.c:26: | ../grub-2.00/include/grub/gpt_partition.h:79:1: error: alignment 1 of 'struct grub_gpt_partentry' is less than 8 [-Werror=packed-not-aligned] | } __attribute__ ((packed)); | ^ | cc1: all warnings being treated as errors | Makefile:17732: recipe for target 'grub-core/partmap/libgrubkern_a-gpt.o' failed | make[2]: *** [grub-core/partmap/libgrubkern_a-gpt.o] Error 1 | make[2]: *** Waiting for unfinished jobs.... | cc1: all warnings being treated as errors | Makefile:17704: recipe for target 'grub-core/disk/libgrubkern_a-ldm.o' failed | make[2]: *** [grub-core/disk/libgrubkern_a-ldm.o] Error 1 | make[2]: Leaving directory '/work/build/build/tmp/work/x86_64-linux/grub-efi-native/2.00-r3/build' | Makefile:19871: recipe for target 'all-recursive' failed | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory '/work/build/build/tmp/work/x86_64-linux/grub-efi-native/2.00-r3/build' | Makefile:15766: recipe for target 'all' failed | make: *** [all] Error 2 | ERROR: Function failed: do_compile (log file is located at /work/build/build/tmp/work/x86_64-linux/grub-efi-native/2.00-r3/temp/log.do_compile.4356) NOTE: recipe grub-efi-native-2.00-r3: task do_compile: Failed ERROR: Task (virtual:native:/work/build/sources/poky/meta/recipes-bsp/grub/grub-efi_2.00.bb:do_compile) failed with exit code '1' NOTE: recipe linux-yocto-4.8.25+gitAUTOINC+76db2c6ca6_72d0c1a637-r0: task do_kernel_configcheck: Succeeded NOTE: recipe gdb-cross-canadian-x86-64-7.11.1-r0: task do_compile: Succeeded NOTE: recipe binutils-cross-canadian-x86-64-2.27-r0: task do_compile: Succeeded NOTE: recipe gcc-cross-canadian-x86-64-6.4.0-r0: task do_compile: Succeeded NOTE: Tasks Summary: Attempted 5321 tasks of which 5257 didn't need to be rerun and 1 failed. Summary: 1 task failed: virtual:native:/work/build/sources/poky/meta/recipes-bsp/grub/grub-efi_2.00.bb:do_compile Summary: There was 1 WARNING message shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code. Build step 'Execute shell' marked build as failure Notifying upstream projects of job completion Finished: FAILURE
Full log: https://paste.qt.io/p6mnebibj
Attachments
For Gerrit Dashboard: QTBUG-70995 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
242219,3 | Fix grub-efi-native build with GCC8 | morty | yocto/meta-boot2qt | Status: MERGED | +2 | 0 |