Skip to content

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Aug 30, 2025

The GitHub Actions runner binaries are compiled with a dependency on liblttng-ust.so.0, but Fedora 41 ships with lttng-ust version 2.13.8 which provides liblttng-ust.so.1. This causes RPM installation failures with errors like:

Problem: conflicting requests
  - nothing provides liblttng-ust.so.0()(64bit) needed by github-actions-agent-2.325.0-3.fc41.x86_64

The root cause was that the installdependencies.sh script for Fedora-based systems only attempted to install the lttng-ust package without any fallback handling for version compatibility, unlike Debian-based systems which have robust fallback logic.

Changes Made

  1. Enhanced Fedora dependency installation logic: Modified the dnf installation section in src/Misc/layoutbin/installdependencies.sh to:

    • Install basic dependencies first (openssl-libs, krb5-libs, zlib, libicu)
    • Use a new dnf_with_lttng_fallbacks() function for lttng-ust handling
    • Check if the installed package provides the required liblttng-ust.so.0
    • Create compatibility symlinks when needed (e.g., liblttng-ust.so.0liblttng-ust.so.1)
    • Update ldconfig to register the new symlinks
  2. Updated documentation: Enhanced docs/start/envlinux.md to document the automatic compatibility handling for Fedora-based systems.

Testing

  • Verified that existing Debian/Ubuntu systems continue to work correctly
  • Created unit tests to validate the Fedora fallback logic
  • Confirmed the build process works without issues after changes

This approach provides a robust solution that maintains backward compatibility while supporting newer Fedora versions that ship with updated lttng-ust libraries.

Fixes #3937.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • esm.ubuntu.com
    • Triggering command: /usr/lib/apt/methods/https (dns block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/CompositeLimit
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.413/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 34283 --endpoint 127.0.0.1:034283 --role client --parentprocessid 4771 --telemetryoptedin false (http block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/RepositoryActionWithInvalidWrapperActionfile_Node
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.413/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 34283 --endpoint 127.0.0.1:034283 --role client --parentprocessid 4771 --telemetryoptedin false (http block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/RepositoryActionWithWrapperActionfile_Node
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.413/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 34283 --endpoint 127.0.0.1:034283 --role client --parentprocessid 4771 --telemetryoptedin false (http block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/repositoryactionwithactionfileanddockerfile
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.413/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 34283 --endpoint 127.0.0.1:034283 --role client --parentprocessid 4771 --telemetryoptedin false (http block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/repositoryactionwithdockerfile
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.413/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 34283 --endpoint 127.0.0.1:034283 --role client --parentprocessid 4771 --telemetryoptedin false (http block)
  • https://api.github.com/repos/actions/download-artifact/tarball/master
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.413/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 34283 --endpoint 127.0.0.1:034283 --role client --parentprocessid 4771 --telemetryoptedin false (http block)
  • https://api.github.com/repos/actions/setup-node/tarball/v1
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.413/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 34283 --endpoint 127.0.0.1:034283 --role client --parentprocessid 4771 --telemetryoptedin false (http block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI and others added 2 commits August 30, 2025 04:28
Co-authored-by: salmanmkc <32169182+salmanmkc@users.noreply.github.com>
Co-authored-by: salmanmkc <32169182+salmanmkc@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Fedora41 RPM dependency issue Fix Fedora 41 RPM dependency issue with liblttng-ust compatibility handling Aug 30, 2025
@Copilot Copilot AI requested a review from salmanmkc August 30, 2025 04:31
Copilot finished work on behalf of salmanmkc August 30, 2025 04:31
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.

Fedora41 RPM dependency issue

2 participants