When installing Score-P v8.4-1 from the current testing repositories on a fresh Fedora 40 installation, two things are noticable: 1. No compilers will be installed, causing Score-P to return: ``` sh: line 1: gcc: command not found [Score-P] ERROR: Execution failed: gcc `/usr/bin/scorep-config --thread=none --mpp=none --io=none --nocuda --noopencl --noopenacc --nomemory --nokokkos --nohip --cflags` -c /home/jreuter/test.c -o test_1714720796_998943.o ``` I consider this fine, as users wanting to use Score-P will have the compiler installed anyway and maybe doesn't want to have `gfortran` installed. 2. The library `libunwind-devel` is missing, causing compilation of any program to fail when instrumenting with Score-P. The following error will be returned: ``` scorep-gcc test.c /usr/bin/ld: cannot find -lunwind: No such file or directory collect2: error: ld returned 1 exit status [Score-P] ERROR: Execution failed: gcc .scorep_init.o test_1714720833_339656.o `/usr/bin/scorep-config --thread=none --mpp=none --io=none --nocuda --noopencl --noopenacc --nomemory --nokokkos --nohip --constructor` `/usr/bin/scorep-config --thread=none --mpp=none --io=none --nocuda --noopencl --noopenacc --nomemory --nokokkos --nohip --ldflags` -Wl,-start-group `/usr/bin/scorep-config --thread=none --mpp=none --io=none --nocuda --noopencl --noopenacc --nomemory --nokokkos --nohip --event-libs` `/usr/bin/scorep-config --thread=none --mpp=none --io=none --nocuda --noopencl --noopenacc --nomemory --nokokkos --nohip --mgmt-libs` -Wl,-end-group ``` Reproducible: Always Steps to Reproduce: 1. Install a fresh version of Fedora 40 without any additional packages 2. Install Score-P v8.1-5 via `sudo dnf install scorep` 3. Upgrade Score-P to v8.4-1 via `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-a9342b5da9` 4. Create a simple source file, for example an empty `main` function 5. Try to compile it via `scorep-gcc test.c` 6. You'll see the error shown above. Actual Results: Compilation fails with the `ld` error shown above. Expected Results: I would expect that the program compiles and runs normally. This is given once `libunwind-devel` is installed manually.
Score-P tries to link against `libunwind.so`, but without devel packages only `libunwind.so.8` is present. Therefore, linking fails. Adding a explicit runtime dependency to `libunwind-devel` is not recommended by the packaging guidelines and also returns an error when linting.
Opened PR to fix this issue: https://src.fedoraproject.org/rpms/scorep/pull-request/2
FEDORA-2024-f8af21d394 (scorep-8.4-2.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-f8af21d394
FEDORA-2024-f8af21d394 (scorep-8.4-2.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.