==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_a262de4b-4e4c-4c2b-a493-64b45fe292ee]...done ==> Making package: kmod 34-1.1 (Mon Feb 24 06:15:11 2025) ==> Retrieving sources... -> Cloning kmod git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v4/kmod-34-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-1.1 (Mon Feb 24 05:15:19 2025) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (12) New Version Net Change core/mpdecimal 4.0.0-2 0.32 MiB extra/ninja 1.12.1-2 0.38 MiB extra/pahole 1:1.29-1 0.91 MiB extra/perl-error 0.17029-7 0.04 MiB extra/perl-mailtools 2.22-1 0.10 MiB extra/perl-timedate 2.33-7 0.08 MiB core/python 3.13.2-1 67.62 MiB extra/python-tqdm 4.67.1-2 0.61 MiB extra/git 2.48.1-2 28.55 MiB core/linux-headers 6.13.4.arch1-1 138.60 MiB extra/meson 1.7.0-1 13.33 MiB extra/scdoc 1.11.3-1 0.03 MiB Total Installed Size: 250.58 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 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 [pending] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] 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/5) Creating system user accounts... Creating group 'git' with GID 972. Creating user 'git' (git daemon user) with UID 972 and GID 972. (2/5) Reloading system manager configuration... Skipped: Current root is not booted. (3/5) Arming ConditionNeedsUpdate... (4/5) Updating module dependencies... (5/5) Checking for old perl modules... ==> 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.7.0 Source dir: /startdir/src/kmod Build dir: /startdir/src/build Build type: native build Project name: kmod Project version: 34 C compiler for the host machine: cc (gcc 14.2.1 "cc (GCC) 14.2.1 20250207") C linker for the host machine: cc ld.bfd 2.44 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.3.0 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.6.4 Run-time dependency zlib found: YES 1.3.1 Run-time dependency libcrypto found: YES 3.4.1 Configuring config.h using configuration 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 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.12.1 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 libshared.a.p/shared_array.c.o [2/48] Compiling C object libshared.a.p/shared_hash.c.o [3/48] Compiling C object libshared.a.p/shared_strbuf.c.o [4/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-list.c.o [5/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-file-zstd.c.o [6/48] Compiling C object libshared.a.p/shared_util.c.o [7/48] Linking static target libshared.a [8/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-file.c.o [9/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-builtin.c.o [10/48] Compiling C object kmod.p/tools_kmod.c.o [11/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-elf.c.o [12/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-file-zlib.c.o [13/48] Compiling C object kmod.p/tools_modinfo.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-config.c.o [16/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-module.c.o [17/48] Compiling C object kmod.p/tools_log.c.o [18/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-file-xz.c.o [19/48] Compiling C object kmod.p/tools_insmod.c.o [20/48] Compiling C object kmod.p/tools_rmmod.c.o [21/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod.c.o [22/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-index.c.o [23/48] Compiling C object libkmod.so.2.5.1.p/libkmod_libkmod-signature.c.o [24/48] Compiling C object kmod.p/tools_opt.c.o [25/48] Generating man/man_5_depmod.d with a custom command (wrapped by meson to capture output) [26/48] Compiling C object kmod.p/tools_modprobe.c.o [27/48] Compiling C object kmod.p/tools_static-nodes.c.o [28/48] Generating man/man_5_modules.dep with a custom command (wrapped by meson to capture output) [29/48] Generating man/man_8_depmod 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_insmod with a custom command (wrapped by meson to capture output) [32/48] Generating man/man_8_kmod with a custom command (wrapped by meson to capture output) [33/48] Linking static target libkmod-internal.a [34/48] Generating man/man_8_modinfo with a custom command (wrapped by meson to capture output) [35/48] Generating man/man_8_modprobe with a custom command (wrapped by meson to capture output) [36/48] Generating man/man_5_modprobe.conf with a custom command (wrapped by meson to capture output) [37/48] Compiling C object kmod.p/tools_depmod.c.o [38/48] Generating man/man_8_lsmod with a custom command (wrapped by meson to capture output) [39/48] Generating man/man_8_rmmod with a custom command (wrapped by meson to capture output) [40/48] Generating man/man_5_modules.dep.bin 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 modinfo with a custom command [47/48] Generating modprobe 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.13-1.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' FAILED: testsuite/bb-rootfs /startdir/src/kmod/scripts/setup-modules.sh /startdir/src/kmod /startdir/src/build testsuite/module-playground [2/44] Compiling C object testsuite/uname.so.p/uname.c.o [3/44] Compiling C object testsuite/delete_module.so.p/delete_module.c.o [4/44] Compiling C object testsuite/init_module.so.p/init_module.c.o [5/44] Compiling C object testsuite/path.so.p/path.c.o [6/44] Compiling C object testsuite/test-array.p/test-array.c.o [7/44] Compiling C object testsuite/test-blacklist.p/test-blacklist.c.o [8/44] Compiling C object testsuite/test-dependencies.p/test-dependencies.c.o [9/44] Compiling C object testsuite/test-depmod.p/test-depmod.c.o [10/44] Compiling C object testsuite/test-hash.p/test-hash.c.o [11/44] Compiling C object testsuite/test-init.p/test-init.c.o [12/44] Compiling C object testsuite/test-initstate.p/test-initstate.c.o [13/44] Compiling C object testsuite/test-list.p/test-list.c.o [14/44] Compiling C object testsuite/libtestsuite.a.p/testsuite.c.o 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_a262de4b-4e4c-4c2b-a493-64b45fe292ee/build