Bug 1780584

Summary: openmpi has broken dependencies on armv7hl
Product: [Fedora] Fedora Reporter: Dominik 'Rathann' Mierzejewski <dominik>
Component: openmpiAssignee: Dominik 'Rathann' Mierzejewski <dominik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dakingun, david08741, dledford, hladky.jiri, honli, orion, pkfed
Target Milestone: ---   
Target Release: ---   
Hardware: armv7hl   
OS: Unspecified   
Whiteboard:
Fixed In Version: openmpi-4.0.2-4.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-11 14:03:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1780813    
Bug Blocks: 485251, 1487617    

Description Dominik 'Rathann' Mierzejewski 2019-12-06 13:07:52 UTC
Description of problem:
openmpi has unresolved dependencies on armv7hl.

Version-Release number of selected component (if applicable):
openmpi-4.0.2-3.fc32

How reproducible:
Always.

Steps to Reproduce:
1. mock -r fedora-rawhide-armhfp install openmpi

Actual results:
...
DEBUG util.py:596:   Problem 1: package openmpi-devel-4.0.2-3.fc32.armv7hl requires libmpi.so.40(openmpi-arm), but none of the providers can be installed
DEBUG util.py:596:    - package openmpi-devel-4.0.2-3.fc32.armv7hl requires libmpi_cxx.so.40(openmpi-arm), but none of the providers can be installed
DEBUG util.py:596:    - package openmpi-devel-4.0.2-3.fc32.armv7hl requires libmpi_mpifh.so.40(openmpi-arm), but none of the providers can be installed
DEBUG util.py:596:    - package openmpi-devel-4.0.2-3.fc32.armv7hl requires libmpi_usempi_ignore_tkr.so.40(openmpi-arm), but none of the providers can be installed
DEBUG util.py:596:    - package openmpi-devel-4.0.2-3.fc32.armv7hl requires libmpi_usempif08.so.40(openmpi-arm), but none of the providers can be installed
DEBUG util.py:596:    - package openmpi-devel-4.0.2-3.fc32.armv7hl requires libmpi_java.so.40(openmpi-arm), but none of the providers can be installed
DEBUG util.py:596:    - package openmpi-devel-4.0.2-3.fc32.armv7hl requires openmpi = 4.0.2-3.fc32, but none of the providers can be installed
DEBUG util.py:596:    - conflicting requests
DEBUG util.py:596:    - nothing provides libibverbs.so.1 needed by openmpi-4.0.2-3.fc32.armv7hl
DEBUG util.py:596:    - nothing provides libibverbs.so.1(IBVERBS_1.0) needed by openmpi-4.0.2-3.fc32.armv7hl
DEBUG util.py:596:    - nothing provides libibverbs.so.1(IBVERBS_1.1) needed by openmpi-4.0.2-3.fc32.armv7hl
DEBUG util.py:596:    - nothing provides librdmacm.so.1 needed by openmpi-4.0.2-3.fc32.armv7hl
DEBUG util.py:596:    - nothing provides librdmacm.so.1(RDMACM_1.0) needed by openmpi-4.0.2-3.fc32.armv7hl

Expected results:
Dependencies resolve.

Comment 1 Dominik 'Rathann' Mierzejewski 2019-12-06 13:08:58 UTC
Obviously, the error log is from `mock -r fedora-rawhide-armhfp install openmpi-devel`.

Comment 2 Orion Poplawski 2019-12-07 06:06:11 UTC
Apparently rdma-core-26.1-1.fc32 dropped support for arm.  I've posted a message asking for clarification, but at the moment we need to propagate a bunch of arm conditionals.

Comment 4 Dominik 'Rathann' Mierzejewski 2019-12-11 10:07:56 UTC
*** Bug 1781765 has been marked as a duplicate of this bug. ***

Comment 5 Dominik 'Rathann' Mierzejewski 2019-12-11 10:29:07 UTC
Builds almost fine without rdma-core-devel, but a single file doesn't get installed then: 
Processing files: openmpi-4.0.2-4.fc32.armv7hl
error: File not found: /builddir/build/BUILDROOT/openmpi-4.0.2-4.fc32.arm/usr/lib/openmpi/share/openmpi/mca-btl-openib-device-params.ini

Investigating.

Comment 6 Dominik 'Rathann' Mierzejewski 2019-12-11 14:03:07 UTC
Looks like that part of openmpi only gets build when there's rdma support available, so I've just excluded the file where applicable and built.