[MacPorts] #62795: openmpi: declare lib dependency on target compiler

MacPorts noreply at macports.org
Sun May 2 19:59:35 UTC 2021


#62795: openmpi: declare lib dependency on target compiler
----------------------+----------------------
  Reporter:  mascguy  |      Owner:  mascguy
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  openmpi  |
----------------------+----------------------
Description changed by mascguy:

Old description:

> While the various openmpi-* subports declare a build dependency on the
> target compiler, they do not declare a lib dependency for it.
>
> The implications are that:
> 1. The target compiler will be installed for a source build, only to be
> uninstalled during a reclaim operation.
> 1. For a binary install, the target compiler will never be installed. So
> when a user attempts to use the associated compiler wrappers, they will
> fail with "The Open MPI wrapper compiler was unable to find the specified
> compiler."
>
> This doesn't provide a good user experience. Instead, we should add a
> runtime dependency on the target compiler, to avoid this situation.
>
> Of note, this is already being done for mpich-* subports. But apparently
> this was missed for openmpi.

New description:

 While the various openmpi-* subports declare a build dependency on the
 target compiler, they do not declare a lib dependency for it.

 The implications are that:
 1. The target compiler will be installed for a source build, only to be
 uninstalled during a reclaim operation.
 1. For a binary install, the target compiler will never be installed. So
 when a user attempts to use the associated compiler wrappers, they will
 fail with "The Open MPI wrapper compiler was unable to find the specified
 compiler."

 This doesn't provide a good user experience. Instead, we should add a lib
 dependency on the target compiler, to avoid this situation.

 Of note, this is already being done for mpich-* subports. But apparently
 this was missed for openmpi.

--

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


More information about the macports-tickets mailing list