==> Building on r ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 1,056 100% 0.00kB/s 0:00:00 1,056 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) makedumpfile-1.7.1-1.log 200 100% 195.31kB/s 0:00:00 200 100% 195.31kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 731 bytes received 75 bytes 537.33 bytes/sec total size is 1,244 speedup is 1.54 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix14 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] -> [felix14]...done ==> Making package: makedumpfile 1.7.1-1 (Fri Oct 14 03:10:53 2022) ==> Retrieving sources...  -> Found makedumpfile-1.7.1.tar.gz ==> Validating source files with sha256sums... makedumpfile-1.7.1.tar.gz ... Passed ==> Making package: makedumpfile 1.7.1-1 (Fri Oct 14 03:11:04 2022) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources...  -> Found makedumpfile-1.7.1.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting makedumpfile-1.7.1.tar.gz with bsdtar ==> 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 -DVERSION='"1.7.1"' -DRELEASE_DATE='"18 Apr 2022"' -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/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/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/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/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/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/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/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 -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 -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 -DVERSION='"1.7.1"' -DRELEASE_DATE='"18 Apr 2022"' -D__riscv64__ -DUSEZSTD -c -o ./detect_cycle.o detect_cycle.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.1"' -DRELEASE_DATE='"18 Apr 2022"' -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.1"' -DRELEASE_DATE='"18 Apr 2022"' -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.1"' -DRELEASE_DATE='"18 Apr 2022"' -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.1"' -DRELEASE_DATE='"18 Apr 2022"' -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.1"' -DRELEASE_DATE='"18 Apr 2022"' -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.1"' -DRELEASE_DATE='"18 Apr 2022"' -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.1"' -DRELEASE_DATE='"18 Apr 2022"' -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.1"' -DRELEASE_DATE='"18 Apr 2022"' -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 detect_cycle.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:1055:30: warning: implicit declaration of function ‘vaddr_to_paddr’; did you mean ‘pfn_to_paddr’? [-Wimplicit-function-declaration] 1055 | if ((paddr = vaddr_to_paddr(addr)) == NOT_PADDR) { | ^~~~~~~~~~~~~~ | pfn_to_paddr makedumpfile.c:1065:30: warning: implicit declaration of function ‘kvtop_xen’; did you mean ‘ptom_xen’? [-Wimplicit-function-declaration] 1065 | if ((paddr = kvtop_xen(addr)) == NOT_PADDR) { | ^~~~~~~~~ | ptom_xen makedumpfile.c: In function ‘is_kvaddr’: makedumpfile.c:1613:46: error: ‘KVBASE’ undeclared (first use in this function) 1613 | return (addr >= (unsigned long long)(KVBASE)); | ^~~~~~ makedumpfile.c:1613:46: note: each undeclared identifier is reported only once for each function it appears in makedumpfile.c: In function ‘find_kaslr_offsets’: makedumpfile.c:4257:9: warning: implicit declaration of function ‘get_kaslr_offset’; did you mean ‘find_kaslr_offsets’? [-Wimplicit-function-declaration] 4257 | get_kaslr_offset(0); | ^~~~~~~~~~~~~~~~ | find_kaslr_offsets makedumpfile.c: In function ‘initial’: makedumpfile.c:4446:22: warning: implicit declaration of function ‘get_phys_base’ [-Wimplicit-function-declaration] 4446 | if (!get_phys_base()) | ^~~~~~~~~~~~~ makedumpfile.c:4518:28: warning: implicit declaration of function ‘get_machdep_info’ [-Wimplicit-function-declaration] 4518 | if (debug_info && !get_machdep_info()) | ^~~~~~~~~~~~~~~~ makedumpfile.c:4544:22: warning: implicit declaration of function ‘get_versiondep_info’ [-Wimplicit-function-declaration] 4544 | if (!get_versiondep_info()) | ^~~~~~~~~~~~~~~~~~~ makedumpfile.c: In function ‘get_xen_info’: makedumpfile.c:9699:14: warning: implicit declaration of function ‘get_xen_basic_info_arch’ [-Wimplicit-function-declaration] 9699 | if (!get_xen_basic_info_arch()) | ^~~~~~~~~~~~~~~~~~~~~~~ makedumpfile.c:9821:14: warning: implicit declaration of function ‘get_xen_info_arch’; did you mean ‘get_xen_info’? [-Wimplicit-function-declaration] 9821 | if (!get_xen_info_arch()) | ^~~~~~~~~~~~~~~~~ | get_xen_info makedumpfile.c: In function ‘is_crashkernel_mem_reserved’: makedumpfile.c:11777:13: warning: implicit declaration of function ‘arch_crashkernel_mem_size’ [-Wimplicit-function-declaration] 11777 | if (arch_crashkernel_mem_size()) | ^~~~~~~~~~~~~~~~~~~~~~~~~ makedumpfile.c: In function ‘is_kvaddr’: makedumpfile.c:1614:1: warning: control reaches end of non-void function [-Wreturn-type] 1614 | } | ^ makedumpfile.c: In function ‘dump_dmesg’: makedumpfile.c:5727:33: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5727 | ftruncate(info->fd_dumpfile, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:114: makedumpfile] Error 1 ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix14/build receiving incremental file list makedumpfile-1.7.1-1-riscv64-build.log sent 43 bytes received 1,899 bytes 3,884.00 bytes/sec total size is 12,807 speedup is 6.59