Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1749463

Summary: cmake is broken for MPI builds
Product: Red Hat Enterprise Linux 8 Reporter: Christoph Junghans <junghans>
Component: cmakeAssignee: Tom Stellard <tstellar>
Status: CLOSED ERRATA QA Contact: Michal Kolar <mkolar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: benmwebb, mcermak, mnewsome, tschelle, tstellar
Target Milestone: rcKeywords: Bugfix
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cmake-3.11.4-7.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 15:58:41 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:

Description Christoph Junghans 2019-09-05 17:01:14 UTC
Description of problem:

CMake-3.11.4 coming with RHEL8 triggers https://gitlab.kitware.com/cmake/cmake/issues/18349

Version-Release number of selected component (if applicable):

CMake-3.11.4

How reproducible:

Try to build gromacs-2019.3 on RHEL8, e.g.: https://koji.fedoraproject.org/koji/taskinfo?taskID=37457213

Steps to Reproduce:
1. mock -r rhel-8-x86_64 --no-clean gromacs-2019.3-1.el8.2.src.rpm
2. mock -r rhel-8-x86_64 --shell
3. less /builddir/build/BUILD/gromacs-2019.3/mpich/CMakeFiles/CMakeError.log
...
c++: fatal error: no input files
compilation terminated.
/bin/sh: -fasynchronous-unwind-tables: command not found
/bin/sh: -fstack-clash-protection: command not found
/bin/sh: -fcf-protection: command not found

Actual results:

Fails

Expected results:

Works.

Additional info:

Upstream has a patch, which should be easy to include.

Comment 2 Tom Stellard 2019-11-27 14:35:55 UTC
Fixed in cmake-3.11.4-4.el8.

Comment 4 Michal Kolar 2020-01-23 15:03:44 UTC
Proposed commits[0][1] can not be applied to cmake-3.11.4 because this version does not support 'JOIN' sub-command of 'list'. See documentation[2].

cmake-3.12 supports that already.

Please fix it.

[0] https://gitlab.kitware.com/cmake/cmake/merge_requests/2368
[1] https://gitlab.kitware.com/cmake/cmake/merge_requests/3710
[2] https://cmake.org/cmake/help/v3.11/command/list.html

Comment 7 Christoph Junghans 2020-01-23 21:24:24 UTC
```
fedpkg clone -a gromacs
cd gromacs/
git checkout 0cb8c7fadeda47d563a4bfa6bea3dc3bbf534839
fedpkg --release epel8 srpm
```

Comment 10 Michal Kolar 2020-01-31 10:02:02 UTC
Reproduced against cmake-3.11.4-3.el8 and verified against cmake-3.11.4-7.el8.

Comment 12 errata-xmlrpc 2020-04-28 15:58:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1684