Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/zig.spec'], chrootPath='/var/lib/mock/f41-build-825966-154714/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/zig.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1722470400 Wrote: /builddir/build/SRPMS/zig-0.13.0-2.0.riscv64.fc41~bootstrap.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/zig.spec'], chrootPath='/var/lib/mock/f41-build-825966-154714/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/zig.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1722470400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.q0HvRL + umask 022 + cd /builddir/build/BUILD/zig-0.13.0-build + test -d /builddir/build/BUILD/zig-0.13.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/zig-0.13.0-build + /usr/bin/rm -rf /builddir/build/BUILD/zig-0.13.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/zig-0.13.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/zig-0.13.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.md2dbD + umask 022 + cd /builddir/build/BUILD/zig-0.13.0-build + /usr/bin/minisign -V -m /builddir/build/SOURCES/zig-0.13.0.tar.xz -x /builddir/build/SOURCES/zig-0.13.0.tar.xz.minisig -P RWSGOq2NVecA2UPNdBUZykf1CCb147pkmdtYxgb3Ti+JO/wCYvhbAb/U Signature and comment signature verified Trusted comment: timestamp:1717729439 file:zig-0.13.0.tar.xz hashed + cd /builddir/build/BUILD/zig-0.13.0-build + rm -rf zig-0.13.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/zig-0.13.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd zig-0.13.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Fedora-bootstrap-and-extra-build-flags-support.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Enable-build-id-by-default.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-fetch-prevent-global-cache-from-being-copied.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-cmake-correct-PIE-support-detection-add-error-output.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0005-remove-native-lib-directories-from-rpath.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Umobpg + umask 022 + cd /builddir/build/BUILD/zig-0.13.0-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd zig-0.13.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo '-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -Wno-unused' '-DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -Wno-unused' '-DZIG_EXTRA_BUILD_ARGS:STRING=--verbose;-Dbuild-id=sha1' -DZIG_SHARED_LLVM:BOOL=true -DZIG_PIE:BOOL=true -DZIG_TARGET_MCPU:STRING=baseline -DZIG_TARGET_TRIPLE:STRING=native -DZIG_VERSION:STRING=0.13.0 -- The C compiler identification is GNU 14.1.1 -- The CXX compiler identification is GNU 14.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - 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/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring zig version 0.13.0 -- Found llvm: /usr/lib64/libLLVM-18.so;-lrt;-ldl;-lm;-lz;-ltinfo (Required is at least version "18") -- Found clang: /usr/lib64/libclang-cpp.so (Required is at least version "18") -- Found lld: /usr/lib64/liblldMinGW.so;/usr/lib64/liblldELF.so;/usr/lib64/liblldCOFF.so;/usr/lib64/liblldWasm.so;/usr/lib64/liblldMachO.so;/usr/lib64/liblldCommon.so (Required is at least version "18") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done (8.3s) -- Generating done (0.2s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose --target stage3 Change Dir: '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j4 stage3 /usr/bin/cmake -S/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0 -B/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/gmake -f CMakeFiles/Makefile2 stage3 gmake[1]: Entering directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' /usr/bin/cmake -S/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0 -B/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/CMakeFiles 19 /usr/bin/gmake -f CMakeFiles/Makefile2 CMakeFiles/stage3.dir/all gmake[2]: Entering directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/zigcpp.dir/build.make CMakeFiles/zigcpp.dir/depend /usr/bin/gmake -f CMakeFiles/zig-wasm2c.dir/build.make CMakeFiles/zig-wasm2c.dir/depend gmake[3]: Entering directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' cd /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0 /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0 /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/CMakeFiles/zig-wasm2c.dir/DependInfo.cmake "--color=" gmake[3]: Entering directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' cd /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0 /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0 /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/CMakeFiles/zigcpp.dir/DependInfo.cmake "--color=" gmake[3]: Leaving directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' gmake[3]: Leaving directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/zigcpp.dir/build.make CMakeFiles/zigcpp.dir/build /usr/bin/gmake -f CMakeFiles/zig-wasm2c.dir/build.make CMakeFiles/zig-wasm2c.dir/build gmake[3]: Entering directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' gmake[3]: Entering directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' [ 21%] Building CXX object CMakeFiles/zigcpp.dir/src/zig_llvm.cpp.o [ 21%] Building CXX object CMakeFiles/zigcpp.dir/src/zig_llvm-ar.cpp.o [ 21%] Building C object CMakeFiles/zig-wasm2c.dir/stage1/wasm2c.c.o [ 21%] Building CXX object CMakeFiles/zigcpp.dir/src/zig_clang.cpp.o /usr/bin/gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wno-unused -std=c99 -O2 -MD -MT CMakeFiles/zig-wasm2c.dir/stage1/wasm2c.c.o -MF CMakeFiles/zig-wasm2c.dir/stage1/wasm2c.c.o.d -o CMakeFiles/zig-wasm2c.dir/stage1/wasm2c.c.o -c /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/wasm2c.c /usr/bin/g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wno-unused -fPIC -fno-exceptions -fno-rtti -fno-stack-protector -fvisibility-inlines-hidden -Wno-type-limits -Wno-missing-braces -Wno-comment -MD -MT CMakeFiles/zigcpp.dir/src/zig_llvm.cpp.o -MF CMakeFiles/zigcpp.dir/src/zig_llvm.cpp.o.d -o CMakeFiles/zigcpp.dir/src/zig_llvm.cpp.o -c /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/src/zig_llvm.cpp /usr/bin/g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wno-unused -fPIC -fno-exceptions -fno-rtti -fno-stack-protector -fvisibility-inlines-hidden -Wno-type-limits -Wno-missing-braces -Wno-comment -MD -MT CMakeFiles/zigcpp.dir/src/zig_llvm-ar.cpp.o -MF CMakeFiles/zigcpp.dir/src/zig_llvm-ar.cpp.o.d -o CMakeFiles/zigcpp.dir/src/zig_llvm-ar.cpp.o -c /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/src/zig_llvm-ar.cpp /usr/bin/g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wno-unused -fPIC -fno-exceptions -fno-rtti -fno-stack-protector -fvisibility-inlines-hidden -Wno-type-limits -Wno-missing-braces -Wno-comment -MD -MT CMakeFiles/zigcpp.dir/src/zig_clang.cpp.o -MF CMakeFiles/zigcpp.dir/src/zig_clang.cpp.o.d -o CMakeFiles/zigcpp.dir/src/zig_clang.cpp.o -c /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/src/zig_clang.cpp In file included from /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/FuncGen.h:5, from /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/wasm2c.c:3: /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/wasm.h: In function ‘WasmMut_toC’: /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/wasm.h:55:1: warning: control reaches end of non-void function [-Wreturn-type] 55 | } | ^ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/wasm2c.c: In function ‘main’: /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/wasm2c.c:497:17: warning: ‘value’ may be used uninitialized [-Wmaybe-uninitialized] 497 | fprintf(out, " t%" PRIu32 "[UINT32_C(%" PRIu32 ")] = (void (*)(void))&", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 498 | table_idx, offset + i); | ~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/wasm2c.c:46:14: note: ‘value’ was declared here 46 | uint32_t value; | ^~~~~ In file included from /usr/include/stdio.h:970, from /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/panic.h:4, from /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/FuncGen.h:4: In function ‘fprintf’, inlined from ‘main’ at /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/wasm2c.c:979:37: /usr/include/bits/stdio2.h:111:10: warning: ‘table_idx’ may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/wasm2c.c: In function ‘main’: /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/wasm2c.c:933:34: note: ‘table_idx’ was declared here 933 | uint32_t table_idx; | ^~~~~~~~~ In function ‘fprintf’, inlined from ‘main’ at /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/wasm2c.c:2184:13: /usr/include/bits/stdio2.h:111:10: warning: ‘value’ may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/wasm2c.c: In function ‘main’: /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/wasm2c.c:46:14: note: ‘value’ was declared here 46 | uint32_t value; | ^~~~~ [ 26%] Linking C executable zig-wasm2c /usr/bin/cmake -E cmake_link_script CMakeFiles/zig-wasm2c.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wno-unused -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes "CMakeFiles/zig-wasm2c.dir/stage1/wasm2c.c.o" -o zig-wasm2c gmake[3]: Leaving directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' [ 26%] Built target zig-wasm2c [ 31%] Building CXX object CMakeFiles/zigcpp.dir/src/zig_clang_driver.cpp.o /usr/bin/g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wno-unused -fPIC -fno-exceptions -fno-rtti -fno-stack-protector -fvisibility-inlines-hidden -Wno-type-limits -Wno-missing-braces -Wno-comment -MD -MT CMakeFiles/zigcpp.dir/src/zig_clang_driver.cpp.o -MF CMakeFiles/zigcpp.dir/src/zig_clang_driver.cpp.o.d -o CMakeFiles/zigcpp.dir/src/zig_clang_driver.cpp.o -c /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/src/zig_clang_driver.cpp /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/src/zig_llvm-ar.cpp: In function ‘void performWriteOperation(ArchiveOperation, llvm::object::Archive*, std::unique_ptr, std::vector*)’: /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/src/zig_llvm-ar.cpp:1068:71: warning: ‘Kind’ may be used uninitialized [-Wmaybe-uninitialized] 1068 | Kind, Deterministic, Thin, std::move(OldArchiveBuf)); | ^ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/src/zig_llvm-ar.cpp:1021:25: note: ‘Kind’ was declared here 1021 | object::Archive::Kind Kind; | ^~~~ /usr/bin/gmake -f CMakeFiles/zig1.dir/build.make CMakeFiles/zig1.dir/depend gmake[3]: Entering directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' [ 36%] Converting /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/zig1.wasm to /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig1.c cd /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0 && /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig-wasm2c /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/zig1.wasm /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig1.c cd /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0 /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0 /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/CMakeFiles/zig1.dir/DependInfo.cmake "--color=" gmake[3]: Leaving directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/zig1.dir/build.make CMakeFiles/zig1.dir/build gmake[3]: Entering directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' [ 42%] Building C object CMakeFiles/zig1.dir/zig1.c.o /usr/bin/gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wno-unused -std=c99 -Os -MD -MT CMakeFiles/zig1.dir/zig1.c.o -MF CMakeFiles/zig1.dir/zig1.c.o.d -o CMakeFiles/zig1.dir/zig1.c.o -c /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig1.c [ 47%] Building C object CMakeFiles/zig1.dir/stage1/wasi.c.o /usr/bin/gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wno-unused -std=c99 -Os -MD -MT CMakeFiles/zig1.dir/stage1/wasi.c.o -MF CMakeFiles/zig1.dir/stage1/wasi.c.o.d -o CMakeFiles/zig1.dir/stage1/wasi.c.o -c /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/wasi.c [ 52%] Building CXX object CMakeFiles/zigcpp.dir/src/zig_clang_cc1_main.cpp.o /usr/bin/g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wno-unused -fPIC -fno-exceptions -fno-rtti -fno-stack-protector -fvisibility-inlines-hidden -Wno-type-limits -Wno-missing-braces -Wno-comment -MD -MT CMakeFiles/zigcpp.dir/src/zig_clang_cc1_main.cpp.o -MF CMakeFiles/zigcpp.dir/src/zig_clang_cc1_main.cpp.o.d -o CMakeFiles/zigcpp.dir/src/zig_clang_cc1_main.cpp.o -c /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/src/zig_clang_cc1_main.cpp [ 57%] Building CXX object CMakeFiles/zigcpp.dir/src/zig_clang_cc1as_main.cpp.o /usr/bin/g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wno-unused -fPIC -fno-exceptions -fno-rtti -fno-stack-protector -fvisibility-inlines-hidden -Wno-type-limits -Wno-missing-braces -Wno-comment -MD -MT CMakeFiles/zigcpp.dir/src/zig_clang_cc1as_main.cpp.o -MF CMakeFiles/zigcpp.dir/src/zig_clang_cc1as_main.cpp.o.d -o CMakeFiles/zigcpp.dir/src/zig_clang_cc1as_main.cpp.o -c /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/src/zig_clang_cc1as_main.cpp /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/src/zig_clang_cc1as_main.cpp: In function ‘bool ExecuteAssemblerImpl({anonymous}::AssemblerInvocation&, clang::DiagnosticsEngine&)’: /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/src/zig_clang_cc1as_main.cpp:583:23: warning: ‘Value’ may be used uninitialized [-Wmaybe-uninitialized] 583 | Ctx.setSymbolValue(Parser->getStreamer(), Sym, Value); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/src/zig_clang_cc1as_main.cpp:580:13: note: ‘Value’ was declared here 580 | int64_t Value; | ^~~~~ [ 63%] Linking CXX static library zigcpp/libzigcpp.a /usr/bin/cmake -P CMakeFiles/zigcpp.dir/cmake_clean_target.cmake /usr/bin/cmake -E cmake_link_script CMakeFiles/zigcpp.dir/link.txt --verbose=1 /usr/bin/ar qc zigcpp/libzigcpp.a CMakeFiles/zigcpp.dir/src/zig_llvm.cpp.o "CMakeFiles/zigcpp.dir/src/zig_llvm-ar.cpp.o" CMakeFiles/zigcpp.dir/src/zig_clang.cpp.o CMakeFiles/zigcpp.dir/src/zig_clang_driver.cpp.o CMakeFiles/zigcpp.dir/src/zig_clang_cc1_main.cpp.o CMakeFiles/zigcpp.dir/src/zig_clang_cc1as_main.cpp.o /usr/bin/ranlib zigcpp/libzigcpp.a gmake[3]: Leaving directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' [ 63%] Built target zigcpp [ 68%] Linking C executable zig1 /usr/bin/cmake -E cmake_link_script CMakeFiles/zig1.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wno-unused -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/zig1.dir/zig1.c.o CMakeFiles/zig1.dir/stage1/wasi.c.o -o zig1 -lm gmake[3]: Leaving directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' [ 68%] Built target zig1 /usr/bin/gmake -f CMakeFiles/zig2.dir/build.make CMakeFiles/zig2.dir/depend gmake[3]: Entering directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' [ 78%] Running zig1.wasm to produce /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/compiler_rt.c [ 78%] Running zig1.wasm to produce /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c cd /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0 && /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig1 /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/lib build-exe -ofmt=c -lc -OReleaseSmall --name zig2 -femit-bin="/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c" -target riscv64-linux --dep build_options --dep aro --mod root src/main.zig --mod build_options /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/config.zig --mod aro lib/compiler/aro/aro.zig cd /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0 && /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig1 /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/lib build-obj -ofmt=c -OReleaseSmall --name compiler_rt -femit-bin="/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/compiler_rt.c" -target riscv64-linux --dep build_options --mod root lib/compiler_rt.zig --mod build_options /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/config.zig cd /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0 /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0 /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/CMakeFiles/zig2.dir/DependInfo.cmake "--color=" gmake[3]: Leaving directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/zig2.dir/build.make CMakeFiles/zig2.dir/build gmake[3]: Entering directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' [ 89%] Building C object CMakeFiles/zig2.dir/compiler_rt.c.o [ 89%] Building C object CMakeFiles/zig2.dir/zig2.c.o /usr/bin/gcc -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wno-unused -std=c99 -O0 -fno-stack-protector -MD -MT CMakeFiles/zig2.dir/zig2.c.o -MF CMakeFiles/zig2.dir/zig2.c.o.d -o CMakeFiles/zig2.dir/zig2.c.o -c /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c /usr/bin/gcc -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -Wno-unused -std=c99 -O0 -fno-stack-protector -MD -MT CMakeFiles/zig2.dir/compiler_rt.c.o -MF CMakeFiles/zig2.dir/compiler_rt.c.o.d -o CMakeFiles/zig2.dir/compiler_rt.c.o -c /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/compiler_rt.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/riscv64-redhat-linux/14/include/limits.h:210, from /usr/lib/gcc/riscv64-redhat-linux/14/include/syslimits.h:7, from /usr/lib/gcc/riscv64-redhat-linux/14/include/limits.h:34, from /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/zig.h:7, from /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/compiler_rt.c:2: /usr/include/features.h:422:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 422 | # 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/riscv64-redhat-linux/14/include/limits.h:210, from /usr/lib/gcc/riscv64-redhat-linux/14/include/syslimits.h:7, from /usr/lib/gcc/riscv64-redhat-linux/14/include/limits.h:34, from /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/zig.h:7, from /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:2: /usr/include/features.h:422:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 422 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:266762:16: error: conflicting types for ‘sigaction’; have ‘int(int, const struct Sigaction__3643 *, struct Sigaction__3643 *)’ 266762 | zig_extern int sigaction(int, struct Sigaction__3643 const *, struct Sigaction__3643 *); | ^~~~~~~~~ In file included from /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/stage1/zig.h:275: /usr/include/signal.h:243:12: note: previous declaration of ‘sigaction’ with type ‘int(int, const struct sigaction * restrict, struct sigaction * restrict)’ 243 | extern int sigaction (int __sig, const struct sigaction *__restrict __act, | ^~~~~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:266792:22: error: conflicting types for ‘environ’; have ‘uint8_t **’ {aka ‘unsigned char **’} 266792 | zig_extern uint8_t **environ; | ^~~~~~~ In file included from /usr/include/bits/sigstksz.h:24, from /usr/include/signal.h:328: /usr/include/unistd.h:566:15: note: previous declaration of ‘environ’ with type ‘char **’ 566 | extern char **environ; | ^~~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:266802:22: error: conflicting types for ‘environ’; have ‘uint8_t **’ {aka ‘unsigned char **’} 266802 | zig_extern uint8_t **environ; | ^~~~~~~ /usr/include/unistd.h:566:15: note: previous declaration of ‘environ’ with type ‘char **’ 566 | extern char **environ; | ^~~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:268414:22: error: conflicting types for ‘environ’; have ‘uint8_t **’ {aka ‘unsigned char **’} 268414 | zig_extern uint8_t **environ; | ^~~~~~~ /usr/include/unistd.h:566:15: note: previous declaration of ‘environ’ with type ‘char **’ 566 | extern char **environ; | ^~~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:268446:22: error: conflicting types for ‘environ’; have ‘uint8_t **’ {aka ‘unsigned char **’} 268446 | zig_extern uint8_t **environ; | ^~~~~~~ /usr/include/unistd.h:566:15: note: previous declaration of ‘environ’ with type ‘char **’ 566 | extern char **environ; | ^~~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:268933:21: error: conflicting types for ‘getcwd’; have ‘uint8_t *(uint8_t *, uintptr_t)’ {aka ‘unsigned char *(unsigned char *, long unsigned int)’} 268933 | zig_extern uint8_t *getcwd(uint8_t *, uintptr_t); | ^~~~~~ /usr/include/unistd.h:531:14: note: previous declaration of ‘getcwd’ with type ‘char *(char *, size_t)’ {aka ‘char *(char *, long unsigned int)’} 531 | extern char *getcwd (char *__buf, size_t __size) __THROW __wur; | ^~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:271864:22: error: conflicting types for ‘environ’; have ‘uint8_t **’ {aka ‘unsigned char **’} 271864 | zig_extern uint8_t **environ; | ^~~~~~~ /usr/include/unistd.h:566:15: note: previous declaration of ‘environ’ with type ‘char **’ 566 | extern char **environ; | ^~~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:272116:21: error: conflicting types for ‘readlink’; have ‘intptr_t(const uint8_t *, uint8_t *, uintptr_t)’ {aka ‘long int(const unsigned char *, unsigned char *, long unsigned int)’} 272116 | zig_extern intptr_t readlink(uint8_t const *, uint8_t *, uintptr_t); | ^~~~~~~~ /usr/include/unistd.h:838:16: note: previous declaration of ‘readlink’ with type ‘ssize_t(const char * restrict, char * restrict, size_t)’ {aka ‘long int(const char * restrict, char * restrict, long unsigned int)’} 838 | extern ssize_t readlink (const char *__restrict __path, | ^~~~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:272392:21: error: conflicting types for ‘read’; have ‘intptr_t(int32_t, uint8_t *, uintptr_t)’ {aka ‘long int(int, unsigned char *, long unsigned int)’} 272392 | zig_extern intptr_t read(int32_t, uint8_t *, uintptr_t); | ^~~~ /usr/include/unistd.h:371:16: note: previous declaration of ‘read’ with type ‘ssize_t(int, void *, size_t)’ {aka ‘long int(int, void *, long unsigned int)’} 371 | extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur | ^~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:276532:16: error: conflicting types for ‘execve’; have ‘int(const uint8_t *, const uint8_t * const*, const uint8_t * const*)’ {aka ‘int(const unsigned char *, const unsigned char * const*, const unsigned char * const*)’} 276532 | zig_extern int execve(uint8_t const *, uint8_t const *const *, uint8_t const *const *); | ^~~~~~ /usr/include/unistd.h:572:12: note: previous declaration of ‘execve’ with type ‘int(const char *, char * const*, char * const*)’ 572 | extern int execve (const char *__path, char *const __argv[], | ^~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:276544:21: error: conflicting types for ‘write’; have ‘intptr_t(int32_t, const uint8_t *, uintptr_t)’ {aka ‘long int(int, const unsigned char *, long unsigned int)’} 276544 | zig_extern intptr_t write(int32_t, uint8_t const *, uintptr_t); | ^~~~~ /usr/include/unistd.h:378:16: note: previous declaration of ‘write’ with type ‘ssize_t(int, const void *, size_t)’ {aka ‘long int(int, const void *, long unsigned int)’} 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:277757:16: error: conflicting types for ‘faccessat’; have ‘int(int32_t, const uint8_t *, unsigned int, unsigned int)’ {aka ‘int(int, const unsigned char *, unsigned int, unsigned int)’} 277757 | zig_extern int faccessat(int32_t, uint8_t const *, unsigned int, unsigned int); | ^~~~~~~~~ /usr/include/unistd.h:309:12: note: previous declaration of ‘faccessat’ with type ‘int(int, const char *, int, int)’ 309 | extern int faccessat (int __fd, const char *__file, int __type, int __flag) | ^~~~~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:278284:21: error: conflicting types for ‘pwrite’; have ‘intptr_t(int32_t, const uint8_t *, uintptr_t, intptr_t)’ {aka ‘long int(int, const unsigned char *, long unsigned int, long int)’} 278284 | zig_extern intptr_t pwrite(int32_t, uint8_t const *, uintptr_t, intptr_t); | ^~~~~~ /usr/include/unistd.h:398:16: note: previous declaration of ‘pwrite’ with type ‘ssize_t(int, const void *, size_t, __off_t)’ {aka ‘long int(int, const void *, long unsigned int, long int)’} 398 | extern ssize_t pwrite (int __fd, const void *__buf, size_t __n, | ^~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:280688:16: error: conflicting types for ‘symlinkat’; have ‘int(const uint8_t *, int32_t, const uint8_t *)’ {aka ‘int(const unsigned char *, int, const unsigned char *)’} 280688 | zig_extern int symlinkat(uint8_t const *, int32_t, uint8_t const *); | ^~~~~~~~~ /usr/include/unistd.h:847:12: note: previous declaration of ‘symlinkat’ with type ‘int(const char *, int, const char *)’ 847 | extern int symlinkat (const char *__from, int __tofd, | ^~~~~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:282932:16: error: conflicting types for ‘pipe2’; have ‘int(int32_t (*)[2], uint32_t)’ {aka ‘int(int (*)[2], unsigned int)’} 282932 | zig_extern int pipe2(int32_t (*)[2], uint32_t); | ^~~~~ /usr/include/unistd.h:442:12: note: previous declaration of ‘pipe2’ with type ‘int(int *, int)’ 442 | extern int pipe2 (int __pipedes[2], int __flags) __THROW __wur; | ^~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:283678:21: error: conflicting types for ‘pread’; have ‘intptr_t(int32_t, uint8_t *, uintptr_t, intptr_t)’ {aka ‘long int(int, unsigned char *, long unsigned int, long int)’} 283678 | zig_extern intptr_t pread(int32_t, uint8_t *, uintptr_t, intptr_t); | ^~~~~ /usr/include/unistd.h:389:16: note: previous declaration of ‘pread’ with type ‘ssize_t(int, void *, size_t, __off_t)’ {aka ‘long int(int, void *, long unsigned int, long int)’} 389 | extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, | ^~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:286595:16: error: conflicting types for ‘unlinkat’; have ‘int(int32_t, const uint8_t *, unsigned int)’ {aka ‘int(int, const unsigned char *, unsigned int)’} 286595 | zig_extern int unlinkat(int32_t, uint8_t const *, unsigned int); | ^~~~~~~~ /usr/include/unistd.h:862:12: note: previous declaration of ‘unlinkat’ with type ‘int(int, const char *, int)’ 862 | extern int unlinkat (int __fd, const char *__name, int __flag) | ^~~~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:286599:21: error: conflicting types for ‘readlinkat’; have ‘intptr_t(int32_t, const uint8_t *, uint8_t *, uintptr_t)’ {aka ‘long int(int, const unsigned char *, unsigned char *, long unsigned int)’} 286599 | zig_extern intptr_t readlinkat(int32_t, uint8_t const *, uint8_t *, uintptr_t); | ^~~~~~~~~~ /usr/include/unistd.h:851:16: note: previous declaration of ‘readlinkat’ with type ‘ssize_t(int, const char * restrict, char * restrict, size_t)’ {aka ‘long int(int, const char * restrict, char * restrict, long unsigned int)’} 851 | extern ssize_t readlinkat (int __fd, const char *__restrict __path, | ^~~~~~~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:288331:16: error: conflicting types for ‘chdir’; have ‘int(const uint8_t *)’ {aka ‘int(const unsigned char *)’} 288331 | zig_extern int chdir(uint8_t const *); | ^~~~~ /usr/include/unistd.h:517:12: note: previous declaration of ‘chdir’ with type ‘int(const char *)’ 517 | extern int chdir (const char *__path) __THROW __nonnull ((1)) __wur; | ^~~~~ /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c: In function ‘codegen_llvm_Object_lowerValueToInt__11553’: /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:738849: note: ‘-Wmisleading-indentation’ is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 738849 | for (t64 = (uintptr_t)0ul; t64 != t102.len; ++t64) ((uintptr_t *)t102.ptr)[t64] = (uintptr_t)0ul; /builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build/zig2.c:738849: note: adding ‘-flarge-source-files’ will allow for more column-tracking support, at the expense of compilation time and memory gmake[3]: Leaving directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' gmake[3]: *** [CMakeFiles/zig2.dir/build.make:1053: CMakeFiles/zig2.dir/zig2.c.o] Error 1 gmake[2]: *** [CMakeFiles/Makefile2:173: CMakeFiles/zig2.dir/all] Error 2 gmake[1]: *** [CMakeFiles/Makefile2:207: CMakeFiles/stage3.dir/rule] Error 2 gmake[2]: Leaving directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' gmake[1]: Leaving directory '/builddir/build/BUILD/zig-0.13.0-build/zig-0.13.0/redhat-linux-build' gmake: *** [Makefile:224: stage3] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Umobpg (%build) Bad exit status from /var/tmp/rpm-tmp.Umobpg (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/zig.spec