==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: retsnoop 0.10.1-1 (Thu Oct 10 06:45:08 2024)
==> Retrieving sources...
  -> Cloning retsnoop git repo...
Cloning into bare repository '/home/leming/work/retsnoop/retsnoop'...
  -> Cloning libbpf git repo...
Cloning into bare repository '/home/leming/work/retsnoop/libbpf'...
  -> Cloning bpftool git repo...
Cloning into bare repository '/home/leming/work/retsnoop/bpftool'...
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    retsnoop ... Skipped
    libbpf ... Skipped
    bpftool ... Skipped
==> Making package: retsnoop 0.10.1-1 (Thu Oct 10 06:45:19 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25l:: There are 2 providers available for cargo:
:: Repository extra
   1) rust  2) rustup

Enter a number (default=1): 
resolving dependencies...
looking for conflicting packages...

Packages (10) compiler-rt-18.1.8-1  libedit-20240517_3.1-1  llvm-libs-18.1.8-4
              perl-error-0.17029-7  perl-mailtools-2.21-9  perl-timedate-2.33-7
              clang-18.1.8-3  git-2.47.0-1  llvm-18.1.8-4  rust-1:1.81.0-1

Total Download Size:   149.57 MiB
Total Installed Size:  795.04 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 rust-1:1.81.0-1-aarch64 downloading...
 clang-18.1.8-3-aarch64 downloading...
 llvm-libs-18.1.8-4-aarch64 downloading...
 llvm-18.1.8-4-aarch64 downloading...
 compiler-rt-18.1.8-1-aarch64 downloading...
 libedit-20240517_3.1-1-aarch64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: 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 rust...
Optional dependencies for rust
    gdb: rust-gdb script
    lldb: rust-lldb script
installing llvm...
:: 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) Warn about old perl modules
[?25h==> 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
  MKDIR    .output
  MKDIR    .output/tests
  MKDIR    .output/bpftool
  CARGO    addr2line
  LIB      .output/libbpf.a
  MKDIR    /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs
  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  ../include/uapi/linux/bpf.h ../include/uapi/linux/bpf_common.h ../include/uapi/linux/btf.h
  CC       /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/btf.o
  CC       /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/bpf.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
    Updating crates.io index
  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
       Fetch [=================>               ] 27 complete; 14 pending      
       Fetch [=============================>   ] 52 complete; 1 pending       
 Downloading 1 crate                                                          
 Downloading 2 crates                                                         
 Downloading 3 crates                                                         
 Downloading 4 crates                                                         
 Downloading 5 crates                                                         
 Downloading 6 crates                                                         
 Downloading 7 crates                                                         
 Downloading 8 crates                                                         
 Downloading 9 crates                                                         
 Downloading 10 crates                                                        
 Downloading 11 crates                                                        
 Downloading 12 crates                                                        
 Downloading 13 crates                                                        
 Downloading 14 crates                                                        
 Downloading 15 crates                                                        
 Downloading 16 crates                                                        
 Downloading 17 crates                                                        
 Downloading 18 crates                                                        
 Downloading 19 crates                                                        
 Downloading 20 crates                                                        
 Downloading 21 crates                                                        
 Downloading 22 crates                                                        
 Downloading 23 crates                                                        
 Downloading 24 crates                                                        
 Downloading 25 crates                                                        
 Downloading 26 crates                                                        
 Downloading 27 crates                                                        
 Downloading 28 crates                                                        
 Downloading 29 crates                                                        
 Downloading 30 crates                                                        
 Downloading 31 crates                                                        
 Downloading 32 crates                                                        
 Downloading 33 crates                                                        
 Downloading 34 crates                                                        
 Downloading 35 crates                                                        
 Downloading 36 crates                                                        
 Downloading 37 crates                                                        
 Downloading 38 crates                                                        
 Downloading 39 crates                                                        
 Downloading 40 crates                                                        
 Downloading 41 crates                                                        
 Downloading 42 crates                                                        
 Downloading 43 crates                                                        
 Downloading 44 crates                                                        
 Downloading 45 crates                                                        
 Downloading 46 crates                                                        
 Downloading 47 crates                                                        
 Downloading 48 crates                                                        
  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
  Downloaded anstyle v1.0.8
 Downloading 47 crates, remaining bytes: 112.0 KB                             
  CC       /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/features.o
  Downloaded anstream v0.6.15
 Downloading 46 crates, remaining bytes: 1.7 MB                               
  Downloaded is_terminal_polyfill v1.70.1
 Downloading 45 crates, remaining bytes: 3.2 MB                               
  Downloaded addr2line v0.24.2
 Downloading 44 crates, remaining bytes: 3.1 MB                               
  Downloaded anstyle-query v1.1.1
 Downloading 43 crates, remaining bytes: 3.0 MB                               
  Downloaded heck v0.5.0
 Downloading 42 crates, remaining bytes: 2.9 MB                               
  Downloaded colorchoice v1.0.2
 Downloading 41 crates, remaining bytes: 2.8 MB                               
  Downloaded static_assertions v1.1.0
 Downloading 40 crates, remaining bytes: 2.7 MB                               
  Downloaded typed-arena v2.0.2
 Downloading 39 crates, remaining bytes: 2.6 MB                               
  Downloaded utf8parse v0.2.2
 Downloading 38 crates, remaining bytes: 2.5 MB                               
  Downloaded strsim v0.11.1
 Downloading 37 crates, remaining bytes: 2.5 MB                               
  Downloaded smallvec v1.13.2
 Downloading 36 crates, remaining bytes: 2.4 MB                               
  Downloaded twox-hash v1.6.3
 Downloading 35 crates, remaining bytes: 2.2 MB                               
  CC       /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/btf_iter.o
  Downloaded quote v1.0.37
 Downloading 34 crates, remaining bytes: 2.1 MB                               
  Downloaded rustc-demangle v0.1.24
 Downloading 33 crates, remaining bytes: 2.0 MB                               
  Downloaded proc-macro2 v1.0.87
 Downloading 32 crates, remaining bytes: 1.9 MB                               
  Downloaded unicode-ident v1.0.13
 Downloading 31 crates, remaining bytes: 1.7 MB                               
  Downloaded cpp_demangle v0.4.4
 Downloading 30 crates, remaining bytes: 1.6 MB                               
  Downloaded memchr v2.7.4
 Downloading 29 crates, remaining bytes: 1.5 MB                               
  Downloaded flate2 v1.0.33
 Downloading 28 crates, remaining bytes: 1.4 MB                               
  Downloaded backtrace v0.3.73
 Downloading 27 crates, remaining bytes: 1.2 MB                               
  Downloaded cc v1.1.15
 Downloading 26 crates, remaining bytes: 1.1 MB                               
  Downloaded ruzstd v0.7.1
 Downloading 25 crates, remaining bytes: 1027.7 KB                            
  CC       /build/retsnoop/src/retsnoop/src/.output/libbpf/staticobjs/btf_relocate.o
  Downloaded clap_builder v4.5.19
 Downloading 24 crates, remaining bytes: 929.5 KB                             
  Downloaded miniz_oxide v0.7.4
 Downloading 23 crates, remaining bytes: 809.9 KB                             
  Downloaded miniz_oxide v0.8.0
 Downloading 22 crates, remaining bytes: 740.2 KB                             
  Downloaded clap v4.5.19
 Downloading 21 crates, remaining bytes: 642.1 KB                             
  Downloaded syn v2.0.79
 Downloading 20 crates, remaining bytes: 553.5 KB                             
  Downloaded gimli v0.29.0
 Downloading 19 crates, remaining bytes: 473.5 KB                             
  INSTALL  /build/retsnoop/src/retsnoop/src/.output/libbpf/libbpf.pc
  Downloaded object v0.36.4
 Downloading 18 crates, remaining bytes: 430.7 KB                             
  Downloaded gimli v0.31.1
 Downloading 17 crates, remaining bytes: 414.3 KB                             
  Downloaded memmap2 v0.9.4
 Downloading 16 crates, remaining bytes: 397.9 KB                             
  Downloaded crc32fast v1.4.2
 Downloading 15 crates, remaining bytes: 381.6 KB                             
  Downloaded clap_derive v4.5.18
 Downloading 14 crates, remaining bytes: 365.2 KB                             
  Downloaded shlex v1.3.0
 Downloading 13 crates, remaining bytes: 348.8 KB                             
  Downloaded stable_deref_trait v1.2.0
 Downloading 12 crates, remaining bytes: 317.9 KB                             
  Downloaded glob v0.3.1
 Downloading 11 crates, remaining bytes: 301.5 KB                             
  Downloaded memmap v0.7.0
 Downloading 10 crates, remaining bytes: 285.1 KB                             
  Downloaded findshlibs v0.10.2
 Downloading 9 crates, remaining bytes: 268.7 KB                              
  Downloaded byteorder v1.5.0
 Downloading 8 crates, remaining bytes: 252.4 KB                              
  Downloaded addr2line v0.22.0
 Downloading 7 crates, remaining bytes: 236.0 KB                              
  Downloaded cfg-if v1.0.0
 Downloading 6 crates, remaining bytes: 215.5 KB                              
  Downloaded fallible-iterator v0.3.0
 Downloading 5 crates, remaining bytes: 199.1 KB                              
  Downloaded clap_lex v0.7.2
 Downloading 4 crates, remaining bytes: 182.7 KB                              
  Downloaded anstyle-parse v0.2.5
 Downloading 3 crates, remaining bytes: 166.3 KB                              
  Downloaded adler2 v2.0.0
 Downloading 2 crates, remaining bytes: 150.0 KB                              
  Downloaded adler v1.0.2
 Downloading 1 crate, remaining bytes: 133.6 KB                               
  Downloaded libc v0.2.158
 Downloading 0 crates, extracting libc ...                                    
  Downloaded 48 crates (3.5 MB) in 0.75s
   Compiling cfg-if v1.0.0
   Compiling shlex v1.3.0
   Compiling libc v0.2.158
   Compiling proc-macro2 v1.0.87
   Compiling adler2 v2.0.0
   Compiling unicode-ident v1.0.13
    Building [                            ] 0/58: shlex, adler2, cfg-if, pr...
   Compiling static_assertions v1.1.0
    Building [                            ] 0/58: shlex, adler2, cfg-if, pr...
   Compiling crc32fast v1.4.2
    Building [                            ] 1/58: crc32fast, shlex, adler2,...
   Compiling miniz_oxide v0.8.0
    Building [                            ] 2/58: crc32fast, shlex, adler2,...
   Compiling twox-hash v1.6.3
    Building [>                           ] 3/58: crc32fast, shlex, adler2,...
   Compiling cc v1.1.15
    Building [>                           ] 4/58: crc32fast, shlex, cc, min...
   Compiling utf8parse v0.2.2
    Building [=>                          ] 5/58: crc32fast, cc, miniz_oxid...
   Compiling byteorder v1.5.0
    Building [=>                          ] 6/58: crc32fast, cc, miniz_oxid...
    Building [==>                         ] 7/58: crc32fast, proc-macro2(bu...
   Compiling anstyle-parse v0.2.5
    Building [==>                         ] 8/58: proc-macro2(build), cc, m...
    Building [===>                        ] 9/58: proc-macro2, cc, miniz_ox...
    Building [===>                       ] 10/58: proc-macro2, libc(build),...
    Building [====>                      ] 11/58: proc-macro2, cc, miniz_ox...
   Compiling ruzstd v0.7.1
    Building [====>                      ] 12/58: proc-macro2, ruzstd, cc, ...
   Compiling anstyle-query v1.1.1
    Building [=====>                     ] 13/58: proc-macro2, ruzstd, cc, ...
   Compiling colorchoice v1.0.2
    Building [=====>                     ] 14/58: proc-macro2, ruzstd, cc, ...
   Compiling is_terminal_polyfill v1.70.1
    Building [=====>                     ] 15/58: proc-macro2, ruzstd, cc, ...
   Compiling cpp_demangle v0.4.4
    Building [======>                    ] 16/58: proc-macro2, ruzstd, cc, ...
   Compiling anstyle v1.0.8
    Building [======>                    ] 17/58: proc-macro2, ruzstd, cc, ...
   Compiling quote v1.0.37
    Building [=======>                   ] 18/58: proc-macro2, ruzstd, cc, ...
   Compiling flate2 v1.0.33
    Building [=======>                   ] 19/58: proc-macro2, ruzstd, cc, ...
  AR       /build/retsnoop/src/retsnoop/src/.output/libbpf/libbpf.a
  INSTALL  /build/retsnoop/src/retsnoop/src/.output/libbpf/libbpf.a 
   Compiling memchr v2.7.4
    Building [========>                  ] 20/58: memchr, ruzstd, cc, miniz...
   Compiling syn v2.0.79
    Building [========>                  ] 21/58: memchr, ruzstd, cc, miniz...
    Building [=========>                 ] 22/58: memchr, ruzstd, cc, miniz...
   Compiling anstream v0.6.15
    Building [=========>                 ] 23/58: memchr, ruzstd, cc, miniz...
   Compiling heck v0.5.0
    Building [=========>                 ] 23/58: ruzstd, cc, miniz_oxide, ...
   Compiling adler v1.0.2
    Building [==========>                ] 24/58: ruzstd, cc, miniz_oxide, ...
   Compiling strsim v0.11.1
    Building [==========>                ] 25/58: ruzstd, cc, miniz_oxide, ...
   Compiling object v0.36.4
    Building [===========>               ] 26/58: object, ruzstd, cc, miniz...
   Compiling backtrace v0.3.73
    Building [===========>               ] 27/58: object, ruzstd, miniz_oxi...
   Compiling findshlibs v0.10.2
    Building [============>              ] 28/58: object, ruzstd, miniz_oxi...
   Compiling rustc-demangle v0.1.24
    Building [============>              ] 29/58: object, ruzstd, rustc-dem...
   Compiling gimli v0.29.0
    Building [============>              ] 30/58: object, ruzstd, rustc-dem...
   Compiling clap_lex v0.7.2
    Building [=============>             ] 31/58: object, ruzstd, rustc-dem...
    Building [=============>             ] 32/58: object, ruzstd, rustc-dem...
    Building [==============>            ] 33/58: object, ruzstd, rustc-dem...
   Compiling miniz_oxide v0.7.4
    Building [==============>            ] 34/58: object, ruzstd, rustc-dem...
   Compiling clap_builder v4.5.19
    Building [===============>           ] 35/58: object, ruzstd, rustc-dem...
    Building [===============>           ] 36/58: object, ruzstd, rustc-dem...
   Compiling memmap2 v0.9.4
    Building [================>          ] 37/58: object, ruzstd, rustc-dem...
   Compiling smallvec v1.13.2
    Building [================>          ] 38/58: object, rustc-demangle, s...
   Compiling typed-arena v2.0.2
    Building [=================>         ] 39/58: object, rustc-demangle, s...
   Compiling gimli v0.31.1
    Building [=================>         ] 40/58: object, rustc-demangle, s...
   Compiling fallible-iterator v0.3.0
    Building [==================>        ] 41/58: object, rustc-demangle, s...
    Building [==================>        ] 42/58: object, findshlibs, syn, ...
   Compiling memmap v0.7.0
    Building [===================>       ] 43/58: object, memmap, syn, giml...
   Compiling glob v0.3.1
    Building [===================>       ] 44/58: object, memmap, glob, syn...
    Building [===================>       ] 45/58: object, glob, syn, gimli,...
  BPF      .output/retsnoop.bpf.o
  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
  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
  CC       /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/bpf.o
    Building [====================>      ] 46/58: object, syn, gimli, cpp_d...
  CC       /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/btf.o
   Compiling addr2line v0.22.0
    Building [====================>      ] 46/58: object, syn, gimli, cpp_d...
btf.c: In function 'btf_rewrite_str':
btf.c:1803:126: warning: the comparison will always evaluate as 'false' for the address of 'mapped_off' will never be NULL [-Waddress]
btf.c:1796:7: note: 'mapped_off' declared here
btf.c: In function 'btf_dedup_resolve_fwd':
btf.c:4830:119: warning: the comparison will always evaluate as 'false' for the address of 'cand_id' will never be NULL [-Waddress]
btf.c:4821:12: note: 'cand_id' declared here
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.o
    Building [====================>      ] 47/58: object, syn, gimli, cpp_d...
    Building [=====================>     ] 48/58: object, syn, cpp_demangle...
  CC       /build/retsnoop/src/retsnoop/src/.output/bpftool/bootstrap/libbpf/staticobjs/libbpf_errno.o
   Compiling clap_derive v4.5.18
    Building [=====================>     ] 49/58: object, cpp_demangle, gim...
libbpf.c: In function 'bpf_core_resolve_relo':
libbpf.c:5834:113: warning: the comparison will always evaluate as 'false' for the address of 'cands' will never be NULL [-Waddress]
libbpf.c:5818:29: note: 'cands' declared here
libbpf.c: In function 'bpf_object__gen_loader':
libbpf.c:9087:21: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
libbpf.c:9087:21: note: earlier argument should specify number of elements, later size of each element
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/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
   Compiling addr2line v0.24.2
    Building [======================>    ] 50/58: object, addr2line, cpp_de...
btf_dump.c: In function 'btf_dump_name_dups':
btf_dump.c:1643:117: warning: the comparison will always evaluate as 'false' for the address of 'dup_cnt' will never be NULL [-Waddress]
btf_dump.c:1636:9: note: 'dup_cnt' declared here
btf_dump.c:1646:162: warning: the comparison will always evaluate as 'false' for the address of 'old_name' will never be NULL [-Waddress]
btf_dump.c:1635:8: note: 'old_name' declared here
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/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
strset.c: In function 'strset__find_str':
strset.c:130:119: warning: the comparison will always evaluate as 'false' for the address of 'old_off' will never be NULL [-Waddress]
strset.c:118:7: note: 'old_off' declared here
strset.c: In function 'strset__add_str':
strset.c:168:155: warning: the comparison will always evaluate as 'false' for the address of 'old_off' will never be NULL [-Waddress]
strset.c:144:7: note: 'old_off' declared here
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/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
usdt.c: In function 'allocate_spec_id':
usdt.c:909:116: warning: the comparison will always evaluate as 'false' for the address of 'tmp' will never be NULL [-Waddress]
usdt.c:904:7: note: 'tmp' declared here
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/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
    Building [======================>    ] 51/58: addr2line, cpp_demangle, ...
  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
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=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -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
   Compiling clap v4.5.19
    Building [=======================>   ] 52/58: addr2line, cpp_demangle, ...
    Building [=======================>   ] 53/58: addr2line, cpp_demangle, ...
main.c: In function 'main':
main.c:485:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
main.c:487:3: note: here
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=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -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=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -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=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -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=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -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
    Building [========================>  ] 54/58: addr2line, clap_builder, ...
gen.c: In function 'btfgen_record_obj':
gen.c:2391:120: warning: the comparison will always evaluate as 'false' for the address of 'cands' will never be NULL [-Waddress]
gen.c:2387:31: note: 'cands' declared here
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=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -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 /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
    Building [========================>  ] 55/58: addr2line, backtrace        
  BPF      .output/mass_attach.bpf.o
    Building [=========================> ] 56/58: addr2line                   
  BPF      .output/calib_feat.bpf.o
  CC       .output/logic.o
  BPF      .output/kmem_reader.bpf.o
  CC       .output/env.o
  CC       .output/ksyms.o
  CC       .output/utils.o
  CC       .output/ddump.o
  CC       .output/hashmap.o
  GEN-LINK .output/retsnoop.skel.h
  GEN-SKEL .output/retsnoop.skel.h
  GEN-LINK .output/calib_feat.skel.h
  GEN-SKEL .output/calib_feat.skel.h
  BPF      .output/tests/kprobe_bad_kfunc.bpf.o
  BPF      .output/tests/fentry_unsupp_func.bpf.o
  BPF      .output/tests/simple_obj.bpf.o
  CC       .output/retsnoop.o
  GEN-LINK .output/kmem_reader.skel.h
  CC       .output/mass_attacher.o
  GEN-SKEL .output/kmem_reader.skel.h
  CC       .output/fnargs.o
  GEN-LINK .output/tests/kprobe_bad_kfunc.skel.h
  GEN-SKEL .output/tests/kprobe_bad_kfunc.skel.h
  GEN-LINK .output/tests/fentry_unsupp_func.skel.h
  GEN-SKEL .output/tests/fentry_unsupp_func.skel.h
   Compiling addr2line v0.1.0 (/build/retsnoop/src/retsnoop/sidecar)
    Building [=========================> ] 57/58: addr2line(bin)              
  GEN-LINK .output/tests/simple_obj.skel.h
  GEN-SKEL .output/tests/simple_obj.skel.h
  CC       .output/tests/simfail.o
  BINARY   simfail
    Finished `release` profile [optimized] target(s) in 46.53s
  LLVM_STRIP ../sidecar/target/release/addr2line
  LD       .output/addr2line.embed.o
  CC       .output/addr2line.o
  BINARY   retsnoop
make: Leaving directory '/build/retsnoop/src/retsnoop/src'
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "retsnoop"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: retsnoop 0.10.1-1 (Thu Oct 10 06:46:37 2024)
==> Cleaning up...