:: Synchronizing package databases... build-support-manual downloading... build-support downloading... core-staging downloading... extra-staging downloading... core-testing downloading... core downloading... extra-testing downloading... extra downloading... :: Starting full system upgrade... there is nothing to do ==> Building in chroot for [extra-staging-with-build-support] (pentium4)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-staging-with-build-support-pentium4/root] -> [build]...done ==> Making package: retsnoop 0.10.1-1.0 (Thu Oct 10 19:15:09 2024) ==> Retrieving sources... -> Updating retsnoop git repo... -> Updating libbpf git repo... -> Updating bpftool git repo... ==> Validating source files with sha256sums... retsnoop ... Passed libbpf ... Skipped bpftool ... Skipped gpg: Warning: using insecure memory! ==> Appending keys from archlinux32.gpg... gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! ==> Updating trust database... gpg: Warning: using insecure memory! gpg: next trustdb check due at 2024-11-09 ==> Making package: retsnoop 0.10.1-1.0 (Thu Oct 10 19:15:14 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... :: There are 3 providers available for cargo: :: Repository build-support 1) rust176-bin :: Repository extra 2) rust 3) rustup Enter a number (default=1): resolving dependencies... looking for conflicting packages... Packages (10) compiler-rt-18.1.8-1.0 libedit-20240517_3.1-1.0 llvm-libs-18.1.8-4.1 perl-error-0.17029-7.0 perl-mailtools-2.21-9.0 perl-timedate-2.33-7.0 clang-18.1.8-3.0 git-2.47.0-1.0 llvm-18.1.8-4.1 rust176-bin-1:1.76.0-1.0 Total Installed Size: 1843.30 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto 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 libedit... installing llvm-libs... installing compiler-rt... installing clang... Optional dependencies for clang openmp: OpenMP support in clang with -fopenmp python: for scan-view and git-clang-format [installed] llvm: referenced by some clang headers [pending] installing rust176-bin... installing llvm... :: Running post-transaction hooks... (1/4) Creating system user accounts... Creating group 'git' with GID 972. Creating user 'git' (git daemon user) with UID 972 and GID 972. (2/4) Reloading system manager configuration... Skipped: Current root is not booted. (3/4) Arming ConditionNeedsUpdate... (4/4) Warn about old perl modules ==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of retsnoop git repo... Cloning into 'retsnoop'... done. Switched to a new branch 'makepkg' -> Creating working copy of libbpf git repo... Cloning into 'libbpf'... done. -> Creating working copy of bpftool git repo... Cloning into 'bpftool'... done. ==> Starting prepare()... Submodule 'bpftool' (https://github.com/libbpf/bpftool.git) registered for path 'bpftool' Submodule 'libbpf' (https://github.com/libbpf/libbpf.git) registered for path 'libbpf' Cloning into '/build/retsnoop/src/retsnoop/bpftool'... done. Cloning into '/build/retsnoop/src/retsnoop/libbpf'... done. Submodule path 'bpftool': checked out '64402b8ea43b2ef62ee8ba71d9b50a5e32603fd2' Submodule path 'libbpf': checked out '686f600bca59e107af4040d0838ca2b02c14ff50' ==> Starting build()... make: Entering directory '/build/retsnoop/src/retsnoop/src' MKDIR .output/libbpf LIB .output/libbpf.a MKDIR /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/bpf.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/btf.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/libbpf.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/libbpf_errno.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/netlink.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/nlattr.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/str_error.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/libbpf_probes.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/bpf_prog_linfo.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/btf_dump.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/hashmap.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/ringbuf.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/strset.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/linker.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/gen_loader.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/relo_core.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/usdt.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/zip.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/elf.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/features.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/btf_iter.o CC /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/btf_relocate.o AR /build/retsnoop/src/retsnoop/src/.output/libbpf/libbpf.a INSTALL bpf.h libbpf.h btf.h libbpf_common.h libbpf_legacy.h bpf_helpers.h bpf_helper_defs.h bpf_tracing.h bpf_endian.h bpf_core_read.h skel_internal.h libbpf_version.h usdt.bpf.h INSTALL /build/retsnoop/src/retsnoop/src/.output/libbpf/libbpf.pc INSTALL /build/retsnoop/src/retsnoop/src/.output/libbpf/libbpf.a INSTALL ../include/uapi/linux/bpf.h ../include/uapi/linux/bpf_common.h ../include/uapi/linux/btf.h MKDIR .output MKDIR .output/tests BPF .output/retsnoop.bpf.o MKDIR .output/bpftool BPFTOOL .output/bpftool/bootstrap/bpftool ... libbfd: [ OFF ] ... clang-bpf-co-re: [ on ] ... llvm: [ on ] ... libcap: [ on ] mkdir -p /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/include/bpf mkdir -p /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/ mkdir -p /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/ MKDIR /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/bpf.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/btf.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/libbpf.o libbpf.c: In function ‘bpf_object__gen_loader’: libbpf.c:9087:28: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 9087 | gen = calloc(sizeof(*gen), 1); | ^ libbpf.c:9087:28: note: earlier argument should specify number of elements, later size of each element libbpf.c: In function ‘perf_event_open_probe’: libbpf.c:10893:32: warning: comparison is always false due to limited range of data type [-Wtype-limits] 10893 | if ((__u64)ref_ctr_off >= (1ULL << PERF_UPROBE_REF_CTR_OFFSET_BITS)) | ^~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/libbpf_errno.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/netlink.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/nlattr.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/str_error.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/libbpf_probes.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/bpf_prog_linfo.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/btf_dump.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/hashmap.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/ringbuf.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/strset.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/linker.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/gen_loader.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/relo_core.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/usdt.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/zip.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/elf.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/features.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/btf_iter.o CC /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/btf_relocate.o AR /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/libbpf.a INSTALL bpf.h libbpf.h btf.h libbpf_common.h libbpf_legacy.h bpf_helpers.h bpf_helper_defs.h bpf_tracing.h bpf_endian.h bpf_core_read.h skel_internal.h libbpf_version.h usdt.bpf.h gcc -O2 -W -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I/build/retsnoop/src/retsnoop/src/.output/bpftool/ -I/build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/include -I/build/retsnoop/src/retsnoop/bpftool/src/kernel/bpf/ -I/build/retsnoop/src/retsnoop/bpftool/include -I/build/retsnoop/src/retsnoop/bpftool/include/uapi -march=pentium4 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/retsnoop/src=/usr/src/debug/retsnoop -flto=auto -DSKEL_NAME=retsnoop_bpf -DSKEL_HEADER=retsnoop.skel.h -DSKEL_EXTRA_HEADER=retsnoop.h -Wno-sign-compare -c -MMD main.c -o /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/main.o gcc -O2 -W -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I/build/retsnoop/src/retsnoop/src/.output/bpftool/ -I/build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/include -I/build/retsnoop/src/retsnoop/bpftool/src/kernel/bpf/ -I/build/retsnoop/src/retsnoop/bpftool/include -I/build/retsnoop/src/retsnoop/bpftool/include/uapi -march=pentium4 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/retsnoop/src=/usr/src/debug/retsnoop -flto=auto -DSKEL_NAME=retsnoop_bpf -DSKEL_HEADER=retsnoop.skel.h -DSKEL_EXTRA_HEADER=retsnoop.h -Wno-sign-compare -c -MMD common.c -o /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/common.o gcc -O2 -W -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I/build/retsnoop/src/retsnoop/src/.output/bpftool/ -I/build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/include -I/build/retsnoop/src/retsnoop/bpftool/src/kernel/bpf/ -I/build/retsnoop/src/retsnoop/bpftool/include -I/build/retsnoop/src/retsnoop/bpftool/include/uapi -march=pentium4 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/retsnoop/src=/usr/src/debug/retsnoop -flto=auto -DSKEL_NAME=retsnoop_bpf -DSKEL_HEADER=retsnoop.skel.h -DSKEL_EXTRA_HEADER=retsnoop.h -Wno-sign-compare -c -MMD json_writer.c -o /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/json_writer.o gcc -O2 -W -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I/build/retsnoop/src/retsnoop/src/.output/bpftool/ -I/build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/include -I/build/retsnoop/src/retsnoop/bpftool/src/kernel/bpf/ -I/build/retsnoop/src/retsnoop/bpftool/include -I/build/retsnoop/src/retsnoop/bpftool/include/uapi -march=pentium4 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/retsnoop/src=/usr/src/debug/retsnoop -flto=auto -DSKEL_NAME=retsnoop_bpf -DSKEL_HEADER=retsnoop.skel.h -DSKEL_EXTRA_HEADER=retsnoop.h -Wno-sign-compare -c -MMD gen.c -o /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/gen.o gcc -O2 -W -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I/build/retsnoop/src/retsnoop/src/.output/bpftool/ -I/build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/include -I/build/retsnoop/src/retsnoop/bpftool/src/kernel/bpf/ -I/build/retsnoop/src/retsnoop/bpftool/include -I/build/retsnoop/src/retsnoop/bpftool/include/uapi -march=pentium4 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/retsnoop/src=/usr/src/debug/retsnoop -flto=auto -DSKEL_NAME=retsnoop_bpf -DSKEL_HEADER=retsnoop.skel.h -DSKEL_EXTRA_HEADER=retsnoop.h -Wno-sign-compare -c -MMD btf.c -o /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/btf.o gcc -O2 -W -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I/build/retsnoop/src/retsnoop/src/.output/bpftool/ -I/build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/include -I/build/retsnoop/src/retsnoop/bpftool/src/kernel/bpf/ -I/build/retsnoop/src/retsnoop/bpftool/include -I/build/retsnoop/src/retsnoop/bpftool/include/uapi -march=pentium4 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/retsnoop/src=/usr/src/debug/retsnoop -flto=auto -DSKEL_NAME=retsnoop_bpf -DSKEL_HEADER=retsnoop.skel.h -DSKEL_EXTRA_HEADER=retsnoop.h -Wno-sign-compare -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/main.o /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/common.o /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/json_writer.o /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/gen.o /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/btf.o /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/libbpf.a -lelf -lz -o /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/bpftool ../../libbpf/src/libbpf.c: In function ‘map_set_def_max_entries’: ../../libbpf/src/libbpf.c:13691:18: warning: ‘n’ may be used uninitialized [-Wmaybe-uninitialized] 13691 | int err, n, i, tmp_cpus; | ^ ../../libbpf/src/libbpf.c:13692:15: warning: ‘mask’ may be used uninitialized [-Wmaybe-uninitialized] 13692 | bool *mask; | ^ In function ‘btf__new’, inlined from ‘bpf_object__sanitize_and_load_btf’ at ../../libbpf/src/libbpf.c:3546:14, inlined from ‘bpf_object_load’ at ../../libbpf/src/libbpf.c:8509:16, inlined from ‘bpf_object__load’ at ../../libbpf/src/libbpf.c:8557:9, inlined from ‘gen_trace’ at gen.c:699:8: ../../libbpf/src/btf.c:1084:27: warning: ‘sz’ may be used uninitialized [-Wmaybe-uninitialized] 1084 | return libbpf_ptr(btf_new(data, size, NULL)); | ^ ../../libbpf/src/libbpf.c: In function ‘gen_trace’: ../../libbpf/src/libbpf.c:3542:23: note: ‘sz’ was declared here 3542 | __u32 sz; | ^ BPF .output/mass_attach.bpf.o GEN-LINK .output/retsnoop.skel.h GEN-SKEL .output/retsnoop.skel.h BPF .output/calib_feat.bpf.o GEN-LINK .output/calib_feat.skel.h GEN-SKEL .output/calib_feat.skel.h CC .output/retsnoop.o In file included from retsnoop.c:19: .output/retsnoop.skel.h: In function ‘retsnoop_bpf__assert’: .output/retsnoop.skel.h:6795:9: error: static assertion failed: "unexpected size of \'stats\'" 6795 | _Static_assert(sizeof(s->bss->stats) == 16, "unexpected size of 'stats'"); | ^~~~~~~~~~~~~~ make: *** [Makefile:132: .output/retsnoop.o] Error 1 make: Leaving directory '/build/retsnoop/src/retsnoop/src' ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-staging-with-build-support-pentium4/build/build used straw: :with_build_support:haskell_without_check: build@euronuc.lan