>>> kexec-tools: Building community/kexec-tools 2.0.28-r1 (using abuild 3.13.0-r3) started Tue, 07 May 2024 07:36:33 +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/6) Installing zlib-dev (1.3.1-r1) (2/6) Installing xz-libs (5.6.1-r3) (3/6) Installing xz (5.6.1-r3) (4/6) Installing xz-dev (5.6.1-r3) (5/6) Installing linux-headers (6.6-r0) (6/6) Installing .makedepends-kexec-tools (20240507.073635) Executing busybox-1.36.1-r26.trigger OK: 385 MiB in 109 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-basename.patch: OK fix-build-on-Alpine-linux.patch: OK fix-build-with-binutils-2.41.patch: OK >>> kexec-tools: Unpacking /var/cache/distfiles/v3.20/kexec-tools-2.0.28.tar.xz... >>> kexec-tools: fix-basename.patch patching file kexec/arch/i386/x86-linux-setup.c >>> kexec-tools: fix-build-on-Alpine-linux.patch patching file kexec/arch/i386/kexec-x86.c >>> kexec-tools: fix-build-with-binutils-2.41.patch patching file purgatory/arch/i386/entry32-16-debug.S patching file purgatory/arch/i386/entry32-16.S patching file purgatory/arch/i386/entry32.S patching file purgatory/arch/i386/setup-x86.S checking for i586-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... i586-alpine-linux-musl checking host system type... i586-alpine-linux-musl checking target system type... i586-alpine-linux-musl checking how to run the C preprocessor... gcc -E checking for i586-alpine-linux-musl-ld... no checking for ld... ld checking for i586-alpine-linux-musl-as... no checking for as... as checking for i586-alpine-linux-musl-objcopy... no checking for objcopy... objcopy checking for i586-alpine-linux-musl-ar... no checking for ar... ar checking for i586-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-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/kexec.o kexec/kexec.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/ifdown.o kexec/ifdown.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/kexec-elf.o kexec/kexec-elf.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/kexec-elf-exec.o kexec/kexec-elf-exec.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/kexec-elf-core.o kexec/kexec-elf-core.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/kexec-elf-rel.o kexec/kexec-elf-rel.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/kexec-elf-boot.o kexec/kexec-elf-boot.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/kexec-pe-zboot.o kexec/kexec-pe-zboot.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/kexec-iomem.o kexec/kexec-iomem.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/firmware_memmap.o kexec/firmware_memmap.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/crashdump.o kexec/crashdump.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/crashdump-xen.o kexec/crashdump-xen.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/phys_arch.o kexec/phys_arch.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/lzma.o kexec/lzma.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/zlib.o kexec/zlib.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/kexec-xen.o kexec/kexec-xen.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/symbols.o kexec/symbols.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/proc_iomem.o kexec/proc_iomem.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/virt_to_phys.o kexec/virt_to_phys.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/phys_to_virt.o kexec/phys_to_virt.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/add_segment.o kexec/add_segment.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/add_buffer.o kexec/add_buffer.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/arch_reuse_initrd.o kexec/arch_reuse_initrd.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/arch/i386/kexec-x86.o kexec/arch/i386/kexec-x86.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/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-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/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-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/arch/i386/kexec-elf-rel-x86.o kexec/arch/i386/kexec-elf-rel-x86.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/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-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/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-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/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-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/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-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/arch/i386/kexec-nbi.o kexec/arch/i386/kexec-nbi.c In file included from kexec/kexec-pe-zboot.c:30: kexec/kexec-pe-zboot.c: In function 'pez_prepare': kexec/kexec-pe-zboot.c:94:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'off_t' {aka 'long long int'} [-Wformat=] 94 | dbgprintf("%s: decompressed size %ld\n", __func__, decompressed_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ | | | off_t {aka long long int} kexec/kexec.h:122:33: note: in definition of macro 'dbgprintf' 122 | fprintf(stderr, __VA_ARGS__); \ | ^~~~~~~~~~~ kexec/kexec-pe-zboot.c:94:44: note: format string is defined here 94 | dbgprintf("%s: decompressed size %ld\n", __func__, decompressed_size); | ~~^ | | | long int | %lld gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/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-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/arch/i386/crashdump-x86.o kexec/arch/i386/crashdump-x86.c kexec/arch/i386/kexec-x86-common.c: In function 'efi_get_acpi_rsdp': kexec/arch/i386/kexec-x86-common.c:425:40: warning: format '%lx' expects argument of type 'long unsigned int *', but argument 3 has type 'uint64_t *' {aka 'long long unsigned int *'} [-Wformat=] 425 | sscanf(s, "0x%lx", &acpi_rsdp); | ~~^ ~~~~~~~~~~ | | | | | uint64_t * {aka long long unsigned int *} | long unsigned int * | %llx gcc -fno-zero-initialized-in-bss -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -I./purgatory/include -I./purgatory/arch/i386/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/purgatory.o purgatory/purgatory.c In file included from kexec/lzma.c:6: kexec/lzma.c: In function 'lzma_decompress_file': kexec/lzma.c:228:35: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 228 | dbgprintf("%s: read on %s of %ld bytes failed\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 229 | __func__, filename, (allocated - size) + 0UL); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | off_t {aka long long int} kexec/kexec.h:122:33: note: in definition of macro 'dbgprintf' 122 | fprintf(stderr, __VA_ARGS__); \ | ^~~~~~~~~~~ kexec/lzma.c:228:56: note: format string is defined here 228 | dbgprintf("%s: read on %s of %ld bytes failed\n", | ~~^ | | | long int | %lld gcc -fno-zero-initialized-in-bss -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -I./purgatory/include -I./purgatory/arch/i386/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/printf.o purgatory/printf.c gcc -fno-zero-initialized-in-bss -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -I./purgatory/include -I./purgatory/arch/i386/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/string.o purgatory/string.c gcc -I./purgatory/include -I./purgatory/arch/i386/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/i386/entry32-16.o purgatory/arch/i386/entry32-16.S gcc -I./purgatory/include -I./purgatory/arch/i386/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/i586-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 -I./purgatory/include -I./purgatory/arch/i386/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/i386/entry32.o purgatory/arch/i386/entry32.S gcc -I./purgatory/include -I./purgatory/arch/i386/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/i386/setup-x86.o purgatory/arch/i386/setup-x86.S gcc -I./purgatory/include -I./purgatory/arch/i386/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/i386/stack.o purgatory/arch/i386/stack.S gcc -I./purgatory/include -I./purgatory/arch/i386/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/i386/compat_x86_64.o purgatory/arch/i386/compat_x86_64.S gcc -fno-zero-initialized-in-bss -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -I./purgatory/include -I./purgatory/arch/i386/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/i386/purgatory-x86.o purgatory/arch/i386/purgatory-x86.c gcc -fno-zero-initialized-in-bss -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -I./purgatory/include -I./purgatory/arch/i386/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/i586-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 -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -I./purgatory/include -I./purgatory/arch/i386/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/i386/vga.o purgatory/arch/i386/vga.c In file included from kexec/arch/i386/x86-linux-setup.c:36: kexec/arch/i386/x86-linux-setup.c: In function 'setup_linux_bootloader_parameters_high': kexec/arch/i386/x86-linux-setup.c:91:27: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'off_t' {aka 'long long int'} [-Wformat=] 91 | dbgprintf("Loaded initrd at 0x%lx size 0x%lx\n", initrd_base, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 92 | initrd_size); | ~~~~~~~~~~~ | | | off_t {aka long long int} kexec/arch/i386/../../kexec.h:122:33: note: in definition of macro 'dbgprintf' 122 | fprintf(stderr, __VA_ARGS__); \ | ^~~~~~~~~~~ kexec/arch/i386/x86-linux-setup.c:91:60: note: format string is defined here 91 | dbgprintf("Loaded initrd at 0x%lx size 0x%lx\n", initrd_base, | ~~^ | | | long unsigned int | %llx kexec/arch/i386/x86-linux-setup.c:104:60: warning: right shift count >= width of type [-Wshift-count-overflow] 104 | real_mode->ext_ramdisk_image = initrd_base >> 32; | ^~ kexec/arch/i386/x86-linux-setup.c:122:68: warning: right shift count >= width of type [-Wshift-count-overflow] 122 | real_mode->ext_cmd_line_ptr = cmd_line_ptr >> 32; | ^~ kexec/arch/i386/x86-linux-setup.c: In function 'setup_linux_vesafb': kexec/arch/i386/x86-linux-setup.c:177:58: warning: right shift count >= width of type [-Wshift-count-overflow] 177 | real_mode->ext_lfb_base = fix.smem_start >> 32; | ^~ gcc -fno-zero-initialized-in-bss -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -I./purgatory/include -I./purgatory/arch/i386/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/i386/pic.o purgatory/arch/i386/pic.c kexec/arch/i386/crashdump-x86.c: In function 'cmdline_add_efi': kexec/arch/i386/crashdump-x86.c:787:48: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 787 | sprintf(acpi_rsdp_buf, " acpi_rsdp=0x%lx", acpi_rsdp); | ~~^ ~~~~~~~~~ | | | | | uint64_t {aka long long unsigned int} | long unsigned int | %llx gcc -fno-zero-initialized-in-bss -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -I./purgatory/include -I./purgatory/arch/i386/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include -c -MD -o purgatory/arch/i386/crashdump_backup.o purgatory/arch/i386/crashdump_backup.c mkdir -p purgatory gcc -fno-zero-initialized-in-bss -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -O2 -I./purgatory/include -I./purgatory/arch/i386/include -I./util_lib/include -I./include -Iinclude -I/usr/lib/gcc/i586-alpine-linux-musl/13.2.1/include -c -o purgatory/sha256.o util_lib/sha256.c gcc -O2 -Wall -o bin/bin-to-hex util/bin-to-hex.c kexec/arch/i386/x86-linux-setup.c: In function 'add_e820_map_from_mr': kexec/arch/i386/x86-linux-setup.c:763:27: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 763 | dbgprintf("%016lx-%016lx (%d)\n", | ^~~~~~~~~~~~~~~~~~~~~~ 764 | e820[i].addr, | ~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} kexec/arch/i386/../../kexec.h:122:33: note: in definition of macro 'dbgprintf' 122 | fprintf(stderr, __VA_ARGS__); \ | ^~~~~~~~~~~ kexec/arch/i386/x86-linux-setup.c:763:33: note: format string is defined here 763 | dbgprintf("%016lx-%016lx (%d)\n", | ~~~~~^ | | | long unsigned int | %016llx kexec/arch/i386/x86-linux-setup.c:763:27: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 763 | dbgprintf("%016lx-%016lx (%d)\n", | ^~~~~~~~~~~~~~~~~~~~~~ 764 | e820[i].addr, 765 | e820[i].addr + e820[i].size - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} kexec/arch/i386/../../kexec.h:122:33: note: in definition of macro 'dbgprintf' 122 | fprintf(stderr, __VA_ARGS__); \ | ^~~~~~~~~~~ kexec/arch/i386/x86-linux-setup.c:763:40: note: format string is defined here 763 | dbgprintf("%016lx-%016lx (%d)\n", | ~~~~~^ | | | long unsigned int | %016llx purgatory/arch/i386/purgatory-x86.c: In function 'x86_setup_jump_back_entry': purgatory/arch/i386/purgatory-x86.c:48:65: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 48 | sprintf(cmdline_end, " kexec_jump_back_entry=0x%x", | ~^ | | | unsigned int | %lx 49 | jump_back_entry); | ~~~~~~~~~~~~~~~ | | | long unsigned int gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -I./util_lib/include -c -MD -o util_lib/compute_ip_checksum.o util_lib/compute_ip_checksum.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -I./util_lib/include -c -MD -o util_lib/elf_info.o util_lib/elf_info.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -I./util_lib/include -c -MD -o util_lib/sha256.o util_lib/sha256.c gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -c -MD -o vmcore-dmesg/vmcore-dmesg.o vmcore-dmesg/vmcore-dmesg.c gcc -m32 -I./include -I./util_lib/include -Iinclude/ -DRELOC=0x10000 -c -MD -o kexec_test/kexec_test16.o kexec_test/kexec_test16.S gcc -m32 -I./include -I./util_lib/include -Iinclude/ -DRELOC=0x10000 -c -MD -o kexec_test/kexec_test.o kexec_test/kexec_test.S cp kexec/kexec.8 build/man/man8/kexec.8 mkdir -p build/man/man8 cp vmcore-dmesg/vmcore-dmesg.8 build/man/man8/vmcore-dmesg.8 mkdir -p build/lib/kexec-tools ld -melf_i386 -e _start -Ttext 0x10000 -o build/lib/kexec-tools/kexec_test kexec_test/kexec_test16.o kexec_test/kexec_test.o util_lib/elf_info.c: In function 'dump_dmesg_structured': util_lib/elf_info.c:893:64: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 893 | fprintf(stderr, "log_buf = 0x%lx, idx = 0x%x\n", | ~~^ | | | long unsigned int | %llx 894 | log_buf, current_idx); | ~~~~~~~ | | | uint64_t {aka long long unsigned int} util_lib/elf_info.c:907:64: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 907 | fprintf(stderr, "log_buf = 0x%lx, idx = 0x%x\n", | ~~^ | | | long unsigned int | %llx 908 | log_buf, current_idx); | ~~~~~~~ | | | uint64_t {aka long long unsigned int} mkdir -p purgatory gcc -fno-zero-initialized-in-bss -Os -fno-builtin -ffreestanding -fno-zero-initialized-in-bss -fno-PIC -fno-PIE -fno-stack-protector -fno-tree-vectorize -Wl,--no-undefined -nostartfiles -nostdlib -nodefaultlibs -e purgatory_start -r -Wl,-Map=purgatory/purgatory.map -o purgatory/purgatory.ro.sym purgatory/purgatory.o purgatory/printf.o purgatory/string.o purgatory/arch/i386/entry32-16.o purgatory/arch/i386/entry32-16-debug.o purgatory/arch/i386/entry32.o purgatory/arch/i386/setup-x86.o purgatory/arch/i386/stack.o purgatory/arch/i386/compat_x86_64.o purgatory/arch/i386/purgatory-x86.o purgatory/arch/i386/console-x86.o purgatory/arch/i386/vga.o purgatory/arch/i386/pic.o purgatory/arch/i386/crashdump_backup.o purgatory/sha256.o strip --strip-debug -o purgatory/purgatory.ro purgatory/purgatory.ro.sym mkdir -p kexec bin/bin-to-hex purgatory < purgatory/purgatory.ro > kexec/purgatory.c ar rs libutil.a util_lib/compute_ip_checksum.o util_lib/elf_info.o util_lib/sha256.o ar: creating libutil.a gcc -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o build/sbin/vmcore-dmesg vmcore-dmesg/vmcore-dmesg.o libutil.a -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -llzma -lz gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -I./include -I./util_lib/include -Iinclude/ -I./kexec/arch/i386/include -c -MD -o kexec/purgatory.o kexec/purgatory.c gcc -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o build/sbin/kexec kexec/kexec.o kexec/ifdown.o kexec/kexec-elf.o kexec/kexec-elf-exec.o kexec/kexec-elf-core.o kexec/kexec-elf-rel.o kexec/kexec-elf-boot.o kexec/kexec-pe-zboot.o kexec/kexec-iomem.o kexec/firmware_memmap.o kexec/crashdump.o kexec/crashdump-xen.o kexec/phys_arch.o kexec/lzma.o kexec/zlib.o kexec/kexec-xen.o kexec/symbols.o kexec/proc_iomem.o kexec/virt_to_phys.o kexec/phys_to_virt.o kexec/add_segment.o kexec/add_buffer.o kexec/arch_reuse_initrd.o kexec/arch/i386/kexec-x86.o kexec/arch/i386/kexec-x86-common.o kexec/arch/i386/kexec-elf-x86.o kexec/arch/i386/kexec-elf-rel-x86.o kexec/arch/i386/kexec-bzImage.o kexec/arch/i386/kexec-multiboot-x86.o kexec/arch/i386/kexec-mb2-x86.o kexec/arch/i386/kexec-beoboot-x86.o kexec/arch/i386/kexec-nbi.o kexec/arch/i386/x86-linux-setup.o kexec/arch/i386/crashdump-x86.o kexec/purgatory.o libutil.a -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -llzma -lz >>> kexec-tools: Entering fakeroot... for file in build/sbin/kexec build/sbin/vmcore-dmesg build/lib/kexec-tools/kexec_test build/man/man8/kexec.8 build/man/man8/vmcore-dmesg.8 ; do \ if test `dirname $file` = "build/sbin" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/sbin/; \ /usr/bin/install -c -m 755 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/sbin/; \ fi; \ if test `dirname $file` = "build/bin" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/bin/; \ /usr/bin/install -c -m 755 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/bin/; \ fi; \ if test `dirname $file` = "build/libexec" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/libexec/; \ /usr/bin/install -c -m 755 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/libexec/; \ fi; \ if test `dirname $file` = "build/share" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/; \ fi; \ if test `dirname $file` = "build/etc" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//etc/; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//etc/; \ fi; \ if test `dirname $file` = "build/com" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/com/; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/com/; \ fi; \ if test `dirname $file` = "build/var" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//var/; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//var/; \ fi; \ if test `dirname $file` = "build/lib" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/lib/; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/lib/; \ fi; \ if test `dirname $file` = "build/info" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/info/; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/info/; \ fi; \ if test `dirname $file` = "build/man/man1" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/man/man1; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/man/man1; \ fi; \ if test `dirname $file` = "build/man/man2" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/man/man2; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/man/man2; \ fi; \ if test `dirname $file` = "build/man/man3" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/man/man3/; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/man/man3/; \ fi; \ if test `dirname $file` = "build/man/man4" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/man/man4/; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/man/man4/; \ fi; \ if test `dirname $file` = "build/man/man5" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/man/man5/; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/man/man5/; \ fi; \ if test `dirname $file` = "build/man/man6" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/man/man6/; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/man/man6/; \ fi; \ if test `dirname $file` = "build/man/man7" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/man/man7/; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/man/man7/; \ fi; \ if test `dirname $file` = "build/man/man8" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/man/man8/; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/man/man8/; \ fi; \ if test `dirname $file` = "build/include" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/include/; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/include/; \ fi; \ if test `dirname $file` = "build/share/kexec-tools" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/kexec-tools/; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/share/kexec-tools/; \ fi; \ if test `dirname $file` = "build/lib/kexec-tools" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/lib/kexec-tools/; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/lib/kexec-tools/; \ fi; \ if test `dirname $file` = "" ; then \ mkdir -p /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/include/kexec-tools/; \ /usr/bin/install -c -m 644 $file /home/buildozer/aports/community/kexec-tools/pkg/kexec-tools//usr/include/kexec-tools/; \ fi; \ done >>> kexec-tools-doc*: Running split function doc... >>> kexec-tools-doc*: Preparing subpackage kexec-tools-doc... >>> kexec-tools-doc*: Running postcheck for kexec-tools-doc >>> kexec-tools*: Running postcheck for kexec-tools >>> kexec-tools*: Preparing package kexec-tools... >>> kexec-tools*: Stripping binaries >>> kexec-tools-doc*: Scanning shared objects >>> kexec-tools*: Scanning shared objects >>> kexec-tools-doc*: Tracing dependencies... >>> kexec-tools-doc*: Package size: 28.0 KB >>> kexec-tools-doc*: Compressing data... >>> kexec-tools-doc*: Create checksum... >>> kexec-tools-doc*: Create kexec-tools-doc-2.0.28-r1.apk >>> kexec-tools*: Tracing dependencies... so:libc.musl-x86.so.1 so:liblzma.so.5 so:libz.so.1 >>> kexec-tools*: Package size: 212.0 KB >>> kexec-tools*: Compressing data... >>> kexec-tools*: Create checksum... >>> kexec-tools*: Create kexec-tools-2.0.28-r1.apk >>> kexec-tools: Build complete at Tue, 07 May 2024 07:36:39 +0000 elapsed time 0h 0m 6s >>> kexec-tools: Cleaning up srcdir >>> kexec-tools: Cleaning up pkgdir >>> kexec-tools: Uninstalling dependencies... (1/6) Purging .makedepends-kexec-tools (20240507.073635) (2/6) Purging zlib-dev (1.3.1-r1) (3/6) Purging xz-dev (5.6.1-r3) (4/6) Purging xz (5.6.1-r3) (5/6) Purging xz-libs (5.6.1-r3) (6/6) Purging linux-headers (6.6-r0) Executing busybox-1.36.1-r26.trigger OK: 376 MiB in 103 packages >>> kexec-tools: Updating the community/x86 repository index... >>> kexec-tools: Signing the index...