==> Building on q ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/makedumpfile ./ 0001-PATCH-v2-Simplify-the-generation-of-man-pages.patch 4,542 100% 0.00kB/s 0:00:00 4,542 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=2/4) PKGBUILD 1,327 100% 1.27MB/s 0:00:00 1,327 100% 1.27MB/s 0:00:00 (xfr#2, to-chk=1/4) makedumpfile-1.7.0-4.log 519 100% 506.84kB/s 0:00:00 519 100% 506.84kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 2,804 bytes received 120 bytes 5,848.00 bytes/sec total size is 6,057 speedup is 2.07 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix26 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix26]...done ==> Making package: makedumpfile 1.7.0-4 (Sun Mar 27 13:54:50 2022) ==> Retrieving sources...  -> Downloading makedumpfile-1.7.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 664 100 664 0 0 2506 0 --:--:-- --:--:-- --:--:-- 2515 100 198k 100 198k 0 0 373k 0 --:--:-- --:--:-- --:--:-- 373k  -> Found 0001-PATCH-v2-Simplify-the-generation-of-man-pages.patch ==> Validating source files with sha256sums... makedumpfile-1.7.0.tar.gz ... Passed 0001-PATCH-v2-Simplify-the-generation-of-man-pages.patch ... Passed ==> Making package: makedumpfile 1.7.0-4 (Sun 27 Mar 2022 01:55:03 PM CEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources...  -> Found makedumpfile-1.7.0.tar.gz  -> Found 0001-PATCH-v2-Simplify-the-generation-of-man-pages.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting makedumpfile-1.7.0.tar.gz with bsdtar ==> Starting prepare()... patching file .gitignore patching file Makefile patching file makedumpfile.8.in (renamed from makedumpfile.8) patching file makedumpfile.conf.5.in (renamed from makedumpfile.conf.5) ==> Starting build()... cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__riscv64__ -c -o ./arch/arm.o arch/arm.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__riscv64__ -c -o ./arch/s390x.o arch/s390x.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__riscv64__ -c -o ./arch/arm64.o arch/arm64.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__riscv64__ -c -o ./arch/x86.o arch/x86.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__riscv64__ -c -o ./arch/ppc.o arch/ppc.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVERSION='"1.7.0"' -DRELEASE_DATE='"8 Nov 2021"' -D__riscv64__ -DUSEZSTD -c -o ./sadump_info.o sadump_info.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__riscv64__ -c -o ./arch/ppc64.o arch/ppc64.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__riscv64__ -c -o ./arch/x86_64.o arch/x86_64.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__riscv64__ -c -o ./arch/ia64.o arch/ia64.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__riscv64__ -c -o ./arch/mips64.o arch/mips64.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__riscv64__ -c -o ./arch/sparc64.o arch/sparc64.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVERSION='"1.7.0"' -DRELEASE_DATE='"8 Nov 2021"' -D__riscv64__ -DUSEZSTD -c -o ./print_info.o print_info.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVERSION='"1.7.0"' -DRELEASE_DATE='"8 Nov 2021"' -D__riscv64__ -DUSEZSTD -c -o ./cache.o cache.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVERSION='"1.7.0"' -DRELEASE_DATE='"8 Nov 2021"' -D__riscv64__ -DUSEZSTD -c -o ./printk.o printk.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVERSION='"1.7.0"' -DRELEASE_DATE='"8 Nov 2021"' -D__riscv64__ -DUSEZSTD -c -o ./tools.o tools.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVERSION='"1.7.0"' -DRELEASE_DATE='"8 Nov 2021"' -D__riscv64__ -DUSEZSTD -c -o ./elf_info.o elf_info.c elf_info.c: In function ‘set_kcore_vmcoreinfo’: elf_info.c:378:18: warning: implicit declaration of function ‘paddr_to_vaddr’; did you mean ‘pfn_to_paddr’? [-Wimplicit-function-declaration] 378 | kvaddr = paddr_to_vaddr(vmcoreinfo_addr); | ^~~~~~~~~~~~~~ | pfn_to_paddr elf_info.c: In function ‘get_kcore_dump_loads’: elf_info.c:768:37: warning: implicit declaration of function ‘is_phys_addr’ [-Wimplicit-function-declaration] 768 | || !is_phys_addr(p->virt_start)) | ^~~~~~~~~~~~ cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVERSION='"1.7.0"' -DRELEASE_DATE='"8 Nov 2021"' -D__riscv64__ -DUSEZSTD -c -o ./dwarf_info.o dwarf_info.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVERSION='"1.7.0"' -DRELEASE_DATE='"8 Nov 2021"' -D__riscv64__ -DUSEZSTD -c -o ./erase_info.o erase_info.c erase_info.c: In function ‘resolve_config_entry’: erase_info.c:1089:33: warning: implicit declaration of function ‘get_kaslr_offset’; did you mean ‘get_die_offset’? [-Wimplicit-function-declaration] 1089 | ce->sym_addr += get_kaslr_offset(ce->sym_addr); | ^~~~~~~~~~~~~~~~ | get_die_offset erase_info.c: In function ‘update_filter_info’: erase_info.c:1600:28: warning: implicit declaration of function ‘vaddr_to_paddr’; did you mean ‘pfn_to_paddr’? [-Wimplicit-function-declaration] 1600 | fl_info->paddr = vaddr_to_paddr(sym_addr); | ^~~~~~~~~~~~~~ | pfn_to_paddr cc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/makedumpfile/src=/usr/src/debug -flto=auto -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVERSION='"1.7.0"' -DRELEASE_DATE='"8 Nov 2021"' -D__riscv64__ -DUSEZSTD -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto print_info.o dwarf_info.o elf_info.o erase_info.o sadump_info.o cache.o tools.o printk.o arch/arm.o arch/arm64.o arch/x86.o arch/x86_64.o arch/ia64.o arch/ppc64.o arch/s390x.o arch/ppc.o arch/sparc64.o arch/mips64.o -rdynamic -o makedumpfile makedumpfile.c -lzstd -ldw -lbz2 -ldl -lelf -lz -lpthread makedumpfile.c: In function ‘readmem’: makedumpfile.c:989:30: warning: implicit declaration of function ‘vaddr_to_paddr’; did you mean ‘pfn_to_paddr’? [-Wimplicit-function-declaration] 989 | if ((paddr = vaddr_to_paddr(addr)) == NOT_PADDR) { | ^~~~~~~~~~~~~~ | pfn_to_paddr makedumpfile.c:999:30: warning: implicit declaration of function ‘kvtop_xen’; did you mean ‘ptom_xen’? [-Wimplicit-function-declaration] 999 | if ((paddr = kvtop_xen(addr)) == NOT_PADDR) { | ^~~~~~~~~ | ptom_xen makedumpfile.c: In function ‘is_kvaddr’: makedumpfile.c:1547:46: error: ‘KVBASE’ undeclared (first use in this function) 1547 | return (addr >= (unsigned long long)(KVBASE)); | ^~~~~~ makedumpfile.c:1547:46: note: each undeclared identifier is reported only once for each function it appears in makedumpfile.c: In function ‘find_kaslr_offsets’: makedumpfile.c:4174:9: warning: implicit declaration of function ‘get_kaslr_offset’; did you mean ‘find_kaslr_offsets’? [-Wimplicit-function-declaration] 4174 | get_kaslr_offset(0); | ^~~~~~~~~~~~~~~~ | find_kaslr_offsets makedumpfile.c: In function ‘initial’: makedumpfile.c:4363:22: warning: implicit declaration of function ‘get_phys_base’ [-Wimplicit-function-declaration] 4363 | if (!get_phys_base()) | ^~~~~~~~~~~~~ makedumpfile.c:4435:28: warning: implicit declaration of function ‘get_machdep_info’ [-Wimplicit-function-declaration] 4435 | if (debug_info && !get_machdep_info()) | ^~~~~~~~~~~~~~~~ makedumpfile.c:4461:22: warning: implicit declaration of function ‘get_versiondep_info’ [-Wimplicit-function-declaration] 4461 | if (!get_versiondep_info()) | ^~~~~~~~~~~~~~~~~~~ makedumpfile.c: In function ‘get_xen_info’: makedumpfile.c:9479:14: warning: implicit declaration of function ‘get_xen_basic_info_arch’ [-Wimplicit-function-declaration] 9479 | if (!get_xen_basic_info_arch()) | ^~~~~~~~~~~~~~~~~~~~~~~ makedumpfile.c:9601:14: warning: implicit declaration of function ‘get_xen_info_arch’; did you mean ‘get_xen_info’? [-Wimplicit-function-declaration] 9601 | if (!get_xen_info_arch()) | ^~~~~~~~~~~~~~~~~ | get_xen_info makedumpfile.c: In function ‘is_crashkernel_mem_reserved’: makedumpfile.c:11548:13: warning: implicit declaration of function ‘arch_crashkernel_mem_size’ [-Wimplicit-function-declaration] 11548 | if (arch_crashkernel_mem_size()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ makedumpfile.c: In function ‘is_kvaddr’: makedumpfile.c:1548:1: warning: control reaches end of non-void function [-Wreturn-type] 1548 | } | ^ make: *** [Makefile:114: makedumpfile] Error 1 ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix26/build receiving incremental file list makedumpfile-1.7.0-4-riscv64-build.log makedumpfile-1.7.0-4-riscv64-prepare.log sent 62 bytes received 1,928 bytes 1,326.67 bytes/sec total size is 12,218 speedup is 6.14