[MacPorts] #59792: gate @8.2_1: configure fails

MacPorts noreply at macports.org
Sat Jan 11 19:52:09 UTC 2020


#59792: gate @8.2_1: configure fails
-------------------------+----------------------
  Reporter:  Vajiheh123  |      Owner:  mojca
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  gate        |
-------------------------+----------------------
Changes (by mojca):

 * cc: MarcusCalhoun-Lopez, michaelld (added)
 * version:  2.6.2 =>


Comment:

 I'm sorry, the following patch is needed due to Geant4.10.5 seeing an
 update in the meantime which I forgot to take into account:
 {{{
 #!diff
 --- a/science/gate/Portfile
 +++ b/science/gate/Portfile
 @@ -12,7 +12,7 @@ PortGroup           compiler_blacklist_versions 1.0

  github.setup        OpenGATE Gate 8.2 v
  name                gate
 -revision            1
 +revision            2

  categories          science
  maintainers         {mojca @mojca} openmaintainer
 @@ -109,7 +109,7 @@ post-destroot {

  variant geant4105 description {Use Geant4 10.5} {
      set geant.version       10.5
 -    set geant.revision      0
 +    set geant.revision      1
      set geant.port_name     geant4.${geant.version}
      set geant.data_versions ${geant.data_versions_10.5}
      set geant.datadir
 ${prefix}/share/Geant4/Data/Geant4.${geant.version}
 }}}

 but it doesn't work nonetheless. I'm then getting some strange CMake
 errors that I'm not sure how to diagnose

 {{{
 CMake Error at
 /opt/local/libexec/qt5/lib/cmake/Qt5Gui/Qt5Gui_QICNSPlugin.cmake:4
 (_populate_Gui_plugin_properties):
   _populate_Gui_plugin_properties Macro invoked with incorrect arguments
 for
   macro named: _populate_Gui_plugin_properties
 Call Stack (most recent call first):
   /opt/local/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:196 (include)
   /opt/local/lib/Geant4/Geant4.10.5/Geant4-10.5.1/Geant4Config.cmake:449
 (find_package)
   CMakeLists.txt:42 (FIND_PACKAGE)
 }}}

 I wonder if the reason could be an update in Qt5 that would require
 revbump (rebuild) of Geant4.10.5 (and older) as well.

 I just added Geant4.10.6. I'll check if that one happens to work with Gate
 8.2 already or if one requires a newer version of Gate.

-- 
Ticket URL: <https://trac.macports.org/ticket/59792#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list