Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811435 - sci-physics/vgm-4.9-r1 - /.../B4DetectorConstruction.cc: error: Invisible is not a member of G4VisAttributes
Summary: sci-physics/vgm-4.9-r1 - /.../B4DetectorConstruction.cc: error: Invisible is ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Oliver Freyermuth
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-09-02 13:54 UTC by Toralf Förster
Modified: 2021-09-02 15:19 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.11 KB, text/plain)
2021-09-02 13:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,114.87 KB, text/plain)
2021-09-02 13:54 UTC, Toralf Förster
Details
environment (environment,89.30 KB, text/plain)
2021-09-02 13:54 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.48 KB, application/x-bzip)
2021-09-02 13:54 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.08 KB, application/x-bzip)
2021-09-02 13:54 UTC, Toralf Förster
Details
sci-physics:vgm-4.9-r1:20210902-125458.log (sci-physics:vgm-4.9-r1:20210902-125458.log,61.64 KB, text/plain)
2021-09-02 13:55 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.12 KB, application/x-bzip)
2021-09-02 13:55 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 2021-09-02 13:54:52 UTC
[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"
Comment 1 Toralf Förster gentoo-dev 2021-09-02 13:54:53 UTC
Created attachment 737164 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-09-02 13:54:55 UTC
Created attachment 737167 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-09-02 13:54:57 UTC
Created attachment 737170 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-09-02 13:54:58 UTC
Created attachment 737173 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-09-02 13:54:59 UTC
Created attachment 737176 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-09-02 13:55:01 UTC
Created attachment 737179 [details]
sci-physics:vgm-4.9-r1:20210902-125458.log
Comment 7 Toralf Förster gentoo-dev 2021-09-02 13:55:02 UTC
Created attachment 737182 [details]
temp.tar.bz2
Comment 8 Oliver Freyermuth 2021-09-02 14:19:01 UTC
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.
Comment 9 Oliver Freyermuth 2021-09-02 14:38:31 UTC
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).
Comment 10 Larry the Git Cow gentoo-dev 2021-09-02 15:15:39 UTC
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(-)
Comment 11 Guilherme Amadio gentoo-dev 2021-09-02 15:19:11 UTC
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.