==> Building on articuno ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/rocm-smi-lib ./ .SRCINFO 535 100% 0.00kB/s 0:00:00 535 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=4/6) .nvchecker.toml 105 100% 102.54kB/s 0:00:00 105 100% 102.54kB/s 0:00:00 (xfr#2, to-chk=3/6) PKGBUILD 1,018 100% 994.14kB/s 0:00:00 1,018 100% 994.14kB/s 0:00:00 (xfr#3, to-chk=2/6) rocm-smi-lib-6.0.2-1.log 494 100% 482.42kB/s 0:00:00 494 100% 482.42kB/s 0:00:00 (xfr#4, to-chk=1/6) test.sh 46 100% 44.92kB/s 0:00:00 46 100% 44.92kB/s 0:00:00 (xfr#5, to-chk=0/6) sent 1,738 bytes received 158 bytes 1,264.00 bytes/sec total size is 1,869 speedup is 0.99 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root19 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Locking clean chroot [/var/lib/archbuild/extra-riscv64/root]...done ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root19]...done ==> Making package: rocm-smi-lib 6.0.2-1 (Thu May 30 20:00:02 2024) ==> Retrieving sources...  -> Downloading rocm-smi-lib-6.0.2.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13019 0 13019 0 0 9266 0 --:--:-- 0:00:01 --:--:-- 9266 100 437k 0 437k 0 0 177k 0 --:--:-- 0:00:02 --:--:-- 399k 100 849k 0 849k 0 0 316k 0 --:--:-- 0:00:02 --:--:-- 655k ==> Validating source files with sha256sums... rocm-smi-lib-6.0.2.tar.gz ... Passed ==> Making package: rocm-smi-lib 6.0.2-1 (Thu May 30 20:00:26 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (13) New Version Net Change Download Size core/expat 2.6.2-1 0.38 MiB extra/hsakmt-roct 6.0.0-2 0.26 MiB core/hwdata 0.382-1 9.11 MiB core/kmod 32-1 0.25 MiB extra/libdrm 2.4.120-1 1.15 MiB extra/libpciaccess 0.18.1-2 0.05 MiB extra/mpdecimal 4.0.0-2 0.29 MiB extra/numactl 2.0.18-1 0.19 MiB core/pciutils 3.12.0-1 0.32 MiB extra/rocm-device-libs 6.0.2-1 3.13 MiB extra/hsa-rocr 6.0.2-2.1 1.36 MiB 0.40 MiB core/python 3.12.3-1 105.93 MiB extra/rocm-core 6.0.2-2 0.00 MiB Total Download Size: 0.40 MiB Total Installed Size: 122.43 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... hsa-rocr-6.0.2-2.1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing rocm-core... installing libpciaccess... installing libdrm... Optional dependencies for libdrm cairo: needed for modetest tool installing numactl... installing hwdata... installing kmod... installing pciutils... Optional dependencies for pciutils which: for update-pciids [installed] grep: for update-pciids [installed] curl: for update-pciids [installed] installing hsakmt-roct... installing rocm-device-libs... installing hsa-rocr... installing expat... installing mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (6) New Version Net Change extra/cppdap 1.58.0-1 1.37 MiB extra/hicolor-icon-theme 0.18-1 0.05 MiB extra/jsoncpp 1.9.5-2 1.24 MiB extra/libuv 1.48.0-2 0.56 MiB extra/rhash 1.4.4-1 0.31 MiB extra/cmake 3.29.3-1 67.26 MiB Total Installed Size: 70.79 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libuv... installing rhash... installing cppdap... installing cmake... Optional dependencies for cmake make: for unix Makefile generator [installed] ninja: for ninja generator qt6-base: cmake-gui [?25h==> Retrieving sources...  -> Found rocm-smi-lib-6.0.2.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting rocm-smi-lib-6.0.2.tar.gz with bsdtar ==> Starting build()... /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/cmake_modules/version_util.sh: line 18: git: command not found /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/cmake_modules/version_util.sh: line 22: git: command not found /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/cmake_modules/version_util.sh: line 23: git: command not found 0 were found since previous release Package version: 7.0.0.0-local-build-0-unknown -- The C compiler identification is GNU 14.1.1 -- The CXX compiler identification is GNU 14.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/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: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2 Package version: 7.0.0.0-local-build-0-unknown SOVERSION: 1.0 &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& CMake OAM (Library) &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Build Configuration: --------Proj Src Dir: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2 Package version: 7.0.0.0-local-build-0-unknown SOVERSION: 1.0 -- Configuring done (3.2s) -- Generating done (0.1s) -- Build files have been written to: /build/rocm-smi-lib/src/build [ 3%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o [ 6%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_main.cc.o [ 9%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_main.cc.o [ 15%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_monitor.cc.o [ 18%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_power_mon.cc.o [ 18%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_device.cc.o [ 21%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_power_mon.cc.o [ 27%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_counters.cc.o [ 27%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_monitor.cc.o [ 36%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_counters.cc.o [ 36%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_kfd.cc.o [ 36%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_utils.cc.o [ 39%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_utils.cc.o [ 45%] Building CXX object oam/CMakeFiles/oam.dir/__/src/rocm_smi_kfd.cc.o [ 45%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_io_link.cc.o [ 45%] Built target link-rocm-smi In file included from /usr/include/dirent.h:25, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_main.cc:43: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/pthread.h:21, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_device.cc:44: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/dirent.h:25, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_monitor.cc:44: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/dirent.h:25, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_main.cc:43: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/dirent.h:25, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_monitor.cc:44: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/pthread.h:21, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_device.cc:44: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/c++/14.1.1/riscv64-unknown-linux-gnu/bits/os_defines.h:39, from /usr/include/c++/14.1.1/riscv64-unknown-linux-gnu/bits/c++config.h:680, from /usr/include/c++/14.1.1/cassert:43, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_power_mon.cc:44: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/dirent.h:25, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_io_link.cc:44: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/assert.h:35, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_utils.cc:45: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/assert.h:35, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_utils.cc:45: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/c++/14.1.1/riscv64-unknown-linux-gnu/bits/os_defines.h:39, from /usr/include/c++/14.1.1/riscv64-unknown-linux-gnu/bits/c++config.h:680, from /usr/include/c++/14.1.1/cassert:43, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_power_mon.cc:44: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/dirent.h:25, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_kfd.cc:44: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ [ 48%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_gpu_metrics.cc.o In file included from /usr/include/dirent.h:25, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_kfd.cc:44: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/sys/ioctl.h:21, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_counters.cc:46: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/sys/ioctl.h:21, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_counters.cc:46: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/c++/14.1.1/riscv64-unknown-linux-gnu/bits/os_defines.h:39, from /usr/include/c++/14.1.1/riscv64-unknown-linux-gnu/bits/c++config.h:680, from /usr/include/c++/14.1.1/bits/memoryfwd.h:48, from /usr/include/c++/14.1.1/memory:63, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_common.h:48, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_gpu_metrics.h:47, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_gpu_metrics.cc:44: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_power_mon.cc:52: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_counters.cc:62: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_power_mon.cc:52: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_io_link.cc:57: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_io_link.cc: In member function ‘int amd::smi::IOLink::Initialize()’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_io_link.cc:369:28: warning: cast from ‘amd::smi::IO_LINK_TYPE*’ {aka ‘amd::smi::_IO_LINK_TYPE*’} to ‘uint64_t*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] 369 | reinterpret_cast(&type_)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_io_link.cc:373:28: warning: cast from ‘uint32_t*’ {aka ‘unsigned int*’} to ‘uint64_t*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] 373 | reinterpret_cast(&node_from_)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_io_link.cc:377:28: warning: cast from ‘uint32_t*’ {aka ‘unsigned int*’} to ‘uint64_t*’ {aka ‘long unsigned int*’} increases required alignment of target type [-Wcast-align] 377 | reinterpret_cast(&node_to_)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_monitor.cc:57: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_counters.cc:62: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_monitor.cc:57: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_utils.cc:68: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_kfd.cc:65: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ make[2]: *** [oam/CMakeFiles/oam.dir/build.make:121: oam/CMakeFiles/oam.dir/__/src/rocm_smi_power_mon.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[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 make[2]: *** Waiting for unfinished jobs.... [ 51%] Building CXX object rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi.cc.o In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_kfd.cc:65: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/fcntl.h:25, from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi.cc:44: /usr/include/features.h:414:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_device.cc:67: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_device.cc:67: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_main.cc:69: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_utils.cc:68: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ make[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 /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_kfd.cc: In member function ‘int amd::smi::KFDNode::get_used_memory(uint64_t*)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_kfd.cc:871:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘__u32’ {aka ‘unsigned int’} may change value [-Wconversion] 871 | mem.gpu_id = gpu_id_; | ^~~~~~~ /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_main.cc: In member function ‘uint32_t amd::smi::RocmSMI::DiscoverAmdgpuDevices()’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_main.cc:968:14: warning: unused variable ‘erasedNodes’ [-Wunused-variable] 968 | auto erasedNodes = allSystemNodes.erase(0); | ^~~~~~~~~~~ /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_kfd.cc: In member function ‘int amd::smi::KFDNode::get_used_memory(uint64_t*)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_kfd.cc:871:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘__u32’ {aka ‘unsigned int’} may change value [-Wconversion] 871 | mem.gpu_id = gpu_id_; | ^~~~~~~ make[2]: *** [oam/CMakeFiles/oam.dir/build.make:149: oam/CMakeFiles/oam.dir/__/src/rocm_smi_counters.cc.o] Error 1 In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_main.cc:69: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_gpu_metrics.cc:48: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_main.cc: In member function ‘uint32_t amd::smi::RocmSMI::DiscoverAmdgpuDevices()’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_main.cc:968:14: warning: unused variable ‘erasedNodes’ [-Wunused-variable] 968 | auto erasedNodes = allSystemNodes.erase(0); | ^~~~~~~~~~~ make[2]: *** [rocm_smi/CMakeFiles/rocm_smi64.dir/build.make:149: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_counters.cc.o] Error 1 make[2]: *** [rocm_smi/CMakeFiles/rocm_smi64.dir/build.make:163: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_kfd.cc.o] Error 1 make[2]: *** [oam/CMakeFiles/oam.dir/build.make:163: oam/CMakeFiles/oam.dir/__/src/rocm_smi_kfd.cc.o] Error 1 make[2]: *** [oam/CMakeFiles/oam.dir/build.make:79: oam/CMakeFiles/oam.dir/__/src/rocm_smi_device.cc.o] Error 1 make[2]: *** [rocm_smi/CMakeFiles/rocm_smi64.dir/build.make:79: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_device.cc.o] Error 1 make[2]: *** [rocm_smi/CMakeFiles/rocm_smi64.dir/build.make:93: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_main.cc.o] Error 1 /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_gpu_metrics.cc: In member function ‘rsmi_status_t amd::smi::Device::dev_read_gpu_metrics_header_data()’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_gpu_metrics.cc:2683:8: warning: unused variable ‘now_ts’ [-Wunused-variable] 2683 | auto now_ts = actual_timestamp_in_secs(); | ^~~~~~ make[2]: *** [oam/CMakeFiles/oam.dir/build.make:107: oam/CMakeFiles/oam.dir/__/src/rocm_smi_monitor.cc.o] Error 1 /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_utils.cc: In function ‘std::string amd::smi::splitString(std::string, char)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_utils.cc:1025:1: warning: control reaches end of non-void function [-Wreturn-type] 1025 | } | ^ make[2]: *** [rocm_smi/CMakeFiles/rocm_smi64.dir/build.make:135: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_utils.cc.o] Error 1 make[2]: *** [rocm_smi/CMakeFiles/rocm_smi64.dir/build.make:107: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_monitor.cc.o] Error 1 make[2]: *** [oam/CMakeFiles/oam.dir/build.make:93: oam/CMakeFiles/oam.dir/__/src/rocm_smi_main.cc.o] Error 1 In file included from /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi.cc:72: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h: In member function ‘amd::smi::ScopeGuard& amd::smi::ScopeGuard::operator=(const amd::smi::ScopeGuard&)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/include/rocm_smi/rocm_smi_utils.h:222:18: error: assignment of member ‘dismiss_’ in read-only object 222 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi.cc: In function ‘rsmi_status_t get_od_clk_volt_info(uint32_t, rsmi_od_volt_freq_data_t*)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi.cc:1298:33: warning: conversion from ‘std::vector >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1298 | int last_item = val_vec.size()-1; | ~~~~~~~~~~~~~~^~ make[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 /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_utils.cc: In function ‘std::string amd::smi::splitString(std::string, char)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi_utils.cc:1025:1: warning: control reaches end of non-void function [-Wreturn-type] 1025 | } | ^ /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi.cc: In function ‘rsmi_status_t rsmi_dev_pci_bandwidth_get(uint32_t, rsmi_pcie_bandwidth_t*)’: /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi.cc:2327:19: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2327 | if (width_index == -1 || speed_index == -1) { | ~~~~~~~~~~~~^~~~~ /build/rocm-smi-lib/src/rocm_smi_lib-rocm-6.0.2/src/rocm_smi.cc:2327:40: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2327 | if (width_index == -1 || speed_index == -1) { | ~~~~~~~~~~~~^~~~~ make[2]: *** [oam/CMakeFiles/oam.dir/build.make:135: oam/CMakeFiles/oam.dir/__/src/rocm_smi_utils.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:226: oam/CMakeFiles/oam.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: *** [rocm_smi/CMakeFiles/rocm_smi64.dir/build.make:205: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:148: rocm_smi/CMakeFiles/rocm_smi64.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root19/build [?25h[?25hreceiving incremental file list rocm-smi-lib-6.0.2-1-riscv64-build.log sent 43 bytes received 2,674 bytes 1,811.33 bytes/sec total size is 27,020 speedup is 9.94