[53/147] /usr/bin/x86_64-pc-linux-gnu-g++ -DG4INTY_USE_XT -DG4LIB_BUILD_DLL -DG4UI_USE_TCSH -DG4VIS_USE_OPENGL -DG4VIS_USE_OPENGLX -DGeant4GM_EXPORTS -I/var/tmp/portage/sci-physics/vgm-4.9-r1/work/vgm-4-9/packages/VGM/include -I/var/tmp/portage/sci-physics/vgm-4.9-r1/work/vgm-4-9/packages/ClhepVGM/include -I/var/tmp/portage/sci-physics/vgm-4.9-r1/work/vgm-4-9/packages/BaseVGM/include -I/var/tmp/portage/sci-physics/vgm-4.9-r1/work/vgm-4-9/packages/Geant4GM/include -isystem /usr/include/Geant4 -pipe -march=native -fno-diagnostics-color -O2 -W -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe -std=c++17 -pipe -march=native -fno-diagnostics-color -O2 -fPIC -MD -MT packages/Geant4GM/CMakeFiles/Geant4GM.dir/source/materials/Medium.cxx.o -MF packages/Geant4GM/CMakeFiles/Geant4GM.dir/source/materials/Medium.cxx.o.d -o packages/Geant4GM/CMakeFiles/Geant4GM.dir/source/materials/Medium.cxx.o -c /var/tmp/portage/sci-physics/vgm-4.9-r1/work/vgm-4-9/packages/Geant4GM/source/materials/Medium.cxx ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-j4-20210901-134826 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * /usr/lib/llvm/12 12.0.1 Python 3.9.7 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.54.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 HEAD of ::gentoo commit 226f61e60ae62de22d15dab9eae68ed1fec29d9a Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Sep 2 11:07:05 2021 +0000 2021-09-02 11:07:00 UTC emerge -qpvO sci-physics/vgm [ebuild N ] sci-physics/vgm-4.9-r1 USE="examples geant4 root -doc -test"
Created attachment 737164 [details] emerge-info.txt
Created attachment 737167 [details] emerge-history.txt
Created attachment 737170 [details] environment
Created attachment 737173 [details] etc.portage.tar.bz2
Created attachment 737176 [details] logs.tar.bz2
Created attachment 737179 [details] sci-physics:vgm-4.9-r1:20210902-125458.log
Created attachment 737182 [details] temp.tar.bz2
This looks like an incompatibility with sci-physics/geant-4.11 to me: @amadio, when you found that sci-ohysics/geant-vmc does not work with sci-physics/geant-4.11 yet, did you also try to compile VGM? I assume we may also need to add a <sci-physics/geant-4.11 restriction here.
I confirmed sci-physics/geant-4.11 has indeed removed G4VisAttributes::Invisible: https://gitlab.cern.ch/geant4/geant4/-/blob/master/ReleaseNotes/Beta4.11.0-1.txt The linked PR adds a requirement to <sci-physics/geant-4.11 for current sci-physics/vgm versions (vgm upstream has not yet made a release supporting geant-4.11).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4112d3e21c207f27e041bed2c819c6f5976e5e53 commit 4112d3e21c207f27e041bed2c819c6f5976e5e53 Author: Oliver Freyermuth <o.freyermuth@googlemail.com> AuthorDate: 2021-09-02 14:35:36 +0000 Commit: Guilherme Amadio <amadio@gentoo.org> CommitDate: 2021-09-02 15:15:29 +0000 sci-physics/vgm: update dependency on sci-physics/geant Does not compile against >=sci-physics/geant-4.11.0_beta1. Closes: https://bugs.gentoo.org/811435 Closes: https://github.com/gentoo/gentoo/pull/22192 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com> Signed-off-by: Guilherme Amadio <amadio@gentoo.org> sci-physics/vgm/vgm-4.8-r1.ebuild | 4 ++-- sci-physics/vgm/vgm-4.9-r1.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
The fix for this is quite easy, in case you want to do that, just replace G4VisAttributes::Invisible with G4VisAttributes::GetInvisible() everywhere in the code. The former was deprecated and was removed for the Geant4 11.0 release.