>>> kexec-tools: Building community/kexec-tools 2.0.28-r0 (using abuild 3.13.0-r3) started Tue, 07 May 2024 00:16:20 +0000 >>> kexec-tools: Checking sanity of /home/buildozer/aports/community/kexec-tools/APKBUILD... >>> kexec-tools: Analyzing dependencies... >>> kexec-tools: Installing for build: build-base zlib-dev xz-dev linux-headers (1/4) Installing zlib-dev (1.3.1-r1) (2/4) Installing xz (5.6.1-r3) (3/4) Installing xz-dev (5.6.1-r3) (4/4) Installing .makedepends-kexec-tools (20240507.001627) Executing busybox-1.36.1-r26.trigger OK: 1694 MiB in 127 packages >>> kexec-tools: Cleaning up srcdir >>> kexec-tools: Cleaning up pkgdir >>> kexec-tools: Cleaning up tmpdir >>> kexec-tools: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/kexec-tools-2.0.28.tar.xz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.20/kexec-tools-2.0.28.tar.xz.part' kexec-tools-2.0.28.t 100% |********************************| 305k 0:00:00 ETA '/var/cache/distfiles/v3.20/kexec-tools-2.0.28.tar.xz.part' saved >>> kexec-tools: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/kexec-tools-2.0.28.tar.xz >>> kexec-tools: Checking sha512sums... kexec-tools-2.0.28.tar.xz: OK fix-build-on-Alpine-linux.patch: OK >>> kexec-tools: Unpacking /var/cache/distfiles/v3.20/kexec-tools-2.0.28.tar.xz... >>> kexec-tools: fix-build-on-Alpine-linux.patch patching file kexec/arch/i386/kexec-x86.c checking for x86_64-alpine-linux-musl-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking build system type... x86_64-alpine-linux-musl checking host system type... x86_64-alpine-linux-musl checking target system type... x86_64-alpine-linux-musl checking how to run the C preprocessor... gcc -E checking for x86_64-alpine-linux-musl-ld... no checking for ld... ld checking for x86_64-alpine-linux-musl-as... no checking for as... as checking for x86_64-alpine-linux-musl-objcopy... no checking for objcopy... objcopy checking for x86_64-alpine-linux-musl-ar... no checking for ar... ar checking for x86_64-alpine-linux-musl-strip... no checking for strip... strip checking whether gcc accepts -fno-zero-initialized-in-bss... Yes checking for a BSD-compatible install... /usr/bin/install -c checking for chmod... chmod checking for mkdir... mkdir checking for rm... rm checking for cp... cp checking for ln... ln checking for tar... tar checking for rpmbuild... no checking for sed... sed checking for find... find checking for xargs... xargs checking for dirname... dirname checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for zlib.h... yes checking for inflateInit_ in -lz... yes checking for lzma.h... yes checking for lzma_code in -llzma... yes checking for xenctrl.h... no checking for memfd_create... yes configure: creating ./config.status config.status: creating Makefile config.status: creating include/config.h gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/kexec.o kexec/kexec.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/ifdown.o kexec/ifdown.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/kexec-elf.o kexec/kexec-elf.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/kexec-elf-exec.o kexec/kexec-elf-exec.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/kexec-elf-core.o kexec/kexec-elf-core.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/kexec-elf-rel.o kexec/kexec-elf-rel.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/kexec-elf-boot.o kexec/kexec-elf-boot.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/kexec-pe-zboot.o kexec/kexec-pe-zboot.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/kexec-iomem.o kexec/kexec-iomem.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/firmware_memmap.o kexec/firmware_memmap.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/crashdump.o kexec/crashdump.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/crashdump-xen.o kexec/crashdump-xen.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/phys_arch.o kexec/phys_arch.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/lzma.o kexec/lzma.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/zlib.o kexec/zlib.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/kexec-xen.o kexec/kexec-xen.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/symbols.o kexec/symbols.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/proc_iomem.o kexec/proc_iomem.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/virt_to_phys.o kexec/virt_to_phys.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/phys_to_virt.o kexec/phys_to_virt.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/add_segment.o kexec/add_segment.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/add_buffer.o kexec/add_buffer.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/arch_reuse_initrd.o kexec/arch_reuse_initrd.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/arch/i386/kexec-elf-x86.o kexec/arch/i386/kexec-elf-x86.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/arch/i386/kexec-bzImage.o kexec/arch/i386/kexec-bzImage.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/arch/i386/kexec-multiboot-x86.o kexec/arch/i386/kexec-multiboot-x86.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/arch/i386/kexec-mb2-x86.o kexec/arch/i386/kexec-mb2-x86.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/arch/i386/kexec-beoboot-x86.o kexec/arch/i386/kexec-beoboot-x86.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/arch/i386/kexec-nbi.o kexec/arch/i386/kexec-nbi.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/arch/i386/x86-linux-setup.o kexec/arch/i386/x86-linux-setup.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/arch/i386/kexec-x86-common.o kexec/arch/i386/kexec-x86-common.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/arch/i386/crashdump-x86.o kexec/arch/i386/crashdump-x86.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/arch/x86_64/kexec-x86_64.o kexec/arch/x86_64/kexec-x86_64.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/arch/x86_64/kexec-elf-x86_64.o kexec/arch/x86_64/kexec-elf-x86_64.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/arch/x86_64/kexec-elf-rel-x86_64.o kexec/arch/x86_64/kexec-elf-rel-x86_64.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/x86_64/include -c -MD -o kexec/arch/x86_64/kexec-bzImage64.o kexec/arch/x86_64/kexec-bzImage64.c gcc -fno-zero-initialized-in-bss -mcmodel=large -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/purgatory.o purgatory/purgatory.c gcc -fno-zero-initialized-in-bss -mcmodel=large -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/printf.o purgatory/printf.c gcc -fno-zero-initialized-in-bss -mcmodel=large -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/string.o purgatory/string.c gcc -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/x86_64/entry64-32.o purgatory/arch/x86_64/entry64-32.S gcc -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/x86_64/entry64.o purgatory/arch/x86_64/entry64.S gcc -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/x86_64/setup-x86_64.o purgatory/arch/x86_64/setup-x86_64.S kexec/arch/i386/x86-linux-setup.c: In function 'add_edd_entry': kexec/arch/i386/x86-linux-setup.c:332:20: warning: implicit declaration of function 'basename' [-Wimplicit-function-declaration] 332 | if (sscanf(basename(sysfs_name), "int13_dev%hhx", &devnum) != 1) { | ^~~~~~~~ kexec/arch/i386/x86-linux-setup.c:332:20: warning: passing argument 1 of 'sscanf' makes pointer from integer without a cast [-Wint-conversion] 332 | if (sscanf(basename(sysfs_name), "int13_dev%hhx", &devnum) != 1) { | ^~~~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/fortify/stdio.h:23, from kexec/arch/i386/x86-linux-setup.c:18: /usr/include/stdio.h:121:12: note: expected 'const char * restrict' but argument is of type 'int' 121 | int sscanf(const char *__restrict, const char *__restrict, ...); | ^ kexec/arch/i386/x86-linux-setup.c:333:33: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 333 | fprintf(stderr, "Invalid format of int13_dev dir " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 334 | "entry: %s\n", basename(sysfs_name)); | ~~~~~~~~~~~~~~~~~~~~ | | | int gcc -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/x86_64/stack.o purgatory/arch/x86_64/stack.S kexec/arch/i386/x86-linux-setup.c:334:42: note: format string is defined here 334 | "entry: %s\n", basename(sysfs_name)); | ~^ | | | char * | %d gcc -fno-zero-initialized-in-bss -mcmodel=large -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/x86_64/purgatory-x86_64.o purgatory/arch/x86_64/purgatory-x86_64.c gcc -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/i386/entry32-16.o purgatory/arch/i386/entry32-16.S gcc -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/i386/entry32-16-debug.o purgatory/arch/i386/entry32-16-debug.S gcc -fno-zero-initialized-in-bss -mcmodel=large -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/i386/crashdump_backup.o purgatory/arch/i386/crashdump_backup.c gcc -fno-zero-initialized-in-bss -mcmodel=large -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/i386/console-x86.o purgatory/arch/i386/console-x86.c gcc -fno-zero-initialized-in-bss -mcmodel=large -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/i386/vga.o purgatory/arch/i386/vga.c gcc -fno-zero-initialized-in-bss -mcmodel=large -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/i386/pic.o purgatory/arch/i386/pic.c mkdir -p purgatory purgatory/arch/i386/entry32-16.S: Assembler messages: purgatory/arch/i386/entry32-16.S:23: Error: 64bit mode not supported on `i386'. gcc -fno-zero-initialized-in-bss -mcmodel=large -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -O2 -mcmodel=large -I./purgatory/include -I./purgatory/arch/x86_64/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/include -c -o purgatory/sha256.o util_lib/sha256.c make: *** [Makefile:127: purgatory/arch/i386/entry32-16.o] Error 1 make: *** Waiting for unfinished jobs.... purgatory/arch/i386/entry32-16-debug.S: Assembler messages: purgatory/arch/i386/entry32-16-debug.S:28: Error: 64bit mode not supported on `i386'. make: *** [Makefile:127: purgatory/arch/i386/entry32-16-debug.o] Error 1 >>> ERROR: kexec-tools: build failed >>> kexec-tools: Uninstalling dependencies... (1/4) Purging .makedepends-kexec-tools (20240507.001627) (2/4) Purging zlib-dev (1.3.1-r1) (3/4) Purging xz-dev (5.6.1-r3) (4/4) Purging xz (5.6.1-r3) Executing busybox-1.36.1-r26.trigger OK: 1693 MiB in 123 packages