<86>Nov 9 08:05:42 userdel[2236080]: delete user 'rooter' <86>Nov 9 08:05:42 userdel[2236080]: removed group 'rooter' owned by 'rooter' <86>Nov 9 08:05:42 userdel[2236080]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 9 08:05:42 groupadd[2236093]: group added to /etc/group: name=rooter, GID=1805 <86>Nov 9 08:05:42 groupadd[2236093]: group added to /etc/gshadow: name=rooter <86>Nov 9 08:05:42 groupadd[2236093]: new group: name=rooter, GID=1805 <86>Nov 9 08:05:42 useradd[2236104]: new user: name=rooter, UID=1805, GID=1805, home=/root, shell=/bin/bash, from=none <86>Nov 9 08:05:42 userdel[2236123]: delete user 'builder' <86>Nov 9 08:05:42 userdel[2236123]: removed group 'builder' owned by 'builder' <86>Nov 9 08:05:42 userdel[2236123]: removed shadow group 'builder' owned by 'builder' <86>Nov 9 08:05:42 groupadd[2236137]: group added to /etc/group: name=builder, GID=1806 <86>Nov 9 08:05:42 groupadd[2236137]: group added to /etc/gshadow: name=builder <86>Nov 9 08:05:42 groupadd[2236137]: new group: name=builder, GID=1806 <86>Nov 9 08:05:42 useradd[2236152]: new user: name=builder, UID=1806, GID=1806, home=/usr/src, shell=/bin/bash, from=none <13>Nov 9 08:05:45 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718975 installed <13>Nov 9 08:05:45 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Nov 9 08:05:45 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Nov 9 08:05:45 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Nov 9 08:05:45 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Nov 9 08:05:45 rpmi: libgnutls30-3.8.4-alt1 sisyphus+343729.100.2.1 1711570650 installed <13>Nov 9 08:05:45 rpmi: libngtcp2.16-1.7.0-alt1 sisyphus+356415.200.1.1 1725031916 installed <13>Nov 9 08:05:45 rpmi: libngtcp2_crypto_gnutls8-1.7.0-alt1 sisyphus+356415.200.1.1 1725031916 installed <13>Nov 9 08:05:45 rpmi: cmake-modules-3.29.3-alt1 sisyphus+348648.100.2.1 1716590540 installed <13>Nov 9 08:05:45 rpmi: libuv-1.48.0-alt2 sisyphus+357579.100.1.1 1726426172 installed <13>Nov 9 08:05:45 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>Nov 9 08:05:45 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+346331.200.2.1 1716448553 installed <13>Nov 9 08:05:45 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349845 installed <13>Nov 9 08:05:45 rpmi: publicsuffix-list-dafsa-20240911-alt1 sisyphus+357399.100.1.1 1726160479 installed <13>Nov 9 08:05:45 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684771 installed <13>Nov 9 08:05:45 rpmi: libnghttp3.9-1.5.0-alt1 sisyphus+356415.100.1.1 1725031856 installed <13>Nov 9 08:05:45 rpmi: libnghttp2-1.63.0-alt1 sisyphus+356414.100.1.1 1725031511 installed <13>Nov 9 08:05:45 rpmi: openldap-common-2.6.8-alt1 sisyphus+351621.100.1.1 1719420449 installed <13>Nov 9 08:05:45 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626059663 installed <13>Nov 9 08:05:45 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769693 installed <13>Nov 9 08:05:45 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Nov 9 08:05:45 rpmi: liblmdb-0.9.33-alt1 sisyphus+360625.100.1.1 1729819639 installed <13>Nov 9 08:05:45 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Nov 9 08:05:45 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Nov 9 08:05:45 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Nov 9 08:05:45 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Nov 9 08:05:45 rpmi: rpm-macros-cmake-3.29.1-alt1 sisyphus+344518.300.3.1 1712379787 installed <13>Nov 9 08:05:45 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 9 08:05:45 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 9 08:05:45 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Nov 9 08:05:45 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Nov 9 08:05:45 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Nov 9 08:05:46 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Nov 9 08:05:46 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <86>Nov 9 08:05:46 groupadd[2243271]: group added to /etc/group: name=_keytab, GID=999 <86>Nov 9 08:05:46 groupadd[2243271]: group added to /etc/gshadow: name=_keytab <86>Nov 9 08:05:46 groupadd[2243271]: new group: name=_keytab, GID=999 <13>Nov 9 08:05:46 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735219 installed <13>Nov 9 08:05:46 rpmi: libgsasl18-2.2.1-alt2 sisyphus+359713.200.2.1 1728905438 installed <86>Nov 9 08:05:46 groupadd[2243346]: group added to /etc/group: name=sasl, GID=998 <86>Nov 9 08:05:46 groupadd[2243346]: group added to /etc/gshadow: name=sasl <86>Nov 9 08:05:46 groupadd[2243346]: new group: name=sasl, GID=998 <13>Nov 9 08:05:46 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112524 installed <13>Nov 9 08:05:46 rpmi: libldap2-2.6.8-alt1 sisyphus+351621.100.1.1 1719420471 installed <13>Nov 9 08:05:46 rpmi: libarchive13-3.7.5-alt2 sisyphus+358189.100.1.1 1727162770 installed <13>Nov 9 08:05:46 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593140 installed <13>Nov 9 08:05:46 rpmi: libcurl-8.11.0-alt1 sisyphus+361800.100.1.1 1730881003 installed <13>Nov 9 08:05:46 rpmi: cmake-3.29.3-alt1 sisyphus+348648.100.2.1 1716590556 installed <13>Nov 9 08:05:48 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Nov 9 08:05:48 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468406 installed <13>Nov 9 08:05:48 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Nov 9 08:05:48 rpmi: python3-3.12.7-alt1 sisyphus+358796.100.1.1 1727844713 installed <13>Nov 9 08:05:49 rpmi: python3-base-3.12.7-alt1 sisyphus+358796.100.1.1 1727844713 installed <13>Nov 9 08:05:49 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed <13>Nov 9 08:05:49 rpmi: tests-for-installed-python3-pkgs-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Nov 9 08:05:49 rpmi: perl-Filter-1.64-alt1 sisyphus+335067.400.1.1 1700901530 installed <13>Nov 9 08:05:49 rpmi: perl-Encode-3.21-alt1 sisyphus+343095.100.1.1 1710875480 installed <13>Nov 9 08:05:49 rpmi: perl-Locale-gettext-1.07-alt1.2 sisyphus+335067.10500.2.2 1701152269 installed <13>Nov 9 08:05:49 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Nov 9 08:05:49 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed <13>Nov 9 08:05:50 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed <13>Nov 9 08:05:50 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139881 installed <13>Nov 9 08:05:50 rpmi: help2man-1.48.5-alt1 sisyphus+346293.200.2.1 1716441066 installed <13>Nov 9 08:05:50 rpmi: rpm-build-python3-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed Building target platforms: i586 Building for target i586 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.69491 + 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.69491 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd rocm-smi-lib-6.1.2 + mkdir -p i586-alt-linux + cmake -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_DESTINATION=lib -DLIB_SUFFIX= -S . -B i586-alt-linux '-DCMAKE_CXX_FLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=return-type' -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=on -DCMAKE_INSTALL_LIBDIR=lib /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.5s) -- 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/i586-alt-linux + cmake --build i586-alt-linux --verbose --parallel 16 Change Dir: '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j16 gmake: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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/i586-alt-linux --check-build-system CMakeFiles/Makefile.cmake 0 gmake: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux/CMakeFiles /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux//CMakeFiles/progress.marks gmake: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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/i586-alt-linux' cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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/i586-alt-linux /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux/rocm_smi /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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/i586-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/i586-alt-linux' cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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/i586-alt-linux /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux/rocm_smi /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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/i586-alt-linux /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux/oam /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux/oam/CMakeFiles/oam.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' /usr/bin/gmake -f rocm_smi/CMakeFiles/rocm_smi64.dir/build.make rocm_smi/CMakeFiles/rocm_smi64.dir/build /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/i586-alt-linux' cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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/i586-alt-linux/rocm_smi/bin/rocm-smi gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 45%] Built target link-rocm-smi gmake[1]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 21%] 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/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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/i586-alt-linux' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 24%] 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/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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/i586-alt-linux' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 39%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_io_link.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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_io_link.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_io_link.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_io_link.cc.o -c /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_io_link.cc In file included from /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_io_link.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:177: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_io_link.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 27%] 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/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 36%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_counters.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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_counters.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_counters.cc.o.d -o CMakeFiles/oam.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]: *** [oam/CMakeFiles/oam.dir/build.make:149: oam/CMakeFiles/oam.dir/__/src/rocm_smi_counters.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 48%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_kfd.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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_kfd.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_kfd.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_kfd.cc.o -c /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_kfd.cc In file included from /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_kfd.cc:65: /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_kfd.cc: In member function 'int amd::smi::KFDNode::get_used_memory(uint64_t*)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_kfd.cc:873:16: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to '__u32' {aka 'unsigned int'} may change value [-Wconversion] 873 | mem.gpu_id = gpu_id_; | ^~~~~~~ gmake[2]: *** [oam/CMakeFiles/oam.dir/build.make:163: oam/CMakeFiles/oam.dir/__/src/rocm_smi_kfd.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 36%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_kfd.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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_kfd.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_kfd.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_kfd.cc.o -c /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_kfd.cc In file included from /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_kfd.cc:65: /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_kfd.cc: In member function 'int amd::smi::KFDNode::get_used_memory(uint64_t*)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_kfd.cc:873:16: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to '__u32' {aka 'unsigned int'} may change value [-Wconversion] 873 | mem.gpu_id = gpu_id_; | ^~~~~~~ gmake[2]: *** [rocm_smi/CMakeFiles/rocm_smi64.dir/build.make:163: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_kfd.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 9%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_device.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 45%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_main.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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 function 'uint32_t amd::smi::GetDrmRenderMinor(std::string)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:112:33: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} may change value [-Wconversion] 112 | if (!render_file.compare(0, prefix_size, render_file_prefix)) { | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:113:43: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} may change value [-Wconversion] 113 | drm_minor = stoi(render_file.substr(prefix_size)); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc: In function 'uint32_t amd::smi::ConstructBDFID(std::string, uint64_t*)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:205:23: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'const unsigned int' [-Wsign-compare] 205 | if (ret <= 0 || ret >= MAX_BDF_LENGTH) { | ~~~~^~~~~~~~~~~~~~~~~ /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/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 9%] 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/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 9%] 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/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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 function 'uint32_t amd::smi::GetDrmRenderMinor(std::string)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:112:33: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} may change value [-Wconversion] 112 | if (!render_file.compare(0, prefix_size, render_file_prefix)) { | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:113:43: warning: conversion from 'uint64_t' {aka 'long long unsigned int'} to 'std::__cxx11::basic_string::size_type' {aka 'unsigned int'} may change value [-Wconversion] 113 | drm_minor = stoi(render_file.substr(prefix_size)); | ^~~~~~~~~~~ /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc: In function 'uint32_t amd::smi::ConstructBDFID(std::string, uint64_t*)': /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_main.cc:205:23: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'const unsigned int' [-Wsign-compare] 205 | if (ret <= 0 || ret >= MAX_BDF_LENGTH) { | ~~~~^~~~~~~~~~~~~~~~~ /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/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 21%] 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/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 21%] 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/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 36%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_utils.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 42%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_gpu_metrics.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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_gpu_metrics.cc.o -MF CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_gpu_metrics.cc.o.d -o CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_gpu_metrics.cc.o -c /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_gpu_metrics.cc In file included from /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_gpu_metrics.cc:48: /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:191: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_gpu_metrics.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' gmake[1]: *** [CMakeFiles/Makefile2:148: rocm_smi/CMakeFiles/rocm_smi64.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 21%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_monitor.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' [ 51%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_io_link.cc.o cd /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-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 -march=i586 -mtune=generic -Wno-error=return-type -Wall -Wextra -fno-rtti -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_io_link.cc.o -MF CMakeFiles/oam.dir/__/src/rocm_smi_io_link.cc.o.d -o CMakeFiles/oam.dir/__/src/rocm_smi_io_link.cc.o -c /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_io_link.cc In file included from /usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/src/rocm_smi_io_link.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:177: oam/CMakeFiles/oam.dir/__/src/rocm_smi_io_link.cc.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/rocm-smi-lib-6.1.2/i586-alt-linux' gmake[1]: *** [CMakeFiles/Makefile2:226: oam/CMakeFiles/oam.dir/all] Error 2 gmake: *** [Makefile:156: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.69491 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.69491 (%build) Command exited with non-zero status 1 25.39user 3.50system 0:02.95elapsed 979%CPU (0avgtext+0avgdata 171008maxresident)k 0inputs+0outputs (0major+879332minor)pagefaults 0swaps hsh-rebuild: rebuild of `rocm-smi-lib-6.1.2-alt0.2.src.rpm' failed. Command exited with non-zero status 1 3.82user 3.08system 0:15.99elapsed 43%CPU (0avgtext+0avgdata 132856maxresident)k 0inputs+0outputs (0major+300370minor)pagefaults 0swaps