Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#59792 closed defect (fixed)

gate @8.2_1: configure fails

Reported by: Vajiheh123 Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), michaelld (Michael Dickens)
Port: gate

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi. I want to install Gate on my Mac OS Catalina 10.15.1 MacBook using Macports. But every time I try to run the command sudo port install gate it seems to has problems I can’t resolve.

%    sudo port install gate   
--->  Computing dependencies for gate
--->  Fetching archive for gate
--->  Attempting to fetch gate-8.2_1+geant4105+qt5.darwin_19.x86_64.tbz2 from http://lil.fr.packages.macports.org/gate
--->  Attempting to fetch gate-8.2_1+geant4105+qt5.darwin_19.x86_64.tbz2 from http://cph.dk.packages.macports.org/gate
--->  Attempting to fetch gate-8.2_1+geant4105+qt5.darwin_19.x86_64.tbz2 from http://nue.de.packages.macports.org/gate
--->  Configuring gate
Error: Failed to configure gate: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gate/gate/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gate failed

Please help me to find out the problem and solve it.

Thanks

Attachments (1)

main.log (302.3 KB) - added by ttazegul97 (tt) 5 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 in reply to:  description Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Milestone: MacPorts Future
Owner: set to mojca
Port: gate added
Status: newassigned

Replying to Vajiheh123:

Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gate/gate/main.log for details.

Please attach this main.log file.

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: Problem with installing Gategate @8.2_1: configure fails

Changed 5 years ago by ttazegul97 (tt)

Attachment: main.log added

comment:3 Changed 5 years ago by ttazegul97 (tt)

I am having the same issue when I run the command sudo port install gate. I have attached the main.log file

Last edited 5 years ago by ttazegul97 (tt) (previous) (diff)

comment:4 Changed 5 years ago by mojca (Mojca Miklavec)

Cc: MarcusCalhoun-Lopez michaelld added
Version: 2.6.2

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:

  • science/gate/Portfile

    a b PortGroup compiler_blacklist_versions 1.0 
    1212
    1313github.setup        OpenGATE Gate 8.2 v
    1414name                gate
    15 revision            1
     15revision            2
    1616
    1717categories          science
    1818maintainers         {mojca @mojca} openmaintainer
    post-destroot { 
    109109
    110110variant geant4105 description {Use Geant4 10.5} {
    111111    set geant.version       10.5
    112     set geant.revision      0
     112    set geant.revision      1
    113113    set geant.port_name     geant4.${geant.version}
    114114    set geant.data_versions ${geant.data_versions_10.5}
    115115    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.

comment:5 Changed 5 years ago by mojca (Mojca Miklavec)

Strange enough the error is gone under trace mode (port -vt install), it only appears if I'm not using the trace mode when building Gate (Geant4 doesn't even build under the trace mode). I'll do some more checks, but I'll probably just do the above mentioned fixed and see if that helps in any way.

comment:6 Changed 5 years ago by mojca (Mojca Miklavec)

Resolution: fixed
Status: assignedclosed

In 126a46dd2b4f031251f46a40b92c98900828c83f/macports-ports (master):

gate: update Geant4 version

Closes: #59792

comment:7 Changed 4 years ago by mojca (Mojca Miklavec)

In 126a46dd2b4f031251f46a40b92c98900828c83f/macports-ports (dar, master, py38-reproject, revert-6945-rust-1.43.0, wireshark):

gate: update Geant4 version

Closes: #59792

Note: See TracTickets for help on using tickets.