Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/fish.spec'], chrootPath='/var/lib/mock/f42-build-886327-187161/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=604800uid=985gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._uu9yvjb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._uu9yvjb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f175daaee6c847c3b78555274e03052a', '-D', '/var/lib/mock/f42-build-886327-187161/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._uu9yvjb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/fish.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1736985600 Wrote: /builddir/build/SRPMS/fish-3.7.1-2.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/fish.spec'], chrootPath='/var/lib/mock/f42-build-886327-187161/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=604800uid=985gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._uu9yvjb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._uu9yvjb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3173ad4c9f96414b97fc4319bb7f2f1f', '-D', '/var/lib/mock/f42-build-886327-187161/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._uu9yvjb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/fish.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1736985600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ieLui4 + umask 022 + cd /builddir/build/BUILD/fish-3.7.1-build + test -d /builddir/build/BUILD/fish-3.7.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/fish-3.7.1-build + /usr/bin/rm -rf /builddir/build/BUILD/fish-3.7.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/fish-3.7.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/fish-3.7.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tHDnt3 + umask 022 + cd /builddir/build/BUILD/fish-3.7.1-build + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/gpgkey-003837986104878835FA516D7A67D962D88A709A.gpg --signature=/builddir/build/SOURCES/fish-3.7.1.tar.xz.asc --data=/builddir/build/SOURCES/fish-3.7.1.tar.xz gpgv: Signature made Tue Mar 19 00:12:22 2024 EDT gpgv: using RSA key 9E1DE0673CCC032919D18526C0B969B2974E888E gpgv: Good signature from "David Adam " gpgv: aka "David Adam (keybase.io/zanchey)" gpgv: aka "David Adam " + cd /builddir/build/BUILD/fish-3.7.1-build + rm -rf fish-3.7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fish-3.7.1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd fish-3.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ++ find share/tools -type f -name '*.py' + for f in $(find share/tools -type f -name '*.py') + sed -i -e '1{s@^#!.*@#!/usr/bin/python3@}' share/tools/create_manpage_completions.py + for f in $(find share/tools -type f -name '*.py') + sed -i -e '1{s@^#!.*@#!/usr/bin/python3@}' share/tools/deroff.py + for f in $(find share/tools -type f -name '*.py') + sed -i -e '1{s@^#!.*@#!/usr/bin/python3@}' share/tools/web_config/webconfig.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Kmgl4f + umask 022 + cd /builddir/build/BUILD/fish-3.7.1-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 fish-3.7.1 + 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 -GNinja -DBUILD_DOCS=ON -DCMAKE_INSTALL_SYSCONFDIR=/etc -Dextra_completionsdir=/usr/share/fish/vendor_completions.d -Dextra_functionsdir=/usr/share/fish/vendor_functions.d -Dextra_confdir=/usr/share/fish/vendor_conf.d CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. CMake Deprecation Warning at CMakeLists.txt:4 (cmake_policy): The OLD behavior for policy CMP0066 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- The C compiler identification is GNU 15.0.1 -- The CXX compiler identification is GNU 15.0.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 -- Setting build type to default 'RelWithDebInfo' -- Performing Test HAS_NO_REDUNDANT_MOVE -- Performing Test HAS_NO_REDUNDANT_MOVE - Failed -- Performing Test HAS_REDUNDANT_MOVE -- Performing Test HAS_REDUNDANT_MOVE - Success -- Performing Test EMPTY_VALUE_INIT_ACCEPTED -- Performing Test EMPTY_VALUE_INIT_ACCEPTED - Success -- Performing Test DISABLE_STATIC_DESTRUCTORS -- Performing Test DISABLE_STATIC_DESTRUCTORS - Failed -- Found Curses: /usr/lib64/libcurses.so -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for backtrace_symbols -- Looking for backtrace_symbols - found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for futimens -- Looking for futimens - found -- Looking for ctermid_r -- Looking for ctermid_r - not found -- Performing Test HAVE_STRUCT_DIRENT_D_TYPE -- Performing Test HAVE_STRUCT_DIRENT_D_TYPE - Success -- Looking for dirfd -- Looking for dirfd - found -- Looking for C++ include execinfo.h -- Looking for C++ include execinfo.h - found -- Looking for flock -- Looking for flock - found -- Looking for getpwent -- Looking for getpwent - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for gettext -- Looking for gettext - found -- Looking for killpg -- Looking for killpg - found -- Looking for mkostemp -- Looking for mkostemp - found -- Looking for include files curses.h, term.h -- Looking for include files curses.h, term.h - found -- Looking for C++ include siginfo.h -- Looking for C++ include siginfo.h - not found -- Looking for C++ include spawn.h -- Looking for C++ include spawn.h - found -- Performing Test HAVE_STRUCT_STAT_ST_CTIME_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_CTIME_NSEC - Failed -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success -- Looking for C++ include sys/ioctl.h -- Looking for C++ include sys/ioctl.h - found -- Looking for C++ include sys/select.h -- Looking for C++ include sys/select.h - found -- Looking for include files sys/types.h, sys/sysctl.h -- Looking for include files sys/types.h, sys/sysctl.h - not found -- Looking for eventfd -- Looking for eventfd - found -- Looking for pipe2 -- Looking for pipe2 - found -- Looking for wcscasecmp -- Looking for wcscasecmp - found -- Looking for wcsncasecmp -- Looking for wcsncasecmp - found -- Looking for include file xlocale.h -- Looking for include file xlocale.h - not found -- Looking for wcstod_l -- Looking for wcstod_l - found -- Looking for uselocale -- Looking for uselocale - not found -- Performing Test _HAVE_WINSIZE -- Performing Test _HAVE_WINSIZE - Success -- Looking for TIOCGWINSZ -- Looking for TIOCGWINSZ - found -- Looking for C++ include sys/types.h -- Looking for C++ include sys/types.h - found -- Looking for C++ include stdint.h -- Looking for C++ include stdint.h - found -- Looking for C++ include stddef.h -- Looking for C++ include stddef.h - found -- Check size of wchar_t[8] -- Check size of wchar_t[8] - done -- Performing Test TPARM_TAKES_VARARGS -- Performing Test TPARM_TAKES_VARARGS - Success -- Performing Test TPUTS_USES_INT_ARG -- Performing Test TPUTS_USES_INT_ARG - Success -- Performing Test HAVE_STD__MAKE_UNIQUE -- Performing Test HAVE_STD__MAKE_UNIQUE - Failed -- Performing Test HAVE_CX11_THREAD_LOCAL -- Performing Test HAVE_CX11_THREAD_LOCAL - Success -- Performing Test LIBATOMIC_NOT_NEEDED -- Performing Test LIBATOMIC_NOT_NEEDED - Success -- Performing Test HAVE_WAITSTATUS_SIGNAL_RET -- Performing Test HAVE_WAITSTATUS_SIGNAL_RET - Failed -- Found Gettext: /usr/bin/msgmerge (found version "0.23.1") -- Performing Test HAVE__NL_MSG_CAT_CNTR -- Performing Test HAVE__NL_MSG_CAT_CNTR - Success -- Using system PCRE2 library /usr/include CMake Deprecation Warning at cmake/Tests.cmake:48 (cmake_policy): The OLD behavior for policy CMP0037 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:204 (include) CMake Warning (dev) at cmake/Tests.cmake:82 (add_custom_command): Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given. Assuming POST_BUILD to preserve backward compatibility. Policy CMP0175 is not set: add_custom_command() rejects invalid arguments. Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): CMakeLists.txt:204 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at cmake/Tests.cmake:91 (add_custom_command): Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given. Assuming POST_BUILD to preserve backward compatibility. Policy CMP0175 is not set: add_custom_command() rejects invalid arguments. Run "cmake --help-policy CMP0175" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): CMakeLists.txt:204 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- The following features have been enabled: * gettext, translate messages with gettext * Documentation, user manual and documentation -- The following OPTIONAL packages have been found: * Curses * Gettext -- The following REQUIRED packages have been found: * Threads -- Configuring done (58.0s) -- Generating done (0.8s) 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 CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose -t all doc fish_tests Change Dir: '/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build' Run Build Command(s): /usr/bin/ninja-build -v -j 4 all doc fish_tests [0/2] /usr/bin/cmake -P /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build/CMakeFiles/VerifyGlobs.cmake [1/124] cd /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build && mkdir -p /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build/share && test -e /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build/share/functions || ln -sf /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/share/functions/ /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build/share/functions [2/124] cd /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1 && /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/build_tools/git_version_gen.sh /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build FISH_BUILD_VERSION=3.7.1 [3/124] cd /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build && /usr/bin/cmake -E copy_directory /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/tests/ /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build/tests/ [4/124] cd /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1 && /usr/bin/msgfmt -o /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build/de.gmo po/de.po [5/124] /usr/bin/g++ -DBINDIR=L\"/usr/bin\" -DCMAKE_BINARY_DIR=\"/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build\" -DCMAKE_SOURCE_DIR=\"/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1\" -DDATADIR=L\"/usr/share\" -DDOCDIR=L\"/usr/share/doc/fish\" -DLOCALEDIR=\"/usr/share/locale\" -DPREFIX=L\"/usr\" -DSYSCONFDIR=L\"/etc\" -D_ATFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_REENTRANT -D_UNICODE=1 -I/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build -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 -Wredundant-move -O2 -g -DNDEBUG -std=gnu++11 -UNDEBUG -fdiagnostics-color=always -Wall -Wextra -Wno-comment -Wno-address -fno-exceptions -MD -MT CMakeFiles/fish_test_helper.dir/src/fish_test_helper.cpp.o -MF CMakeFiles/fish_test_helper.dir/src/fish_test_helper.cpp.o.d -o CMakeFiles/fish_test_helper.dir/src/fish_test_helper.cpp.o -c /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/src/fish_test_helper.cpp [6/124] /usr/bin/g++ -DBINDIR=L\"/usr/bin\" -DCMAKE_BINARY_DIR=\"/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build\" -DCMAKE_SOURCE_DIR=\"/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1\" -DDATADIR=L\"/usr/share\" -DDOCDIR=L\"/usr/share/doc/fish\" -DLOCALEDIR=\"/usr/share/locale\" -DPREFIX=L\"/usr\" -DSYSCONFDIR=L\"/etc\" -D_ATFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_REENTRANT -D_UNICODE=1 -I/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build -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 -Wredundant-move -O2 -g -DNDEBUG -std=gnu++11 -UNDEBUG -fdiagnostics-color=always -Wall -Wextra -Wno-comment -Wno-address -fno-exceptions -MD -MT CMakeFiles/fishlib.dir/src/color.cpp.o -MF CMakeFiles/fishlib.dir/src/color.cpp.o.d -o CMakeFiles/fishlib.dir/src/color.cpp.o -c /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/src/color.cpp FAILED: CMakeFiles/fishlib.dir/src/color.cpp.o /usr/bin/g++ -DBINDIR=L\"/usr/bin\" -DCMAKE_BINARY_DIR=\"/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build\" -DCMAKE_SOURCE_DIR=\"/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1\" -DDATADIR=L\"/usr/share\" -DDOCDIR=L\"/usr/share/doc/fish\" -DLOCALEDIR=\"/usr/share/locale\" -DPREFIX=L\"/usr\" -DSYSCONFDIR=L\"/etc\" -D_ATFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_REENTRANT -D_UNICODE=1 -I/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build -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 -Wredundant-move -O2 -g -DNDEBUG -std=gnu++11 -UNDEBUG -fdiagnostics-color=always -Wall -Wextra -Wno-comment -Wno-address -fno-exceptions -MD -MT CMakeFiles/fishlib.dir/src/color.cpp.o -MF CMakeFiles/fishlib.dir/src/color.cpp.o.d -o CMakeFiles/fishlib.dir/src/color.cpp.o -c /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/src/color.cpp In file included from /usr/include/c++/15/bits/basic_string.h:56, from /usr/include/c++/15/string:56, from /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/src/color.h:7, from /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/src/color.cpp:4: /usr/include/c++/15/bits/version.h:476:98: error: expected ‘,’ or ‘...’ before ‘]’ token [-Wtemplate-body] 476 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_invocable) | ^ In file included from /usr/include/c++/15/memory:82, from /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/src/common.h:22, from /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/src/color.h:9: /usr/include/c++/15/bits/shared_ptr.h:310:65: error: expected ‘)’ before ‘]’ token [-Wtemplate-body] 310 | shared_ptr(const shared_ptr<_Yp>& __r, element_type* __p) noexcept | ~ ^ | ) /usr/include/c++/15/bits/shared_ptr.h: In constructor ‘std::shared_ptr<_Tp>::shared_ptr(const std::shared_ptr<_Yp>&, element_type*)’: /usr/include/c++/15/bits/shared_ptr.h:311:9: error: expected identifier [-Wtemplate-body] 311 | : __shared_ptr<_Tp>(__r, __p) { } | ^ /usr/include/c++/15/bits/version.h:476:98: error: named return values are no longer supported [-Wtemplate-body] 476 | # if defined(__glibcxx_want_all) || defined(__glibcxx_want_is_invocable) | ^ [7/124] /usr/bin/g++ -DBINDIR=L\"/usr/bin\" -DCMAKE_BINARY_DIR=\"/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build\" -DCMAKE_SOURCE_DIR=\"/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1\" -DDATADIR=L\"/usr/share\" -DDOCDIR=L\"/usr/share/doc/fish\" -DLOCALEDIR=\"/usr/share/locale\" -DPREFIX=L\"/usr\" -DSYSCONFDIR=L\"/etc\" -D_ATFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_REENTRANT -D_UNICODE=1 -I/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build -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 -Wredundant-move -O2 -g -DNDEBUG -std=gnu++11 -UNDEBUG -fdiagnostics-color=always -Wall -Wextra -Wno-comment -Wno-address -fno-exceptions -MD -MT CMakeFiles/fishlib.dir/src/abbrs.cpp.o -MF CMakeFiles/fishlib.dir/src/abbrs.cpp.o.d -o CMakeFiles/fishlib.dir/src/abbrs.cpp.o -c /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/src/abbrs.cpp [8/124] /usr/bin/g++ -DBINDIR=L\"/usr/bin\" -DCMAKE_BINARY_DIR=\"/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build\" -DCMAKE_SOURCE_DIR=\"/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1\" -DDATADIR=L\"/usr/share\" -DDOCDIR=L\"/usr/share/doc/fish\" -DLOCALEDIR=\"/usr/share/locale\" -DPREFIX=L\"/usr\" -DSYSCONFDIR=L\"/etc\" -D_ATFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_REENTRANT -D_UNICODE=1 -I/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build -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 -Wredundant-move -O2 -g -DNDEBUG -std=gnu++11 -UNDEBUG -fdiagnostics-color=always -Wall -Wextra -Wno-comment -Wno-address -fno-exceptions -MD -MT CMakeFiles/fishlib.dir/src/autoload.cpp.o -MF CMakeFiles/fishlib.dir/src/autoload.cpp.o.d -o CMakeFiles/fishlib.dir/src/autoload.cpp.o -c /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/src/autoload.cpp FAILED: CMakeFiles/fishlib.dir/src/autoload.cpp.o /usr/bin/g++ -DBINDIR=L\"/usr/bin\" -DCMAKE_BINARY_DIR=\"/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build\" -DCMAKE_SOURCE_DIR=\"/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1\" -DDATADIR=L\"/usr/share\" -DDOCDIR=L\"/usr/share/doc/fish\" -DLOCALEDIR=\"/usr/share/locale\" -DPREFIX=L\"/usr\" -DSYSCONFDIR=L\"/etc\" -D_ATFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_REENTRANT -D_UNICODE=1 -I/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build -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 -Wredundant-move -O2 -g -DNDEBUG -std=gnu++11 -UNDEBUG -fdiagnostics-color=always -Wall -Wextra -Wno-comment -Wno-address -fno-exceptions -MD -MT CMakeFiles/fishlib.dir/src/autoload.cpp.o -MF CMakeFiles/fishlib.dir/src/autoload.cpp.o.d -o CMakeFiles/fishlib.dir/src/autoload.cpp.o -c /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/src/autoload.cpp *** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins. Event | Plugins PLUGIN_FINISH_UNIT | annobin: Generate final annotations PLUGIN_START_UNIT | annobin: Generate global annotations PLUGIN_ALL_PASSES_START | annobin: Generate per-function annotations PLUGIN_ALL_PASSES_END | annobin: Register per-function end symbols cc1plus: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source. See for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. [9/124] /usr/bin/g++ -DBINDIR=L\"/usr/bin\" -DCMAKE_BINARY_DIR=\"/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build\" -DCMAKE_SOURCE_DIR=\"/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1\" -DDATADIR=L\"/usr/share\" -DDOCDIR=L\"/usr/share/doc/fish\" -DLOCALEDIR=\"/usr/share/locale\" -DPREFIX=L\"/usr\" -DSYSCONFDIR=L\"/etc\" -D_ATFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_REENTRANT -D_UNICODE=1 -I/builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/redhat-linux-build -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 -Wredundant-move -O2 -g -DNDEBUG -std=gnu++11 -UNDEBUG -fdiagnostics-color=always -Wall -Wextra -Wno-comment -Wno-address -fno-exceptions -MD -MT CMakeFiles/fishlib.dir/src/ast.cpp.o -MF CMakeFiles/fishlib.dir/src/ast.cpp.o.d -o CMakeFiles/fishlib.dir/src/ast.cpp.o -c /builddir/build/BUILD/fish-3.7.1-build/fish-3.7.1/src/ast.cpp ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.Kmgl4f (%build) Bad exit status from /var/tmp/rpm-tmp.Kmgl4f (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 3173ad4c9f96414b97fc4319bb7f2f1f -D /var/lib/mock/f42-build-886327-187161/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._uu9yvjb:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/fish.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 3173ad4c9f96414b97fc4319bb7f2f1f -D /var/lib/mock/f42-build-886327-187161/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv._uu9yvjb:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/fish.spec'