Summary: | net/openmpi: Fails to build if net/libfabric is installed | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Martin Birgmeier <d8zNeCFG> | ||||
Component: | Individual Port(s) | Assignee: | Danilo Egea Gondolfo <danilo> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | alt2600, osidorkin, rhurlin | ||||
Priority: | --- | Keywords: | needs-patch, needs-qa | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(danilo) koobs: maintainer-feedback? (yuri) koobs: merge-quarterly? |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Martin Birgmeier
2021-05-20 17:20:05 UTC
^Triage: Request feedback from net/libfabric maintainer Adding CONFLICTS_BUILD=libfabric is also a way to solve this. Not really because it would preclude using portmaster if libfabric is already installed. -- Martin net/mpich requires libfabric and is required by other ports, so blindly adding CONFLICTS entry will cause some troubles for end users. mpich workarounds the problem using #define ENODATA ENOMSG in freebsd-specific header So for my local installation I've just patched libfabric: -#define FI_ENODATA ENODATA /* No data available */ +#define FI_ENODATA ENOMSG /* No data available */ Created attachment 226257 [details]
patch_Makefile_disable_libfabric
Not sure what the status of all this is with the header issue, but openmpi is a reasonably important port for workstation use. Openmpi in ports is implied to not support OFI as libfabric is not a listed dependency of it. Openmpi configure automatically pulls it in if it finds it. So can we just do as the original post suggested and turn if off during the configure stage. --without-ofi into CONFIGURE_ARGS . This will ensure its just ignored if installed.
Openmpi then builds fine and installs fine from ports.
As indicated the problem isn't an OpenMPI issue, but can we at least get that building again for us heathens using live system building/upgrading?
patch attached
===> Deinstalling for openmpi
===> Deinstalling openmpi-4.1.0_1
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):
Installed packages to be REMOVED:
openmpi: 4.1.0_1
Number of packages to be removed: 1
The operation will free 9 MiB.
[1/1] Deinstalling openmpi-4.1.0_1...
[1/1] Deleting files for openmpi-4.1.0_1: 100%
===> Deinstalling for openmpi
===> openmpi not installed, skipping
===> Installing for openmpi-4.1.1
===> Checking if openmpi is already installed
===> Registering installation for openmpi-4.1.1
Installing openmpi-4.1.1...
|