D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/thinkfan-1.2.1-1.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jHTxL0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf thinkfan-1.2.1 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/thinkfan-1.2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd thinkfan-1.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/thinkfan_systemd.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 /home/pterjan/rpmbuild/tmp/rpm-tmp.5T9k0K + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd thinkfan-1.2.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /usr/bin/cmake -Wno-dev -S . -B build -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DUSE_ATASMART:BOOL=ON . -- The C compiler identification is GNU 12.1.1 -- The CXX compiler identification is GNU 12.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 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Checking for module 'systemd' -- Found systemd, version 251 -- Checking for module 'openrc' -- Package 'openrc', required by 'virtual:world', not found -- Checking for module 'yaml-cpp' -- Found yaml-cpp, version 0.6.3 -- Checking for module 'libatasmart' -- Found libatasmart, version 0.19 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/build + /usr/bin/cmake --build build -j8 --verbose /usr/bin/cmake -S/home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1 -B/home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/build/CMakeFiles /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/build' /usr/bin/gmake -f CMakeFiles/thinkfan.dir/build.make CMakeFiles/thinkfan.dir/depend gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/build' cd /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1 /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1 /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/build /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/build /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/build/CMakeFiles/thinkfan.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/build' /usr/bin/gmake -f CMakeFiles/thinkfan.dir/build.make CMakeFiles/thinkfan.dir/build gmake[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/build' [ 12%] Building CXX object CMakeFiles/thinkfan.dir/src/thinkfan.cpp.o /usr/bin/c++ -DHAVE_SYSTEMD -DPID_FILE=\"/run/thinkfan.pid\" -DUSE_ATASMART -DUSE_NVML -DUSE_YAML -DVERSION=\"1.2\" -I/home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wall -std=c++1y -MD -MT CMakeFiles/thinkfan.dir/src/thinkfan.cpp.o -MF CMakeFiles/thinkfan.dir/src/thinkfan.cpp.o.d -o CMakeFiles/thinkfan.dir/src/thinkfan.cpp.o -c /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/src/thinkfan.cpp [ 25%] Building CXX object CMakeFiles/thinkfan.dir/src/config.cpp.o [ 37%] Building CXX object CMakeFiles/thinkfan.dir/src/drivers.cpp.o /usr/bin/c++ -DHAVE_SYSTEMD -DPID_FILE=\"/run/thinkfan.pid\" -DUSE_ATASMART -DUSE_NVML -DUSE_YAML -DVERSION=\"1.2\" -I/home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wall -std=c++1y -MD -MT CMakeFiles/thinkfan.dir/src/config.cpp.o -MF CMakeFiles/thinkfan.dir/src/config.cpp.o.d -o CMakeFiles/thinkfan.dir/src/config.cpp.o -c /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/src/config.cpp /usr/bin/c++ -DHAVE_SYSTEMD -DPID_FILE=\"/run/thinkfan.pid\" -DUSE_ATASMART -DUSE_NVML -DUSE_YAML -DVERSION=\"1.2\" -I/home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wall -std=c++1y -MD -MT CMakeFiles/thinkfan.dir/src/drivers.cpp.o -MF CMakeFiles/thinkfan.dir/src/drivers.cpp.o.d -o CMakeFiles/thinkfan.dir/src/drivers.cpp.o -c /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/src/drivers.cpp [ 62%] Building CXX object CMakeFiles/thinkfan.dir/src/message.cpp.o [ 62%] Building CXX object CMakeFiles/thinkfan.dir/src/parser.cpp.o [ 75%] Building CXX object CMakeFiles/thinkfan.dir/src/error.cpp.o /usr/bin/c++ -DHAVE_SYSTEMD -DPID_FILE=\"/run/thinkfan.pid\" -DUSE_ATASMART -DUSE_NVML -DUSE_YAML -DVERSION=\"1.2\" -I/home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wall -std=c++1y -MD -MT CMakeFiles/thinkfan.dir/src/message.cpp.o -MF CMakeFiles/thinkfan.dir/src/message.cpp.o.d -o CMakeFiles/thinkfan.dir/src/message.cpp.o -c /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/src/message.cpp /usr/bin/c++ -DHAVE_SYSTEMD -DPID_FILE=\"/run/thinkfan.pid\" -DUSE_ATASMART -DUSE_NVML -DUSE_YAML -DVERSION=\"1.2\" -I/home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wall -std=c++1y -MD -MT CMakeFiles/thinkfan.dir/src/parser.cpp.o -MF CMakeFiles/thinkfan.dir/src/parser.cpp.o.d -o CMakeFiles/thinkfan.dir/src/parser.cpp.o -c /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/src/parser.cpp /usr/bin/c++ -DHAVE_SYSTEMD -DPID_FILE=\"/run/thinkfan.pid\" -DUSE_ATASMART -DUSE_NVML -DUSE_YAML -DVERSION=\"1.2\" -I/home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wall -std=c++1y -MD -MT CMakeFiles/thinkfan.dir/src/error.cpp.o -MF CMakeFiles/thinkfan.dir/src/error.cpp.o.d -o CMakeFiles/thinkfan.dir/src/error.cpp.o -c /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/src/error.cpp [ 87%] Building CXX object CMakeFiles/thinkfan.dir/src/yamlconfig.cpp.o /usr/bin/c++ -DHAVE_SYSTEMD -DPID_FILE=\"/run/thinkfan.pid\" -DUSE_ATASMART -DUSE_NVML -DUSE_YAML -DVERSION=\"1.2\" -I/home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wall -std=c++1y -MD -MT CMakeFiles/thinkfan.dir/src/yamlconfig.cpp.o -MF CMakeFiles/thinkfan.dir/src/yamlconfig.cpp.o.d -o CMakeFiles/thinkfan.dir/src/yamlconfig.cpp.o -c /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/src/yamlconfig.cpp /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/src/error.cpp: In constructor 'thinkfan::ConfigError::ConfigError(const thinkfan::string&, const YAML::Mark&, const thinkfan::string&, const thinkfan::string&)': /home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/src/error.cpp:182:40: error: aggregate 'std::array line' has incomplete type and cannot be defined 182 | std::array line; | ^~~~ gmake[2]: *** [CMakeFiles/thinkfan.dir/build.make:149: CMakeFiles/thinkfan.dir/src/error.cpp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/build' gmake[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/thinkfan.dir/all] Error 2 gmake[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/thinkfan-1.2.1/build' gmake: *** [Makefile:139: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.5T9k0K (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.5T9k0K (%build) I: [iurt_root_command] ERROR: chroot