[MacPorts] #47404: gate: build broken after upgrading to Geant4.10.01.p01

MacPorts noreply at macports.org
Thu Apr 9 14:20:56 PDT 2015


#47404: gate: build broken after upgrading to Geant4.10.01.p01
---------------------+------------------------------
 Reporter:  mojca@…  |      Owner:  mojca@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  gate geant4.10.1
---------------------+------------------------------
 After upgrading to `Geant4.10.01.p01`, Gate no longer builds:
 {{{
 [ 87%] Building CXX object
 CMakeFiles/Gate.dir/source/physics/src/GateVSourceMessenger.cc.o
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -DG4INTY_USE_QT -DG4UI_USE -DG4UI_USE_QT -DG4UI_USE_TCSH -DG4VERBOSE
 -DG4VIS_USE -DG4VIS_USE_OPENGL -DG4VIS_USE_OPENGLQT -DG4_STORE_TRAJECTORY
 -pipe -Os -arch x86_64 -stdlib=libstdc++ -W -Wall -pedantic -Wno-non-
 virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-
 virtual -Wno-variadic-macros -Wshadow -pipe -Qunused-arguments -std=c++98
 -pipe -Os -arch x86_64 -stdlib=libstdc++  -Wno-shadow -DNDEBUG -DNDEBUG
 -arch x86_64 -mmacosx-version-min=10.7 -F//System/Library/Frameworks
 -I/opt/local/libexec/root5/include/root -I/path/to/build -isystem
 /opt/local/include/Geant4/Geant4.10.1/Geant4 -isystem /opt/local/include
 -isystem /opt/local/include/QtCore -isystem /opt/local/include/QtGui
 -isystem /opt/local/include/QtOpenGL -I/path/to/Gate-
 a20d5f0/source/arf/include -I/path/to/Gate-a20d5f0/source/geometry/include
 -I/path/to/Gate-a20d5f0/source/physics/include -I/path/to/Gate-
 a20d5f0/source/digits_hits/include -I/path/to/Gate-
 a20d5f0/source/general/include -I/path/to/Gate-
 a20d5f0/source/externals/clhep/include -I/path/to/Gate-
 a20d5f0/source/externals/itk-mhd -I/path/to/Gate-a20d5f0/source/externals
 /itk-mhd/itkzlib -I/path/to/Gate-a20d5f0/source/externals/itk-mhd/MetaIO
 -I/path/to/build/itk-mhd    -o
 CMakeFiles/Gate.dir/source/physics/src/GateVSourceMessenger.cc.o -c
 /path/to/Gate-a20d5f0/source/physics/src/GateVSourceMessenger.cc
 In file included from /path/to/Gate-
 a20d5f0/source/physics/src/GateVSource.cc:16:
 In file included from /path/to/Gate-
 a20d5f0/source/physics/include/GateBackToBack.hh:14:
 In file included from /path/to/Gate-
 a20d5f0/source/physics/include/GateVSource.hh:16:
 In file included from
 /opt/local/include/Geant4/Geant4.10.1/Geant4/G4SingleParticleSource.hh:124:
 In file included from
 /opt/local/include/Geant4/Geant4.10.1/Geant4/G4SPSPosDistribution.hh:141:
 /opt/local/include/Geant4/Geant4.10.1/Geant4/G4SPSRandomGenerator.hh:156:7:
 error: field of type 'G4Cache<G4SPSRandomGenerator::a_check>' has private
 copy constructor
 class G4SPSRandomGenerator {
       ^
 }}}

 Here's the necessary patch for Gate (which I didn't commit yet due to
 compilation error):
 {{{
 #!diff
 --- Portfile    (revision 134502)
 +++ Portfile    (working copy)
 @@ -16,7 +16,7 @@
  github.setup        OpenGATE Gate ${git_sha}
  name                gate
  version             7.1
 -revision            1
 +revision            2
  # version           7.1-git-${git_date}-${git_sha}

  ## official repository
 @@ -153,7 +153,7 @@
  }
  variant geant4101 conflicts geant4100 description {Use Geant4 10.1} {
      set geant.version       10.1
 -    set geant.revision      0
 +    set geant.revision      1
      set geant.port_name     geant4.${geant.version}
      set geant.data_versions ${geant.data_versions_10.1}
      set geant.datadir
 ${prefix}/share/Geant4/Data/Geant4.${geant.version}
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/47404>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list