==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_21d579e7-9966-4318-89e8-a3706095849c]...done
==> Making package: kmod 34.2-1.1 (Wed Apr 29 19:34:59 2026)
==> Retrieving sources...
  -> Cloning kmod git repo...
Cloning into bare repository '/home/alhp/workspace/build/x86-64-v3/kmod-34.2-1/kmod'...
  -> Found depmod-search.conf
  -> Found depmod.hook
  -> Found depmod.script
==> Validating source files with sha256sums...
    kmod ... Passed
    depmod-search.conf ... Passed
    depmod.hook ... Passed
    depmod.script ... Passed
==> Verifying source file signatures with gpg...
    kmod git repo ... Passed
==> Making package: kmod 34.2-1.1 (Wed Apr 29 17:35:03 2026)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (13)          New Version      Net Change

core/mpdecimal        4.0.1-3            0.32 MiB
extra/ninja           1.13.2-3           0.41 MiB
extra/pahole          1:1.31-2           0.93 MiB
extra/perl-error      0.17030-3          0.04 MiB
extra/perl-mailtools  2.22-3             0.10 MiB
extra/perl-timedate   2.35-1             0.15 MiB
core/python           3.14.4-1          72.32 MiB
extra/python-tqdm     4.67.3-1           0.62 MiB
extra/zlib-ng         2.3.3-1            0.28 MiB
extra/git             2.54.0-1          30.26 MiB
core/linux-headers    6.19.14.arch1-1  272.64 MiB
extra/meson           1.11.1-1          16.41 MiB
extra/scdoc           1.11.4-1           0.03 MiB

Total Installed Size:  394.51 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 zlib-ng...
installing git...
Optional dependencies for git
    git-zsh-completion: upstream zsh completion
    tk: gitk and git gui
    openssh: ssh transport and crypto
    man: show help with `git command --help`
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4 [pending]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
    less: the default pager for git
installing ninja...
installing mpdecimal...
installing python...
Optional dependencies for python
    python-setuptools: for building Python packages using tooling that is usually bundled with Python
    python-pip: for installing Python packages using tooling that is usually bundled with Python
    python-pipx: for installing Python software not packaged on Arch Linux
    sqlite: for a default database integration [installed]
    xz: for lzma [installed]
    tk: for tkinter
installing python-tqdm...
Optional dependencies for python-tqdm
    python-requests: telegram
installing meson...
installing scdoc...
installing pahole...
Optional dependencies for pahole
    ostra-cg: Generate call graphs from encoded traces
installing linux-headers...
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group 'git' with GID 969.
Creating user 'git' (git daemon user) with UID 969 and GID 969.
(2/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/4) Arming ConditionNeedsUpdate...
(4/4) Updating module dependencies...
==> 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_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.11.1
Source dir: /startdir/src/kmod
Build dir: /startdir/src/build
Build type: native build
Project name: kmod
Project version: 34.2
C compiler for the host machine: cc (gcc 15.2.1 "cc (GCC) 15.2.1 20260209")
C linker for the host machine: cc ld.bfd 2.46
Host machine cpu family: x86_64
Host machine cpu: x86_64
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.5.1
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency bash-completion found: NO  (tried pkg-config and cmake)
Run-time dependency fish found: NO  (tried pkg-config and cmake)
Run-time dependency libzstd found: YES 1.5.7
Run-time dependency liblzma found: YES 5.8.3
Run-time dependency zlib found: YES 1.3.2
Run-time dependency libcrypto found: YES 3.6.2
Configuring config.h using configuration
Checking for function "dlopen" : YES 
Found pkg-config: YES (/usr/bin/pkg-config) 2.5.1
Program bash found: YES (/usr/bin/bash)
Program scripts/sanitizer-env.sh found: YES (/startdir/src/kmod/scripts/sanitizer-env.sh)
Program scripts/setup-modules.sh found: YES (/startdir/src/kmod/scripts/setup-modules.sh)
Program scripts/setup-rootfs.sh found: YES (/startdir/src/kmod/scripts/setup-rootfs.sh)
Library dl found: YES
Library rt found: YES
Program scripts/build-scdoc.sh found: YES (/startdir/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_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.13.2 at /usr/bin/ninja
Generating targets:   0%|          | 0/45 eta ?                                               Writing build.ninja:   0%|          | 0/124 eta ?                                                 ninja: Entering directory `/startdir/src/build'
[1/48] Compiling C object kmod.p/tools_log.c.o
[2/48] Compiling C object kmod.p/tools_lsmod.c.o
[3/48] Compiling C object libshared.a.p/shared_hash.c.o
[4/48] Compiling C object libshared.a.p/shared_array.c.o
[5/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-list.c.o
[6/48] Compiling C object kmod.p/tools_kmod.c.o
[7/48] Compiling C object libshared.a.p/shared_strbuf.c.o
[8/48] Compiling C object kmod.p/tools_opt.c.o
[9/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-file.c.o
[10/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-builtin.c.o
[11/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-file-xz.c.o
[12/48] Compiling C object kmod.p/tools_rmmod.c.o
[13/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-file-zlib.c.o
[14/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-file-zstd.c.o
[15/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-elf.c.o
[16/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-config.c.o
[17/48] Compiling C object kmod.p/tools_insmod.c.o
[18/48] Compiling C object kmod.p/tools_modinfo.c.o
[19/48] Compiling C object libshared.a.p/shared_util.c.o
../kmod/shared/util.c: In function ‘mkdir_parents’:
../kmod/shared/util.c:470:21: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  470 |         char *end = strrchr(path, '/');
      |                     ^~~~~~~
[20/48] Compiling C object kmod.p/tools_modprobe.c.o
[21/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod.c.o
[22/48] Linking static target libshared.a
[23/48] Generating man/man_5_depmod.d with a custom command (wrapped by meson to capture output)
[24/48] Compiling C object kmod.p/tools_static-nodes.c.o
[25/48] Generating man/man_8_depmod with a custom command (wrapped by meson to capture output)
[26/48] Generating man/man_5_modprobe.conf with a custom command (wrapped by meson to capture output)
[27/48] Generating man/man_8_insmod with a custom command (wrapped by meson to capture output)
[28/48] Generating man/man_5_modules.dep.bin with a custom command (wrapped by meson to capture output)
[29/48] Generating man/man_8_kmod with a custom command (wrapped by meson to capture output)
[30/48] Generating man/man_5_modprobe.d with a custom command (wrapped by meson to capture output)
[31/48] Generating man/man_8_modinfo with a custom command (wrapped by meson to capture output)
[32/48] Generating man/man_8_rmmod with a custom command (wrapped by meson to capture output)
[33/48] Generating man/man_5_modules.dep with a custom command (wrapped by meson to capture output)
[34/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-index.c.o
[35/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-module.c.o
[36/48] Generating man/man_8_modprobe with a custom command (wrapped by meson to capture output)
[37/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-signature.c.o
[38/48] Compiling C object kmod.p/tools_depmod.c.o
[39/48] Linking static target libkmod-internal.a
[40/48] Generating man/man_8_lsmod with a custom command (wrapped by meson to capture output)
[41/48] Linking target libkmod.so.2.5.1
In function ‘strbuf_steal’,
    inlined from ‘kmod_module_hex_to_str’ at ../kmod/libkmod/libkmod-module.c:1824:9,
    inlined from ‘kmod_module_info_append_hex’ at ../kmod/libkmod/libkmod-module.c:1836:9:
../kmod/shared/strbuf.c:74:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
   74 |         bytes[buf->used] = '\0';
      |                          ^
In function ‘buf_realloc’,
    inlined from ‘strbuf_steal’ at ../kmod/shared/strbuf.c:69:7,
    inlined from ‘kmod_module_hex_to_str’ at ../kmod/libkmod/libkmod-module.c:1824:9,
    inlined from ‘kmod_module_info_append_hex’ at ../kmod/libkmod/libkmod-module.c:1836:9:
../kmod/shared/strbuf.c:20:21: note: at offset -1 into destination object of size [0, 9223372036854775807] allocated by ‘realloc’
   20 |         void *tmp = realloc(buf->heap ? buf->bytes : NULL, sz);
      |                     ^
[42/48] Linking target kmod
In function ‘strbuf_steal’,
    inlined from ‘kmod_module_hex_to_str’ at ../kmod/libkmod/libkmod-module.c:1824:9,
    inlined from ‘kmod_module_info_append_hex’ at ../kmod/libkmod/libkmod-module.c:1836:9:
../kmod/shared/strbuf.c:74:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
   74 |         bytes[buf->used] = '\0';
      |                          ^
In function ‘buf_realloc’,
    inlined from ‘strbuf_steal’ at ../kmod/shared/strbuf.c:69:7,
    inlined from ‘kmod_module_hex_to_str’ at ../kmod/libkmod/libkmod-module.c:1824:9,
    inlined from ‘kmod_module_info_append_hex’ at ../kmod/libkmod/libkmod-module.c:1836:9:
../kmod/shared/strbuf.c:20:21: note: at offset -1 into destination object of size [0, 9223372036854775807] allocated by ‘realloc’
   20 |         void *tmp = realloc(buf->heap ? buf->bytes : NULL, sz);
      |                     ^
[43/48] Generating depmod with a custom command
[44/48] Generating insmod with a custom command
[45/48] Generating lsmod with a custom command
[46/48] Generating modprobe with a custom command
[47/48] Generating modinfo with a custom command
[48/48] Generating rmmod with a custom command
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /startdir/src/build
==> Starting check()...
ninja: Entering directory `/startdir/src/build'
[0/44] Generating testsuite/build-module-playground with a custom command
make: Entering directory '/startdir/src/build/testsuite/module-playground'
make -C /lib/modules/$(uname -r)/build M=$PWD modules
make[1]: Entering directory '/startdir/src/build/testsuite/module-playground'
make[1]: *** /lib/modules/6.12.61-1-lts/build: No such file or directory.  Stop.
make[1]: Leaving directory '/startdir/src/build/testsuite/module-playground'
make: *** [Makefile:23: modules] Error 2
make: Leaving directory '/startdir/src/build/testsuite/module-playground'
[11/44] Compiling C object testsuite/path.so.p/path.c.o
FAILED: [code=2] testsuite/bb-rootfs 
/startdir/src/kmod/scripts/setup-modules.sh /startdir/src/kmod /startdir/src/build testsuite/module-playground
[13/44] Compiling C object testsuite/init_module.so.p/init_module.c.o
[14/44] Compiling C object testsuite/test-depmod.p/test-depmod.c.o
[15/44] Compiling C object testsuite/test-array.p/test-array.c.o
[16/44] Compiling C object testsuite/test-util.p/test-util.c.o
[17/44] Compiling C object testsuite/test-blacklist.p/test-blacklist.c.o
[18/44] Compiling C object testsuite/test-testsuite.p/test-testsuite.c.o
[19/44] Compiling C object testsuite/test-strbuf.p/test-strbuf.c.o
[20/44] Compiling C object testsuite/test-loaded.p/test-loaded.c.o
[21/44] Compiling C object testsuite/test-list.p/test-list.c.o
[22/44] Compiling C object testsuite/libtestsuite.a.p/testsuite.c.o
[23/44] Linking target testsuite/uname.so
[24/44] Linking target testsuite/delete_module.so
[25/44] Linking target testsuite/path.so
ninja: build stopped: subcommand failed.
Could not rebuild /startdir/src/build
==> ERROR: A failure occurred in check().
    Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_21d579e7-9966-4318-89e8-a3706095849c/build
