Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918709 - dev-util/rocm-smi-5.4.2 - /.../rocm_smi_utils.h: error: assignment of member dismiss_ in read-only object
Summary: dev-util/rocm-smi-5.4.2 - /.../rocm_smi_utils.h: error: assignment of member ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2023-11-28 21:30 UTC by Toralf Förster
Modified: 2023-11-28 21:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.92 KB, text/plain)
2023-11-28 21:30 UTC, Toralf Förster
Details
dev-util:rocm-smi-5.4.2:20231127-213935.log (dev-util:rocm-smi-5.4.2:20231127-213935.log,20.14 KB, text/plain)
2023-11-28 21:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,189.12 KB, text/plain)
2023-11-28 21:30 UTC, Toralf Förster
Details
environment (environment,135.21 KB, text/plain)
2023-11-28 21:30 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.07 KB, application/x-xz)
2023-11-28 21:30 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.25 KB, application/x-xz)
2023-11-28 21:30 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,48.72 KB, application/x-xz)
2023-11-28 21:30 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,31.43 KB, application/x-xz)
2023-11-28 21:30 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-11-28 21:30:33 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2023-11-28 21:30:34 UTC
Created attachment 875876 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-28 21:30:35 UTC
Created attachment 875877 [details]
dev-util:rocm-smi-5.4.2:20231127-213935.log
Comment 3 Toralf Förster gentoo-dev 2023-11-28 21:30:36 UTC
Created attachment 875878 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-11-28 21:30:38 UTC
Created attachment 875879 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-11-28 21:30:38 UTC
Created attachment 875880 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-28 21:30:39 UTC
Created attachment 875881 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-28 21:30:40 UTC
Created attachment 875882 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-11-28 21:30:42 UTC
Created attachment 875883 [details]
temp.tar.xz