too long lines were shrinked: [1/32] /usr/bin/x86_64-pc-linux-gnu-g++ -I/var/tmp/portage/dev-util/rocm-smi-5.4.2/work/rocm_smi_lib-rocm-5.4.2/include -I/var/tmp/portage/dev-util/rocm-smi-5.4.2/work/rocm_smi_lib-rocm-5.4.2/third_party/shared_mutex -I/var/tmp/portage/dev-util/rocm-smi-5.4.2/work/rocm_smi_lib-rocm-5.4.2/rocm_smi/i [2/32] /usr/bin/x86_64-pc-linux-gnu-g++ -Drocm_smi64_EXPORTS -I/var/tmp/portage/dev-util/rocm-smi-5.4.2/work/rocm_smi_lib-rocm-5.4.2/include -I/var/tmp/portage/dev-util/rocm-smi-5.4.2/work/rocm_smi_lib-rocm-5.4.2/third_party/shared_mutex -I/var/tmp/portage/dev-util/rocm-smi-5.4.2/work/rocm_smi_lib-r FAILED: rocm_smi/CMakeFiles/rocm_smi64.dir/__/src/rocm_smi_main.cc.o /usr/bin/x86_64-pc-linux-gnu-g++ -Drocm_smi64_EXPORTS -I/var/tmp/portage/dev-util/rocm-smi-5.4.2/work/rocm_smi_lib-rocm-5.4.2/include -I/var/tmp/portage/dev-util/rocm-smi-5.4.2/work/rocm_smi_lib-rocm-5.4.2/third_party/shared_mutex -I/var/tmp/portage/dev-util/rocm-smi-5.4.2/work/rocm_smi_lib-rocm-5.4 In file included from /var/tmp/portage/dev-util/rocm-smi-5.4.2/work/rocm_smi_lib-rocm-5.4.2/src/rocm_smi_main.cc:65: /var/tmp/portage/dev-util/rocm-smi-5.4.2/work/rocm_smi_lib-rocm-5.4.2/include/rocm_smi/rocm_smi_utils.h: In member function amd::smi::ScopeGuard<lambda>& amd::smi::ScopeGuard<lambda>::operator=(const amd::smi::ScopeGuard<lambda>&): /var/tmp/portage/dev-util/rocm-smi-5.4.2/work/rocm_smi_lib-rocm-5.4.2/include/rocm_smi/rocm_smi_utils.h:143:18: error: assignment of member dismiss_ in read-only object 143 | rhs.dismiss_ = true; | ~~~~~~~~~~~~~^~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-20231123-161100 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 17.0.5 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.5 Python 3.11.6 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.73.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 system-vm php cli (if any): go version go1.21.4 linux/amd64 HEAD of ::gentoo commit 63c5e130615daae76fdb5cd7ed246ee9a1193376 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Nov 27 20:32:01 2023 +0000 2023-11-27 20:32:00 UTC emerge -qpvO dev-util/rocm-smi [ebuild N ] dev-util/rocm-smi-5.4.2 PYTHON_TARGETS="python3_11 -python3_10"
Created attachment 875876 [details] emerge-info.txt
Created attachment 875877 [details] dev-util:rocm-smi-5.4.2:20231127-213935.log
Created attachment 875878 [details] emerge-history.txt
Created attachment 875879 [details] environment
Created attachment 875880 [details] etc.clang.tar.xz
Created attachment 875881 [details] etc.portage.tar.xz
Created attachment 875882 [details] qlist-info.txt.xz
Created attachment 875883 [details] temp.tar.xz
same error in rocm-smi-5.7.1-r2
Reported upstream: https://github.com/ROCm/rocm_smi_lib/issues/170
Created attachment 894311 [details, diff] gcc 14 patch patch found on https://github.com/ROCm/rocm_smi_lib/issues/170
Same issue in rocm-smi-5.7.1-r2, same patch fixed the issue on gcc 14.
d953c7514231d39335733c921649429a429a6288