<86>Oct 29 17:23:25 userdel[666556]: delete user 'rooter' <86>Oct 29 17:23:25 userdel[666556]: removed group 'rooter' owned by 'rooter' <86>Oct 29 17:23:25 groupadd[666747]: group added to /etc/group: name=rooter, GID=1295 <86>Oct 29 17:23:25 groupadd[666747]: group added to /etc/gshadow: name=rooter <86>Oct 29 17:23:25 groupadd[666747]: new group: name=rooter, GID=1295 <86>Oct 29 17:23:25 useradd[666914]: new user: name=rooter, UID=1295, GID=1295, home=/root, shell=/bin/bash, from=none <86>Oct 29 17:23:25 userdel[667123]: delete user 'builder' <86>Oct 29 17:23:25 userdel[667123]: removed group 'builder' owned by 'builder' <86>Oct 29 17:23:25 userdel[667123]: removed shadow group 'builder' owned by 'builder' <86>Oct 29 17:23:25 groupadd[667294]: group added to /etc/group: name=builder, GID=1296 <86>Oct 29 17:23:25 groupadd[667294]: group added to /etc/gshadow: name=builder <86>Oct 29 17:23:25 groupadd[667294]: new group: name=builder, GID=1296 <86>Oct 29 17:23:25 useradd[667363]: new user: name=builder, UID=1296, GID=1296, home=/usr/src, shell=/bin/bash, from=none <13>Oct 29 17:23:31 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718968 installed <13>Oct 29 17:23:31 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Oct 29 17:23:31 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Oct 29 17:23:31 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Oct 29 17:23:31 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Oct 29 17:23:31 rpmi: libgnutls30-3.8.4-alt1 sisyphus+343729.100.2.1 1711571288 installed <13>Oct 29 17:23:31 rpmi: libngtcp2.16-1.7.0-alt1 sisyphus+356415.200.1.1 1725031912 installed <13>Oct 29 17:23:31 rpmi: libngtcp2_crypto_gnutls8-1.7.0-alt1 sisyphus+356415.200.1.1 1725031912 installed <13>Oct 29 17:23:31 rpmi: cmake-modules-3.29.3-alt1 sisyphus+348648.100.2.1 1716590540 installed <13>Oct 29 17:23:31 rpmi: libuv-1.48.0-alt2 sisyphus+357579.100.1.1 1726426171 installed <13>Oct 29 17:23:31 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>Oct 29 17:23:31 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+346331.200.2.1 1716448551 installed <13>Oct 29 17:23:31 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349835 installed <13>Oct 29 17:23:31 rpmi: publicsuffix-list-dafsa-20240911-alt1 sisyphus+357399.100.1.1 1726160479 installed <13>Oct 29 17:23:31 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684769 installed <13>Oct 29 17:23:31 rpmi: libnghttp3.9-1.5.0-alt1 sisyphus+356415.100.1.1 1725031855 installed <13>Oct 29 17:23:31 rpmi: libnghttp2-1.63.0-alt1 sisyphus+356414.100.1.1 1725031508 installed <13>Oct 29 17:23:31 rpmi: openldap-common-2.6.8-alt1 sisyphus+351621.100.1.1 1719420449 installed <13>Oct 29 17:23:31 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626058899 installed <13>Oct 29 17:23:31 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769687 installed <13>Oct 29 17:23:31 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>Oct 29 17:23:31 rpmi: liblmdb-0.9.32-alt1 sisyphus+342426.100.1.1 1710124288 installed <13>Oct 29 17:23:31 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Oct 29 17:23:31 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed <13>Oct 29 17:23:31 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Oct 29 17:23:31 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Oct 29 17:23:31 rpmi: rpm-macros-cmake-3.29.1-alt1 sisyphus+344518.300.3.1 1712379787 installed <13>Oct 29 17:23:31 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Oct 29 17:23:31 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Oct 29 17:23:31 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Oct 29 17:23:31 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Oct 29 17:23:31 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Oct 29 17:23:32 rpmi: libcrypto3-3.1.7-alt1 sisyphus+356755.100.1.1 1725388416 installed <13>Oct 29 17:23:32 rpmi: libssl3-3.1.7-alt1 sisyphus+356755.100.1.1 1725388416 installed <86>Oct 29 17:23:32 groupadd[682305]: group added to /etc/group: name=_keytab, GID=999 <86>Oct 29 17:23:32 groupadd[682305]: group added to /etc/gshadow: name=_keytab <86>Oct 29 17:23:32 groupadd[682305]: new group: name=_keytab, GID=999 <13>Oct 29 17:23:32 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735141 installed <13>Oct 29 17:23:32 rpmi: libgsasl18-2.2.1-alt2 sisyphus+359713.200.2.1 1728905430 installed <86>Oct 29 17:23:32 groupadd[682704]: group added to /etc/group: name=sasl, GID=998 <86>Oct 29 17:23:32 groupadd[682704]: group added to /etc/gshadow: name=sasl <86>Oct 29 17:23:32 groupadd[682704]: new group: name=sasl, GID=998 <13>Oct 29 17:23:32 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112544 installed <13>Oct 29 17:23:32 rpmi: libldap2-2.6.8-alt1 sisyphus+351621.100.1.1 1719420449 installed <13>Oct 29 17:23:32 rpmi: libarchive13-3.7.5-alt2 sisyphus+358189.100.1.1 1727162763 installed <13>Oct 29 17:23:32 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593137 installed <13>Oct 29 17:23:32 rpmi: libcurl-8.10.0-alt1 sisyphus+357271.100.1.1 1726044759 installed <13>Oct 29 17:23:32 rpmi: cmake-3.29.3-alt1 sisyphus+348648.100.2.1 1716590540 installed <13>Oct 29 17:23:35 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>Oct 29 17:23:35 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed <13>Oct 29 17:23:35 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>Oct 29 17:23:36 rpmi: python3-3.12.7-alt1 sisyphus+358796.100.1.1 1727844808 installed <13>Oct 29 17:23:36 rpmi: python3-base-3.12.7-alt1 sisyphus+358796.100.1.1 1727844808 installed <13>Oct 29 17:23:36 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed <13>Oct 29 17:23:36 rpmi: tests-for-installed-python3-pkgs-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Oct 29 17:23:36 rpmi: perl-Filter-1.64-alt1 sisyphus+335067.400.1.1 1700901412 installed <13>Oct 29 17:23:36 rpmi: perl-Encode-3.21-alt1 sisyphus+343095.100.1.1 1710875477 installed <13>Oct 29 17:23:36 rpmi: perl-Locale-gettext-1.07-alt1.2 sisyphus+335067.10500.2.2 1701154168 installed <13>Oct 29 17:23:36 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Oct 29 17:23:37 rpmi: libstdc++14-devel-14.2.1-alt1 icarus+359818.100.1.1 1729089654 installed <13>Oct 29 17:23:38 rpmi: gcc14-c++-14.2.1-alt1 icarus+359818.100.1.1 1729089654 installed <13>Oct 29 17:23:38 rpmi: gcc-c++-14-alt1 icarus+359818.400.1.1 1729097861 installed <13>Oct 29 17:23:38 rpmi: help2man-1.48.5-alt1 sisyphus+346293.200.2.1 1716441067 installed <13>Oct 29 17:23:38 rpmi: rpm-build-python3-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/rocm-smi-lib-6.1.2-alt0.2.nosrc.rpm (w1.gzdio) Installing rocm-smi-lib-6.1.2-alt0.2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.77841 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf rocm-smi-lib-6.1.2 + echo 'Source #0 (rocm-smi-lib-6.1.2.tar):' Source #0 (rocm-smi-lib-6.1.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/rocm-smi-lib-6.1.2.tar + cd rocm-smi-lib-6.1.2 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (rocm-smi-alt-rocm-path.patch):' Patch #0 (rocm-smi-alt-rocm-path.patch): + /usr/bin/patch -p1 patching file python_smi_tools/rsmiBindingsInit.py.in + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.77841 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd rocm-smi-lib-6.1.2 + mkdir -p x86_64-alt-linux + cmake -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' -DCMAKE_INSTALL_PREFIX=/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_DESTINATION=lib64 -DLIB_SUFFIX=64 -S . -B x86_64-alt-linux '-DCMAKE_CXX_FLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-error=return-type' -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=on -DCMAKE_INSTALL_LIBDIR=lib64 /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/cmake_modules/version_util.sh: line 18: git: command not found /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/cmake_modules/version_util.sh: line 22: git: command not found /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/cmake_modules/version_util.sh: line 23: git: command not found 0 were found since previous release Package version: 7.2.0.0-local-build-0-unknown -- The C compiler identification is GNU 14.2.1 -- The CXX compiler identification is GNU 14.2.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 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& CMake ROCm SMI (Library) &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Build Configuration: --------Proj Src Dir: /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2 Package version: 7.2.0.0-local-build-0-unknown SOVERSION: 1.0 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& CMake OAM (Library) &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Build Configuration: --------Proj Src Dir: /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2 Package version: 7.2.0.0-local-build-0-unknown SOVERSION: 1.0 -- Configuring done (0.9s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS LIB_DESTINATION LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux + cmake --build x86_64-alt-linux --verbose --parallel 8 Change Dir: '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j8 gmake: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' /usr/bin/cmake -S/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2 -B/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux --check-build-system CMakeFiles/Makefile.cmake 0 gmake: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/CMakeFiles /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux//CMakeFiles/progress.marks gmake: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' /usr/bin/gmake -f CMakeFiles/Makefile2 all /usr/bin/gmake -f rocm_smi/CMakeFiles/rocm_smi64.dir/build.make rocm_smi/CMakeFiles/rocm_smi64.dir/depend /usr/bin/gmake -f rocm_smi/CMakeFiles/link-rocm-smi.dir/build.make rocm_smi/CMakeFiles/link-rocm-smi.dir/depend /usr/bin/gmake -f oam/CMakeFiles/oam.dir/build.make oam/CMakeFiles/oam.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2 /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/rocm_smi /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/rocm_smi /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/rocm_smi/CMakeFiles/link-rocm-smi.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' /usr/bin/gmake -f rocm_smi/CMakeFiles/link-rocm-smi.dir/build.make rocm_smi/CMakeFiles/link-rocm-smi.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2 /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/oam /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/oam /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/oam/CMakeFiles/oam.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' /usr/bin/gmake -f oam/CMakeFiles/oam.dir/build.make oam/CMakeFiles/oam.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/rocm_smi && /usr/bin/cmake -E create_symlink ../libexec/rocm_smi/rocm_smi.py /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/rocm_smi/bin/rocm-smi gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' [ 3%] Built target link-rocm-smi gmake[1]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2 /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/rocm_smi /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/rocm_smi /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/rocm_smi/CMakeFiles/rocm_smi64.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' /usr/bin/gmake -f rocm_smi/CMakeFiles/rocm_smi64.dir/build.make rocm_smi/CMakeFiles/rocm_smi64.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' [ 6%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_main.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/oam && /usr/bin/c++ -Doam_EXPORTS -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/third_party/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/oam/include -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/common/shared_mutex -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-error=return-type -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -DFORTIFY_SOURCE=2 -fstack-protector-all -Wcast-align -Wl,-z,noexecstack -Wl,-znoexecheap -Wl,-z,relro -Wtrampolines -Wl,-z,now -O2 -g -DNDEBUG -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi_main.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_main.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_main.cc.o -c /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc In file included from /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:67: /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h: In member function 'amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h:246:18: error: assignment of member 'dismiss_' in read-only object 246 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc: In member function 'uint32_t amd::smi::RocmSMI::DiscoverAmdgpuDevices()': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:780:47: warning: '~' on an expression of type 'bool' [-Wbool-operation] 780 | ~(ret_unique_id != 0 || ret_loc_id != 0 || ret_unique_id != 0)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:780:47: note: did you mean to use logical not ('!')? /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:777:9: warning: unused variable 'ret_domain' [-Wunused-variable] 777 | int ret_domain = | ^~~~~~~~~~ /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:826:36: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 826 | for (uint32_t cardId = 0; cardId <= max_cardId; cardId++) { | ~~~~~~~^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:970:14: warning: unused variable 'erasedNodes' [-Wunused-variable] 970 | auto erasedNodes = allSystemNodes.erase(0); | ^~~~~~~~~~~ gmake[2]: *** [oam/CMakeFiles/oam.dir/build.make:93: oam/CMakeFiles/oam.dir/__/src/rocm_smi_main.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' [ 12%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_power_mon.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/oam && /usr/bin/c++ -Doam_EXPORTS -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/third_party/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/oam/include -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/common/shared_mutex -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-error=return-type -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -DFORTIFY_SOURCE=2 -fstack-protector-all -Wcast-align -Wl,-z,noexecstack -Wl,-znoexecheap -Wl,-z,relro -Wtrampolines -Wl,-z,now -O2 -g -DNDEBUG -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi_power_mon.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_power_mon.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_power_mon.cc.o -c /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_power_mon.cc In file included from /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_power_mon.cc:52: /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h: In member function 'amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h:246:18: error: assignment of member 'dismiss_' in read-only object 246 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ gmake[2]: *** [oam/CMakeFiles/oam.dir/build.make:121: oam/CMakeFiles/oam.dir/__/src/rocm_smi_power_mon.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' [ 15%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_utils.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/oam && /usr/bin/c++ -Doam_EXPORTS -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/third_party/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/oam/include -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/common/shared_mutex -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-error=return-type -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -DFORTIFY_SOURCE=2 -fstack-protector-all -Wcast-align -Wl,-z,noexecstack -Wl,-znoexecheap -Wl,-z,relro -Wtrampolines -Wl,-z,now -O2 -g -DNDEBUG -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi_utils.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_utils.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_utils.cc.o -c /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_utils.cc In file included from /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_utils.cc:68: /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h: In member function 'amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h:246:18: error: assignment of member 'dismiss_' in read-only object 246 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_utils.cc: In function 'std::string amd::smi::splitString(std::string, char)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_utils.cc:1045:1: warning: control reaches end of non-void function [-Wreturn-type] 1045 | } | ^ /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_utils.cc: At global scope: /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_utils.cc:1080:20: warning: 'std::string amd::smi::pt_vddc_curve(rsmi_od_volt_curve*)' defined but not used [-Wunused-function] 1080 | static std::string pt_vddc_curve(rsmi_od_volt_curve *c) { | ^~~~~~~~~~~~~ gmake[2]: *** [oam/CMakeFiles/oam.dir/build.make:135: oam/CMakeFiles/oam.dir/__/src/rocm_smi_utils.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' [ 21%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/rocm_smi && /usr/bin/c++ -Drocm_smi64_EXPORTS -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/third_party/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/rocm_smi -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/common/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/rocm_smi/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-error=return-type -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -DFORTIFY_SOURCE=2 -fstack-protector-all -Wcast-align -Wl,-z,noexecstack -Wl,-znoexecheap -Wl,-z,relro -Wtrampolines -Wl,-z,now -O2 -g -DNDEBUG -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o -c /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_device.cc In file included from /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_device.cc:67: /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h: In member function 'amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h:246:18: error: assignment of member 'dismiss_' in read-only object 246 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ gmake[2]: *** [rocm_smi/CMakeFiles/rocm_smi64.dir/build.make:79: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' [ 3%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_device.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/oam && /usr/bin/c++ -Doam_EXPORTS -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/third_party/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/oam/include -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/common/shared_mutex -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-error=return-type -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -DFORTIFY_SOURCE=2 -fstack-protector-all -Wcast-align -Wl,-z,noexecstack -Wl,-znoexecheap -Wl,-z,relro -Wtrampolines -Wl,-z,now -O2 -g -DNDEBUG -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi_device.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_device.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_device.cc.o -c /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_device.cc In file included from /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_device.cc:67: /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h: In member function 'amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h:246:18: error: assignment of member 'dismiss_' in read-only object 246 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ gmake[2]: *** [oam/CMakeFiles/oam.dir/build.make:79: oam/CMakeFiles/oam.dir/__/src/rocm_smi_device.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' [ 18%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_main.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/rocm_smi && /usr/bin/c++ -Drocm_smi64_EXPORTS -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/third_party/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/rocm_smi -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/common/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/rocm_smi/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-error=return-type -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -DFORTIFY_SOURCE=2 -fstack-protector-all -Wcast-align -Wl,-z,noexecstack -Wl,-znoexecheap -Wl,-z,relro -Wtrampolines -Wl,-z,now -O2 -g -DNDEBUG -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_main.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_main.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_main.cc.o -c /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc In file included from /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:67: /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h: In member function 'amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h:246:18: error: assignment of member 'dismiss_' in read-only object 246 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc: In member function 'uint32_t amd::smi::RocmSMI::DiscoverAmdgpuDevices()': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:780:47: warning: '~' on an expression of type 'bool' [-Wbool-operation] 780 | ~(ret_unique_id != 0 || ret_loc_id != 0 || ret_unique_id != 0)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:780:47: note: did you mean to use logical not ('!')? /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:777:9: warning: unused variable 'ret_domain' [-Wunused-variable] 777 | int ret_domain = | ^~~~~~~~~~ /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:826:36: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int32_t' {aka 'int'} [-Wsign-compare] 826 | for (uint32_t cardId = 0; cardId <= max_cardId; cardId++) { | ~~~~~~~^~~~~~~~~~~~~ /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:970:14: warning: unused variable 'erasedNodes' [-Wunused-variable] 970 | auto erasedNodes = allSystemNodes.erase(0); | ^~~~~~~~~~~ gmake[2]: *** [rocm_smi/CMakeFiles/rocm_smi64.dir/build.make:93: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_main.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' [ 27%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_power_mon.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/rocm_smi && /usr/bin/c++ -Drocm_smi64_EXPORTS -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/third_party/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/rocm_smi -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/common/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/rocm_smi/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-error=return-type -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -DFORTIFY_SOURCE=2 -fstack-protector-all -Wcast-align -Wl,-z,noexecstack -Wl,-znoexecheap -Wl,-z,relro -Wtrampolines -Wl,-z,now -O2 -g -DNDEBUG -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_power_mon.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_power_mon.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_power_mon.cc.o -c /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_power_mon.cc In file included from /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_power_mon.cc:52: /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h: In member function 'amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h:246:18: error: assignment of member 'dismiss_' in read-only object 246 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ gmake[2]: *** [rocm_smi/CMakeFiles/rocm_smi64.dir/build.make:121: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_power_mon.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' [ 9%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_monitor.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/oam && /usr/bin/c++ -Doam_EXPORTS -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/third_party/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/oam/include -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/common/shared_mutex -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-error=return-type -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -DFORTIFY_SOURCE=2 -fstack-protector-all -Wcast-align -Wl,-z,noexecstack -Wl,-znoexecheap -Wl,-z,relro -Wtrampolines -Wl,-z,now -O2 -g -DNDEBUG -std=gnu++17 -fPIC -MD -MT oam/CMakeFiles/oam.dir/__/src/rocm_smi_monitor.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_monitor.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_monitor.cc.o -c /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_monitor.cc In file included from /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_monitor.cc:57: /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h: In member function 'amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h:246:18: error: assignment of member 'dismiss_' in read-only object 246 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ gmake[2]: *** [oam/CMakeFiles/oam.dir/build.make:107: oam/CMakeFiles/oam.dir/__/src/rocm_smi_monitor.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' gmake[1]: *** [CMakeFiles/Makefile2:226: oam/CMakeFiles/oam.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' [ 24%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_monitor.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/rocm_smi && /usr/bin/c++ -Drocm_smi64_EXPORTS -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/third_party/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/rocm_smi -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/common/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/rocm_smi/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-error=return-type -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -DFORTIFY_SOURCE=2 -fstack-protector-all -Wcast-align -Wl,-z,noexecstack -Wl,-znoexecheap -Wl,-z,relro -Wtrampolines -Wl,-z,now -O2 -g -DNDEBUG -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_monitor.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_monitor.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_monitor.cc.o -c /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_monitor.cc In file included from /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_monitor.cc:57: /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h: In member function 'amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h:246:18: error: assignment of member 'dismiss_' in read-only object 246 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ gmake[2]: *** [rocm_smi/CMakeFiles/rocm_smi64.dir/build.make:107: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_monitor.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' [ 33%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_counters.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/rocm_smi && /usr/bin/c++ -Drocm_smi64_EXPORTS -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/third_party/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/rocm_smi -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/common/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/rocm_smi/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-error=return-type -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -DFORTIFY_SOURCE=2 -fstack-protector-all -Wcast-align -Wl,-z,noexecstack -Wl,-znoexecheap -Wl,-z,relro -Wtrampolines -Wl,-z,now -O2 -g -DNDEBUG -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_counters.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_counters.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_counters.cc.o -c /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_counters.cc In file included from /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_counters.cc:62: /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h: In member function 'amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h:246:18: error: assignment of member 'dismiss_' in read-only object 246 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ gmake[2]: *** [rocm_smi/CMakeFiles/rocm_smi64.dir/build.make:149: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_counters.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' [ 30%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_utils.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux/rocm_smi && /usr/bin/c++ -Drocm_smi64_EXPORTS -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/third_party/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/rocm_smi -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/common/shared_mutex -I/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/rocm_smi/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -Wno-error=return-type -Wall -Wextra -fno-rtti -m64 -msse -msse2 -Wconversion -Wcast-align -Wformat=2 -fno-common -Wstrict-overflow -Woverloaded-virtual -Wreorder -ggdb -O0 -DDEBUG -DFORTIFY_SOURCE=2 -fstack-protector-all -Wcast-align -Wl,-z,noexecstack -Wl,-znoexecheap -Wl,-z,relro -Wtrampolines -Wl,-z,now -O2 -g -DNDEBUG -std=gnu++17 -fPIC -MD -MT rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_utils.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_utils.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_utils.cc.o -c /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_utils.cc In file included from /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_utils.cc:68: /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h: In member function 'amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/include/rocm_smi/rocm_smi_utils.h:246:18: error: assignment of member 'dismiss_' in read-only object 246 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_utils.cc: In function 'std::string amd::smi::splitString(std::string, char)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_utils.cc:1045:1: warning: control reaches end of non-void function [-Wreturn-type] 1045 | } | ^ /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_utils.cc: At global scope: /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_utils.cc:1080:20: warning: 'std::string amd::smi::pt_vddc_curve(rsmi_od_volt_curve*)' defined but not used [-Wunused-function] 1080 | static std::string pt_vddc_curve(rsmi_od_volt_curve *c) { | ^~~~~~~~~~~~~ gmake[2]: *** [rocm_smi/CMakeFiles/rocm_smi64.dir/build.make:135: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_utils.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/x86_64-alt-linux' gmake[1]: *** [CMakeFiles/Makefile2:148: rocm_smi/CMakeFiles/rocm_smi64.dir/all] Error 2 gmake: *** [Makefile:156: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.77841 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.77841 (%build) Command exited with non-zero status 1 18.38user 2.02system 0:12.17elapsed 167%CPU (0avgtext+0avgdata 261996maxresident)k 0inputs+0outputs (0major+631973minor)pagefaults 0swaps hsh-rebuild: rebuild of `rocm-smi-lib-6.1.2-alt0.2.src.rpm' failed. Command exited with non-zero status 1 6.91user 2.53system 0:33.28elapsed 28%CPU (0avgtext+0avgdata 135620maxresident)k 456inputs+0outputs (0major+282143minor)pagefaults 0swaps