Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixup #1983: Please rpmlint and add missing dependencies #1987

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

Thyre
Copy link
Contributor

@Thyre Thyre commented Jun 4, 2024

As described in #1983 after merging, there are a few issues while building the packages:

  1. Building OPARI2 fails because the awk script doesn't contain a correct shebang. This is caused by packages missing.
[   64s] + /usr/lib/rpm/redhat/brp-mangle-shebangs
[   64s] *** WARNING: ./opt/ohpc/pub/libs/gnu13/opari2/2.0.8/share/doc/opari2/example/lib/libpomp.la is executable but has no shebang, removing executable bit
[   64s] *** ERROR: ./opt/ohpc/pub/libs/gnu13/opari2/2.0.8/libexec/pomp2-parse-init-regions.awk has shebang which doesn't start with '/' (-f)
[   64s] error: Bad exit status from /var/tmp/rpm-tmp.aWrFUM (%install)

To fix this, I've added the missing dependencies not only to OPARI2, but also the other packages. This is just to make sure that nothing else breaks we haven't noticed yet. The added packages are used in the configure step.

  1. rpmlint had some errors, see scorep: Split components in preparation for Score-P & Scalasca update #1983 (comment)
    To fix this, I added the failing parts to the rpmlintrc of each package, as done with other OpenHPC packages.

Thyre added 2 commits June 4, 2024 13:01
Building the newly added packages may fail because of rpmlint errors.
The most important ones are devel files in non-devel packages, which is
caused by OpenHPC not having devel packages, library-without-ldconfig-postin
and library-without-ldconfig-postun, which we do not want to run as
these packages are loaded via modules. Therefore, just ignore these
errors.

Signed-off-by: Jan André Reuter <[email protected]>
Building OPARI2 on RHEL failed with an incorrect shebang in
pomp2-parse-init-regions.awk. This occured because of missing build
dependencies, causing OPARI2s configure to not find awk. Added missing
dependencies to fix this issue and also added them to the other packages
to present possible errors.

Signed-off-by: Jan André Reuter <[email protected]>
@Thyre Thyre force-pushed the fix-scorep-dependency-build-issues branch from fa172d9 to f56934a Compare June 4, 2024 11:35
Copy link

github-actions bot commented Jun 4, 2024

Test Results

14 files  ±0  14 suites  ±0   6s ⏱️ ±0s
41 tests ±0  41 ✅ ±0  0 💤 ±0  0 ❌ ±0 
54 runs  ±0  54 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit f56934a. ± Comparison against base commit 333fa56.

@adrianreber adrianreber merged commit 792e7cd into openhpc:3.x Jun 4, 2024
19 checks passed
@Thyre Thyre deleted the fix-scorep-dependency-build-issues branch June 17, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants