==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: criu 4.2-2 (Tue Jan 13 13:26:12 2026)
==> Retrieving sources...
-> Updating criu git repo...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
criu ... Passed
==> Validating source files with b2sums...
criu ... Passed
==> Making package: criu 4.2-2 (Tue Jan 13 20:26:38 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (17) abseil-cpp-20250814.1-1 gtest-1.17.0-1 libmd-1.1.0-2 libmnl-1.0.5-2 libnftnl-1.3.1-1 libpciaccess-0.18.1-2 mpdecimal-4.0.1-1 protobuf-33.1-3 libbpf-1.6.2-1 libbsd-0.12.2-2 libdrm-2.4.131-1 libnet-2:1.3-1 libnl-3.12.0-1 nftables-1:1.1.6-2 protobuf-c-1.5.2-8 python-3.14.2-2 python-protobuf-33.1-3
Total Download Size: 0.35 MiB
Total Installed Size: 102.38 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
nftables-1:1.1.6-2-armv7h downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing libbpf...
installing libmd...
installing libbsd...
installing libpciaccess...
installing libdrm...
Optional dependencies for libdrm
cairo: needed for modetest tool
installing libnet...
installing libnl...
installing libmnl...
installing libnftnl...
installing nftables...
Optional dependencies for nftables
python: Python bindings [pending]
python-jsonschema: Python bindings
installing gtest...
Optional dependencies for gtest
python: gmock generator [pending]
installing abseil-cpp...
installing protobuf...
installing protobuf-c...
installing mpdecimal...
installing python...
Optional dependencies for python
python-setuptools: for building Python packages using tooling that is usually bundled with Python
python-pip: for installing Python packages using tooling that is usually bundled with Python
python-pipx: for installing Python software not packaged on Arch Linux
sqlite: for a default database integration [installed]
xz: for lzma [installed]
tk: for tkinter
installing python-protobuf...
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
Skipped: Current root is not booted.
(2/2) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
Packages (23) docbook-xml-4.5-11 docbook-xsl-1.79.2-9 libxslt-1.1.45-2 perl-error-0.17030-3 perl-mailtools-2.22-3 perl-timedate-2.33-9 python-autocommand-2.2.2-9 python-jaraco.collections-5.1.0-3 python-jaraco.context-6.0.1-3 python-jaraco.functools-4.1.0-3 python-jaraco.text-4.0.0-4 python-more-itertools-10.8.0-2 python-packaging-25.0-4 python-platformdirs-4.5.1-3 python-pyproject-hooks-1.2.0-6 zlib-ng-2.3.2-1 asciidoc-10.2.1-3 git-2.52.0-2 python-build-1.3.0-4 python-installer-0.7.0-14 python-setuptools-1:80.9.0-4 python-wheel-0.45.1-4 xmlto-0.0.29-1
Total Installed Size: 92.14 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing docbook-xml...
installing libxslt...
Optional dependencies for libxslt
python: Python bindings [installed]
installing docbook-xsl...
installing asciidoc...
Optional dependencies for asciidoc
graphviz: graphviz-filter
lilypond: music-filter
imagemagick: music-filter
source-highlight: source-highlight-filter
dblatex: pdf generation
fop: alternative pdf generation
w3m: text generation
lynx: alternative text generation
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing zlib-ng...
installing git...
Optional dependencies for git
git-zsh-completion: upstream zsh completion
tk: gitk and git gui
openssh: ssh transport and crypto
man: show help with `git command --help`
perl-libwww: git svn
perl-term-readkey: git svn and interactive.singlekey setting
perl-io-socket-ssl: git send-email TLS support
perl-authen-sasl: git send-email TLS support
perl-cgi: gitweb (web interface) support
python: git svn & git p4 [installed]
subversion: git svn
org.freedesktop.secrets: keyring credential helper
libsecret: libsecret credential helper [installed]
less: the default pager for git
installing python-packaging...
installing python-pyproject-hooks...
installing python-build...
Optional dependencies for python-build
python-pip: to use as the Python package installer (default)
python-uv: to use as the Python package installer
python-virtualenv: to use virtualenv for build isolation
installing python-installer...
installing python-more-itertools...
installing python-jaraco.functools...
installing python-jaraco.context...
installing python-autocommand...
installing python-jaraco.text...
Optional dependencies for python-jaraco.text
python-inflect: for show-newlines script
installing python-jaraco.collections...
installing python-platformdirs...
installing python-wheel...
Optional dependencies for python-wheel
python-keyring: for wheel.signatures
python-xdg: for wheel.signatures
python-setuptools: for legacy bdist_wheel subcommand [pending]
installing python-setuptools...
installing xmlto...
:: Running post-transaction hooks...
(1/3) Creating system user accounts...
Creating group 'git' with GID 968.
Creating user 'git' (git daemon user) with UID 968 and GID 968.
(2/3) Reloading system manager configuration...
Skipped: Current root is not booted.
(3/3) Arming ConditionNeedsUpdate...
==> Retrieving sources...
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Creating working copy of criu git repo...
Cloning into 'criu'...
done.
Switched to a new branch 'makepkg'
==> Starting build()...
Note: Building with amdgpu_plugin.
Warn: Externally managed python environment
Consider using PIP_BREAK_SYSTEM_PACKAGES=1
GEN .gitid
GEN include/common/asm
GEN compel/include/asm
PBCC images/stats.pb-c.c
GEN images/google/protobuf/descriptor.pb-c.c
PBCC images/creds.pb-c.c
PBCC images/rlimit.pb-c.c
PBCC images/rseq.pb-c.c
PBCC images/siginfo.pb-c.c
PBCC images/timer.pb-c.c
DEP images/creds.pb-c.d
DEP images/rseq.pb-c.d
DEP images/rlimit.pb-c.d
DEP images/timer.pb-c.d
PBCC images/cpuinfo.pb-c.c
PBCC images/fown.pb-c.c
PBCC images/fifo.pb-c.c
PBCC images/ns.pb-c.c
PBCC images/sk-opts.pb-c.c
PBCC images/time.pb-c.c
PBCC images/remap-file-path.pb-c.c
PBCC images/fs.pb-c.c
PBCC images/pstree.pb-c.c
PBCC images/sk-packet.pb-c.c
PBCC images/pipe-data.pb-c.c
PBCC images/ipc-var.pb-c.c
PBCC images/ipc-desc.pb-c.c
PBCC images/utsns.pb-c.c
PBCC images/macvlan.pb-c.c
PBCC images/sysctl.pb-c.c
PBCC images/file-lock.pb-c.c
PBCC images/rpc.pb-c.c
PBCC images/cgroup.pb-c.c
PBCC images/userns.pb-c.c
PBCC images/pidns.pb-c.c
GEN compel/include/version.h
touch .config
PBCC images/seccomp.pb-c.c
PBCC images/binfmt-misc.pb-c.c
PBCC images/autofs.pb-c.c
PBCC images/timens.pb-c.c
PBCC images/img-streamer.pb-c.c
PBCC images/bpfmap-data.pb-c.c
PBCC images/apparmor.pb-c.c
DEP images/stats.pb-c.d
PBCC images/opts.pb-c.c
DEP images/google/protobuf/descriptor.pb-c.d
DEP images/siginfo.pb-c.d
DEP images/cpuinfo.pb-c.d
PBCC images/eventfd.pb-c.c
PBCC images/eventpoll.pb-c.c
PBCC images/ext-file.pb-c.c
PBCC images/pidfd.pb-c.c
PBCC images/pipe.pb-c.c
PBCC images/signalfd.pb-c.c
PBCC images/regfile.pb-c.c
PBCC images/tcp-stream.pb-c.c
PBCC images/sk-netlink.pb-c.c
PBCC images/sk-unix.pb-c.c
PBCC images/timerfd.pb-c.c
PBCC images/tty.pb-c.c
PBCC images/tun.pb-c.c
DEP images/fown.pb-c.d
DEP images/fifo.pb-c.d
DEP images/ns.pb-c.d
DEP images/sk-opts.pb-c.d
DEP images/pidfd.pb-c.d
DEP images/time.pb-c.d
PBCC images/ghost-file.pb-c.c
DEP images/remap-file-path.pb-c.d
DEP images/fs.pb-c.d
DEP images/pstree.pb-c.d
DEP images/sk-packet.pb-c.d
PBCC images/mnt.pb-c.c
DEP images/pipe-data.pb-c.d
PBCC images/vma.pb-c.c
DEP images/ipc-var.pb-c.d
DEP images/ipc-desc.pb-c.d
PBCC images/ipc-shm.pb-c.c
PBCC images/ipc-msg.pb-c.c
PBCC images/ipc-sem.pb-c.c
DEP images/utsns.pb-c.d
PBCC images/sit.pb-c.c
DEP images/sysctl.pb-c.d
DEP images/macvlan.pb-c.d
DEP images/file-lock.pb-c.d
PBCC images/pagemap.pb-c.c
DEP images/rpc.pb-c.d
DEP images/cgroup.pb-c.d
DEP images/userns.pb-c.d
DEP images/pidns.pb-c.d
DEP images/binfmt-misc.pb-c.d
DEP images/seccomp.pb-c.d
DEP images/autofs.pb-c.d
DEP images/timens.pb-c.d
DEP images/img-streamer.pb-c.d
DEP images/bpfmap-data.pb-c.d
DEP images/apparmor.pb-c.d
PBCC images/core-arm.pb-c.c
PBCC images/core-aarch64.pb-c.c
PBCC images/core-loongarch64.pb-c.c
PBCC images/core-mips.pb-c.c
PBCC images/core-ppc64.pb-c.c
PBCC images/core-riscv64.pb-c.c
PBCC images/core-s390.pb-c.c
PBCC images/core-x86.pb-c.c
PBCC images/sa.pb-c.c
DEP images/opts.pb-c.d
PBCC images/bpfmap-file.pb-c.c
PBCC images/fh.pb-c.c
PBCC images/memfd.pb-c.c
PBCC images/packet-sock.pb-c.c
PBCC images/sk-inet.pb-c.c
GEN footer.txt
DEP images/bpfmap-file.pb-c.d
DEP images/eventfd.pb-c.d
GEN crit.1
DEP images/eventpoll.pb-c.d
DEP images/ext-file.pb-c.d
GEN criu-ns.1
DEP images/fh.pb-c.d
DEP images/memfd.pb-c.d
DEP images/packet-sock.pb-c.d
DEP images/pipe.pb-c.d
GEN compel.1
DEP images/regfile.pb-c.d
DEP images/signalfd.pb-c.d
DEP images/tcp-stream.pb-c.d
DEP images/sk-netlink.pb-c.d
DEP images/sk-unix.pb-c.d
DEP images/timerfd.pb-c.d
DEP images/tty.pb-c.d
DEP images/tun.pb-c.d
DEP images/ghost-file.pb-c.d
GEN criu/include/version.h
DEP images/mnt.pb-c.d
GEN criu-amdgpu-plugin.1
PBCC images/mm.pb-c.c
DEP images/vma.pb-c.d
DEP images/ipc-shm.pb-c.d
DEP images/ipc-msg.pb-c.d
DEP images/ipc-sem.pb-c.d
PBCC images/netdev.pb-c.c
Note: Writing criu-ns.1
DEP images/sit.pb-c.d
Note: Writing crit.1
DEP images/pagemap.pb-c.d
PBCC images/core.pb-c.c
DEP images/core-aarch64.pb-c.d
DEP images/core-arm.pb-c.d
DEP images/core-loongarch64.pb-c.d
GEN criu.8
DEP images/core-mips.pb-c.d
DEP images/core-ppc64.pb-c.d
DEP images/core-riscv64.pb-c.d
DEP images/core-s390.pb-c.d
Note: Writing compel.1
DEP images/core-x86.pb-c.d
DEP images/sa.pb-c.d
PBCC images/inventory.pb-c.c
PBCC images/fsnotify.pb-c.c
DEP images/sk-inet.pb-c.d
DEP images/mm.pb-c.d
DEP images/netdev.pb-c.d
DEP images/core.pb-c.d
PBCC images/fdinfo.pb-c.c
DEP images/fsnotify.pb-c.d
Note: Writing criu-amdgpu-plugin.1
DEP images/fdinfo.pb-c.d
DEP images/inventory.pb-c.d
GEN include/common/config.h
DEP compel/arch/arm/plugins/std/parasite-head.d
GEN compel/plugins/include/uapi/std/asm/syscall-types.h
GEN compel/arch/arm/plugins/std/syscalls/syscalls.S
GEN compel/plugins/include/uapi/std/syscall-codes.h
GEN compel/plugins/include/uapi/std/syscall.h
DEP compel/arch/arm/plugins/std/syscalls/syscalls.d
DEP compel/plugins/fds/fds.d
DEP compel/plugins/shmem/shmem.d
DEP compel/plugins/std/std.d
DEP compel/plugins/std/fds.d
make[1]: Nothing to be done for 'all'.
DEP compel/plugins/std/log.d
DEP compel/plugins/std/string.d
DEP compel/plugins/std/infect.d
CC compel/plugins/std/std.o
CC compel/plugins/std/log.o
CC compel/plugins/std/fds.o
CC compel/plugins/std/string.o
CC compel/plugins/std/infect.o
CC compel/arch/arm/plugins/std/parasite-head.o
CC compel/arch/arm/plugins/std/syscalls/syscalls.o
AR compel/plugins/std.lib.a
DEP soccr/soccr.d
CC soccr/soccr.o
AR soccr/libsoccr.a
Note: Writing criu.8
CC compel/plugins/fds/fds.o
AR compel/plugins/fds.lib.a
CC images/stats.o
CC images/core.o
CC images/core-x86.o
CC images/core-mips.o
CC images/core-loongarch64.o
CC images/core-arm.o
CC images/core-aarch64.o
CC images/core-ppc64.o
CC images/core-s390.o
CC images/core-riscv64.o
CC images/cpuinfo.o
CC images/inventory.o
CC images/fdinfo.o
CC images/fown.o
CC images/ns.o
CC images/regfile.o
CC images/ghost-file.o
CC images/fifo.o
CC images/remap-file-path.o
CC images/eventfd.o
CC images/eventpoll.o
make[1]: 'soccr/libsoccr.a' is up to date.
CC images/fh.o
CC images/fsnotify.o
CC images/signalfd.o
CC images/fs.o
CC images/pstree.o
CC images/pipe.o
CC images/tcp-stream.o
CC images/sk-packet.o
CC images/mnt.o
CC images/pipe-data.o
CC images/sa.o
CC images/timer.o
CC images/timerfd.o
CC images/mm.o
CC images/sk-opts.o
CC images/sk-unix.o
CC images/sk-inet.o
CC images/tun.o
CC images/sk-netlink.o
CC images/packet-sock.o
CC images/ipc-var.o
CC images/ipc-desc.o
CC images/ipc-shm.o
CC images/ipc-msg.o
CC images/ipc-sem.o
CC images/utsns.o
CC images/creds.o
CC images/vma.o
CC images/netdev.o
CC images/tty.o
CC images/file-lock.o
CC images/rlimit.o
CC images/pagemap.o
CC images/siginfo.o
CC images/rpc.o
CC images/ext-file.o
DEP compel/arch/arm/src/lib/handle-elf.d
DEP compel/src/lib/handle-elf.d
CC images/cgroup.o
CC images/userns.o
DEP compel/src/main.d
DEP compel/src/lib/log.d
DEP compel/arch/arm/src/lib/cpu.d
DEP compel/arch/arm/src/lib/infect.d
CC images/pidns.o
DEP compel/src/lib/infect-rpc.d
CC images/opts.o
DEP compel/src/lib/infect-util.d
CC images/seccomp.o
CC images/binfmt-misc.o
CC images/time.o
DEP compel/src/lib/infect.d
CC images/sysctl.o
CC images/autofs.o
DEP compel/src/lib/ptrace.d
CC images/macvlan.o
CC images/sit.o
HOSTDEP compel/src/main-host.d
HOSTDEP compel/arch/arm/src/lib/handle-elf-host.d
CC images/memfd.o
CC images/timens.o
HOSTDEP compel/src/lib/handle-elf-host.d
HOSTDEP compel/src/lib/log-host.d
CC images/img-streamer.o
CC images/bpfmap-file.o
CC images/bpfmap-data.o
CC images/apparmor.o
CC images/rseq.o
CC images/pidfd.o
LINK images/built-in.o
CC compel/src/lib/log.o
CC compel/arch/arm/src/lib/cpu.o
CC compel/arch/arm/src/lib/infect.o
CC compel/src/lib/infect-rpc.o
CC compel/src/lib/infect-util.o
CC compel/src/lib/infect.o
CC compel/src/lib/ptrace.o
AR compel/libcompel.a
HOSTCC compel/src/main-host.o
HOSTCC compel/arch/arm/src/lib/handle-elf-host.o
HOSTCC compel/src/lib/handle-elf-host.o
HOSTCC compel/src/lib/log-host.o
HOSTLINK compel/compel-host-bin
DEP criu/arch/arm/bitops.d
DEP criu/arch/arm/cpu.d
DEP criu/arch/arm/crtools.d
DEP criu/arch/arm/sigframe.d
CC criu/arch/arm/bitops.o
CC criu/arch/arm/cpu.o
CC criu/arch/arm/crtools.o
CC criu/arch/arm/sigframe.o
LINK criu/arch/arm/crtools.built-in.o
DEP criu/pie/util.d
DEP criu/pie/util-vdso.d
DEP criu/arch/arm/aeabi-helpers.d
DEP criu/arch/arm/pie-cacheflush.d
CC criu/pie/util.o
CC criu/pie/util-vdso.o
CC criu/arch/arm/aeabi-helpers.o
CC criu/arch/arm/pie-cacheflush.o
AR criu/pie/pie.lib.a
DEP criu/pie/parasite-vdso.d
DEP criu/pie/parasite.d
DEP criu/arch/arm/vdso-pie.d
DEP criu/pie/restorer.d
DEP criu/arch/arm/restorer.d
CC criu/pie/parasite.o
CC criu/pie/parasite-vdso.o
CC criu/arch/arm/vdso-pie.o
CC criu/arch/arm/restorer.o
CC criu/pie/restorer.o
LINK criu/pie/parasite.built-in.o
ld: warning: criu/pie/parasite.built-in.o has a LOAD segment with RWX permissions
GEN criu/pie/parasite-blob.h
LINK criu/pie/restorer.built-in.o
ld: warning: criu/pie/restorer.built-in.o has a LOAD segment with RWX permissions
GEN criu/pie/restorer-blob.h
DEP criu/aio.d
DEP criu/action-scripts.d
DEP criu/apparmor.d
DEP criu/bfd.d
DEP criu/autofs.d
DEP criu/bitmap.d
DEP criu/bpfmap.d
DEP criu/cgroup-props.d
DEP criu/cgroup.d
DEP criu/clone-noasan.d
DEP criu/config.d
DEP criu/cr-check.d
DEP criu/cr-dedup.d
DEP criu/cr-dump.d
DEP criu/cr-errno.d
DEP criu/cr-restore.d
DEP criu/cr-service.d
DEP criu/crtools.d
DEP criu/eventfd.d
DEP criu/eventpoll.d
DEP criu/external.d
DEP criu/fault-injection.d
DEP criu/fdstore.d
DEP criu/fifo.d
DEP criu/file-ids.d
DEP criu/file-lock.d
DEP criu/files-ext.d
DEP criu/files-reg.d
DEP criu/files.d
DEP criu/filesystems.d
DEP criu/fsnotify.d
DEP criu/hugetlb.d
DEP criu/image-desc.d
DEP criu/image.d
DEP criu/img-streamer.d
DEP criu/ipc_ns.d
DEP criu/irmap.d
DEP criu/kcmp-ids.d
DEP criu/kerndat.d
DEP criu/libnetlink.d
DEP criu/log.d
DEP criu/lsm.d
DEP criu/mem.d
DEP criu/memfd.d
DEP criu/mount-v2.d
DEP criu/mount.d
DEP criu/namespaces.d
DEP criu/net.d
DEP criu/netfilter.d
DEP criu/page-pipe.d
DEP criu/page-xfer.d
DEP criu/pagemap-cache.d
DEP criu/pagemap.d
DEP criu/parasite-syscall.d
DEP criu/path.d
DEP criu/pidfd-store.d
DEP criu/pidfd.d
DEP criu/pie-util-vdso.d
DEP criu/pie-util.d
DEP criu/pipes.d
DEP criu/plugin.d
DEP criu/proc_parse.d
GEN criu/protobuf-desc-gen.h
DEP criu/protobuf.d
DEP criu/pstree.d
DEP criu/rbtree.d
DEP criu/rst-malloc.d
DEP criu/seccomp.d
DEP criu/seize.d
DEP criu/servicefd.d
DEP criu/setproctitle.d
DEP criu/shmem.d
DEP criu/sigact.d
DEP criu/sigframe.d
DEP criu/signalfd.d
DEP criu/sk-inet.d
DEP criu/sk-netlink.d
DEP criu/sk-packet.d
DEP criu/sk-queue.d
DEP criu/sk-tcp.d
DEP criu/sk-unix.d
DEP criu/sockets.d
DEP criu/stats.d
DEP criu/string.d
DEP criu/sysctl.d
DEP criu/sysfs_parse.d
DEP criu/timens.d
DEP criu/timer.d
DEP criu/timerfd.d
DEP criu/tls.d
DEP criu/tty.d
DEP criu/tun.d
DEP criu/uffd.d
DEP criu/util.d
DEP criu/uts_ns.d
DEP criu/vdso.d
DEP criu/protobuf-desc.d
CC criu/action-scripts.o
CC criu/aio.o
CC criu/apparmor.o
CC criu/autofs.o
CC criu/bfd.o
CC criu/bitmap.o
CC criu/bpfmap.o
CC criu/cgroup-props.o
CC criu/cgroup.o
CC criu/clone-noasan.o
CC criu/config.o
CC criu/cr-check.o
CC criu/cr-dedup.o
CC criu/cr-dump.o
CC criu/cr-errno.o
CC criu/cr-restore.o
CC criu/cr-service.o
CC criu/crtools.o
CC criu/eventfd.o
CC criu/eventpoll.o
CC criu/external.o
CC criu/fault-injection.o
CC criu/fdstore.o
CC criu/fifo.o
CC criu/file-ids.o
CC criu/file-lock.o
CC criu/files-ext.o
CC criu/files-reg.o
CC criu/files.o
CC criu/filesystems.o
CC criu/fsnotify.o
CC criu/hugetlb.o
CC criu/image-desc.o
CC criu/image.o
CC criu/img-streamer.o
CC criu/ipc_ns.o
CC criu/irmap.o
CC criu/kcmp-ids.o
CC criu/kerndat.o
CC criu/libnetlink.o
CC criu/log.o
CC criu/lsm.o
CC criu/mem.o
CC criu/memfd.o
CC criu/mount-v2.o
CC criu/mount.o
CC criu/namespaces.o
CC criu/net.o
CC criu/netfilter.o
CC criu/page-pipe.o
CC criu/page-xfer.o
CC criu/pagemap-cache.o
CC criu/pagemap.o
CC criu/parasite-syscall.o
CC criu/path.o
CC criu/pidfd-store.o
CC criu/pidfd.o
CC criu/pie-util-vdso.o
CC criu/pie-util.o
CC criu/pipes.o
CC criu/plugin.o
CC criu/proc_parse.o
CC criu/protobuf-desc.o
CC criu/protobuf.o
CC criu/pstree.o
CC criu/rbtree.o
CC criu/rst-malloc.o
CC criu/seccomp.o
CC criu/seize.o
CC criu/servicefd.o
CC criu/setproctitle.o
CC criu/shmem.o
CC criu/sigact.o
CC criu/sigframe.o
CC criu/signalfd.o
CC criu/sk-inet.o
CC criu/sk-netlink.o
CC criu/sk-packet.o
CC criu/sk-queue.o
CC criu/sk-tcp.o
CC criu/sk-unix.o
CC criu/sockets.o
CC criu/stats.o
CC criu/string.o
CC criu/sysctl.o
CC criu/sysfs_parse.o
CC criu/timens.o
CC criu/timer.o
CC criu/timerfd.o
CC criu/tls.o
CC criu/tty.o
CC criu/tun.o
CC criu/uffd.o
CC criu/util.o
CC criu/uts_ns.o
CC criu/vdso.o
LINK criu/built-in.o
LINK criu/criu
DEP lib/c/criu.d
GEN lib/pycriu/images/magic.py
CC images/rpc.pb-c.o
CC lib/c/criu.o
LINK lib/c/built-in.o
LINK lib/c/libcriu.so
LINK lib/c/libcriu.a
protoc --proto_path=. --c_out=. criu-amdgpu.proto
gcc amdgpu_plugin_topology.c tests/test_topology_remap.c -o test_topology_remap -DCOMPILE_TESTS -iquote../../include -iquote../../criu/include -iquote../../criu/arch/arm/include/ -iquote../../ -I .
gcc -g -Wall -Werror -D _GNU_SOURCE -shared -nostartfiles -fPIC -I ../../compel/include/uapi amdgpu_plugin.c amdgpu_plugin_drm.c amdgpu_plugin_topology.c amdgpu_plugin_util.c criu-amdgpu.pb-c.c -o amdgpu_plugin.so -iquote../../include -iquote../../criu/include -iquote../../criu/arch/arm/include/ -iquote../../ -lpthread -lrt -ldrm -ldrm_amdgpu -I/usr/include/libdrm
In file included from ../../include/common/lock.h:10,
from ../../criu/include/files.h:9,
from amdgpu_plugin.c:30:
../../include/common/asm/atomic.h:60:2: error: #error ARM architecture version (CONFIG_ARMV*) not set or unsupported.
60 | #error ARM architecture version (CONFIG_ARMV*) not set or unsupported.
| ^~~~~
../../include/common/asm/atomic.h: In function ‘atomic_add_return’:
../../include/common/asm/atomic.h:81:9: error: implicit declaration of function ‘smp_mb’ [-Wimplicit-function-declaration]
81 | smp_mb();
| ^~~~~~
In file included from amdgpu_plugin_drm.h:10,
from amdgpu_plugin.c:33:
amdgpu_plugin.c: In function ‘getenv_size_t’:
amdgpu_plugin_util.h:24:20: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
24 | #define LOG_PREFIX "amdgpu_plugin: "
| ^~~~~~~~~~~~~~~~~
../../criu/include/log.h:47:52: note: in expansion of macro ‘LOG_PREFIX’
47 | #define pr_info(fmt, ...) print_on_level(LOG_INFO, LOG_PREFIX fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
amdgpu_plugin.c:334:9: note: in expansion of macro ‘pr_info’
334 | pr_info("param: %s:0x%lx\n", var, *value);
| ^~~~~~~
In file included from ../../criu/include/plugin.h:5,
from amdgpu_plugin.c:24:
amdgpu_plugin.c: In function ‘sdma_copy_bo’:
../../include/common/compiler.h:98:31: error: comparison of distinct pointer types lacks a cast [-Werror=compare-distinct-pointer-types]
98 | (void)(&_min1 == &_min2); \
| ^~
amdgpu_plugin.c:527:26: note: in expansion of macro ‘min’
527 | buffer_bo_size = min(size, buffer_size);
| ^~~
In file included from ../../criu/include/xmalloc.h:1,
from amdgpu_plugin.c:28:
../../criu/include/log.h:49:52: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
49 | #define pr_err(fmt, ...) print_on_level(LOG_ERROR, "Error (%s:%d): " LOG_PREFIX fmt, __FILE__, __LINE__, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
../../criu/include/log.h:61:29: note: in expansion of macro ‘pr_err’
61 | #define pr_perror(fmt, ...) pr_err(fmt ": %s\n", ##__VA_ARGS__, strerror(errno))
| ^~~~~~
amdgpu_plugin.c:731:17: note: in expansion of macro ‘pr_perror’
731 | pr_perror("failed to GPU unmap the dest BO %lx, size = %lx", gpu_addr_dst, size);
| ^~~~~~~~~
../../criu/include/log.h:49:52: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
49 | #define pr_err(fmt, ...) print_on_level(LOG_ERROR, "Error (%s:%d): " LOG_PREFIX fmt, __FILE__, __LINE__, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
../../criu/include/log.h:61:29: note: in expansion of macro ‘pr_err’
61 | #define pr_perror(fmt, ...) pr_err(fmt ": %s\n", ##__VA_ARGS__, strerror(errno))
| ^~~~~~
amdgpu_plugin.c:731:17: note: in expansion of macro ‘pr_perror’
731 | pr_perror("failed to GPU unmap the dest BO %lx, size = %lx", gpu_addr_dst, size);
| ^~~~~~~~~
../../criu/include/log.h:49:52: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
49 | #define pr_err(fmt, ...) print_on_level(LOG_ERROR, "Error (%s:%d): " LOG_PREFIX fmt, __FILE__, __LINE__, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
../../criu/include/log.h:61:29: note: in expansion of macro ‘pr_err’
61 | #define pr_perror(fmt, ...) pr_err(fmt ": %s\n", ##__VA_ARGS__, strerror(errno))
| ^~~~~~
amdgpu_plugin.c:743:17: note: in expansion of macro ‘pr_perror’
743 | pr_perror("failed to GPU unmap the src BO %lx, size = %lx", gpu_addr_src, size);
| ^~~~~~~~~
../../criu/include/log.h:49:52: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
49 | #define pr_err(fmt, ...) print_on_level(LOG_ERROR, "Error (%s:%d): " LOG_PREFIX fmt, __FILE__, __LINE__, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
../../criu/include/log.h:61:29: note: in expansion of macro ‘pr_err’
61 | #define pr_perror(fmt, ...) pr_err(fmt ": %s\n", ##__VA_ARGS__, strerror(errno))
| ^~~~~~
amdgpu_plugin.c:743:17: note: in expansion of macro ‘pr_perror’
743 | pr_perror("failed to GPU unmap the src BO %lx, size = %lx", gpu_addr_src, size);
| ^~~~~~~~~
amdgpu_plugin.c: In function ‘restore_bo_contents’:
../../criu/include/log.h:49:52: error: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
49 | #define pr_err(fmt, ...) print_on_level(LOG_ERROR, "Error (%s:%d): " LOG_PREFIX fmt, __FILE__, __LINE__, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
amdgpu_plugin.c:899:17: note: in expansion of macro ‘pr_err’
899 | pr_err("%s size mismatch (current:%ld:expected:%ld)\n", img_path, image_size, total_bo_size);
| ^~~~~~
../../criu/include/log.h:49:52: error: format ‘%ld’ expects argument of type ‘long int’, but argument 7 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
49 | #define pr_err(fmt, ...) print_on_level(LOG_ERROR, "Error (%s:%d): " LOG_PREFIX fmt, __FILE__, __LINE__, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
amdgpu_plugin.c:899:17: note: in expansion of macro ‘pr_err’
899 | pr_err("%s size mismatch (current:%ld:expected:%ld)\n", img_path, image_size, total_bo_size);
| ^~~~~~
amdgpu_plugin.c: In function ‘amdgpu_plugin_dump_file’:
amdgpu_plugin.c:1297:39: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
1297 | ret = save_devices(fd, &args, (struct kfd_criu_device_bucket *)args.devices, e);
| ^
amdgpu_plugin.c:1301:39: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
1301 | ret = save_bos(id, fd, &args, (struct kfd_criu_bo_bucket *)args.bos, e);
| ^
amdgpu_plugin.c:1307:29: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
1307 | e->priv_data.data = (void *)args.priv_data;
| ^
amdgpu_plugin_util.h:24:20: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
24 | #define LOG_PREFIX "amdgpu_plugin: "
| ^~~~~~~~~~~~~~~~~
../../criu/include/log.h:47:52: note: in expansion of macro ‘LOG_PREFIX’
47 | #define pr_info(fmt, ...) print_on_level(LOG_INFO, LOG_PREFIX fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
amdgpu_plugin.c:1319:9: note: in expansion of macro ‘pr_info’
1319 | pr_info("Len = %ld\n", len);
| ^~~~~~~
In file included from ../../criu/include/xmalloc.h:2:
amdgpu_plugin.c:1342:15: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
1342 | xfree((void *)args.devices);
| ^
../../include/common/xmalloc.h:24:23: note: in definition of macro ‘xfree’
24 | #define xfree(p) free(p)
| ^
amdgpu_plugin.c:1343:15: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
1343 | xfree((void *)args.bos);
| ^
../../include/common/xmalloc.h:24:23: note: in definition of macro ‘xfree’
24 | #define xfree(p) free(p)
| ^
amdgpu_plugin.c:1344:15: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
1344 | xfree((void *)args.priv_data);
| ^
../../include/common/xmalloc.h:24:23: note: in definition of macro ‘xfree’
24 | #define xfree(p) free(p)
| ^
amdgpu_plugin.c: In function ‘restore_bos’:
amdgpu_plugin_util.h:24:20: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
24 | #define LOG_PREFIX "amdgpu_plugin: "
| ^~~~~~~~~~~~~~~~~
../../criu/include/log.h:57:54: note: in expansion of macro ‘LOG_PREFIX’
57 | #define pr_debug(fmt, ...) print_on_level(LOG_DEBUG, LOG_PREFIX fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
amdgpu_plugin.c:1413:9: note: in expansion of macro ‘pr_debug’
1413 | pr_debug("Restoring %ld BOs\n", e->num_of_bos);
| ^~~~~~~~
amdgpu_plugin.c: In function ‘amdgpu_plugin_restore_file’:
amdgpu_plugin_util.h:24:20: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
24 | #define LOG_PREFIX "amdgpu_plugin: "
| ^~~~~~~~~~~~~~~~~
../../criu/include/log.h:57:54: note: in expansion of macro ‘LOG_PREFIX’
57 | #define pr_debug(fmt, ...) print_on_level(LOG_DEBUG, LOG_PREFIX fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
amdgpu_plugin.c:1589:17: note: in expansion of macro ‘pr_debug’
1589 | pr_debug("RenderD Image file size:%ld\n", img_size);
| ^~~~~~~~
amdgpu_plugin_util.h:24:20: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
24 | #define LOG_PREFIX "amdgpu_plugin: "
| ^~~~~~~~~~~~~~~~~
../../criu/include/log.h:47:52: note: in expansion of macro ‘LOG_PREFIX’
47 | #define pr_info(fmt, ...) print_on_level(LOG_INFO, LOG_PREFIX fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
amdgpu_plugin.c:1661:9: note: in expansion of macro ‘pr_info’
1661 | pr_info("KFD Image file size:%ld\n", img_size);
| ^~~~~~~
amdgpu_plugin.c:1736:35: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
1736 | ret = restore_bo_data(id, (struct kfd_criu_bo_bucket *)args.bos, e);
| ^
amdgpu_plugin.c:1746:15: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
1746 | xfree((void *)args.devices);
| ^
../../include/common/xmalloc.h:24:23: note: in definition of macro ‘xfree’
24 | #define xfree(p) free(p)
| ^
amdgpu_plugin.c:1747:15: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
1747 | xfree((void *)args.bos);
| ^
../../include/common/xmalloc.h:24:23: note: in definition of macro ‘xfree’
24 | #define xfree(p) free(p)
| ^
amdgpu_plugin.c: In function ‘amdgpu_plugin_update_vmamap’:
amdgpu_plugin_util.h:24:20: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
24 | #define LOG_PREFIX "amdgpu_plugin: "
| ^~~~~~~~~~~~~~~~~
../../criu/include/log.h:47:52: note: in expansion of macro ‘LOG_PREFIX’
47 | #define pr_info(fmt, ...) print_on_level(LOG_INFO, LOG_PREFIX fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
amdgpu_plugin.c:1802:17: note: in expansion of macro ‘pr_info’
1802 | pr_info("Skipping unsupported path:%s addr:%lx old_offset:%lx\n", in_path, addr, old_offset);
| ^~~~~~~
amdgpu_plugin_util.h:24:20: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
24 | #define LOG_PREFIX "amdgpu_plugin: "
| ^~~~~~~~~~~~~~~~~
../../criu/include/log.h:47:52: note: in expansion of macro ‘LOG_PREFIX’
47 | #define pr_info(fmt, ...) print_on_level(LOG_INFO, LOG_PREFIX fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
amdgpu_plugin.c:1802:17: note: in expansion of macro ‘pr_info’
1802 | pr_info("Skipping unsupported path:%s addr:%lx old_offset:%lx\n", in_path, addr, old_offset);
| ^~~~~~~
amdgpu_plugin_util.h:24:20: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
24 | #define LOG_PREFIX "amdgpu_plugin: "
| ^~~~~~~~~~~~~~~~~
../../criu/include/log.h:47:52: note: in expansion of macro ‘LOG_PREFIX’
47 | #define pr_info(fmt, ...) print_on_level(LOG_INFO, LOG_PREFIX fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
amdgpu_plugin.c:1826:9: note: in expansion of macro ‘pr_info’
1826 | pr_info("No match for addr:0x%lx offset:%lx\n", addr, old_offset);
| ^~~~~~~
amdgpu_plugin_util.h:24:20: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
24 | #define LOG_PREFIX "amdgpu_plugin: "
| ^~~~~~~~~~~~~~~~~
../../criu/include/log.h:47:52: note: in expansion of macro ‘LOG_PREFIX’
47 | #define pr_info(fmt, ...) print_on_level(LOG_INFO, LOG_PREFIX fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
amdgpu_plugin.c:1826:9: note: in expansion of macro ‘pr_info’
1826 | pr_info("No match for addr:0x%lx offset:%lx\n", addr, old_offset);
| ^~~~~~~
cc1: all warnings being treated as errors
In file included from amdgpu_plugin_topology.c:19:
amdgpu_plugin_topology.c: In function ‘topology_print’:
amdgpu_plugin_util.h:24:20: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Werror=format=]
24 | #define LOG_PREFIX "amdgpu_plugin: "
| ^~~~~~~~~~~~~~~~~
../../criu/include/log.h:47:52: note: in expansion of macro ‘LOG_PREFIX’
47 | #define pr_info(fmt, ...) print_on_level(LOG_INFO, LOG_PREFIX fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
amdgpu_plugin_topology.c:759:25: note: in expansion of macro ‘pr_info’
759 | pr_info(" vram_public:%c vram_size:%lu\n", node->vram_public ? 'Y' : 'N', node->vram_size);
| ^~~~~~~
cc1: all warnings being treated as errors
In file included from ../../criu/include/criu-log.h:23,
from ../../criu/include/servicefd.h:10,
from ../../criu/include/image.h:7,
from amdgpu_plugin_util.c:31:
amdgpu_plugin_util.c: In function ‘read_fp’:
../../criu/include/log.h:49:52: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
49 | #define pr_err(fmt, ...) print_on_level(LOG_ERROR, "Error (%s:%d): " LOG_PREFIX fmt, __FILE__, __LINE__, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
amdgpu_plugin_util.c:77:17: note: in expansion of macro ‘pr_err’
77 | pr_err("Unable to read file (read:%ld buf_len:%ld)\n", len_read, buf_len);
| ^~~~~~
../../criu/include/log.h:49:52: error: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
49 | #define pr_err(fmt, ...) print_on_level(LOG_ERROR, "Error (%s:%d): " LOG_PREFIX fmt, __FILE__, __LINE__, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
amdgpu_plugin_util.c:77:17: note: in expansion of macro ‘pr_err’
77 | pr_err("Unable to read file (read:%ld buf_len:%ld)\n", len_read, buf_len);
| ^~~~~~
amdgpu_plugin_util.c: In function ‘write_fp’:
../../criu/include/log.h:49:52: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
49 | #define pr_err(fmt, ...) print_on_level(LOG_ERROR, "Error (%s:%d): " LOG_PREFIX fmt, __FILE__, __LINE__, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
amdgpu_plugin_util.c:89:17: note: in expansion of macro ‘pr_err’
89 | pr_err("Unable to write file (wrote:%ld buf_len:%ld)\n", len_write, buf_len);
| ^~~~~~
../../criu/include/log.h:49:52: error: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
49 | #define pr_err(fmt, ...) print_on_level(LOG_ERROR, "Error (%s:%d): " LOG_PREFIX fmt, __FILE__, __LINE__, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
amdgpu_plugin_util.c:89:17: note: in expansion of macro ‘pr_err’
89 | pr_err("Unable to write file (wrote:%ld buf_len:%ld)\n", len_write, buf_len);
| ^~~~~~
In file included from amdgpu_plugin_util.c:38:
amdgpu_plugin_util.c: In function ‘open_img_file’:
amdgpu_plugin_util.h:24:20: error: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Werror=format=]
24 | #define LOG_PREFIX "amdgpu_plugin: "
| ^~~~~~~~~~~~~~~~~
../../criu/include/log.h:57:54: note: in expansion of macro ‘LOG_PREFIX’
57 | #define pr_debug(fmt, ...) print_on_level(LOG_DEBUG, LOG_PREFIX fmt, ##__VA_ARGS__)
| ^~~~~~~~~~
amdgpu_plugin_util.c:141:9: note: in expansion of macro ‘pr_debug’
141 | pr_debug("%s:Opened file for %s with size:%ld\n", path, write ? "write" : "read", *size);
| ^~~~~~~~
cc1: all warnings being treated as errors
distcc[14674] ERROR: compile amdgpu_plugin.c on localhost failed
make[1]: *** [Makefile:31: amdgpu_plugin.so] Error 1
make: *** [Makefile:352: amdgpu_plugin] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check /home/leming/armv7/leming/build
[?12l[?25h[?12l[?25h