==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: criu 4.1-1 (Sat Mar 29 14:05:08 2025)
==> Retrieving sources...
  -> Cloning criu git repo...
Cloning into bare repository '/home/leming/work/criu/criu'...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    criu ... Skipped
==> Validating source files with b2sums...
    criu ... Skipped
==> Making package: criu 4.1-1 (Sat Mar 29 14:05:40 2025)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (15) abseil-cpp-20250127.1-1  gtest-1.16.0-2  libmd-1.1.0-2
              libmnl-1.0.5-2  libnftnl-1.2.8-1  libpciaccess-0.18.1-2
              protobuf-30.1-1  libbpf-1.5.0-1  libbsd-0.12.2-2
              libdrm-2.4.124-1  libnet-2:1.3-1  libnl-3.11.0-1
              nftables-1:1.1.1-2  protobuf-c-1.5.1-2  python-protobuf-30.1-1

Total Download Size:    7.09 MiB
Total Installed Size:  41.36 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 protobuf-30.1-1-armv7h downloading...
 abseil-cpp-20250127.1-1-armv7h downloading...
 python-protobuf-30.1-1-armv7h downloading...
 libdrm-2.4.124-1-armv7h downloading...
 libnl-3.11.0-1-armv7h downloading...
 nftables-1:1.1.1-2-armv7h downloading...
 libnet-2:1.3-1-armv7h downloading...
 libbpf-1.5.0-1-armv7h downloading...
 libbsd-0.12.2-2-armv7h downloading...
 protobuf-c-1.5.1-2-armv7h downloading...
 libnftnl-1.2.8-1-armv7h downloading...
 libmd-1.1.0-2-armv7h downloading...
 libpciaccess-0.18.1-2-armv7h downloading...
 libmnl-1.0.5-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 [installed]
installing gtest...
Optional dependencies for gtest
    python: gmock generator [installed]
installing abseil-cpp...
installing protobuf...
installing protobuf-c...
installing python-protobuf...
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
  Skipped: Current root is not booted.
(2/2) Arming ConditionNeedsUpdate...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (22) docbook-xml-4.5-10  docbook-xsl-1.79.2-9  libxslt-1.1.43-1
              perl-error-0.17030-1  perl-mailtools-2.22-1  perl-timedate-2.33-7
              python-autocommand-2.2.2-7  python-jaraco.collections-5.1.0-1
              python-jaraco.context-6.0.1-1  python-jaraco.functools-4.1.0-1
              python-jaraco.text-4.0.0-2  python-more-itertools-10.6.0-1
              python-packaging-24.2-3  python-platformdirs-4.3.6-2
              python-pyproject-hooks-1.2.0-3  asciidoc-10.2.1-2  git-2.49.0-1
              python-build-1.2.2-3  python-installer-0.7.0-10
              python-setuptools-1:75.8.0-1  python-wheel-0.45.1-1
              xmlto-0.0.29-1

Total Download Size:    8.55 MiB
Total Installed Size:  82.09 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 git-2.49.0-1-armv7h downloading...
 docbook-xsl-1.79.2-9-any downloading...
 asciidoc-10.2.1-2-any downloading...
 docbook-xml-4.5-10-any downloading...
 perl-mailtools-2.22-1-any downloading...
 perl-timedate-2.33-7-any downloading...
 xmlto-0.0.29-1-armv7h downloading...
 perl-error-0.17030-1-any downloading...
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 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-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https 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]
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/4) Creating system user accounts...
Creating group 'git' with GID 971.
Creating user 'git' (git daemon user) with UID 971 and GID 971.
(2/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/4) Arming ConditionNeedsUpdate...
(4/4) Checking for old perl modules...
[?25h==> 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
  PBCC     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
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278789.884931    9247 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278789.886637    9248 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278789.888888    9252 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/siginfo.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278789.893080    9249 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278789.931563    9257 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/timer.pb-c.c
  PBCC     images/cpuinfo.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278789.955760    9264 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/fown.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278789.984883    9277 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278789.999951    9281 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/fifo.pb-c.c
  PBCC     images/ns.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.027312    9285 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.050929    9294 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.076063    9298 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  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
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.127951    9319 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/pstree.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.133717    9323 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.165462    9330 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.174918    9332 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.208421    9339 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/sk-packet.pb-c.c
  PBCC     images/pipe-data.pb-c.c
  PBCC     images/ipc-var.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.251297    9359 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/ipc-desc.pb-c.c
  PBCC     images/utsns.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.285323    9378 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.285329    9375 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.295943    9377 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/macvlan.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.319940    9386 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/sysctl.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.348507    9394 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/file-lock.pb-c.c
  PBCC     images/rpc.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.380158    9409 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/cgroup.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.398660    9418 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.412767    9419 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.432915    9428 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/userns.pb-c.c
  PBCC     images/pidns.pb-c.c
  PBCC     images/seccomp.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.487977    9448 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.495072    9449 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/binfmt-misc.pb-c.c
  PBCC     images/autofs.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.527389    9454 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.533933    9462 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/timens.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.553530    9466 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/img-streamer.pb-c.c
  PBCC     images/bpfmap-data.pb-c.c
  PBCC     images/apparmor.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.592714    9479 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  DEP      images/stats.pb-c.d
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.625875    9498 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.625872    9497 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.638517    9500 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/opts.pb-c.c
  DEP      images/google/protobuf/descriptor.pb-c.d
  DEP      images/creds.pb-c.d
  DEP      images/rseq.pb-c.d
  DEP      images/rlimit.pb-c.d
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.709414    9530 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  DEP      images/siginfo.pb-c.d
  DEP      images/timer.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
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.852692    9565 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/fh.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.873918    9571 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.890133    9575 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.900138    9576 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/memfd.pb-c.c
  PBCC     images/packet-sock.pb-c.c
  PBCC     images/pidfd.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.952842    9591 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.966443    9596 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/pipe.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278790.973857    9599 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278791.008301    9606 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/regfile.pb-c.c
  PBCC     images/signalfd.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278791.049744    9617 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/tcp-stream.pb-c.c
  PBCC     images/sk-netlink.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278791.083801    9631 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278791.107254    9638 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278791.111166    9643 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/sk-unix.pb-c.c
  PBCC     images/timerfd.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278791.168635    9655 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/tty.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278791.196314    9665 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/tun.pb-c.c
  DEP      images/fown.pb-c.d
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278791.236256    9676 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278791.267502    9686 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  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
  PBCC     images/ghost-file.pb-c.c
  DEP      images/time.pb-c.d
  DEP      images/remap-file-path.pb-c.d
  DEP      images/fs.pb-c.d
  DEP      images/pstree.pb-c.d
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278791.481099    9748 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  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
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278791.613364    9780 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278791.644986    9790 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
touch .config
  GEN      compel/include/version.h
  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
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278791.855064    9857 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278791.864477    9863 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
W0000 00:00:1743278791.864499    9860 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  DEP      images/utsns.pb-c.d
  PBCC     images/sit.pb-c.c
  DEP      images/macvlan.pb-c.d
  DEP      images/sysctl.pb-c.d
  DEP      images/file-lock.pb-c.d
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278791.991107    9893 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  DEP      images/rpc.pb-c.d
  PBCC     images/pagemap.pb-c.c
  DEP      images/cgroup.pb-c.d
  DEP      images/userns.pb-c.d
  DEP      images/pidns.pb-c.d
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278792.117134    9931 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  DEP      images/seccomp.pb-c.d
  DEP      images/binfmt-misc.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-aarch64.pb-c.c
  PBCC     images/core-arm.pb-c.c
  PBCC     images/core-loongarch64.pb-c.c
  PBCC     images/core-ppc64.pb-c.c
  PBCC     images/core-mips.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278793.470431   10274 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/core-riscv64.pb-c.c
  PBCC     images/core-s390.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278793.490320   10276 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278793.493526   10278 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278793.513787   10284 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278793.522210   10279 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278793.555067   10291 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278793.563282   10293 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/core-x86.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278793.646486   10310 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  PBCC     images/sa.pb-c.c
  DEP      images/opts.pb-c.d
  PBCC     images/bpfmap-file.pb-c.c
  PBCC     images/fsnotify.pb-c.c
  PBCC     images/sk-inet.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278793.708080   10338 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278793.733737   10345 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278793.741852   10347 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  DEP      images/eventfd.pb-c.d
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278793.770965   10348 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  DEP      images/eventpoll.pb-c.d
  DEP      images/ext-file.pb-c.d
  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
  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
  DEP      images/mnt.pb-c.d
  GEN      footer.txt
  GEN      crit.1
  GEN      criu-ns.1
  GEN      compel.1
  GEN      criu-amdgpu-plugin.1
  GEN      criu.8
  PBCC     images/mm.pb-c.c
  DEP      images/vma.pb-c.d
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278795.296365   10630 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  DEP      images/ipc-msg.pb-c.d
  DEP      images/ipc-shm.pb-c.d
  DEP      images/ipc-sem.pb-c.d
  PBCC     images/netdev.pb-c.c
  DEP      images/sit.pb-c.d
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278795.948135   10747 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  DEP      images/pagemap.pb-c.d
  PBCC     images/core.pb-c.c
  DEP      images/core-aarch64.pb-c.d
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278796.333349   10809 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  DEP      images/core-arm.pb-c.d
  DEP      images/core-loongarch64.pb-c.d
  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
  DEP      images/core-x86.pb-c.d
  DEP      images/sa.pb-c.d
  PBCC     images/inventory.pb-c.c
  PBCC     images/fdinfo.pb-c.c
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278797.373220   10948 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278797.420643   10950 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
  DEP      images/bpfmap-file.pb-c.d
Note: Writing crit.1
  DEP      images/fsnotify.pb-c.d
  DEP      images/sk-inet.pb-c.d
Note: Writing compel.1
  DEP      images/mm.pb-c.d
  DEP      images/netdev.pb-c.d
  DEP      images/core.pb-c.d
  DEP      images/fdinfo.pb-c.d
Note: Writing criu-ns.1
  DEP      images/inventory.pb-c.d
  GEN      criu/include/version.h
Note: Writing criu-amdgpu-plugin.1
  GEN      include/common/config.h
make[1]: Nothing to be done for 'all'.
  GEN      compel/plugins/include/uapi/std/asm/syscall-types.h
  DEP      compel/arch/arm/plugins/std/parasite-head.d
  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/shmem/shmem.d
  DEP      compel/plugins/fds/fds.d
  DEP      compel/plugins/std/std.d
  DEP      compel/plugins/std/fds.d
  DEP      compel/plugins/std/log.d
  DEP      compel/plugins/std/string.d
  DEP      compel/plugins/std/infect.d
  DEP      soccr/soccr.d
  CC       soccr/soccr.o
  CC       compel/plugins/std/std.o
  CC       compel/plugins/std/fds.o
  CC       compel/plugins/std/log.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       soccr/libsoccr.a
  AR       compel/plugins/std.lib.a
Note: Writing criu.8
  CC       compel/plugins/fds/fds.o
  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
  AR       compel/plugins/fds.lib.a
  CC       images/core-aarch64.o
  CC       images/core-ppc64.o
  CC       images/core-riscv64.o
  CC       images/core-s390.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
  CC       images/fh.o
  CC       images/signalfd.o
  CC       images/fsnotify.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/pagemap.o
  CC       images/rlimit.o
  CC       images/siginfo.o
  CC       images/rpc.o
  CC       images/ext-file.o
  CC       images/cgroup.o
  CC       images/userns.o
  CC       images/pidns.o
  CC       images/google/protobuf/descriptor.o
  CC       images/opts.o
  CC       images/seccomp.o
  CC       images/binfmt-misc.o
  CC       images/time.o
  CC       images/sysctl.o
  CC       images/autofs.o
make[1]: 'soccr/libsoccr.a' is up to date.
  CC       images/macvlan.o
  CC       images/sit.o
  CC       images/memfd.o
  CC       images/timens.o
  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
  DEP      compel/arch/arm/src/lib/handle-elf.d
  DEP      compel/src/lib/handle-elf.d
  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
  DEP      compel/src/lib/infect-rpc.d
  DEP      compel/src/lib/infect-util.d
  DEP      compel/src/lib/infect.d
  DEP      compel/src/lib/ptrace.d
  HOSTDEP  compel/src/main-host.d
  HOSTDEP  compel/arch/arm/src/lib/handle-elf-host.d
  HOSTDEP  compel/src/lib/log-host.d
  HOSTDEP  compel/src/lib/handle-elf-host.d
  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.d
  DEP      criu/pie/parasite-vdso.d
  DEP      criu/arch/arm/vdso-pie.d
  DEP      criu/arch/arm/restorer.d
  DEP      criu/pie/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/action-scripts.d
  DEP      criu/aio.d
  DEP      criu/apparmor.d
  DEP      criu/autofs.d
  DEP      criu/bfd.d
  DEP      criu/bitmap.d
  DEP      criu/cgroup-props.d
  DEP      criu/bpfmap.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/sockets.o
  CC       criu/sk-unix.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-c --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 .
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1743278833.600792   16618 main.cc:45] `protoc-c` is deprecated. Please use `protoc` instead!
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’ []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wcompare-distinct-pointer-types-Werror=compare-distinct-pointer-types]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Werror=int-to-pointer-cast]8;;]
 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 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Werror=int-to-pointer-cast]8;;]
 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 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Werror=int-to-pointer-cast]8;;]
 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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Werror=int-to-pointer-cast]8;;]
 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 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Werror=int-to-pointer-cast]8;;]
 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 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Werror=int-to-pointer-cast]8;;]
 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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Werror=int-to-pointer-cast]8;;]
 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 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Werror=int-to-pointer-cast]8;;]
 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 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Werror=int-to-pointer-cast]8;;]
 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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Werror=format=]8;;]
   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[16638] ERROR: compile amdgpu_plugin.c on localhost failed
make[1]: *** [Makefile:31: amdgpu_plugin.so] Error 1
make: *** [Makefile:350: amdgpu_plugin] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/leming/armv7/leming/build