Bug 2229953 - Problem with file requirements
Summary: Problem with file requirements
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: scalasca
Version: 38
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Dave Love
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2180842
TreeView+ depends on / blocked
 
Reported: 2023-08-08 09:33 UTC by Jaroslav Mracek
Modified: 2024-01-30 10:28 UTC (History)
2 users (show)

Fixed In Version: scalasca-2.6.1-6.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-01-30 10:28:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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