* Package: sys-apps/fwupdate-12 * Repository: gentoo * Maintainer: polynomial-c@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking fwupdate-12.tar.gz to /var/tmp/portage/sys-apps/fwupdate-12/work >>> Source unpacked in /var/tmp/portage/sys-apps/fwupdate-12/work >>> Preparing source in /var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12 ... make -j1 CC=x86_64-pc-linux-gnu-gcc EFIDIR=gentoo GNUEFIDIR=/usr/lib64 Building with EFIDIR as gentoo make[1]: Entering directory '/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/efi' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fpic -Werror -Wall -Wextra -fshort-wchar -Wno-error=missing-field-initializers -Wno-missing-field-initializers -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_x86_64 -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/include "-DDEBUGDIR=L\"/\"" -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include -c -o fakeesrt2.o fakeesrt2.c x86_64-pc-linux-gnu-gcc -nostdlib -Wl,--warn-common -Wl,--no-undefined -Wl,--fatal-warnings -Wl,-shared -Wl,-Bsymbolic -L/usr/lib64 -L/usr/lib64 -Wl,--build-id=sha1 -Wl,--hash-style=sysv /usr/lib64/crt0-efi-x86_64.o -o fakeesrt2.so fakeesrt2.o -lefi -lgnuefi \ /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/libgcc.a \ -T elf_x86_64_efi.lds objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ -j .rel* -j .rela* -j .reloc -j .eh_frame \ --target efi-app-x86_64 fakeesrt2.so fakeesrt2.efi x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fpic -Werror -Wall -Wextra -fshort-wchar -Wno-error=missing-field-initializers -Wno-missing-field-initializers -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_x86_64 -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/include "-DDEBUGDIR=L\"/\"" -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include -c -o fakeesrt.o fakeesrt.c x86_64-pc-linux-gnu-gcc -nostdlib -Wl,--warn-common -Wl,--no-undefined -Wl,--fatal-warnings -Wl,-shared -Wl,-Bsymbolic -L/usr/lib64 -L/usr/lib64 -Wl,--build-id=sha1 -Wl,--hash-style=sysv /usr/lib64/crt0-efi-x86_64.o -o fakeesrt.so fakeesrt.o -lefi -lgnuefi \ /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/libgcc.a \ -T elf_x86_64_efi.lds objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ -j .rel* -j .rela* -j .reloc -j .eh_frame \ --target efi-app-x86_64 fakeesrt.so fakeesrt.efi x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fpic -Werror -Wall -Wextra -fshort-wchar -Wno-error=missing-field-initializers -Wno-missing-field-initializers -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_x86_64 -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/include "-DDEBUGDIR=L\"/\"" -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include -c -o dumpesrt.o dumpesrt.c x86_64-pc-linux-gnu-gcc -nostdlib -Wl,--warn-common -Wl,--no-undefined -Wl,--fatal-warnings -Wl,-shared -Wl,-Bsymbolic -L/usr/lib64 -L/usr/lib64 -Wl,--build-id=sha1 -Wl,--hash-style=sysv /usr/lib64/crt0-efi-x86_64.o -o dumpesrt.so dumpesrt.o -lefi -lgnuefi \ /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/libgcc.a \ -T elf_x86_64_efi.lds objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ -j .rel* -j .rela* -j .reloc -j .eh_frame \ --target efi-app-x86_64 dumpesrt.so dumpesrt.efi x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fpic -Werror -Wall -Wextra -fshort-wchar -Wno-error=missing-field-initializers -Wno-missing-field-initializers -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_x86_64 -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/include "-DDEBUGDIR=L\"/\"" -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include -c -o fwupdate.o fwupdate.c In file included from /usr/include/efi/efi.h:41, from fwupdate.c:11: fwupdate.c: In function ‘find_updates’: fwupdate.c:529:8: error: taking address of packed member of ‘struct update_info_s’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 529 | &update->info->time_attempted, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/efi/x86_64/efibind.h:296:51: note: in definition of macro ‘uefi_call_wrapper’ 296 | #define uefi_call_wrapper(func, va_num, ...) func(__VA_ARGS__) | ^~~~~~~~~~~ fwupdate.c: In function ‘add_capsule’: fwupdate.c:1060:16: error: taking address of packed member of ‘struct update_info_s’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 1060 | if ((guid_cmp(&update->info->guid, (efi_guid_t *)fbuf) == 0 || | ^~~~~~~~~~~~~~~~~~~ fwupdate.c:1076:41: error: taking address of packed member of ‘struct update_info_s’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 1076 | if (!cap_out->Flags && !is_ux_capsule(&update->info->guid)) { | ^~~~~~~~~~~~~~~~~~~ fwupdate.c:1023:39: note: in definition of macro ‘is_ux_capsule’ 1023 | #define is_ux_capsule(guid) (guid_cmp(guid, &ux_capsule_guid) == 0) | ^~~~ fwupdate.c:1099:22: error: taking address of packed member of ‘struct update_info_s’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 1099 | if (!is_ux_capsule(&update->info->guid)) { | ^~~~~~~~~~~~~~~~~~~ fwupdate.c:1023:39: note: in definition of macro ‘is_ux_capsule’ 1023 | #define is_ux_capsule(guid) (guid_cmp(guid, &ux_capsule_guid) == 0) | ^~~~ fwupdate.c:1118:20: error: taking address of packed member of ‘struct update_info_s’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 1118 | if (is_ux_capsule(&update->info->guid)) { | ^~~~~~~~~~~~~~~~~~~ fwupdate.c:1023:39: note: in definition of macro ‘is_ux_capsule’ 1023 | #define is_ux_capsule(guid) (guid_cmp(guid, &ux_capsule_guid) == 0) | ^~~~ fwupdate.c: In function ‘efi_main’: fwupdate.c:1295:22: error: taking address of packed member of ‘struct update_info_s’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 1295 | is_ux_capsule(&updates[i]->info->guid)) | ^~~~~~~~~~~~~~~~~~~~~~~ fwupdate.c:1023:39: note: in definition of macro ‘is_ux_capsule’ 1023 | #define is_ux_capsule(guid) (guid_cmp(guid, &ux_capsule_guid) == 0) | ^~~~ cc1: all warnings being treated as errors make[1]: *** [/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/efi/Makefile:118: fwupdate.o] Error 1 rm fakeesrt.so dumpesrt.so fakeesrt2.o fakeesrt2.so fakeesrt.o dumpesrt.o make[1]: Leaving directory '/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/efi' make: *** [Makefile:16: all] Error 2 * ERROR: sys-apps/fwupdate-12::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/fwupdate-12::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/fwupdate-12::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:fwupdate-12:20190520-130334.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/fwupdate-12/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/fwupdate-12/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12' * S: '/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12'