==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_3b59bc05-5f4e-4321-98cb-367e04f5343d]...done
==> Making package: zig 0.16.0-1.1 (Tue May  5 14:21:40 2026)
==> Retrieving sources...
  -> Downloading zig-0.16.0.tar.xz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0 23 21.45M  23  5.12M   0      0  5.07M      0   00:04   00:01   00:03  5.07M 60 21.45M  60 12.92M   0      0  6.43M      0   00:03   00:02   00:01  6.43M 95 21.45M  95 20.56M   0      0  6.83M      0   00:03   00:03          6.83M100 21.45M 100 21.45M   0      0  6.90M      0   00:03   00:03          6.83M100 21.45M 100 21.45M   0      0  6.90M      0   00:03   00:03          6.83M100 21.45M 100 21.45M   0      0  6.90M      0   00:03   00:03          6.83M
  -> Downloading 9df02121d0d87c17173f79d55692bed9cb65722c.patch...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0100   1253 100   1253   0      0   6999      0                              0100   1253 100   1253   0      0   6997      0                              0100   1253 100   1253   0      0   6996      0                              0
  -> Found skip-futex2-test.patch
==> Validating source files with sha256sums...
    zig-0.16.0.tar.xz ... Passed
    9df02121d0d87c17173f79d55692bed9cb65722c.patch ... Passed
    skip-futex2-test.patch ... Passed
==> Making package: zig 0.16.0-1.1 (Tue May  5 12:21:46 2026)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (5)          New Version     Net Change

extra/compiler-rt21  21.1.8-1         46.11 MiB
core/libedit         20251016_3.1-1    0.26 MiB
extra/clang21        21.1.8-1        222.60 MiB
extra/lld21          21.1.8-1          6.49 MiB
extra/llvm21-libs    21.1.8-1        149.92 MiB

Total Installed Size:  425.38 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing libedit...
installing llvm21-libs...
installing compiler-rt21...
installing clang21...
Optional dependencies for clang21
    openmp: OpenMP support in clang with -fopenmp
    python: for scan-view and git-clang-format
    llvm21: referenced by some clang headers
installing lld21...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (7)               New Version  Net Change

extra/cppdap              1.58.0-3       1.61 MiB
extra/hicolor-icon-theme  0.18-1         0.05 MiB
extra/jsoncpp             1.9.6-3        0.77 MiB
extra/libuv               1.52.1-1       0.64 MiB
extra/rhash               1.4.6-1        0.34 MiB
extra/cmake               4.3.2-1       95.21 MiB
extra/llvm21              21.1.8-1      77.59 MiB

Total Installed Size:  176.21 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing cppdap...
installing hicolor-icon-theme...
installing jsoncpp...
Optional dependencies for jsoncpp
    jsoncpp-doc: documentation
installing libuv...
installing rhash...
installing cmake...
Optional dependencies for cmake
    make: for unix Makefile generator [installed]
    ninja: for ninja generator
    qt6-base: cmake-gui
installing llvm21...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
  -> Found zig-0.16.0.tar.xz
  -> Found 9df02121d0d87c17173f79d55692bed9cb65722c.patch
  -> Found skip-futex2-test.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting zig-0.16.0.tar.xz with bsdtar
==> Starting prepare()...
patching file src/link/Elf/Atom.zig
patching file lib/std/os/linux/test.zig
Hunk #1 succeeded at 326 (offset -20 lines).
Hunk #2 succeeded at 375 (offset -20 lines).
Hunk #3 succeeded at 385 (offset -20 lines).
==> Starting build()...
-- The C compiler identification is GNU 16.1.1
-- The CXX compiler identification is GNU 16.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring zig version 0.16.0
-- Found llvm: /usr/lib/llvm21/lib/libLLVM-21.so (Required is at least version "21")
-- Found clang: /usr/lib/llvm21/lib/libclang-cpp.so.21.1 (Required is at least version "21")
-- Found lld: /usr/lib/llvm21/lib/liblldMinGW.so;/usr/lib/llvm21/lib/liblldELF.so;/usr/lib/llvm21/lib/liblldCOFF.so;/usr/lib/llvm21/lib/liblldWasm.so;/usr/lib/llvm21/lib/liblldMachO.so;/usr/lib/llvm21/lib/liblldCommon.so (Required is at least version "21")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Configuring done (0.6s)
-- Generating done (0.0s)
-- Build files have been written to: /startdir/src/zig-0.16.0/build
[  5%] Building C object CMakeFiles/zig-wasm2c.dir/stage1/wasm2c.c.o
[ 16%] Building CXX object CMakeFiles/zigcpp.dir/src/zig_llvm-ar.cpp.o
[ 16%] Building CXX object CMakeFiles/zigcpp.dir/src/zig_llvm.cpp.o
[ 22%] Building CXX object CMakeFiles/zigcpp.dir/src/zig_clang_cc1as_main.cpp.o
[ 27%] Building CXX object CMakeFiles/zigcpp.dir/src/zig_clang_cc1_main.cpp.o
[ 33%] Building CXX object CMakeFiles/zigcpp.dir/src/zig_clang_driver.cpp.o
[ 38%] Linking C executable zig-wasm2c
[ 38%] Built target zig-wasm2c
[ 44%] Converting /startdir/src/zig-0.16.0/stage1/zig1.wasm to /startdir/src/zig-0.16.0/build/zig1.c
[ 55%] Building C object CMakeFiles/zig1.dir/zig1.c.o
[ 55%] Building C object CMakeFiles/zig1.dir/stage1/wasi.c.o
[ 61%] Linking CXX static library zigcpp/libzigcpp.a
[ 61%] Built target zigcpp
[ 66%] Linking C executable zig1
[ 66%] Built target zig1
[ 72%] Running zig1.wasm to produce /startdir/src/zig-0.16.0/build/zig2.c
[ 77%] Running zig1.wasm to produce /startdir/src/zig-0.16.0/build/compiler_rt.c
[ 83%] Building C object CMakeFiles/zig2.dir/zig2.c.o
[ 88%] Building C object CMakeFiles/zig2.dir/compiler_rt.c.o
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/16.1.1/include/limits.h:210,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/16.1.1/include/syslimits.h:9,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/16.1.1/include/limits.h:34,
                 from /startdir/src/zig-0.16.0/stage1/zig.h:516,
                 from /startdir/src/zig-0.16.0/build/compiler_rt.c:2:
/usr/include/features.h:451:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  451 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/16.1.1/include/limits.h:210,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/16.1.1/include/syslimits.h:9,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/16.1.1/include/limits.h:34,
                 from /startdir/src/zig-0.16.0/stage1/zig.h:516,
                 from /startdir/src/zig-0.16.0/build/zig2.c:2:
/usr/include/features.h:451:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  451 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
[ 94%] Linking CXX executable zig2
[ 94%] Built target zig2
[100%] Building stage3
[100%] Built target stage3
==> Starting check()...
-- Install configuration: "None"
test
+- test-incremental
   +- incr-check 'change_line_number' failure
error: [x86_64-linux-selfhosted 'initial version'] generated executable '.local-cache/o/99f9e86e5b7cefa1e8118ed8fd806666/root' terminated with signal SEGV
error: process exited with code 1 (expected exited with code 0)
failed command: ./.zig-cache/o/d11b31a4ac82094a9c0830a46dfb61eb/incr-check /startdir/src/zig-0.16.0/testinstall/usr/bin/zig /startdir/src/zig-0.16.0/test/incremental/change_line_number --zig-lib-dir testinstall/usr/lib/zig/

test
+- test-incremental
   +- incr-check 'no_change_preserves_tag_names' failure
error: [x86_64-linux-selfhosted 'initial version'] generated executable '.local-cache/o/f517a229263b8abe7cdfe0b23597faab/root' terminated with signal SEGV
error: process exited with code 1 (expected exited with code 0)
failed command: ./.zig-cache/o/d11b31a4ac82094a9c0830a46dfb61eb/incr-check /startdir/src/zig-0.16.0/testinstall/usr/bin/zig /startdir/src/zig-0.16.0/test/incremental/no_change_preserves_tag_names --zig-lib-dir testinstall/usr/lib/zig/

test
+- test-incremental
   +- incr-check 'change_panic_handler' failure
error: [x86_64-linux-selfhosted 'initial version'] generated executable '.local-cache/o/8d99486d5b6648e8601bb4ef70827fd5/root' terminated with signal SEGV
error: process exited with code 1 (expected exited with code 0)
failed command: ./.zig-cache/o/d11b31a4ac82094a9c0830a46dfb61eb/incr-check /startdir/src/zig-0.16.0/testinstall/usr/bin/zig /startdir/src/zig-0.16.0/test/incremental/change_panic_handler --zig-lib-dir testinstall/usr/lib/zig/

test
+- test-incremental
   +- incr-check 'unreferenced_error' failure
error: [x86_64-linux-selfhosted 'initial version'] generated executable '.local-cache/o/c1859085d7e5199489449fb65737ab65/root' terminated with signal SEGV
error: process exited with code 1 (expected exited with code 0)
failed command: ./.zig-cache/o/d11b31a4ac82094a9c0830a46dfb61eb/incr-check /startdir/src/zig-0.16.0/testinstall/usr/bin/zig /startdir/src/zig-0.16.0/test/incremental/unreferenced_error --zig-lib-dir testinstall/usr/lib/zig/

Build Summary: 5545/5696 steps succeeded (145 skipped, 4 failed); 63108/64078 tests passed (970 skipped)
test transitive failure
+- test-incremental transitive failure
   +- incr-check 'change_line_number' failure
   +- incr-check 'change_panic_handler' failure
   +- incr-check 'no_change_preserves_tag_names' failure
   +- incr-check 'unreferenced_error' failure

error: the following build command failed with exit code 1:
.zig-cache/o/c37a1391299fa03477efef51f0f50acd/build /startdir/src/zig-0.16.0/testinstall/usr/bin/zig testinstall/usr/lib/zig /startdir/src/zig-0.16.0 .zig-cache /build/.cache/zig --seed 0xda3af4c7 -Z61d5d36bb19d39bc test -Dconfig_h=build/config.h -Dstatic-llvm=false -Denable-llvm=true -Dskip-non-native=true
==> ERROR: A failure occurred in check().
    Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_3b59bc05-5f4e-4321-98cb-367e04f5343d/build
