[MacPorts] #72424: esmf: Error: Type mismatch in argument 'n' at (1); passed INTEGER(4) to INTEGER(8)

MacPorts noreply at macports.org
Tue Apr 29 23:51:49 UTC 2025


#72424: esmf: Error: Type mismatch in argument 'n' at (1); passed INTEGER(4) to
INTEGER(8)
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.5
Resolution:                |   Keywords:
      Port:  esmf          |
---------------------------+--------------------

Comment (by barracuda156):

 Replying to [comment:4 Dave-Allured]:

 Awesome, you fixes worked.

 I got past that point, though it failed now on an unrelated issue:
 {{{
 /opt/local/var/macports/build/_opt_local_ppcports_science_esmf/esmf/work/esmf-8.8.1/src/Infrastructure/VM/src/ESMCI_VM.C:
 In static member function 'static void ESMCI::VM::logMemInfo(std::string,
 ESMC_LogMsgType_Flag, ESMCI::LogErr*)':
 /opt/local/var/macports/build/_opt_local_ppcports_science_esmf/esmf/work/esmf-8.8.1/src/Infrastructure/VM/src/ESMCI_VM.C:2773:3:
 error: 'task_vm_info_data_t' was not declared in this scope; did you mean
 'task_info_data_t'?
  2773 |   task_vm_info_data_t mem_info;
       |   ^~~~~~~~~~~~~~~~~~~
       |   task_info_data_t
 /opt/local/var/macports/build/_opt_local_ppcports_science_esmf/esmf/work/esmf-8.8.1/src/Infrastructure/VM/src/ESMCI_VM.C:2774:33:
 error: 'TASK_VM_INFO_COUNT' was not declared in this scope; did you mean
 'HOST_VM_INFO_COUNT'?
  2774 |   mach_msg_type_number_t size = TASK_VM_INFO_COUNT;
       |                                 ^~~~~~~~~~~~~~~~~~
       |                                 HOST_VM_INFO_COUNT
 /opt/local/var/macports/build/_opt_local_ppcports_science_esmf/esmf/work/esmf-8.8.1/src/Infrastructure/VM/src/ESMCI_VM.C:2776:34:
 error: 'TASK_VM_INFO' was not declared in this scope; did you mean
 'HOST_VM_INFO'?
  2776 |                                  TASK_VM_INFO,
       |                                  ^~~~~~~~~~~~
       |                                  HOST_VM_INFO
 /opt/local/var/macports/build/_opt_local_ppcports_science_esmf/esmf/work/esmf-8.8.1/src/Infrastructure/VM/src/ESMCI_VM.C:2777:48:
 error: 'mem_info' was not declared in this scope; did you mean
 'kmod_info'?
  2777 |                                  (task_info_t)&mem_info,
       |                                                ^~~~~~~~
       |                                                kmod_info
 }}}

 This looks familiar, I think we already fixed a similar bug elsewhere.

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


More information about the macports-tickets mailing list