Created attachment 4231 [details] grub-efi-native do_compile This is with the Fedora 26 AB. https://autobuilder.yocto.io/builders/nightly-x86-lsb/builds/862/steps/BuildImages_1/logs/stdio It looks similar to bug 12520: | ../grub-2.00/util/raid.c: In function 'grub_util_raid_getmembers': | ../grub-2.00/util/raid.c:91:13: error: In the GNU C Library, "makedev" is defined | by <sys/sysmacros.h>. For historical compatibility, it is | currently defined by <sys/types.h> as well, but we plan to | remove this soon. To use "makedev", include <sys/sysmacros.h> | directly. If you did not intend to use a system-defined macro | "makedev", you should undefine it after including <sys/types.h>. [-Werror] | makedev (disk.major, disk.minor)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ERROR: oe_runmake failed But also: | ../grub-2.00/util/getroot.c: In function 'grub_util_biosdisk_is_floppy': | ../grub-2.00/util/getroot.c:1631:13: error: In the GNU C Library, "major" is defined | by <sys/sysmacros.h>. For historical compatibility, it is | currently defined by <sys/types.h> as well, but we plan to | remove this soon. To use "major", include <sys/sysmacros.h> | directly. If you did not intend to use a system-defined macro | "major", you should undefine it after including <sys/types.h>. [-Werror] | if (major(st.st_rdev) == FLOPPY_MAJOR) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Created attachment 4238 [details] backport Couldn't manage to recreate this error on a Fedora 22 machine. Similar bug was fixed in upstream and backported that fix for morty-next. Need to verify this on a Fedora 26 build machine.
Tested successfully in Fedora 26 (using docker) and sent to mailing list: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/149087.html