Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1945041 - rpm-mpi-hooks: Parsing available modules fails in case of set default version
Summary: rpm-mpi-hooks: Parsing available modules fails in case of set default version
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm-mpi-hooks
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-31 09:42 UTC by Peter Georg
Modified: 2021-04-08 20:56 UTC (History)
1 user (show)

Fixed In Version: rpm-mpi-hooks-8-1.fc34 rpm-mpi-hooks-8-1.fc32 rpm-mpi-hooks-8-1.fc33
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-05 00:17:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Possible patch removing "(default)" from module name (876 bytes, patch)
2021-03-31 09:42 UTC, Peter Georg
no flags Details | Diff

Description Peter Georg 2021-03-31 09:42:58 UTC
Created attachment 1768013 [details]
Possible patch removing "(default)" from module name

Description of problem:
rpm-mpi-hooks checks for all available mpi modules and loads these to retrieve some environment variables. Hower the current logic fails if a module version in mpi/ is marked as default.


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


How reproducible:
Always.

Steps to Reproduce:
1. Set a module in mpi/ as default
2. Run any command using rpm.prov or rpm.req

Actual results:
Error: syntax error near unexpected token `('


Expected results:
No errors.

Additional info:
Possible patch attached.

Comment 1 Fedora Update System 2021-03-31 12:13:46 UTC
FEDORA-2021-d060db8813 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d060db8813

Comment 2 Fedora Update System 2021-03-31 12:13:46 UTC
FEDORA-2021-e685209fbc has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-e685209fbc

Comment 3 Fedora Update System 2021-04-01 02:04:19 UTC
FEDORA-2021-e685209fbc has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-e685209fbc`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-e685209fbc

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-04-01 02:35:53 UTC
FEDORA-2021-d060db8813 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-d060db8813`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d060db8813

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-04-01 02:36:52 UTC
FEDORA-2021-8f5d163f67 has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8f5d163f67`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8f5d163f67

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-04-05 00:17:15 UTC
FEDORA-2021-e685209fbc has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2021-04-08 20:42:40 UTC
FEDORA-2021-8f5d163f67 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2021-04-08 20:56:59 UTC
FEDORA-2021-d060db8813 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.