==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: kmod 34.2-1 (Mon Mar 31 05:48:58 2025)
==> Retrieving sources...
  -> Cloning kmod git repo...
Cloning into bare repository '/home/leming/work/kmod/kmod'...
  -> Found depmod-search.conf
  -> Found depmod.hook
  -> Found depmod.script
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    kmod ... Skipped
    depmod-search.conf ... Passed
    depmod.hook ... Passed
    depmod.script ... Passed
==> Making package: kmod 34.2-1 (Mon 31 Mar 2025 05:49:06 AM MDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (8) ninja-1.12.1-2  perl-error-0.17030-1  perl-mailtools-2.22-1
             perl-timedate-2.33-7  python-tqdm-4.67.1-2  git-2.49.0-1
             meson-1.7.0-1  scdoc-1.11.3-1

Total Download Size:    7.67 MiB
Total Installed Size:  59.03 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 git-2.49.0-1-aarch64 downloading...
 perl-mailtools-2.22-1-any downloading...
 perl-timedate-2.33-7-any downloading...
 perl-error-0.17030-1-any downloading...
 scdoc-1.11.3-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
    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 ninja...
installing python-tqdm...
Optional dependencies for python-tqdm
    python-requests: telegram
installing meson...
installing scdoc...
:: 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...
  -> Found depmod-search.conf
  -> Found depmod.hook
  -> Found depmod.script
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of kmod git repo...
Cloning into 'kmod'...
done.
Switched to a new branch 'makepkg'
==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=false -D b_pie=true -D python.bytecompile=1 kmod build -Dbuild-tests=true -Dmanpages=true -Dopenssl=enabled -Dxz=enabled -Dzlib=enabled -Dzstd=enabled
The Meson build system
Version: 1.7.0
Source dir: /build/kmod/src/kmod
Build dir: /build/kmod/src/build
Build type: native build
Project name: kmod
Project version: 34.2
C compiler for the host machine: cc (gcc 14.2.1 "aarch64-unknown-linux-gnu-gcc (GCC) 14.2.1 20250207")
C linker for the host machine: cc ld.bfd 2.44
Host machine cpu family: aarch64
Host machine cpu: aarch64
Checking for function "open64" : YES 
Checking for function "stat64" : YES 
Checking for function "fopen64" : YES 
Checking for function "__stat64_time64" : NO 
Checking for function "secure_getenv" : YES 
Checking whether type "struct stat" has member "st_mtim" : YES 
Header "string.h" has symbol "basename" : YES 
Header "sys/stat.h" has symbol "__xstat" : NO 
Checking if "_Static_assert" compiles: YES 
Checking if "_Noreturn" compiles: YES 
Compiler for C supports arguments -fdata-sections: YES 
Compiler for C supports arguments -fdiagnostics-show-option: YES 
Compiler for C supports arguments -ffunction-sections: YES 
Compiler for C supports arguments -fno-common: YES 
Compiler for C supports arguments -Wchar-subscripts: YES 
Compiler for C supports arguments -Wdeclaration-after-statement: YES 
Compiler for C supports arguments -Wendif-labels: YES 
Compiler for C supports arguments -Wfloat-equal: YES 
Compiler for C supports arguments -Wformat=2: YES 
Compiler for C supports arguments -Wformat-nonliteral: YES 
Compiler for C supports arguments -Wformat-security: YES 
Compiler for C supports arguments -Winit-self: YES 
Compiler for C supports arguments -Wlogical-op: YES 
Compiler for C supports arguments -Wmissing-declarations: YES 
Compiler for C supports arguments -Wmissing-include-dirs: YES 
Compiler for C supports arguments -Wmissing-noreturn: YES 
Compiler for C supports arguments -Wmissing-prototypes: YES 
Compiler for C supports arguments -Wnested-externs: YES 
Compiler for C supports arguments -Wno-unused-parameter: YES 
Compiler for C supports arguments -Wno-attributes=clang::suppress: YES 
Compiler for C supports arguments -Wold-style-definition: YES 
Compiler for C supports arguments -Wpointer-arith: YES 
Compiler for C supports arguments -Wredundant-decls: YES 
Compiler for C supports arguments -Wshadow: YES 
Compiler for C supports arguments -Wsign-compare: YES 
Compiler for C supports arguments -Wstrict-aliasing=3: YES 
Compiler for C supports arguments -Wstrict-prototypes: YES 
Compiler for C supports arguments -Wtype-limits: YES 
Compiler for C supports arguments -Wundef: YES 
Compiler for C supports arguments -Wuninitialized: YES 
Compiler for C supports arguments -Wvla: YES 
Compiler for C supports arguments -Wwrite-strings: YES 
Compiler for C supports link arguments -Wl,--gc-sections: YES 
Found pkg-config: YES (/usr/bin/pkg-config) 2.4.3
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency bash-completion found: NO (tried pkgconfig and cmake)
Run-time dependency fish found: NO (tried pkgconfig and cmake)
Run-time dependency libzstd found: YES 1.5.7
Run-time dependency liblzma found: YES 5.8.0
Run-time dependency zlib found: YES 1.3.1
Run-time dependency libcrypto found: YES 3.4.1
Configuring config.h using configuration
Checking for function "dlopen" : YES 
Program bash found: YES (/usr/bin/bash)
Program scripts/sanitizer-env.sh found: YES (/build/kmod/src/kmod/scripts/sanitizer-env.sh)
Program scripts/setup-modules.sh found: YES (/build/kmod/src/kmod/scripts/setup-modules.sh)
Program scripts/setup-rootfs.sh found: YES (/build/kmod/src/kmod/scripts/setup-rootfs.sh)
Library dl found: YES
Library rt found: YES
Program scripts/build-scdoc.sh found: YES (/build/kmod/src/kmod/scripts/build-scdoc.sh)
Program scdoc found: YES (/usr/bin/scdoc)
Build targets in project: 45

kmod 34.2

  Directories
    prefix            : /usr
    sysconfdir        : /etc
    bindir            : /usr/bin
    sbindir           : /usr/bin
    includedir        : /usr/include
    libdir            : /usr/lib
    datadir           : /usr/share

  Kmod specific
    distconfdir       : /usr/lib
    moduledir         : /lib/modules

  Shell completions
    bashcompletiondir : /usr/share/bash-completion/completions
    fishcompletiondir : /usr/share/fish/vendor_functions.d
    zshcompletiondir  : /usr/share/zsh/site-functions

  Options
    tools             : true
    logging           : true
    debug-messages    : false
    build-tests       : true
    manpages          : true
    docs              : false
    dlopen            :

    features          : +ZSTD +XZ +ZLIB +OPENSSL

  User defined options
    auto_features     : enabled
    b_lto             : false
    b_pie             : true
    build-tests       : true
    buildtype         : plain
    libexecdir        : lib
    manpages          : true
    openssl           : enabled
    prefix            : /usr
    python.bytecompile: 1
    sbindir           : bin
    wrap_mode         : nodownload
    xz                : enabled
    zlib              : enabled
    zstd              : enabled

Found ninja-1.12.1 at /usr/bin/ninja

Generating targets:   0%|                                           | 0/45 eta ?
Generating targets:  71%|███████████████████████████           | 32/45 eta 00:00
                                                                                

Writing build.ninja:   0%|                                         | 0/124 eta ?
                                                                                
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /build/kmod/src/build
ninja: Entering directory `/build/kmod/src/build'

[0/48] Compiling C object libshared.a.p/shared_array.c.o
[0/48] Compiling C object libshared.a.p/shared_hash.c.o
[0/48] Compiling C object libshared.a.p/shared_strbuf.c.o
[0/48] Compiling C object libshared.a.p/shared_util.c.o
[0/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-builtin.c.o
[0/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod.c.o
[0/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-config.c.o
[0/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-elf.c.o
[1/48] Compiling C object libshared.a.p/shared_array.c.o
[1/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-file.c.o
[2/48] Compiling C object libshared.a.p/shared_strbuf.c.o
[2/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-index.c.o
[3/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-builtin.c.o
[3/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-list.c.o
[4/48] Compiling C object libshared.a.p/shared_hash.c.o
[4/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-module.c.o
[5/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-file.c.o
[5/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-signature.c.o
[6/48] Compiling C object libshared.a.p/shared_util.c.o
../kmod/shared/util.c: In function 'freadline_wrapped':
../kmod/shared/util.c:328:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
../kmod/shared/util.c:332:3: note: here
../kmod/shared/util.c:351:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
../kmod/shared/util.c:356:3: note: here

[6/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-file-zstd.c.o
[7/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-list.c.o
[7/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-file-xz.c.o
[8/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod.c.o
[8/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-file-zlib.c.o
[9/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-file-zstd.c.o
[9/48] Linking static target libshared.a
[10/48] Linking static target libshared.a
[10/48] Compiling C object kmod.p/tools_depmod.c.o
[11/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-config.c.o
../kmod/libkmod/libkmod-config.c: In function 'kmod_config_parse_kcmdline':
../kmod/libkmod/libkmod-config.c:688:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
../kmod/libkmod/libkmod-config.c:690:3: note: here

[11/48] Compiling C object kmod.p/tools_insmod.c.o
[12/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-elf.c.o
[12/48] Compiling C object kmod.p/tools_kmod.c.o
[13/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-file-xz.c.o
[13/48] Compiling C object kmod.p/tools_log.c.o
[14/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-file-zlib.c.o
[14/48] Compiling C object kmod.p/tools_lsmod.c.o
[15/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-index.c.o
[15/48] Compiling C object kmod.p/tools_modinfo.c.o
[16/48] Compiling C object kmod.p/tools_log.c.o
[16/48] Compiling C object kmod.p/tools_modprobe.c.o
[17/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-signature.c.o
[17/48] Compiling C object kmod.p/tools_opt.c.o
[18/48] Compiling C object kmod.p/tools_kmod.c.o
[18/48] Compiling C object kmod.p/tools_rmmod.c.o
[19/48] Compiling C object kmod.p/tools_insmod.c.o
[19/48] Compiling C object kmod.p/tools_static-nodes.c.o
[20/48] Compiling C object kmod.p/tools_lsmod.c.o
[20/48] Generating man/man_5_depmod.d ...d (wrapped by meson to capture output)
[21/48] Compiling C object kmod.p/tools_opt.c.o
[21/48] Generating man/man_5_modprobe....d (wrapped by meson to capture output)
[22/48] Compiling C object kmod.p/tools_modinfo.c.o
[22/48] Generating man/man_5_modules.d...d (wrapped by meson to capture output)
[23/48] Compiling C object kmod.p/tools_rmmod.c.o
[23/48] Generating man/man_8_depmod wi...d (wrapped by meson to capture output)
[24/48] Compiling C object kmod.p/tools_static-nodes.c.o
[24/48] Generating man/man_8_insmod wi...d (wrapped by meson to capture output)
[25/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-module.c.o
In file included from ../kmod/shared/strbuf.h:7,
                 from ../kmod/libkmod/libkmod-module.c:25:
In function 'freep',
    inlined from 'module_do_install_commands' at ../kmod/libkmod/libkmod-module.c:814:40,
    inlined from 'kmod_module_probe_insert_module' at ../kmod/libkmod/libkmod-module.c:1077:11:
../kmod/shared/macro.h:69:2: warning: 'cmd' may be used uninitialized [-Wmaybe-uninitialized]
../kmod/libkmod/libkmod-module.c: In function 'kmod_module_probe_insert_module':
../kmod/libkmod/libkmod-module.c:814:40: note: 'cmd' was declared here

[25/48] Linking static target libkmod-internal.a
[26/48] Linking static target libkmod-internal.a
[26/48] Linking target libkmod.so.2.5.1
[27/48] Compiling C object kmod.p/tools_modprobe.c.o
[27/48] Generating man/man_8_kmod with...d (wrapped by meson to capture output)
[28/48] Generating man/man_5_depmod.d ...d (wrapped by meson to capture output)
[28/48] Generating man/man_8_lsmod wit...d (wrapped by meson to capture output)
[29/48] Generating man/man_5_modprobe....d (wrapped by meson to capture output)
[29/48] Generating man/man_8_modinfo w...d (wrapped by meson to capture output)
[30/48] Generating man/man_8_depmod wi...d (wrapped by meson to capture output)
[30/48] Generating man/man_8_modprobe ...d (wrapped by meson to capture output)
[31/48] Generating man/man_5_modules.d...d (wrapped by meson to capture output)
[31/48] Generating man/man_8_rmmod wit...d (wrapped by meson to capture output)
[32/48] Compiling C object kmod.p/tools_depmod.c.o
[32/48] Linking target kmod
[33/48] Generating man/man_8_insmod wi...d (wrapped by meson to capture output)
[33/48] Generating man/man_5_modprobe....d (wrapped by meson to capture output)
[34/48] Generating man/man_8_lsmod wit...d (wrapped by meson to capture output)
[34/48] Generating man/man_5_modules.d...d (wrapped by meson to capture output)
[35/48] Generating man/man_8_kmod with...d (wrapped by meson to capture output)
[36/48] Generating man/man_8_modinfo w...d (wrapped by meson to capture output)
[37/48] Generating man/man_8_rmmod wit...d (wrapped by meson to capture output)
[38/48] Linking target libkmod.so.2.5.1
[39/48] Generating man/man_8_modprobe ...d (wrapped by meson to capture output)
[40/48] Linking target kmod
[40/48] Generating depmod with a custom command
[40/48] Generating insmod with a custom command
[40/48] Generating lsmod with a custom command
[40/48] Generating modinfo with a custom command
[40/48] Generating modprobe with a custom command
[40/48] Generating rmmod with a custom command
[41/48] Generating depmod with a custom command
[42/48] Generating insmod with a custom command
[43/48] Generating lsmod with a custom command
[44/48] Generating modinfo with a custom command
[45/48] Generating modprobe with a custom command
[46/48] Generating rmmod with a custom command
[47/48] Generating man/man_5_modprobe....d (wrapped by meson to capture output)
[48/48] Generating man/man_5_modules.d...d (wrapped by meson to capture output)
==> Entering fakeroot environment...
==> Starting package()...
Dropping privileges to 'root' before running ninja...
ninja: Entering directory `/build/kmod/src/build'
ninja: no work to do.
Installing libkmod.so.2.5.1 to /build/kmod/pkg/kmod/usr/lib
Installing kmod to /build/kmod/pkg/kmod/usr/bin
Installing man/depmod.d.5 to /build/kmod/pkg/kmod/usr/share/man/man5
Installing man/modprobe.d.5 to /build/kmod/pkg/kmod/usr/share/man/man5
Installing man/modules.dep.5 to /build/kmod/pkg/kmod/usr/share/man/man5
Installing man/depmod.8 to /build/kmod/pkg/kmod/usr/share/man/man8
Installing man/insmod.8 to /build/kmod/pkg/kmod/usr/share/man/man8
Installing man/kmod.8 to /build/kmod/pkg/kmod/usr/share/man/man8
Installing man/lsmod.8 to /build/kmod/pkg/kmod/usr/share/man/man8
Installing man/modinfo.8 to /build/kmod/pkg/kmod/usr/share/man/man8
Installing man/modprobe.8 to /build/kmod/pkg/kmod/usr/share/man/man8
Installing man/rmmod.8 to /build/kmod/pkg/kmod/usr/share/man/man8
Installing man/modprobe.conf.5 to /build/kmod/pkg/kmod/usr/share/man/man5
Installing man/modules.dep.bin.5 to /build/kmod/pkg/kmod/usr/share/man/man5
Installing /build/kmod/src/kmod/libkmod/libkmod.h to /build/kmod/pkg/kmod/usr/include
Installing new directory /build/kmod/pkg/kmod/etc/depmod.d
Installing new directory /build/kmod/pkg/kmod/etc/modprobe.d
Installing new directory /build/kmod/pkg/kmod/usr/lib/depmod.d
Installing new directory /build/kmod/pkg/kmod/usr/lib/modprobe.d
Installing /build/kmod/src/kmod/shell-completion/bash/insmod to /build/kmod/pkg/kmod/usr/share/bash-completion/completions
Installing /build/kmod/src/kmod/shell-completion/bash/lsmod to /build/kmod/pkg/kmod/usr/share/bash-completion/completions
Installing /build/kmod/src/kmod/shell-completion/bash/rmmod to /build/kmod/pkg/kmod/usr/share/bash-completion/completions
Installing /build/kmod/src/kmod/shell-completion/fish/insmod.fish to /build/kmod/pkg/kmod/usr/share/fish/vendor_functions.d
Installing /build/kmod/src/kmod/shell-completion/fish/lsmod.fish to /build/kmod/pkg/kmod/usr/share/fish/vendor_functions.d
Installing /build/kmod/src/kmod/shell-completion/fish/rmmod.fish to /build/kmod/pkg/kmod/usr/share/fish/vendor_functions.d
Installing /build/kmod/src/kmod/shell-completion/zsh/_insmod to /build/kmod/pkg/kmod/usr/share/zsh/site-functions
Installing /build/kmod/src/kmod/shell-completion/zsh/_lsmod to /build/kmod/pkg/kmod/usr/share/zsh/site-functions
Installing /build/kmod/src/kmod/shell-completion/zsh/_rmmod to /build/kmod/pkg/kmod/usr/share/zsh/site-functions
Installing /build/kmod/src/kmod/shell-completion/bash/kmod to /build/kmod/pkg/kmod/usr/share/bash-completion/completions
Installing /build/kmod/src/build/meson-private/libkmod.pc to /build/kmod/pkg/kmod/usr/lib/pkgconfig
Installing /build/kmod/src/build/meson-private/kmod.pc to /build/kmod/pkg/kmod/usr/share/pkgconfig
Installing symlink pointing to libkmod.so.2.5.1 to /build/kmod/pkg/kmod/usr/lib/libkmod.so.2
Installing symlink pointing to libkmod.so.2 to /build/kmod/pkg/kmod/usr/lib/libkmod.so
Running custom install script '/usr/bin/sh -c mkdir -p "$DESTDIR/usr/bin"'
Running custom install script '/usr/bin/sh -c ln -sfr "$DESTDIR/usr/bin/kmod" "$DESTDIR/usr/bin/depmod"'
Running custom install script '/usr/bin/sh -c ln -sfr "$DESTDIR/usr/bin/kmod" "$DESTDIR/usr/bin/insmod"'
Running custom install script '/usr/bin/sh -c ln -sfr "$DESTDIR/usr/bin/kmod" "$DESTDIR/usr/bin/lsmod"'
Running custom install script '/usr/bin/sh -c ln -sfr "$DESTDIR/usr/bin/kmod" "$DESTDIR/usr/bin/modinfo"'
Running custom install script '/usr/bin/sh -c ln -sfr "$DESTDIR/usr/bin/kmod" "$DESTDIR/usr/bin/modprobe"'
Running custom install script '/usr/bin/sh -c ln -sfr "$DESTDIR/usr/bin/kmod" "$DESTDIR/usr/bin/rmmod"'
==> 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 "kmod"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: kmod 34.2-1 (Mon 31 Mar 2025 05:49:25 AM MDT)
==> Cleaning up...