Bug 2229953

Summary: Problem with file requirements
Product: [Fedora] Fedora Reporter: Jaroslav Mracek <jmracek>
Component: scalascaAssignee: Dave Love <dave.love>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: dave.love, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: scalasca-2.6.1-6.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-30 10:28:15 UTC Type: ---
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:    
Bug Blocks: 2180842    

Description Jaroslav Mracek 2023-08-08 09:33:04 UTC
scalasca-mpich requires: /usr/lib64/mpich/bin/scorep-config
scalasca-openmpi requires: /usr/lib64/openmpi/bin/scorep-config

Why this is a problem:
1. DNF5 stops to download filelists as a default therefore `scalasca-mpich` and `scalasca-openmpi` will be not installable
2. It is against Fedora packaging guidelines to require files outside of `/etc`, `/usr/(s)bin`.


Possible solution:
1. use only file provides from  `/etc`, `/usr/(s)bin` (follow packaging guidelines please) or other provides from package providing required functionality
2. Request explicit provide of `/usr/lib64/mpich/bin/scorep-config` in package providers of the file like `Provides: /usr/lib64/mpich/bin/scorep-config`. This is a workaround that resolves the issue, but it is not according to the guidelines.

This issue will appear after DNF5 adoption, because DNF5 does not download filelists by default. The problem will not be in DNF5 because it is caused by not following packaging guidelines. DNF downloaded always filelists to prevent the issue. There are only few remaining packages that has the issue therefore it is time to improve an efficiency of Fedora distribution.

Reproducible: Always

Comment 1 Zbigniew Jędrzejewski-Szmek 2024-01-30 10:00:31 UTC
https://src.fedoraproject.org/rpms/scalasca/pull-request/2

Comment 2 Fedora Update System 2024-01-30 10:25:19 UTC
FEDORA-2024-78279cb6b1 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-78279cb6b1

Comment 3 Fedora Update System 2024-01-30 10:28:15 UTC
FEDORA-2024-78279cb6b1 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.