==> Building on scovillain ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/ltrace ./ .SRCINFO 438 100% 0.00kB/s 0:00:00 438 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=2/4) PKGBUILD 878 100% 857.42kB/s 0:00:00 878 100% 857.42kB/s 0:00:00 (xfr#2, to-chk=1/4) ltrace-0.7.3-5.log 363 100% 354.49kB/s 0:00:00 363 100% 354.49kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 1,279 bytes received 114 bytes 2,786.00 bytes/sec total size is 1,513 speedup is 1.09 ==> Applying RISC-V patches... sending incremental file list ./ riscv64-support.patch 32,768 71% 0.00kB/s 0:00:00 45,733 100% 12.36MB/s 0:00:00 (xfr#1, to-chk=1/3) riscv64.patch 748 100% 730.47kB/s 0:00:00 748 100% 730.47kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 9,628 bytes received 57 bytes 19,370.00 bytes/sec total size is 46,481 speedup is 4.80 patching file PKGBUILD ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root1 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Locking clean chroot [/var/lib/archbuild/extra-riscv64/root]...done ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root1]...done ==> Making package: ltrace 0.7.3-5 (Mon Jul 15 07:31:11 2024) ==> Retrieving sources...  -> Downloading ltrace-0.7.3.tar.bz2... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 3 471k 3 16366 0 0 10334 0 0:00:46 0:00:01 0:00:45 10332 78 471k 78 367k 0 0 141k 0 0:00:03 0:00:02 0:00:01 141k 100 471k 100 471k 0 0 167k 0 0:00:02 0:00:02 --:--:-- 167k  -> Found riscv64-support.patch ==> Validating source files with sha256sums... ltrace-0.7.3.tar.bz2 ... Passed riscv64-support.patch ... Passed ==> Making package: ltrace 0.7.3-5 (Mon Jul 15 07:31:45 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (2) New Version Net Change core/elfutils 0.191-3 3.53 MiB extra/libunwind 1.8.1-3 0.25 MiB Total Installed Size: 3.78 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing elfutils... installing libunwind... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (3) New Version Net Change extra/expect 5.45.4-4 0.37 MiB extra/tcl 8.6.14-4 13.88 MiB extra/dejagnu 1.6.3-9 0.60 MiB Total Installed Size: 14.85 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing tcl... installing expect... installing dejagnu... :: Running post-transaction hooks... (1/1) Updating the info directory file... [?25h==> Retrieving sources...  -> Found ltrace-0.7.3.tar.bz2  -> Found riscv64-support.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting ltrace-0.7.3.tar.bz2 with bsdtar ==> Starting prepare()... patching file configure.ac patching file sysdeps/linux-gnu/Makefile.am patching file sysdeps/linux-gnu/riscv64/Makefile.am patching file sysdeps/linux-gnu/riscv64/arch.h patching file sysdeps/linux-gnu/riscv64/fetch.c patching file sysdeps/linux-gnu/riscv64/plt.c patching file sysdeps/linux-gnu/riscv64/ptrace.h patching file sysdeps/linux-gnu/riscv64/regs.c patching file sysdeps/linux-gnu/riscv64/signalent.h patching file sysdeps/linux-gnu/riscv64/syscallent.h patching file sysdeps/linux-gnu/riscv64/trace.c autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I config/m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config/autoconf'. libtoolize: copying file 'config/autoconf/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config/m4'. libtoolize: copying file 'config/m4/libtool.m4' libtoolize: copying file 'config/m4/ltoptions.m4' libtoolize: copying file 'config/m4/ltsugar.m4' libtoolize: copying file 'config/m4/ltversion.m4' libtoolize: copying file 'config/m4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I config/m4 autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:55: installing 'config/autoconf/compile' configure.ac:58: installing 'config/autoconf/missing' Makefile.am: installing 'config/autoconf/depcomp' autoreconf: 'config/autoconf/config.sub' is updated autoreconf: 'config/autoconf/config.guess' is updated autoreconf: 'config/autoconf/install-sh' is updated autoreconf: Leaving directory '.' ==> Starting build()... checking build system type... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking for 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 whether gcc understands -c and -o together... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-unknown-linux-gnu file names to riscv64-unknown-linux-gnu format... func_convert_file_noop checking how to convert riscv64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no 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 vfork.h... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking for elf.h... yes checking for gelf.h... yes checking for elf_begin in -lelf... yes checking for cplus_demangle in -liberty... yes checking for __cxa_demangle in -lsupc++... yes checking for __cxa_demangle in -lstdc++... yes checking for selinux/selinux.h... no checking for security_get_boolean_active in -lselinux... no checking for libunwind.h... yes checking for libunwind-ptrace.h... yes checking whether to use libunwind support... yes checking for backtrace in -lunwind... yes checking for _Uriscv_init_remote in -lunwind-riscv... yes checking for _UPT_create in -lunwind-ptrace... yes checking whether elf_begin accepts ELF_C_READ_MMAP... yes checking whether elf_hash takes a char* argument... yes checking for fcntl.h... yes checking for limits.h... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/param.h... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for uid_t... yes checking for gid_t... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking size of long... 8 checking for error_at_line... yes checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for alarm... yes checking for atexit... yes checking for getcwd... yes checking for gettimeofday... yes checking for memset... yes checking for mkdir... yes checking for rmdir... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strtol... yes checking for strtoul... yes checking whether to enable debugging... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating sysdeps/Makefile config.status: creating sysdeps/linux-gnu/Makefile config.status: creating sysdeps/linux-gnu/alpha/Makefile config.status: creating sysdeps/linux-gnu/arm/Makefile config.status: creating sysdeps/linux-gnu/cris/Makefile config.status: creating sysdeps/linux-gnu/ia64/Makefile config.status: creating sysdeps/linux-gnu/m68k/Makefile config.status: creating sysdeps/linux-gnu/mips/Makefile config.status: creating sysdeps/linux-gnu/ppc/Makefile config.status: creating sysdeps/linux-gnu/riscv64/Makefile config.status: creating sysdeps/linux-gnu/s390/Makefile config.status: creating sysdeps/linux-gnu/sparc/Makefile config.status: creating sysdeps/linux-gnu/x86/Makefile config.status: creating testsuite/Makefile config.status: creating testsuite/ltrace.main/Makefile config.status: creating testsuite/ltrace.minor/Makefile config.status: creating testsuite/ltrace.torture/Makefile config.status: creating config.h config.status: executing libtool commands config.status: executing depfiles commands make all-recursive make[1]: Entering directory '/build/ltrace/src/ltrace-0.7.3' Making all in sysdeps make[2]: Entering directory '/build/ltrace/src/ltrace-0.7.3/sysdeps' Making all in linux-gnu make[3]: Entering directory '/build/ltrace/src/ltrace-0.7.3/sysdeps/linux-gnu' Making all in riscv64 make[4]: Entering directory '/build/ltrace/src/ltrace-0.7.3/sysdeps/linux-gnu/riscv64' /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../sysdeps/linux-gnu/riscv64 -I../../../sysdeps/linux-gnu -I../../../sysdeps -I../../.. -Wall -Wsign-compare -Wfloat-equal -Wformat-security -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/ltrace/src=/usr/src/debug/ltrace -flto=auto -MT fetch.lo -MD -MP -MF .deps/fetch.Tpo -c -o fetch.lo fetch.c /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../sysdeps/linux-gnu/riscv64 -I../../../sysdeps/linux-gnu -I../../../sysdeps -I../../.. -Wall -Wsign-compare -Wfloat-equal -Wformat-security -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/ltrace/src=/usr/src/debug/ltrace -flto=auto -MT plt.lo -MD -MP -MF .deps/plt.Tpo -c -o plt.lo plt.c /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../sysdeps/linux-gnu/riscv64 -I../../../sysdeps/linux-gnu -I../../../sysdeps -I../../.. -Wall -Wsign-compare -Wfloat-equal -Wformat-security -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/ltrace/src=/usr/src/debug/ltrace -flto=auto -MT regs.lo -MD -MP -MF .deps/regs.Tpo -c -o regs.lo regs.c /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../sysdeps/linux-gnu/riscv64 -I../../../sysdeps/linux-gnu -I../../../sysdeps -I../../.. -Wall -Wsign-compare -Wfloat-equal -Wformat-security -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/ltrace/src=/usr/src/debug/ltrace -flto=auto -MT trace.lo -MD -MP -MF .deps/trace.Tpo -c -o trace.lo trace.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../sysdeps/linux-gnu/riscv64 -I../../../sysdeps/linux-gnu -I../../../sysdeps -I../../.. -Wall -Wsign-compare -Wfloat-equal -Wformat-security -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/ltrace/src=/usr/src/debug/ltrace -flto=auto -MT regs.lo -MD -MP -MF .deps/regs.Tpo -c regs.c -fPIC -DPIC -o .libs/regs.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../sysdeps/linux-gnu/riscv64 -I../../../sysdeps/linux-gnu -I../../../sysdeps -I../../.. -Wall -Wsign-compare -Wfloat-equal -Wformat-security -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/ltrace/src=/usr/src/debug/ltrace -flto=auto -MT trace.lo -MD -MP -MF .deps/trace.Tpo -c trace.c -fPIC -DPIC -o .libs/trace.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../sysdeps/linux-gnu/riscv64 -I../../../sysdeps/linux-gnu -I../../../sysdeps -I../../.. -Wall -Wsign-compare -Wfloat-equal -Wformat-security -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/ltrace/src=/usr/src/debug/ltrace -flto=auto -MT plt.lo -MD -MP -MF .deps/plt.Tpo -c plt.c -fPIC -DPIC -o .libs/plt.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../sysdeps/linux-gnu/riscv64 -I../../../sysdeps/linux-gnu -I../../../sysdeps -I../../.. -Wall -Wsign-compare -Wfloat-equal -Wformat-security -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/ltrace/src=/usr/src/debug/ltrace -flto=auto -MT fetch.lo -MD -MP -MF .deps/fetch.Tpo -c fetch.c -fPIC -DPIC -o .libs/fetch.o regs.c: In function 'riscv64_read_gregs': regs.c:32:9: error: implicit declaration of function 'perror' [-Wimplicit-function-declaration] 32 | perror("riscv64_read_gregs"); | ^~~~~~ make[4]: *** [Makefile:432: regs.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../sysdeps/linux-gnu/riscv64 -I../../../sysdeps/linux-gnu -I../../../sysdeps -I../../.. -Wall -Wsign-compare -Wfloat-equal -Wformat-security -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/ltrace/src=/usr/src/debug/ltrace -flto=auto -MT plt.lo -MD -MP -MF .deps/plt.Tpo -c plt.c -o plt.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../sysdeps/linux-gnu/riscv64 -I../../../sysdeps/linux-gnu -I../../../sysdeps -I../../.. -Wall -Wsign-compare -Wfloat-equal -Wformat-security -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/ltrace/src=/usr/src/debug/ltrace -flto=auto -MT trace.lo -MD -MP -MF .deps/trace.Tpo -c trace.c -o trace.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../sysdeps/linux-gnu/riscv64 -I../../../sysdeps/linux-gnu -I../../../sysdeps -I../../.. -Wall -Wsign-compare -Wfloat-equal -Wformat-security -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -g -ffile-prefix-map=/build/ltrace/src=/usr/src/debug/ltrace -flto=auto -MT fetch.lo -MD -MP -MF .deps/fetch.Tpo -c fetch.c -o fetch.o >/dev/null 2>&1 mv -f .deps/trace.Tpo .deps/trace.Plo mv -f .deps/plt.Tpo .deps/plt.Plo mv -f .deps/fetch.Tpo .deps/fetch.Plo make[4]: Leaving directory '/build/ltrace/src/ltrace-0.7.3/sysdeps/linux-gnu/riscv64' make[3]: *** [Makefile:506: all-recursive] Error 1 make[3]: Leaving directory '/build/ltrace/src/ltrace-0.7.3/sysdeps/linux-gnu' make[2]: *** [Makefile:395: all-recursive] Error 1 make[2]: Leaving directory '/build/ltrace/src/ltrace-0.7.3/sysdeps' make[1]: *** [Makefile:917: all-recursive] Error 1 make[1]: Leaving directory '/build/ltrace/src/ltrace-0.7.3' make: *** [Makefile:594: all] Error 2 ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root1/build [?25h[?25hreceiving incremental file list ltrace-0.7.3-5-riscv64-build.log ltrace-0.7.3-5-riscv64-prepare.log sent 62 bytes received 3,305 bytes 6,734.00 bytes/sec total size is 15,648 speedup is 4.65